From d8edecbdaf93302d6be4957cef4a6be2968338eb Mon Sep 17 00:00:00 2001 From: Visier-Build-Team Date: Thu, 22 May 2025 17:04:01 +0000 Subject: [PATCH] Autogenerated Python SDK --- .../.openapi-generator/FILES | 2268 ++++++++--------- src/visier_platform_sdk/pyproject.toml | 2 +- src/visier_platform_sdk/setup.py | 2 +- ...e_tenant_profile_assignment_request_dto.py | 67 + ..._tenant_profile_assignment_response_dto.py | 82 + ...sible_tenant_profile_revoke_request_dto.py | 65 + ...ible_tenant_profile_revoke_response_dto.py | 76 + .../test/test_additional_capabilities_dto.py | 60 + .../test_admin_all_tenants_status_apidto.py | 85 - ...ctor_credentials_by_tenant_response_dto.py | 59 - ...sign_connector_credentials_response_dto.py | 62 - ...connector_with_credentials_response_dto.py | 59 - ...n_assigned_credential_info_response_dto.py | 54 - ...est_admin_batch_tenant_provision_apidto.py | 74 - .../test/test_admin_business_location_dto.py | 53 - .../test/test_admin_capability_config_dto.py | 61 + .../test_admin_connector_info_response_dto.py | 54 - ...est_admin_connector_setting_request_dto.py | 53 - ...st_admin_connector_setting_response_dto.py | 54 - ...t_admin_connector_settings_response_dto.py | 61 - ..._analytics_api_excluded_source_list_dto.py | 54 - ...ed_analytics_api_source_tenant_list_dto.py | 54 - ...analytics_api_tenant_create_request_dto.py | 52 - ..._analytics_api_tenant_list_response_dto.py | 54 - ...dated_analytics_api_tenant_with_details.py | 58 - ...i_tenant_with_details_list_response_dto.py | 61 - .../test/test_admin_custom_property_dto.py | 53 - .../test_admin_custom_tenant_property_dto.py | 53 - ...est_admin_data_import_definition_apidto.py | 54 - ...st_admin_data_import_definitions_apidto.py | 59 - .../test_admin_data_version_and_date_dto.py | 53 - ...test_admin_delete_user_group_v2_request.py | 52 - .../test/test_admin_element_ids_dto.py | 54 - .../test/test_admin_email_domains_dto.py | 55 - .../test/test_admin_excluded_sources_body.py | 54 - .../test_admin_extractor_setting_apidto.py | 58 - ...dmin_extractor_setting_key_value_apidto.py | 53 - .../test_admin_extractor_settings_apidto.py | 61 - ...t_admin_home_analysis_by_user_group_dto.py | 53 - ..._consolidated_analytics_job_request_dto.py | 52 - ...st_admin_jobs_extract_data_and_load_dto.py | 79 - ...t_admin_jobs_processing_job_request_dto.py | 60 - .../test/test_admin_key_name.py | 52 - .../test/test_admin_mask_message.py | 52 - ...ltiple_tenant_data_versions_details_dto.py | 57 - ..._multiple_tenant_data_versions_list_dto.py | 62 - ...t_admin_network_subnets_message_request.py | 55 - ..._admin_network_subnets_message_response.py | 54 - .../test_admin_permission_response_dto.py | 53 - .../test/test_admin_permissions_list_dto.py | 101 - ...ermissions_to_user_group_for_tenant_dto.py | 64 - ...n_permissions_to_user_group_request_dto.py | 55 - ..._permissions_to_user_groups_request_dto.py | 58 - .../test/test_admin_product_release_dto.py | 55 - .../test/test_admin_product_releases_dto.py | 58 - .../test/test_admin_product_version_dto.py | 56 - .../test/test_admin_product_versions_dto.py | 59 - ...ions_update_failure_tenant_response_dto.py | 57 - ...in_product_versions_update_response_dto.py | 68 - ...s_update_successful_tenant_response_dto.py | 56 - .../test_admin_put_project_commits_request.py | 52 - ..._admin_security_assignment_response_dto.py | 68 - ...admin_set_connector_setting_request_dto.py | 61 - ...dmin_set_connector_setting_response_dto.py | 64 - ...dmin_set_connector_settings_request_dto.py | 64 - ...min_set_connector_settings_response_dto.py | 67 - .../test/test_admin_simple_user_dto.py | 53 - ...est_admin_target_project_for_tenant_dto.py | 53 - ...min_target_project_for_tenants_list_dto.py | 56 - .../test/test_admin_tenant_assignments_dto.py | 65 - .../test/test_admin_tenant_code_body.py | 54 - ...n_tenant_connector_settings_request_dto.py | 57 - .../test/test_admin_tenant_detail_apidto.py | 80 - .../test_admin_tenant_details_traits_dto.py | 54 - ..._tenant_management_api_get_response_dto.py | 95 - ...tenant_management_api_list_response_dto.py | 95 - ...enant_management_api_update_request_dto.py | 90 - ...nant_management_api_update_response_dto.py | 84 - .../test_admin_tenant_provision_apidto.py | 71 - .../test/test_admin_tenant_status_apidto.py | 55 - .../test/test_admin_update_tenant_model.py | 65 - ..._admin_user_group_change_definition_dto.py | 65 - ..._user_group_change_dimension_filter_dto.py | 63 - ...est_admin_user_group_change_failure_dto.py | 56 - ...test_admin_user_group_change_filter_dto.py | 65 - ..._user_group_change_member_selection_dto.py | 55 - ...st_admin_user_group_change_response_dto.py | 66 - ...est_admin_user_group_change_success_dto.py | 55 - .../test_admin_user_group_change_users_dto.py | 78 - .../test/test_admin_user_group_delete_dto.py | 54 - ...est_admin_user_group_delete_failure_dto.py | 56 - ...st_admin_user_group_delete_response_dto.py | 65 - ...est_admin_user_group_delete_success_dto.py | 54 - .../test/test_admin_user_group_filters_dto.py | 68 - ...t_admin_user_group_get_api_response_dto.py | 58 - ...n_user_group_single_delete_response_dto.py | 61 - .../test/test_admin_user_groups_change_dto.py | 61 - ...st_admin_user_groups_delete_request_dto.py | 57 - ..._admin_user_groups_get_api_response_dto.py | 63 - .../test/test_admin_user_groups_users_dto.py | 62 - ..._admin_user_groups_users_for_tenant_dto.py | 57 - ...est_admin_user_security_assignments_dto.py | 58 - ...t_admin_users_to_user_group_request_dto.py | 55 - ..._admin_users_to_user_groups_request_dto.py | 64 - .../test/test_adp_auth_params_dto.py | 58 + .../test/test_aggregation_query_dto.py | 99 + .../test_aggregation_query_execution_dto.py | 105 + .../test/test_aggregation_query_source_dto.py | 67 + ...est_aggregation_query_source_metric_dto.py | 61 + ...st_aggregation_query_source_metrics_dto.py | 64 + .../test/test_aggregation_type_option_dto.py | 62 + .../test_aggregation_type_parameter_dto.py | 68 + ...st_aggregation_type_parameter_value_dto.py | 59 + ...rmissions_assigned_for_local_tenant_dto.py | 63 + ...file_assigned_for_accessible_tenant_dto.py | 66 + ...l_profile_assigned_for_local_tenant_dto.py | 71 + .../test/test_all_tenants_status_apidto.py | 91 + ...er_groups_assigned_for_local_tenant_dto.py | 62 + .../test_all_users_get_api_response_dto.py | 72 + ...alysis_common_report_create_request_dto.py | 53 - ...alysis_common_report_delete_success_dto.py | 52 - .../test/test_analysis_common_report_dto.py | 62 - ...nalysis_common_report_list_response_dto.py | 65 - ...t_analysis_common_vee_clarification_dto.py | 67 - ...st_analysis_common_vee_conversation_dto.py | 55 - ...lysis_common_vee_conversation_state_dto.py | 54 - ...est_analysis_common_vee_corrections_dto.py | 73 - .../test/test_analysis_common_vee_data_dto.py | 53 - .../test_analysis_common_vee_feedback_dto.py | 55 - .../test_analysis_common_vee_options_dto.py | 58 - .../test_analysis_common_vee_question_dto.py | 63 - .../test_analysis_common_vee_response_dto.py | 108 - ...analysis_common_vee_response_schema_dto.py | 68 - ...ommon_vee_response_schema_reference_dto.py | 55 - ...analysis_common_vee_sample_question_dto.py | 55 - ..._common_vee_sample_question_library_dto.py | 58 - ...est_analysis_common_vee_status_code_dto.py | 53 - .../test_analysis_common_vee_visual_dto.py | 54 - ..._analysis_common_vee_visual_options_dto.py | 53 - .../test_analytic_object_definition_dto.py | 60 + .../test/test_analytic_object_dto.py | 86 + .../test/test_analytic_object_filter_dto.py | 70 + .../test/test_analytic_object_request_dto.py | 62 + .../test_analytic_object_with_context_dto.py | 64 + .../test/test_analytic_objects_dto.py | 86 + src/visier_platform_sdk/test/test_any.py | 58 + .../test/test_api_error.py | 18 +- ...est_assign_connector_credential_request.py | 66 + ...ctor_credentials_by_tenant_response_dto.py | 65 + ...sign_connector_credentials_response_dto.py | 68 + ...connector_with_credentials_response_dto.py | 65 + ...ign_revoke_permission_by_permission_dto.py | 67 + ..._assign_revoke_permission_by_tenant_dto.py | 74 + ...st_assign_revoke_permission_by_user_dto.py | 60 + ...st_assign_revoke_permission_request_dto.py | 61 + ...t_assign_revoke_permissions_request_dto.py | 70 + ..._assign_revoke_permissions_response_dto.py | 77 + ...t_assigned_credential_info_response_dto.py | 60 + ...st_authentication_o_auth2_user_info_dto.py | 81 - ...entication_o_auth2_user_subnet_info_dto.py | 55 - ...tication_o_auth2_user_tenant_detail_dto.py | 55 - ...ication_o_auth2_user_tenant_details_dto.py | 57 - ...tion_o_auth2_user_tenant_properties_dto.py | 52 - .../test/test_bamboo_auth_params_dto.py | 59 + .../test/test_basic_information_dto.py | 66 + .../test/test_basic_s3_auth_params_dto.py | 62 + .../test_batch_tenant_provision_apidto.py | 80 + .../test/test_benchmark_info.py | 18 +- .../test/test_benchmark_value.py | 18 +- .../test/test_big_query_auth_params_dto.py | 66 + ...st_big_query_service_account_params_dto.py | 59 + .../test/test_bulk_change_response_dto.py | 74 + .../test_bulk_data_access_set_response_dto.py | 68 + .../test/test_business_location_dto.py | 59 + .../test/test_calculated_property_type_dto.py | 59 + ...t_calculation_concept_configuration_dto.py | 83 + ...lculation_concept_configuration_map_dto.py | 83 + .../test/test_calculation_concept_dto.py | 86 + .../test/test_calculation_concept_list_dto.py | 63 + .../test_cancel_job_batch_from_job_id_dto.py | 60 + .../test/test_capabilities_dto.py | 60 + .../test/test_capability_dto.py | 60 + .../test/test_capability_group_dto.py | 62 + .../test/test_cell_distribution_bin_dto.py | 59 + .../test_cell_distribution_options_dto.py | 58 + src/visier_platform_sdk/test/test_cell_dto.py | 67 + .../test/test_cell_set_axis_dto.py | 70 + .../test/test_cell_set_axis_position_dto.py | 64 + .../test/test_cell_set_dto.py | 117 + .../test/test_cell_set_or_error_dto.py | 101 + ..._clone_files_into_source_parameters_dto.py | 62 + .../test/test_cohort_filter_dto.py | 73 + ...mmit_and_publish_operation_response_dto.py | 67 + .../test/test_commit_dto.py | 60 + .../test_concept_configuration_result_dto.py | 60 + .../test/test_concept_definition_dto.py | 68 + .../test/test_concept_delete_request_dto.py | 62 + .../test_concept_delete_with_context_dto.py | 63 + .../test/test_concept_request_dto.py | 62 + .../test/test_concept_response_dto.py | 62 + .../test/test_concept_type_details_dto.py | 69 + .../test/test_concept_with_context_dto.py | 65 + .../test/test_connector.py | 63 + .../test/test_connector_info_response_dto.py | 60 + .../test_connector_setting_request_dto.py | 59 + .../test_connector_setting_response_dto.py | 60 + .../test_connector_settings_response_dto.py | 67 + ..._analytics_api_excluded_source_list_dto.py | 60 + ...ed_analytics_api_source_tenant_list_dto.py | 60 + ...analytics_api_tenant_create_request_dto.py | 58 + ..._analytics_api_tenant_list_response_dto.py | 60 + ...dated_analytics_api_tenant_with_details.py | 64 + ...i_tenant_with_details_list_response_dto.py | 67 + ..._consolidated_analytics_job_request_dto.py | 58 + .../test/test_content_package_dto.py | 60 + .../test/test_copy_s3_auth_params_dto.py | 58 + ...test_create_data_access_set_request_dto.py | 74 + ...st_credential_creation_api_response_dto.py | 68 + .../test/test_currencies_dto.py | 64 + .../test/test_currency_dto.py | 61 + .../test/test_currency_rate_dto.py | 62 + .../test/test_currency_rates_dto.py | 65 + .../test/test_custom_property_dto.py | 59 + .../test/test_custom_tenant_property_dto.py | 59 + .../test/test_data_access_set_dto.py | 71 + .../test/test_data_access_set_error_dto.py | 59 + .../test/test_data_access_set_failure_dto.py | 62 + .../test/test_data_access_set_success_dto.py | 59 + .../test/test_data_categories_response_dto.py | 62 + .../test/test_data_category_response_dto.py | 59 + ..._in_assign_connector_credential_request.py | 60 - .../test/test_data_in_connector.py | 57 - .../test/test_data_in_data_load_request.py | 56 - .../test_data_in_data_load_request_model.py | 55 - .../test/test_data_in_data_load_response.py | 52 - ...est_data_in_data_transfer_result_detail.py | 57 - .../test/test_data_in_data_version_object.py | 53 - .../test/test_data_in_disable_dv_model.py | 56 - .../test/test_data_in_disable_dv_request.py | 57 - .../test/test_data_in_disable_dv_response.py | 61 - ...data_in_dispatching_job_status_response.py | 55 - ...st_data_in_exclude_data_uploads_request.py | 68 - .../test/test_data_in_extraction_job.py | 55 - ...a_in_extraction_job_and_status_response.py | 62 - ...st_data_in_include_data_uploads_request.py | 68 - .../test_data_in_job_status_list_response.py | 61 - ...test_data_in_job_status_with_start_time.py | 56 - .../test/test_data_in_processing_job.py | 56 - ...a_in_processing_job_and_status_response.py | 63 - ..._data_in_processing_job_status_response.py | 63 - .../test_data_in_push_data_cancel_response.py | 63 - ...test_data_in_push_data_complete_request.py | 53 - ...est_data_in_push_data_complete_response.py | 64 - .../test/test_data_in_push_data_response.py | 69 - .../test/test_data_in_receiving_job.py | 54 - ...ta_in_receiving_job_and_status_response.py | 61 - ...t_data_in_receiving_job_status_response.py | 61 - .../test/test_data_in_result.py | 56 - .../test/test_data_in_source.py | 57 - .../test_data_in_start_extraction_response.py | 52 - .../test_data_in_start_transfer_response.py | 52 - .../test/test_data_in_tenant.py | 62 - .../test_data_in_tenant_and_credential.py | 53 - .../test/test_data_in_upload_to_exclude.py | 65 - .../test/test_data_in_upload_to_include.py | 65 - .../test/test_data_load_request.py | 62 + .../test/test_data_load_request_model.py | 61 + .../test/test_data_load_response.py | 58 + .../test_data_model_analytic_object_dto.py | 98 + .../test/test_data_out_list_response.py | 55 - ...test_data_provider_auth_information_dto.py | 267 ++ .../test_data_provider_auth_params_dto.py | 265 ++ ...est_data_provider_basic_information_dto.py | 59 + .../test_data_provider_basic_metadata_dto.py | 58 + .../test/test_data_security_profile_dto.py | 138 + .../test/test_data_transfer_result_detail.py | 63 + .../test/test_data_version_and_date_dto.py | 59 + .../test_data_version_export_column_dto.py | 61 + ...version_export_data_version_summary_dto.py | 60 + ...t_data_version_export_data_versions_dto.py | 63 + .../test/test_data_version_export_dto.py | 76 + .../test/test_data_version_export_file_dto.py | 69 + ...test_data_version_export_job_status_dto.py | 61 + .../test_data_version_export_part_file_dto.py | 59 + ...version_export_schedule_job_request_dto.py | 59 + ...ersion_export_schedule_job_response_dto.py | 58 + .../test_data_version_export_table_dto.py | 87 + .../test/test_data_version_exports_dto.py | 79 + .../test/test_data_version_object.py | 59 + .../test/test_databricks_auth_params_dto.py | 61 + ...s_common_dimension_member_reference_dto.py | 55 - ...t_dataservices_common_member_values_dto.py | 65 - ...s_datamodel_aggregation_type_option_dto.py | 56 - ...atamodel_aggregation_type_parameter_dto.py | 62 - ...aservices_datamodel_analytic_object_dto.py | 92 - ...services_datamodel_analytic_objects_dto.py | 80 - ...t_dataservices_datamodel_currencies_dto.py | 58 - ...est_dataservices_datamodel_currency_dto.py | 55 - ...ataservices_datamodel_currency_rate_dto.py | 56 - ...taservices_datamodel_currency_rates_dto.py | 59 - ...st_dataservices_datamodel_dimension_dto.py | 71 - ...amodel_dimension_mapping_validation_dto.py | 63 - ...ension_mapping_validation_execution_dto.py | 53 - ...vices_datamodel_dimension_reference_dto.py | 53 - ...t_dataservices_datamodel_dimensions_dto.py | 74 - .../test_dataservices_datamodel_level_dto.py | 54 - .../test_dataservices_datamodel_member_dto.py | 65 - ...tamodel_member_parameter_definition_dto.py | 70 - ...test_dataservices_datamodel_members_dto.py | 68 - .../test_dataservices_datamodel_metric_dto.py | 66 - ...test_dataservices_datamodel_metrics_dto.py | 69 - ...amodel_numeric_parameter_definition_dto.py | 57 - ...services_datamodel_object_reference_dto.py | 58 - ...ices_datamodel_parameter_definition_dto.py | 84 - ...datamodel_plan_parameter_definition_dto.py | 55 - ...del_planning_concept_filter_context_dto.py | 52 - ...l_planning_hierarchy_filter_context_dto.py | 58 - ...taservices_datamodel_planning_model_dto.py | 54 - ...aservices_datamodel_planning_models_dto.py | 57 - ...ces_datamodel_planning_plan_context_dto.py | 61 - ...ataservices_datamodel_planning_plan_dto.py | 72 - ...taservices_datamodel_planning_plans_dto.py | 75 - ..._datamodel_population_configuration_dto.py | 66 - ...t_dataservices_datamodel_prediction_dto.py | 76 - ..._dataservices_datamodel_predictions_dto.py | 79 - ...t_dataservices_datamodel_properties_dto.py | 72 - ...est_dataservices_datamodel_property_dto.py | 69 - ...rvices_datamodel_property_reference_dto.py | 53 - ...ices_datamodel_scenario_or_snapshot_dto.py | 53 - ...ervices_datamodel_selection_concept_dto.py | 61 - ...tamodel_selection_concept_reference_dto.py | 53 - ...rvices_datamodel_selection_concepts_dto.py | 64 - ...aservices_datamodel_tag_map_element_dto.py | 53 - ...taservices_datamodel_validity_range_dto.py | 53 - ...ataservices_query_aggregation_query_dto.py | 93 - ...s_query_aggregation_query_execution_dto.py | 99 - ...ices_query_aggregation_query_source_dto.py | 61 - ...ery_aggregation_query_source_metric_dto.py | 55 - ...ry_aggregation_query_source_metrics_dto.py | 58 - ...ry_aggregation_type_parameter_value_dto.py | 53 - ...ervices_query_cell_distribution_bin_dto.py | 53 - ...ces_query_cell_distribution_options_dto.py | 52 - .../test/test_dataservices_query_cell_dto.py | 61 - ...st_dataservices_query_cell_set_axis_dto.py | 64 - ...rvices_query_cell_set_axis_position_dto.py | 58 - .../test_dataservices_query_cell_set_dto.py | 111 - ...ataservices_query_cell_set_or_error_dto.py | 95 - ...st_dataservices_query_cohort_filter_dto.py | 67 - ...ry_internal_query_execution_options_dto.py | 53 - ...dataservices_query_key_group_filter_dto.py | 57 - ...ervices_query_key_group_filter_item_dto.py | 58 - .../test_dataservices_query_lineage_dto.py | 83 - ...services_query_list_query_execution_dto.py | 100 - ..._query_list_query_execution_options_dto.py | 62 - ...ataservices_query_list_query_source_dto.py | 55 - ...st_dataservices_query_member_filter_dto.py | 66 - ...rvices_query_member_parameter_value_dto.py | 68 - ...vices_query_numeric_parameter_value_dto.py | 53 - ...services_query_plan_parameter_value_dto.py | 55 - ..._dataservices_query_property_column_dto.py | 60 - .../test_dataservices_query_query_axis_dto.py | 103 - ...taservices_query_query_axis_options_dto.py | 53 - ...ery_dimension_data_member_selection_dto.py | 54 - ...uery_query_dimension_leaf_selection_dto.py | 54 - ...uery_query_dimension_level_property_dto.py | 57 - ...ery_query_dimension_level_selection_dto.py | 60 - ...ry_query_dimension_member_selection_dto.py | 61 - ...query_query_execution_error_details_dto.py | 55 - ...ervices_query_query_execution_error_dto.py | 65 - ...rvices_query_query_execution_errors_dto.py | 60 - ...vices_query_query_execution_options_dto.py | 68 - ...est_dataservices_query_query_filter_dto.py | 62 - ...ces_query_query_member_map_property_dto.py | 55 - ...es_query_query_member_map_selection_dto.py | 62 - ...services_query_query_numeric_ranges_dto.py | 63 - ...ervices_query_query_parameter_value_dto.py | 69 - ...t_dataservices_query_query_property_dto.py | 70 - ...aservices_query_query_time_interval_dto.py | 61 - ...services_query_query_time_intervals_dto.py | 64 - ...ices_query_snapshot_query_execution_dto.py | 101 - ...ry_snapshot_query_execution_options_dto.py | 60 - ...test_dataservices_query_sort_option_dto.py | 53 - ...ices_query_sql_like_query_execution_dto.py | 70 - .../test_dataservices_query_time_shift_dto.py | 54 - .../test/test_date_range_dto.py | 59 + .../test/test_dayforce_v2_auth_params_dto.py | 62 + .../test_delete_permissions_request_dto.py | 60 + .../test/test_delete_user_group_v2_request.py | 58 + .../test/test_dependent_dto.py | 60 + .../test/test_description_entry.py | 18 +- .../test/test_designer_adp_auth_params_dto.py | 52 - ...designer_api_analytic_object_filter_dto.py | 64 - ...i_calculation_concept_configuration_dto.py | 77 - ...lculation_concept_configuration_map_dto.py | 77 - ...st_designer_api_calculation_concept_dto.py | 80 - ...signer_api_calculation_concept_list_dto.py | 57 - ...er_api_concept_configuration_result_dto.py | 54 - .../test_designer_api_dimension_filter_dto.py | 59 - .../test_designer_api_dimension_member_dto.py | 54 - ...igner_api_perspective_configuration_dto.py | 74 - .../test_designer_api_perspective_node_dto.py | 69 - ...api_selection_concept_configuration_dto.py | 67 - ...selection_concept_configuration_map_dto.py | 67 - ...test_designer_api_selection_concept_dto.py | 70 - ...designer_api_selection_concept_list_dto.py | 57 - .../test_designer_bamboo_auth_params_dto.py | 53 - .../test_designer_basic_s3_auth_params_dto.py | 56 - ...test_designer_big_query_auth_params_dto.py | 60 - ...er_big_query_service_account_params_dto.py | 53 - .../test_designer_copy_s3_auth_params_dto.py | 52 - ...er_credential_creation_api_response_dto.py | 62 - ...esigner_crypto_generate_key_request_dto.py | 54 - ...ner_crypto_key_pair_delete_response_dto.py | 52 - ...er_crypto_key_pair_generate_request_dto.py | 52 - .../test_designer_crypto_public_key_dto.py | 56 - .../test_designer_crypto_public_keys_dto.py | 59 - ...rypto_tenant_encryption_key_details_dto.py | 56 - ...signer_crypto_tenant_encryption_key_dto.py | 58 - ...gner_data_provider_auth_information_dto.py | 261 -- ..._designer_data_provider_auth_params_dto.py | 259 -- ...ner_data_provider_basic_information_dto.py | 53 - ...signer_data_provider_basic_metadata_dto.py | 52 - ...designer_data_version_export_column_dto.py | 55 - ...version_export_data_version_summary_dto.py | 54 - ...r_data_version_export_data_versions_dto.py | 57 - .../test_designer_data_version_export_dto.py | 70 - ...t_designer_data_version_export_file_dto.py | 63 - ...gner_data_version_export_job_status_dto.py | 55 - ...igner_data_version_export_part_file_dto.py | 53 - ...version_export_schedule_job_request_dto.py | 53 - ...ersion_export_schedule_job_response_dto.py | 52 - ..._designer_data_version_export_table_dto.py | 81 - .../test_designer_data_version_exports_dto.py | 73 - ...est_designer_databricks_auth_params_dto.py | 55 - ...st_designer_dayforce_v2_auth_params_dto.py | 56 - .../test_designer_dimension_filter_dto.py | 65 + ...est_designer_dimensions_auth_params_dto.py | 57 - ...test_designer_download_source_files_dto.py | 63 - ...gner_download_source_files_response_dto.py | 53 - ...st_designer_extractor_credential_apidto.py | 56 - ...t_designer_extractor_credentials_apidto.py | 61 - .../test_designer_fusion_auth_params_dto.py | 54 - .../test_designer_gong_auth_params_dto.py | 53 - ..._designer_google_sheets_auth_params_dto.py | 55 - ...signer_google_workspace_auth_params_dto.py | 56 - ...est_designer_greenhouse_auth_params_dto.py | 52 - .../test_designer_icims_auth_params_dto.py | 57 - ...st_designer_internal_s3_auth_params_dto.py | 53 - .../test_designer_jdbc_auth_params_dto.py | 54 - .../test_designer_jira_auth_params_dto.py | 57 - .../test_designer_jira_connect_params_dto.py | 54 - .../test_designer_lever_auth_params_dto.py | 52 - .../test_designer_medallia_auth_params_dto.py | 55 - ...t_designer_microsoft365_auth_params_dto.py | 55 - .../test/test_designer_module_settings_dto.py | 54 - .../test_designer_my_sql_auth_params_dto.py | 57 - .../test_designer_namely_auth_params_dto.py | 52 - ...test_designer_oracle_db_auth_params_dto.py | 56 - .../test/test_designer_pair_dto.py | 53 - ...esigner_push_data_column_definition_dto.py | 59 - ...esigner_push_data_source_definition_dto.py | 65 - ...signer_push_data_source_definitions_dto.py | 68 - ...test_designer_qualtrics_auth_params_dto.py | 53 - .../test_designer_redshift_auth_params_dto.py | 58 - ...est_designer_salesforce_auth_params_dto.py | 53 - ..._designer_salesforce_v2_auth_params_dto.py | 55 - .../test_designer_selection_concept_dto.py | 76 + ...st_designer_service_now_auth_params_dto.py | 54 - ...designer_service_now_v2_auth_params_dto.py | 56 - .../test_designer_slack_auth_params_dto.py | 54 - ...test_designer_snowflake_auth_params_dto.py | 58 - ...est_designer_sql_server_auth_params_dto.py | 56 - ...est_designer_subject_missing_access_dto.py | 56 - ...esigner_success_factors_auth_params_dto.py | 59 - ...igner_success_factors_o_auth_params_dto.py | 54 - .../test/test_designer_tenant_module_dto.py | 57 - .../test_designer_ultimate_auth_params_dto.py | 56 - ...bhook_webhook_basic_auth_credential_dto.py | 53 - ...esigner_webhook_webhook_credentials_dto.py | 55 - ...st_designer_webhook_webhook_details_dto.py | 59 - .../test/test_designer_webhook_webhook_dto.py | 62 - ...designer_webhook_webhook_event_type_dto.py | 52 - ...er_webhook_webhook_message_response_dto.py | 55 - ...st_designer_webhook_webhook_request_dto.py | 63 - .../test_designer_webhook_webhooks_dto.py | 57 - .../test_designer_willow_auth_params_dto.py | 53 - .../test_designer_workday_auth_params_dto.py | 69 - ...test_designer_workday_o_auth_params_dto.py | 54 - ...t_designer_workday_raas_auth_params_dto.py | 56 - ...signer_workday_refresh_token_params_dto.py | 54 - .../test_designer_zoom_auth_params_dto.py | 54 - .../test_dimension_change_definition_dto.py | 61 + ...ension_change_definitions_by_tenant_dto.py | 66 + .../test/test_dimension_dto.py | 77 + .../test/test_dimension_filter_dto.py | 83 + .../test_dimension_mapping_validation_dto.py | 69 + ...ension_mapping_validation_execution_dto.py | 59 + .../test/test_dimension_member.py | 18 +- .../test/test_dimension_member_dto.py | 60 + .../test_dimension_member_reference_dto.py | 61 + .../test/test_dimension_reference_dto.py | 59 + .../test/test_dimensions_auth_params_dto.py | 63 + .../test_dimensions_change_definitions_dto.py | 69 + .../test/test_dimensions_dto.py | 80 + .../test/test_direct_data_job_config_dto.py | 61 + ...est_direct_data_job_status_response_dto.py | 62 + ...ect_data_list_transactions_response_dto.py | 65 + .../test/test_direct_data_load_config_dto.py | 62 + .../test/test_direct_data_schema_dto.py | 67 + .../test/test_direct_data_schema_field_dto.py | 64 + .../test/test_direct_data_transaction_dto.py | 62 + ...ect_data_transaction_start_response_dto.py | 58 + ...st_direct_data_upload_file_response_dto.py | 18 +- .../test/test_disable_dv_model.py | 62 + .../test/test_disable_dv_request.py | 63 + .../test/test_disable_dv_response.py | 67 + .../test_dispatching_job_status_response.py | 61 + .../test/test_document_search_link_dto.py | 59 + .../test/test_download_source_files_dto.py | 69 + ...test_download_source_files_response_dto.py | 59 + ...utomation_metric_validation_summary_dto.py | 54 - ...tion_tenant_preview_entries_summary_dto.py | 60 - ...tenant_preview_entries_summary_list_dto.py | 65 - ...est_dp_cancel_job_batch_from_job_id_dto.py | 54 - .../test_dp_job_cancellation_result_dto.py | 58 - .../test_dp_job_cancellation_results_dto.py | 61 - .../test/test_dv_export_status.py | 18 +- .../test/test_dynamic_dimension_filter_dto.py | 68 + .../test/test_dynamic_property_mapping_dto.py | 61 + .../test/test_element_ids_dto.py | 60 + .../test/test_email_domains_dto.py | 61 + .../test/test_error_dto.py | 60 + .../test/test_exclude_data_uploads_request.py | 74 + .../test/test_excluded_sources_body.py | 60 + .../test/test_execution_context_dto.py | 59 + ...n_versions_api_operation_parameters_dto.py | 62 + .../test/test_extract_data_and_load_dto.py | 85 + .../test/test_extracted_skill.py | 18 +- .../test/test_extraction_job.py | 61 + ...test_extraction_job_and_status_response.py | 68 + .../test/test_extractor_credential_apidto.py | 62 + .../test/test_extractor_credentials_apidto.py | 67 + .../test/test_extractor_setting_apidto.py | 64 + ...test_extractor_setting_key_value_apidto.py | 59 + .../test/test_extractor_settings_apidto.py | 67 + ...ccessible_tenant_profile_assignment_dto.py | 64 + .../test/test_failed_change_dto.py | 66 + ...led_local_tenant_profile_assignment_dto.py | 62 + ..._failed_local_tenant_profile_revoke_dto.py | 59 + .../test/test_fusion_auth_params_dto.py | 60 + ...st_generate_impersonation_token_request.py | 18 +- .../test/test_generate_key_request_dto.py | 60 + .../test_get_capabilities_api_response_dto.py | 63 + ...t_get_content_packages_api_response_dto.py | 63 + ...t_get_data_access_sets_api_response_dto.py | 74 + ..._data_security_objects_api_response_dto.py | 89 + .../test_get_permissions_api_response_dto.py | 107 + .../test/test_get_plan_list_response_dto.py | 72 + ...et_production_versions_api_response_dto.py | 69 + .../test_get_projects_api_response_dto.py | 105 + .../test/test_gong_auth_params_dto.py | 59 + .../test/test_google_protobuf_any.py | 52 - .../test_google_sheets_auth_params_dto.py | 61 + .../test_google_workspace_auth_params_dto.py | 62 + .../test/test_greenhouse_auth_params_dto.py | 58 + .../test/test_hierarchy.py | 18 +- .../test/test_hierarchy_property_dto.py | 59 + .../test_home_analysis_by_user_group_dto.py | 59 + .../test/test_icims_auth_params_dto.py | 63 + .../test/test_import_definition_apidto.py | 60 + .../test/test_import_definitions_apidto.py | 65 + .../test/test_include_data_uploads_request.py | 74 + .../test/test_inherited_access_config_dto.py | 88 + ...ited_reference_member_filter_config_dto.py | 59 + ...st_internal_query_execution_options_dto.py | 59 + .../test/test_internal_s3_auth_params_dto.py | 59 + .../test/test_jdbc_auth_params_dto.py | 60 + .../test/test_jira_auth_params_dto.py | 63 + .../test/test_jira_connect_params_dto.py | 60 + src/visier_platform_sdk/test/test_job.py | 18 +- .../test/test_job_cancellation_result_dto.py | 64 + .../test/test_job_cancellation_results_dto.py | 67 + .../test/test_job_entry.py | 18 +- .../test/test_job_feedback_input.py | 18 +- .../test/test_job_id_response.py | 58 + .../test/test_job_search_failure_output.py | 18 +- .../test/test_job_search_input.py | 18 +- .../test/test_job_search_output.py | 18 +- .../test/test_job_standardization_input.py | 18 +- .../test_job_standardization_input_skills.py | 18 +- .../test/test_job_status_list_response.py | 67 + .../test/test_job_status_with_start_time.py | 62 + .../test/test_key_group_filter_dto.py | 63 + .../test/test_key_group_filter_item_dto.py | 64 + src/visier_platform_sdk/test/test_key_name.py | 58 + .../test/test_key_pair_delete_response_dto.py | 58 + .../test_key_pair_generate_request_dto.py | 58 + .../test/test_last_login_dto.py | 58 + .../test/test_level_dto.py | 60 + .../test/test_lever_auth_params_dto.py | 58 + .../test/test_lineage_dto.py | 89 + .../test/test_list_query_execution_dto.py | 106 + .../test_list_query_execution_options_dto.py | 68 + .../test/test_list_query_source_dto.py | 61 + .../test/test_list_response.py | 61 + ...l_tenant_profile_assignment_request_dto.py | 62 + ..._tenant_profile_assignment_response_dto.py | 72 + ...local_tenant_profile_revoke_request_dto.py | 60 + ...ocal_tenant_profile_revoke_response_dto.py | 66 + .../test_location_search_failure_output.py | 18 +- .../test/test_location_search_input.py | 18 +- .../test/test_location_search_input1.py | 18 +- .../test/test_location_search_output.py | 18 +- .../test_location_search_successful_output.py | 18 +- .../test/test_mask_message.py | 58 + .../test/test_medallia_auth_params_dto.py | 61 + .../test/test_member_dto.py | 71 + .../test/test_member_filter_config_dto.py | 83 + .../test/test_member_filter_dto.py | 72 + .../test_member_parameter_definition_dto.py | 76 + .../test/test_member_parameter_value_dto.py | 74 + .../test/test_member_selection_dto.py | 62 + .../test/test_member_values_dto.py | 71 + .../test/test_members_dto.py | 74 + .../test/test_metric_definition_dto.py | 69 + .../test/test_metric_dto.py | 72 + .../test/test_metric_type_details_dto.py | 61 + .../test_metric_validation_summary_dto.py | 60 + .../test/test_metrics_dto.py | 75 + .../test/test_microsoft365_auth_params_dto.py | 61 + .../test/test_module_settings_dto.py | 60 + ...ltiple_tenant_data_versions_details_dto.py | 63 + ..._multiple_tenant_data_versions_list_dto.py | 68 + .../test/test_my_sql_auth_params_dto.py | 63 + .../test/test_namely_auth_params_dto.py | 58 + .../test_network_subnets_message_request.py | 61 + .../test_network_subnets_message_response.py | 60 + .../test_numeric_parameter_definition_dto.py | 63 + .../test/test_numeric_parameter_value_dto.py | 59 + .../test/test_o_auth2_user_info_dto.py | 87 + .../test/test_o_auth2_user_subnet_info_dto.py | 61 + .../test_o_auth2_user_tenant_detail_dto.py | 61 + .../test_o_auth2_user_tenant_details_dto.py | 63 + ...test_o_auth2_user_tenant_properties_dto.py | 58 + .../test/test_object_change_failure_dto.py | 63 + .../test/test_object_change_success_dto.py | 61 + .../test/test_object_id_dto.py | 59 + .../test/test_object_reference_dto.py | 64 + .../test_objects_bulk_change_response_dto.py | 73 + .../test/test_oracle_db_auth_params_dto.py | 62 + .../test/test_output_entry.py | 18 +- .../test/test_output_entry1.py | 18 +- .../test/test_output_entry1_matches_inner.py | 18 +- src/visier_platform_sdk/test/test_pair_dto.py | 59 + .../test/test_parameter_definition_dto.py | 90 + .../test_permission_assigned_by_tenant_dto.py | 64 + ...ermission_assigned_for_local_tenant_dto.py | 60 + .../test/test_permission_assigned_user_dto.py | 60 + .../test_permission_assigned_users_dto.py | 69 + ..._permission_bulk_operation_response_dto.py | 68 + .../test/test_permission_dto.py | 111 + .../test/test_permission_error_dto.py | 59 + .../test/test_permission_failure_dto.py | 62 + .../test/test_permission_response_dto.py | 59 + .../test/test_permission_success_dto.py | 59 + .../test/test_permissions_list_dto.py | 107 + ...ermissions_to_user_group_for_tenant_dto.py | 70 + ...t_permissions_to_user_group_request_dto.py | 61 + ..._permissions_to_user_groups_request_dto.py | 64 + .../test_perspective_configuration_dto.py | 80 + .../test/test_perspective_node_dto.py | 75 + .../test/test_plan_data_load_change_dto.py | 18 +- .../test_plan_data_load_change_list_dto.py | 18 +- .../test/test_plan_data_load_error_dto.py | 60 + .../test_plan_data_upload_response_dto.py | 20 +- .../test/test_plan_info_dto.py | 68 + .../test/test_plan_item_dto.py | 60 + .../test_plan_parameter_definition_dto.py | 61 + .../test/test_plan_parameter_value_dto.py | 61 + .../test_plan_row_data_load_response_dto.py | 22 +- .../test/test_plan_schema_dto.py | 88 + .../test/test_plan_segment_level_dto.py | 62 + .../test_plan_segment_level_member_dto.py | 61 + ...test_plan_segment_level_member_list_dto.py | 66 + .../test/test_plan_time_period_dto.py | 59 + .../test/test_plan_with_schema_dto.py | 107 + ...est_planning_concept_filter_context_dto.py | 58 + ...est_planning_get_plan_list_response_dto.py | 66 - ...t_planning_hierarchy_filter_context_dto.py | 64 + .../test/test_planning_model_dto.py | 60 + .../test/test_planning_models_dto.py | 63 + .../test/test_planning_plan_context_dto.py | 67 + .../test_planning_plan_data_load_error_dto.py | 54 - .../test/test_planning_plan_dto.py | 78 + .../test/test_planning_plan_info_dto.py | 62 - .../test/test_planning_plan_item_dto.py | 54 - .../test/test_planning_plan_schema_dto.py | 82 - .../test_planning_plan_segment_level_dto.py | 56 - ..._planning_plan_segment_level_member_dto.py | 55 - ...ning_plan_segment_level_member_list_dto.py | 60 - .../test_planning_plan_time_period_dto.py | 53 - .../test_planning_plan_with_schema_dto.py | 101 - .../test/test_planning_plans_dto.py | 81 + .../test/test_planning_scenario_info_dto.py | 54 - .../test/test_population_configuration_dto.py | 72 + .../test/test_prediction_dto.py | 82 + .../test/test_predictions_dto.py | 85 + .../test_process_concept_definition_dto.py | 102 + .../test/test_process_concept_member_dto.py | 61 + .../test_process_concept_member_list_dto.py | 64 + ...t_process_concept_metric_definition_dto.py | 60 + .../test_process_concept_metric_list_dto.py | 65 + .../test/test_process_concept_outcome_dto.py | 75 + .../test_process_concept_outcome_list_dto.py | 65 + .../test_process_concept_property_list_dto.py | 64 + .../test_process_concept_property_type_dto.py | 60 + .../test/test_process_concept_stage_dto.py | 74 + .../test_process_concept_stage_list_dto.py | 64 + .../test/test_processing_job.py | 62 + ...test_processing_job_and_status_response.py | 69 + .../test/test_processing_job_request_dto.py | 66 + .../test_processing_job_status_response.py | 69 + .../test/test_product_release_dto.py | 61 + .../test/test_product_releases_dto.py | 64 + .../test/test_product_version_dto.py | 62 + .../test/test_product_versions_dto.py | 65 + ...ions_update_failure_tenant_response_dto.py | 63 + ...st_product_versions_update_response_dto.py | 74 + ...s_update_successful_tenant_response_dto.py | 62 + ...ction_version_api_operation_request_dto.py | 58 + ...tion_version_api_operation_response_dto.py | 67 + ...tion_versions_api_operation_request_dto.py | 64 + ...ion_versions_api_operation_response_dto.py | 58 + ...file_assigned_for_accessible_tenant_dto.py | 63 + ...t_profile_assigned_for_local_tenant_dto.py | 71 + .../test/test_profile_get_api_response_dto.py | 68 + .../test_profiles_get_api_response_dto.py | 71 + .../test_project_commits_api_response_dto.py | 63 + .../test/test_project_dto.py | 66 + .../test_project_operation_request_dto.py | 58 + .../test_project_operation_response_dto.py | 59 + .../test_properties_change_definitions_dto.py | 74 + .../test_properties_delete_definitions_dto.py | 67 + .../test/test_properties_dto.py | 78 + .../test/test_property_access_config_dto.py | 64 + .../test_property_bulk_delete_response_dto.py | 97 + .../test_property_change_definition_dto.py | 71 + ...operty_change_definitions_by_tenant_dto.py | 71 + .../test/test_property_column_dto.py | 66 + .../test/test_property_definition_dto.py | 70 + ...operty_delete_definitions_by_tenant_dto.py | 62 + .../test/test_property_delete_failure_dto.py | 75 + .../test/test_property_delete_success_dto.py | 73 + .../test/test_property_dto.py | 75 + .../test/test_property_reference_dto.py | 59 + .../test/test_property_set_config_dto.py | 69 + .../test/test_property_type_details_dto.py | 68 + .../test/test_property_type_dto.py | 62 + .../test/test_public_key_dto.py | 62 + .../test/test_public_keys_dto.py | 65 + .../test/test_push_data_cancel_response.py | 69 + .../test_push_data_column_definition_dto.py | 65 + .../test/test_push_data_complete_request.py | 59 + .../test/test_push_data_complete_response.py | 70 + .../test/test_push_data_response.py | 75 + .../test_push_data_source_definition_dto.py | 71 + .../test_push_data_source_definitions_dto.py | 74 + .../test/test_put_project_commits_request.py | 58 + .../test/test_qualtrics_auth_params_dto.py | 59 + .../test/test_query_axis_dto.py | 109 + .../test/test_query_axis_options_dto.py | 59 + ...ery_dimension_data_member_selection_dto.py | 60 + ...test_query_dimension_leaf_selection_dto.py | 60 + ...test_query_dimension_level_property_dto.py | 63 + ...est_query_dimension_level_selection_dto.py | 66 + ...st_query_dimension_member_selection_dto.py | 67 + .../test_query_execution_error_details_dto.py | 61 + .../test/test_query_execution_error_dto.py | 71 + .../test/test_query_execution_errors_dto.py | 66 + .../test/test_query_execution_options_dto.py | 74 + .../test/test_query_filter_dto.py | 68 + .../test_query_member_map_property_dto.py | 61 + .../test_query_member_map_selection_dto.py | 68 + .../test/test_query_numeric_ranges_dto.py | 69 + .../test/test_query_parameter_value_dto.py | 75 + .../test/test_query_property_dto.py | 76 + .../test/test_query_time_interval_dto.py | 67 + .../test/test_query_time_intervals_dto.py | 70 + ...st_question_categories_api_response_dto.py | 62 + ...test_question_category_api_response_dto.py | 59 + .../test/test_receiving_job.py | 60 + .../test_receiving_job_and_status_response.py | 67 + .../test_receiving_job_status_response.py | 67 + .../test/test_redshift_auth_params_dto.py | 64 + .../test/test_reduced_error_dto.py | 58 + .../test_reduced_tenant_code_error_dto.py | 61 + .../test/test_reduced_user_id_error_dto.py | 60 + .../test/test_related_analytic_object_dto.py | 59 + .../test/test_report_create_request_dto.py | 59 + .../test/test_report_delete_success_dto.py | 58 + .../test/test_report_dto.py | 68 + .../test/test_report_list_response_dto.py | 71 + src/visier_platform_sdk/test/test_result.py | 62 + .../test/test_role_modules_config_dto.py | 60 + .../test/test_salary_benchmark_input.py | 18 +- ...chmarks_batch_processing_failure_output.py | 18 +- ...ary_benchmarks_batch_processing_outputs.py | 18 +- ...arks_batch_processing_successful_output.py | 18 +- .../test/test_salesforce_auth_params_dto.py | 59 + .../test_salesforce_v2_auth_params_dto.py | 61 + .../test_sample_question_api_response_dto.py | 65 + .../test_sample_questions_api_response_dto.py | 65 + .../test/test_scenario_info_dto.py | 60 + .../test/test_scenario_or_snapshot_dto.py | 59 + .../test/test_securable_dimension_dto.py | 67 + .../test/test_securable_property_dto.py | 62 + .../test_security_assignment_response_dto.py | 74 + ...est_selection_concept_configuration_dto.py | 73 + ...selection_concept_configuration_map_dto.py | 73 + .../test/test_selection_concept_dto.py | 67 + .../test/test_selection_concept_list_dto.py | 63 + .../test_selection_concept_reference_dto.py | 59 + .../test/test_selection_concepts_dto.py | 70 + .../test/test_service_now_auth_params_dto.py | 60 + .../test_service_now_v2_auth_params_dto.py | 62 + ...e_tenant_profile_assignment_request_dto.py | 61 - ..._tenant_profile_assignment_response_dto.py | 76 - ...sible_tenant_profile_revoke_request_dto.py | 59 - ...ible_tenant_profile_revoke_response_dto.py | 70 - ...t_servicing_additional_capabilities_dto.py | 54 - ...t_servicing_admin_capability_config_dto.py | 55 - ...rmissions_assigned_for_local_tenant_dto.py | 57 - ...file_assigned_for_accessible_tenant_dto.py | 60 - ...l_profile_assigned_for_local_tenant_dto.py | 65 - ...er_groups_assigned_for_local_tenant_dto.py | 56 - ...ervicing_all_users_get_api_response_dto.py | 66 - .../test_servicing_analytic_object_dto.py | 80 - ...ign_revoke_permission_by_permission_dto.py | 61 - ..._assign_revoke_permission_by_tenant_dto.py | 68 - ...ng_assign_revoke_permission_by_user_dto.py | 54 - ...ng_assign_revoke_permission_request_dto.py | 55 - ...g_assign_revoke_permissions_request_dto.py | 64 - ..._assign_revoke_permissions_response_dto.py | 71 - ...icing_bulk_data_access_set_response_dto.py | 62 - .../test/test_servicing_capabilities_dto.py | 54 - .../test/test_servicing_capability_dto.py | 54 - .../test_servicing_capability_group_dto.py | 56 - ...capability_proto_enum_access_lookup_dto.py | 65 + ..._clone_files_into_source_parameters_dto.py | 56 - ...mmit_and_publish_operation_response_dto.py | 61 - .../test/test_servicing_commit_dto.py | 54 - .../test_servicing_content_package_dto.py | 54 - ...cing_create_data_access_set_request_dto.py | 68 - .../test_servicing_data_access_set_dto.py | 65 - ...est_servicing_data_access_set_error_dto.py | 53 - ...t_servicing_data_access_set_failure_dto.py | 56 - ...t_servicing_data_access_set_success_dto.py | 53 - ..._servicing_data_categories_response_dto.py | 56 - ...st_servicing_data_category_response_dto.py | 53 - ...est_servicing_data_security_profile_dto.py | 132 - .../test/test_servicing_date_range_dto.py | 53 - ...ervicing_delete_permissions_request_dto.py | 54 - .../test_servicing_dimension_filter_dto.py | 77 - ...st_servicing_direct_data_job_config_dto.py | 55 - ...ing_direct_data_job_status_response_dto.py | 56 - ...ect_data_list_transactions_response_dto.py | 59 - ...t_servicing_direct_data_load_config_dto.py | 56 - .../test_servicing_direct_data_schema_dto.py | 61 - ..._servicing_direct_data_schema_field_dto.py | 58 - ...t_servicing_direct_data_transaction_dto.py | 56 - ...ect_data_transaction_start_response_dto.py | 52 - ...ng_direct_data_upload_file_response_dto.py | 18 +- ...test_servicing_document_search_link_dto.py | 53 - ..._servicing_dynamic_dimension_filter_dto.py | 62 - ..._servicing_dynamic_property_mapping_dto.py | 55 - .../test/test_servicing_error_dto.py | 54 - ...n_versions_api_operation_parameters_dto.py | 56 - ...ccessible_tenant_profile_assignment_dto.py | 58 - ...led_local_tenant_profile_assignment_dto.py | 56 - ..._failed_local_tenant_profile_revoke_dto.py | 53 - ...icing_get_capabilities_api_response_dto.py | 57 - ...g_get_content_packages_api_response_dto.py | 57 - ...g_get_data_access_sets_api_response_dto.py | 68 - ..._data_security_objects_api_response_dto.py | 83 - ...vicing_get_permissions_api_response_dto.py | 101 - ...et_production_versions_api_response_dto.py | 63 - ...servicing_get_projects_api_response_dto.py | 99 - .../test_servicing_hierarchy_property_dto.py | 53 - ...t_servicing_inherited_access_config_dto.py | 82 - ...ited_reference_member_filter_config_dto.py | 53 - .../test/test_servicing_job_id_response.py | 52 - .../test/test_servicing_last_login_dto.py | 52 - ...l_tenant_profile_assignment_request_dto.py | 56 - ..._tenant_profile_assignment_response_dto.py | 66 - ...local_tenant_profile_revoke_request_dto.py | 54 - ...ocal_tenant_profile_revoke_response_dto.py | 60 - ...test_servicing_member_filter_config_dto.py | 77 - .../test_servicing_member_selection_dto.py | 56 - ...figuration_calculated_property_type_dto.py | 53 - ...icing_objectconfiguration_dependent_dto.py | 54 - ...uration_dimension_change_definition_dto.py | 55 - ...ension_change_definitions_by_tenant_dto.py | 60 - ...ation_dimensions_change_definitions_dto.py | 63 - ...configuration_object_change_failure_dto.py | 57 - ...configuration_object_change_success_dto.py | 55 - ...ration_objects_bulk_change_response_dto.py | 67 - ...ation_properties_change_definitions_dto.py | 68 - ...ation_properties_delete_definitions_dto.py | 61 - ...ation_property_bulk_delete_response_dto.py | 91 - ...guration_property_change_definition_dto.py | 65 - ...operty_change_definitions_by_tenant_dto.py | 65 - ...operty_delete_definitions_by_tenant_dto.py | 56 - ...nfiguration_property_delete_failure_dto.py | 69 - ...nfiguration_property_delete_success_dto.py | 67 - ...g_objectconfiguration_property_type_dto.py | 56 - ...tconfiguration_simple_property_type_dto.py | 52 - ..._servicing_objectconfiguration_tags_dto.py | 54 - ...icing_permission_assigned_by_tenant_dto.py | 58 - ...ermission_assigned_for_local_tenant_dto.py | 54 - ..._servicing_permission_assigned_user_dto.py | 54 - ...servicing_permission_assigned_users_dto.py | 63 - ..._permission_bulk_operation_response_dto.py | 62 - .../test/test_servicing_permission_dto.py | 105 - .../test_servicing_permission_error_dto.py | 53 - .../test_servicing_permission_failure_dto.py | 56 - .../test_servicing_permission_success_dto.py | 53 - ...ction_version_api_operation_request_dto.py | 52 - ...tion_version_api_operation_response_dto.py | 61 - ...tion_versions_api_operation_request_dto.py | 58 - ...ion_versions_api_operation_response_dto.py | 52 - ...file_assigned_for_accessible_tenant_dto.py | 57 - ...g_profile_assigned_for_local_tenant_dto.py | 65 - ..._servicing_profile_get_api_response_dto.py | 62 - ...servicing_profiles_get_api_response_dto.py | 65 - ...vicing_project_commits_api_response_dto.py | 57 - .../test/test_servicing_project_dto.py | 60 - ...servicing_project_operation_request_dto.py | 52 - ...ervicing_project_operation_response_dto.py | 53 - ...st_servicing_property_access_config_dto.py | 58 - .../test_servicing_property_set_config_dto.py | 63 - ...ng_question_categories_api_response_dto.py | 56 - ...cing_question_category_api_response_dto.py | 53 - .../test/test_servicing_reduced_error_dto.py | 52 - ...servicing_reduced_tenant_code_error_dto.py | 55 - ...est_servicing_reduced_user_id_error_dto.py | 54 - ...t_servicing_related_analytic_object_dto.py | 53 - .../test_servicing_role_modules_config_dto.py | 54 - ...vicing_sample_question_api_response_dto.py | 59 - ...icing_sample_questions_api_response_dto.py | 59 - .../test_servicing_securable_dimension_dto.py | 61 - .../test_servicing_securable_property_dto.py | 56 - ...capability_proto_enum_access_lookup_dto.py | 59 - ...est_servicing_shareable_data_access_set.py | 52 - ...ple_document_header_search_response_dto.py | 58 - ...imple_document_header_search_result_dto.py | 57 - ...icing_sources_api_operation_request_dto.py | 56 - ...t_servicing_static_dimension_filter_dto.py | 64 - ...ccessible_tenant_profile_assignment_dto.py | 54 - ...ful_local_tenant_profile_assignment_dto.py | 52 - .../test_servicing_target_tenant_code_dto.py | 53 - .../test_servicing_tenant_code_error_dto.py | 57 - ..._tenant_data_upload_status_response_dto.py | 53 - ..._data_upload_update_status_response_dto.py | 55 - ...g_tenant_data_uploads_list_response_dto.py | 62 - ...vicing_tenant_data_uploads_response_dto.py | 57 - ...tenant_data_uploads_update_response_dto.py | 60 - ...servicing_user_creation_api_request_dto.py | 56 - ...est_servicing_user_get_api_response_dto.py | 87 - ...ser_group_assigned_for_local_tenant_dto.py | 53 - ...est_servicing_user_group_assignment_dto.py | 54 - .../test/test_servicing_user_id_error_dto.py | 56 - .../test/test_servicing_user_property_dto.py | 52 - ...t_servicing_user_update_api_request_dto.py | 56 - ...t_servicing_users_api_error_message_dto.py | 53 - .../test_servicing_users_api_failure_dto.py | 57 - .../test_servicing_users_api_response_dto.py | 67 - .../test_servicing_users_api_success_dto.py | 57 - ...ervicing_users_creation_api_request_dto.py | 59 - ..._servicing_users_delete_api_request_dto.py | 54 - ..._servicing_users_update_api_request_dto.py | 60 - ...est_servicing_users_update_api_user_dto.py | 57 - ...guration_analytic_object_definition_dto.py | 54 - ...nfiguration_analytic_object_request_dto.py | 56 - ...ration_analytic_object_with_context_dto.py | 58 - ...jectconfiguration_basic_information_dto.py | 60 - ...tconfiguration_bulk_change_response_dto.py | 68 - ...figuration_calculated_property_type_dto.py | 54 - ...ectconfiguration_concept_definition_dto.py | 62 - ...onfiguration_concept_delete_request_dto.py | 56 - ...uration_concept_delete_with_context_dto.py | 57 - ...objectconfiguration_concept_request_dto.py | 56 - ...bjectconfiguration_concept_response_dto.py | 56 - ...tconfiguration_concept_type_details_dto.py | 63 - ...tconfiguration_concept_with_context_dto.py | 59 - ...jectconfiguration_execution_context_dto.py | 53 - ...2_objectconfiguration_failed_change_dto.py | 60 - ...jectconfiguration_metric_definition_dto.py | 63 - ...ctconfiguration_metric_type_details_dto.py | 55 - ...ng_v2_objectconfiguration_object_id_dto.py | 53 - ...guration_process_concept_definition_dto.py | 96 - ...onfiguration_process_concept_member_dto.py | 55 - ...uration_process_concept_member_list_dto.py | 58 - ...n_process_concept_metric_definition_dto.py | 54 - ...uration_process_concept_metric_list_dto.py | 59 - ...nfiguration_process_concept_outcome_dto.py | 69 - ...ration_process_concept_outcome_list_dto.py | 59 - ...ation_process_concept_property_list_dto.py | 58 - ...ation_process_concept_property_type_dto.py | 54 - ...configuration_process_concept_stage_dto.py | 68 - ...guration_process_concept_stage_list_dto.py | 58 - ...ctconfiguration_property_definition_dto.py | 64 - ...configuration_property_type_details_dto.py | 62 - ...tconfiguration_simple_property_type_dto.py | 53 - ...jectconfiguration_successful_change_dto.py | 57 - ...v2_objectconfiguration_synonym_list_dto.py | 54 - ...2_objectconfiguration_tag_reference_dto.py | 52 - ...ectconfiguration_tag_reference_list_dto.py | 55 - ...cing_vee_question_change_definition_dto.py | 59 - ...estion_change_definitions_by_tenant_dto.py | 61 - ...rvicing_vee_question_change_failure_dto.py | 62 - ...rvicing_vee_question_change_success_dto.py | 61 - ...estion_delete_definitions_by_tenant_dto.py | 56 - ..._vee_questions_bulk_change_response_dto.py | 72 - ...ng_vee_questions_change_definitions_dto.py | 64 - ...ng_vee_questions_delete_definitions_dto.py | 59 - .../test_set_connector_setting_request_dto.py | 67 + ...test_set_connector_setting_response_dto.py | 70 + ...test_set_connector_settings_request_dto.py | 70 + ...est_set_connector_settings_response_dto.py | 73 + .../test/test_shareable_data_access_set.py | 58 + ...ple_document_header_search_response_dto.py | 64 + ...imple_document_header_search_result_dto.py | 63 + .../test/test_simple_property_type_dto.py | 58 + .../test/test_simple_user_dto.py | 59 + src/visier_platform_sdk/test/test_skill.py | 18 +- .../test/test_skill_category.py | 18 +- .../test/test_skill_category_entry.py | 18 +- .../test/test_skill_entry.py | 18 +- .../test/test_skill_extraction_input.py | 18 +- .../test/test_skill_group.py | 18 +- .../test/test_skill_group_entry.py | 18 +- .../test/test_skill_match_input.py | 18 +- .../test/test_slack_auth_params_dto.py | 60 + .../test/test_snapshot_query_execution_dto.py | 107 + ...st_snapshot_query_execution_options_dto.py | 66 + .../test/test_snowflake_auth_params_dto.py | 64 + .../test/test_sort_option_dto.py | 59 + src/visier_platform_sdk/test/test_source.py | 63 + .../test_source_import_result_summary_dto.py | 18 +- .../test_sources_api_operation_request_dto.py | 62 + .../test/test_sources_api_put_response_dto.py | 18 +- .../test/test_sql_like_query_execution_dto.py | 76 + .../test/test_sql_server_auth_params_dto.py | 62 + .../test/test_start_extraction_response.py | 58 + .../test/test_start_transfer_response.py | 58 + .../test/test_static_dimension_filter_dto.py | 70 + src/visier_platform_sdk/test/test_status.py | 18 +- .../test/test_subject_missing_access_dto.py | 62 + .../test_success_factors_auth_params_dto.py | 65 + .../test_success_factors_o_auth_params_dto.py | 60 + ...ccessible_tenant_profile_assignment_dto.py | 60 + .../test/test_successful_change_dto.py | 63 + ...ful_local_tenant_profile_assignment_dto.py | 58 + .../test/test_synonym_list_dto.py | 60 + .../test/test_system_status_dto.py | 58 + .../test_systemstatus_system_status_dto.py | 52 - .../test/test_systemstatus_vee_status_dto.py | 52 - .../test/test_table_response_dto.py | 18 +- .../test/test_tag_map_element_dto.py | 59 + .../test/test_tag_reference_dto.py | 58 + .../test/test_tag_reference_list_dto.py | 61 + src/visier_platform_sdk/test/test_tags_dto.py | 60 + .../test_target_project_for_tenant_dto.py | 59 + ...est_target_project_for_tenants_list_dto.py | 62 + .../test/test_target_tenant_code_dto.py | 59 + src/visier_platform_sdk/test/test_tenant.py | 68 + .../test/test_tenant_and_credential.py | 59 + .../test/test_tenant_assignments_dto.py | 71 + .../test/test_tenant_code_body.py | 60 + .../test/test_tenant_code_error_dto.py | 63 + ...t_tenant_connector_settings_request_dto.py | 63 + ..._tenant_data_upload_status_response_dto.py | 59 + ..._data_upload_update_status_response_dto.py | 61 + ...t_tenant_data_uploads_list_response_dto.py | 68 + .../test_tenant_data_uploads_response_dto.py | 63 + ...tenant_data_uploads_update_response_dto.py | 66 + .../test/test_tenant_detail_apidto.py | 86 + .../test/test_tenant_details_traits_dto.py | 60 + .../test_tenant_encryption_key_details_dto.py | 62 + .../test/test_tenant_encryption_key_dto.py | 64 + ..._tenant_management_api_get_response_dto.py | 101 + ...tenant_management_api_list_response_dto.py | 101 + ...enant_management_api_update_request_dto.py | 96 + ...nant_management_api_update_response_dto.py | 90 + .../test/test_tenant_module_dto.py | 63 + ...test_tenant_preview_entries_summary_dto.py | 66 + ...tenant_preview_entries_summary_list_dto.py | 71 + .../test/test_tenant_provision_apidto.py | 77 + .../test/test_tenant_status_apidto.py | 61 + .../test/test_time_shift_dto.py | 60 + .../test/test_token_response.py | 18 +- .../test/test_ultimate_auth_params_dto.py | 62 + .../test/test_update_tenant_model.py | 71 + .../test/test_upload_to_exclude.py | 71 + .../test/test_upload_to_include.py | 71 + .../test_user_creation_api_request_dto.py | 62 + .../test_user_creation_api_response_dto.py | 18 +- .../test/test_user_get_api_response_dto.py | 93 + ...ser_group_assigned_for_local_tenant_dto.py | 59 + .../test/test_user_group_assignment_dto.py | 60 + .../test_user_group_change_definition_dto.py | 71 + ..._user_group_change_dimension_filter_dto.py | 69 + .../test_user_group_change_failure_dto.py | 62 + .../test/test_user_group_change_filter_dto.py | 71 + ..._user_group_change_member_selection_dto.py | 61 + .../test_user_group_change_response_dto.py | 72 + .../test_user_group_change_success_dto.py | 61 + .../test/test_user_group_change_users_dto.py | 84 + .../test/test_user_group_delete_dto.py | 60 + .../test_user_group_delete_failure_dto.py | 62 + .../test_user_group_delete_response_dto.py | 71 + .../test_user_group_delete_success_dto.py | 60 + .../test/test_user_group_filters_dto.py | 74 + .../test_user_group_get_api_response_dto.py | 64 + ...t_user_group_single_delete_response_dto.py | 67 + .../test/test_user_groups_change_dto.py | 67 + .../test_user_groups_delete_request_dto.py | 63 + .../test_user_groups_get_api_response_dto.py | 69 + .../test/test_user_groups_users_dto.py | 68 + .../test_user_groups_users_for_tenant_dto.py | 63 + .../test/test_user_id_error_dto.py | 62 + .../test/test_user_property_dto.py | 58 + .../test_user_security_assignments_dto.py | 64 + .../test/test_user_update_api_request_dto.py | 62 + .../test/test_users_api_error_message_dto.py | 59 + .../test/test_users_api_failure_dto.py | 63 + .../test/test_users_api_response_dto.py | 73 + .../test/test_users_api_success_dto.py | 63 + .../test_users_creation_api_request_dto.py | 65 + .../test/test_users_delete_api_request_dto.py | 60 + .../test_users_to_user_group_request_dto.py | 61 + .../test_users_to_user_groups_request_dto.py | 70 + .../test/test_users_update_api_request_dto.py | 66 + .../test/test_users_update_api_user_dto.py | 63 + .../test_v2_calculated_property_type_dto.py | 60 + .../test/test_v2_simple_property_type_dto.py | 59 + .../test/test_validity_range_dto.py | 59 + .../test/test_vee_clarification_dto.py | 73 + .../test/test_vee_conversation_dto.py | 61 + .../test/test_vee_conversation_state_dto.py | 60 + .../test/test_vee_corrections_dto.py | 79 + .../test/test_vee_data_dto.py | 59 + .../test/test_vee_feedback_dto.py | 61 + .../test/test_vee_options_dto.py | 64 + ...test_vee_question_change_definition_dto.py | 65 + ...estion_change_definitions_by_tenant_dto.py | 67 + .../test_vee_question_change_failure_dto.py | 68 + .../test_vee_question_change_success_dto.py | 67 + ...estion_delete_definitions_by_tenant_dto.py | 62 + .../test/test_vee_question_dto.py | 69 + ..._vee_questions_bulk_change_response_dto.py | 78 + ...st_vee_questions_change_definitions_dto.py | 70 + ...st_vee_questions_delete_definitions_dto.py | 65 + .../test/test_vee_response_dto.py | 114 + .../test/test_vee_response_schema_dto.py | 74 + .../test_vee_response_schema_reference_dto.py | 61 + .../test/test_vee_sample_question_dto.py | 61 + .../test_vee_sample_question_library_dto.py | 64 + .../test/test_vee_status_code_dto.py | 59 + .../test/test_vee_status_dto.py | 58 + .../test/test_vee_visual_dto.py | 60 + .../test/test_vee_visual_options_dto.py | 59 + .../test_webhook_basic_auth_credential_dto.py | 59 + .../test/test_webhook_credentials_dto.py | 61 + .../test/test_webhook_details_dto.py | 65 + .../test/test_webhook_dto.py | 68 + .../test/test_webhook_event_type_dto.py | 58 + .../test/test_webhook_message_response_dto.py | 61 + .../test/test_webhook_request_dto.py | 69 + .../test/test_webhooks_dto.py | 63 + .../test/test_willow_auth_params_dto.py | 59 + .../test/test_workday_auth_params_dto.py | 75 + .../test/test_workday_o_auth_params_dto.py | 60 + .../test/test_workday_raas_auth_params_dto.py | 62 + .../test_workday_refresh_token_params_dto.py | 60 + .../test/test_zoom_auth_params_dto.py | 60 + .../visier_platform_sdk/__init__.py | 1136 ++++----- .../api/concepts_v2_api.py | 198 +- .../api/consolidated_analytics_api.py | 334 +-- .../api/data_and_job_handling_api.py | 686 ++--- .../api/data_intake_api.py | 102 +- .../visier_platform_sdk/api/data_model_api.py | 836 +++--- .../visier_platform_sdk/api/data_query_api.py | 162 +- .../api/data_version_export_api.py | 92 +- .../api/direct_data_intake_api.py | 100 +- .../api/email_domains_api.py | 92 +- .../api/encryption_keys_api.py | 68 +- .../api/network_subnets_api.py | 134 +- .../visier_platform_sdk/api/o_auth2_api.py | 12 +- .../api/object_configuration_api.py | 134 +- .../api/permissions_api.py | 278 +- .../visier_platform_sdk/api/pgp_key_api.py | 78 +- .../api/production_versions_api.py | 100 +- .../visier_platform_sdk/api/profiles_api.py | 244 +- .../visier_platform_sdk/api/projects_api.py | 172 +- .../api/release_version_configuration_api.py | 66 +- .../visier_platform_sdk/api/reporting_api.py | 88 +- .../visier_platform_sdk/api/search_api.py | 12 +- .../api/source_files_download_api.py | 44 +- .../visier_platform_sdk/api/sources_api.py | 32 +- .../api/system_status_api.py | 22 +- .../visier_platform_sdk/api/tenants_v1_api.py | 206 +- .../visier_platform_sdk/api/tenants_v2_api.py | 182 +- .../api/user_groups_v2_api.py | 234 +- .../visier_platform_sdk/api/users_v1_api.py | 386 +-- .../visier_platform_sdk/api/users_v2_api.py | 128 +- .../visier_platform_sdk/api/vee_api.py | 112 +- .../visier_platform_sdk/api/webhooks_api.py | 212 +- .../visier_platform_sdk/api_client.py | 2 +- .../visier_platform_sdk/configuration.py | 2 +- .../visier_platform_sdk/models/__init__.py | 1134 ++++----- ...e_tenant_profile_assignment_request_dto.py | 102 + ..._tenant_profile_assignment_response_dto.py | 128 + ...sible_tenant_profile_revoke_request_dto.py | 98 + ...ible_tenant_profile_revoke_response_dto.py | 125 + .../models/additional_capabilities_dto.py | 88 + .../models/admin_all_tenants_status_apidto.py | 100 - ...ctor_credentials_by_tenant_response_dto.py | 112 - ...sign_connector_credentials_response_dto.py | 96 - ...connector_with_credentials_response_dto.py | 98 - ...n_assigned_credential_info_response_dto.py | 92 - .../admin_batch_tenant_provision_apidto.py | 96 - .../models/admin_business_location_dto.py | 90 - .../models/admin_capability_config_dto.py | 90 + .../admin_connector_info_response_dto.py | 92 - .../admin_connector_setting_request_dto.py | 90 - .../admin_connector_setting_response_dto.py | 92 - .../admin_connector_settings_response_dto.py | 102 - ..._analytics_api_excluded_source_list_dto.py | 88 - ...ed_analytics_api_source_tenant_list_dto.py | 88 - ...analytics_api_tenant_create_request_dto.py | 88 - ..._analytics_api_tenant_list_response_dto.py | 88 - ...dated_analytics_api_tenant_with_details.py | 92 - ...i_tenant_with_details_list_response_dto.py | 96 - .../models/admin_custom_property_dto.py | 90 - .../admin_custom_tenant_property_dto.py | 90 - .../admin_data_import_definition_apidto.py | 92 - .../admin_data_import_definitions_apidto.py | 100 - .../models/admin_data_version_and_date_dto.py | 90 - .../admin_delete_user_group_v2_request.py | 88 - .../models/admin_element_ids_dto.py | 88 - .../models/admin_email_domains_dto.py | 90 - .../models/admin_excluded_sources_body.py | 88 - .../models/admin_extractor_setting_apidto.py | 100 - ...dmin_extractor_setting_key_value_apidto.py | 90 - .../models/admin_extractor_settings_apidto.py | 96 - .../admin_home_analysis_by_user_group_dto.py | 90 - ..._consolidated_analytics_job_request_dto.py | 88 - .../admin_jobs_extract_data_and_load_dto.py | 150 -- .../admin_jobs_processing_job_request_dto.py | 96 - .../models/admin_key_name.py | 88 - .../models/admin_mask_message.py | 88 - ...ltiple_tenant_data_versions_details_dto.py | 98 - ..._multiple_tenant_data_versions_list_dto.py | 100 - .../admin_network_subnets_message_request.py | 90 - .../admin_network_subnets_message_response.py | 88 - .../models/admin_permission_response_dto.py | 90 - .../models/admin_permissions_list_dto.py | 96 - ...ermissions_to_user_group_for_tenant_dto.py | 102 - ...n_permissions_to_user_group_request_dto.py | 90 - ..._permissions_to_user_groups_request_dto.py | 96 - .../models/admin_product_release_dto.py | 94 - .../models/admin_product_releases_dto.py | 96 - .../models/admin_product_version_dto.py | 92 - .../models/admin_product_versions_dto.py | 96 - ...ions_update_failure_tenant_response_dto.py | 94 - ...in_product_versions_update_response_dto.py | 106 - ...s_update_successful_tenant_response_dto.py | 92 - .../admin_put_project_commits_request.py | 88 - .../admin_security_assignment_response_dto.py | 96 - ...admin_set_connector_setting_request_dto.py | 98 - ...dmin_set_connector_setting_response_dto.py | 112 - ...dmin_set_connector_settings_request_dto.py | 96 - ...min_set_connector_settings_response_dto.py | 96 - .../models/admin_simple_user_dto.py | 90 - .../admin_target_project_for_tenant_dto.py | 90 - ...min_target_project_for_tenants_list_dto.py | 96 - .../models/admin_tenant_assignments_dto.py | 114 - .../models/admin_tenant_code_body.py | 88 - ...n_tenant_connector_settings_request_dto.py | 98 - .../models/admin_tenant_detail_apidto.py | 130 - .../models/admin_tenant_details_traits_dto.py | 112 - ..._tenant_management_api_get_response_dto.py | 156 -- ...tenant_management_api_list_response_dto.py | 100 - ...enant_management_api_update_request_dto.py | 156 -- ...nant_management_api_update_response_dto.py | 136 - .../models/admin_tenant_provision_apidto.py | 110 - .../models/admin_tenant_status_apidto.py | 94 - .../models/admin_update_tenant_model.py | 98 - .../admin_user_group_change_definition_dto.py | 108 - ..._user_group_change_dimension_filter_dto.py | 104 - .../admin_user_group_change_failure_dto.py | 96 - .../admin_user_group_change_filter_dto.py | 100 - ..._user_group_change_member_selection_dto.py | 90 - .../admin_user_group_change_response_dto.py | 106 - .../admin_user_group_change_success_dto.py | 94 - .../admin_user_group_change_users_dto.py | 105 - .../models/admin_user_group_delete_dto.py | 92 - .../admin_user_group_delete_failure_dto.py | 96 - .../admin_user_group_delete_response_dto.py | 106 - .../admin_user_group_delete_success_dto.py | 92 - .../models/admin_user_group_filters_dto.py | 96 - .../admin_user_group_get_api_response_dto.py | 100 - ...n_user_group_single_delete_response_dto.py | 98 - .../models/admin_user_groups_change_dto.py | 96 - .../admin_user_groups_delete_request_dto.py | 96 - .../admin_user_groups_get_api_response_dto.py | 100 - .../models/admin_user_groups_users_dto.py | 100 - .../admin_user_groups_users_for_tenant_dto.py | 98 - .../admin_user_security_assignments_dto.py | 100 - .../admin_users_to_user_group_request_dto.py | 90 - .../admin_users_to_user_groups_request_dto.py | 102 - .../models/adp_auth_params_dto.py | 88 + .../models/aggregation_query_dto.py | 128 + .../models/aggregation_query_execution_dto.py | 98 + .../models/aggregation_query_source_dto.py | 96 + .../aggregation_query_source_metric_dto.py | 94 + .../aggregation_query_source_metrics_dto.py | 96 + .../models/aggregation_type_option_dto.py | 96 + .../models/aggregation_type_parameter_dto.py | 102 + .../aggregation_type_parameter_value_dto.py | 90 + ...rmissions_assigned_for_local_tenant_dto.py | 96 + ...file_assigned_for_accessible_tenant_dto.py | 96 + ...l_profile_assigned_for_local_tenant_dto.py | 96 + .../models/all_tenants_status_apidto.py | 100 + ...er_groups_assigned_for_local_tenant_dto.py | 96 + .../models/all_users_get_api_response_dto.py | 100 + ...alysis_common_report_create_request_dto.py | 90 - ...alysis_common_report_delete_success_dto.py | 88 - .../models/analysis_common_report_dto.py | 115 - ...nalysis_common_report_list_response_dto.py | 96 - .../analysis_common_vee_clarification_dto.py | 98 - .../analysis_common_vee_conversation_dto.py | 92 - ...lysis_common_vee_conversation_state_dto.py | 88 - .../analysis_common_vee_corrections_dto.py | 109 - .../models/analysis_common_vee_data_dto.py | 90 - .../analysis_common_vee_feedback_dto.py | 96 - .../models/analysis_common_vee_options_dto.py | 110 - .../analysis_common_vee_question_dto.py | 102 - .../analysis_common_vee_response_dto.py | 132 - ...analysis_common_vee_response_schema_dto.py | 107 - ...ommon_vee_response_schema_reference_dto.py | 90 - ...analysis_common_vee_sample_question_dto.py | 94 - ..._common_vee_sample_question_library_dto.py | 96 - .../analysis_common_vee_status_code_dto.py | 100 - .../models/analysis_common_vee_visual_dto.py | 92 - .../analysis_common_vee_visual_options_dto.py | 90 - .../models/analytic_object_definition_dto.py | 102 + .../models/analytic_object_dto.py | 132 + .../models/analytic_object_filter_dto.py | 100 + .../models/analytic_object_request_dto.py | 96 + .../analytic_object_with_context_dto.py | 98 + .../models/analytic_objects_dto.py | 96 + .../visier_platform_sdk/models/any.py | 101 + .../assign_connector_credential_request.py | 96 + ...ctor_credentials_by_tenant_response_dto.py | 112 + ...sign_connector_credentials_response_dto.py | 96 + ...connector_with_credentials_response_dto.py | 98 + ...ign_revoke_permission_by_permission_dto.py | 102 + .../assign_revoke_permission_by_tenant_dto.py | 114 + .../assign_revoke_permission_by_user_dto.py | 92 + .../assign_revoke_permission_request_dto.py | 90 + .../assign_revoke_permissions_request_dto.py | 102 + .../assign_revoke_permissions_response_dto.py | 96 + .../assigned_credential_info_response_dto.py | 92 + .../authentication_o_auth2_user_info_dto.py | 117 - ...entication_o_auth2_user_subnet_info_dto.py | 100 - ...tication_o_auth2_user_tenant_detail_dto.py | 96 - ...ication_o_auth2_user_tenant_details_dto.py | 96 - ...tion_o_auth2_user_tenant_properties_dto.py | 88 - .../models/bamboo_auth_params_dto.py | 90 + .../models/basic_information_dto.py | 102 + .../models/basic_s3_auth_params_dto.py | 96 + .../models/batch_tenant_provision_apidto.py | 96 + .../models/big_query_auth_params_dto.py | 104 + .../big_query_service_account_params_dto.py | 90 + .../models/bulk_change_response_dto.py | 106 + .../bulk_data_access_set_response_dto.py | 106 + .../models/business_location_dto.py | 90 + .../models/calculated_property_type_dto.py | 90 + .../calculation_concept_configuration_dto.py | 96 + ...lculation_concept_configuration_map_dto.py | 96 + .../models/calculation_concept_dto.py | 96 + .../models/calculation_concept_list_dto.py | 96 + .../cancel_job_batch_from_job_id_dto.py | 88 + .../models/capabilities_dto.py | 92 + .../models/capability_dto.py | 92 + .../models/capability_group_dto.py | 146 ++ .../models/cell_distribution_bin_dto.py | 90 + .../models/cell_distribution_options_dto.py | 88 + .../visier_platform_sdk/models/cell_dto.py | 102 + .../models/cell_set_axis_dto.py | 102 + .../models/cell_set_axis_position_dto.py | 92 + .../models/cell_set_dto.py | 114 + .../models/cell_set_or_error_dto.py | 98 + .../clone_files_into_source_parameters_dto.py | 96 + .../models/cohort_filter_dto.py | 100 + ...mmit_and_publish_operation_response_dto.py | 92 + .../visier_platform_sdk/models/commit_dto.py | 92 + .../concept_configuration_result_dto.py | 92 + .../models/concept_definition_dto.py | 102 + .../models/concept_delete_request_dto.py | 96 + .../models/concept_delete_with_context_dto.py | 98 + .../models/concept_request_dto.py | 96 + .../models/concept_response_dto.py | 96 + .../models/concept_type_details_dto.py | 92 + .../models/concept_with_context_dto.py | 98 + .../visier_platform_sdk/models/connector.py | 98 + .../models/connector_info_response_dto.py | 92 + .../models/connector_setting_request_dto.py | 90 + .../models/connector_setting_response_dto.py | 92 + .../models/connector_settings_response_dto.py | 102 + ..._analytics_api_excluded_source_list_dto.py | 88 + ...ed_analytics_api_source_tenant_list_dto.py | 88 + ...analytics_api_tenant_create_request_dto.py | 88 + ..._analytics_api_tenant_list_response_dto.py | 88 + ...dated_analytics_api_tenant_with_details.py | 92 + ...i_tenant_with_details_list_response_dto.py | 96 + .../consolidated_analytics_job_request_dto.py | 88 + .../models/content_package_dto.py | 92 + .../models/copy_s3_auth_params_dto.py | 88 + .../create_data_access_set_request_dto.py | 96 + .../credential_creation_api_response_dto.py | 102 + .../models/currencies_dto.py | 96 + .../models/currency_dto.py | 94 + .../models/currency_rate_dto.py | 96 + .../models/currency_rates_dto.py | 96 + .../models/custom_property_dto.py | 90 + .../models/custom_tenant_property_dto.py | 90 + .../models/data_access_set_dto.py | 104 + .../models/data_access_set_error_dto.py | 90 + .../models/data_access_set_failure_dto.py | 96 + .../models/data_access_set_success_dto.py | 90 + .../models/data_categories_response_dto.py | 96 + .../models/data_category_response_dto.py | 90 + ..._in_assign_connector_credential_request.py | 96 - .../models/data_in_connector.py | 98 - .../models/data_in_data_load_request.py | 92 - .../models/data_in_data_load_request_model.py | 90 - .../models/data_in_data_load_response.py | 88 - .../data_in_data_transfer_result_detail.py | 94 - .../models/data_in_data_version_object.py | 90 - .../models/data_in_disable_dv_model.py | 96 - .../models/data_in_disable_dv_request.py | 92 - .../models/data_in_disable_dv_response.py | 100 - ...data_in_dispatching_job_status_response.py | 94 - .../data_in_exclude_data_uploads_request.py | 96 - .../models/data_in_extraction_job.py | 94 - ...a_in_extraction_job_and_status_response.py | 104 - .../data_in_include_data_uploads_request.py | 96 - .../data_in_job_status_list_response.py | 100 - .../data_in_job_status_with_start_time.py | 96 - .../models/data_in_processing_job.py | 96 - ...a_in_processing_job_and_status_response.py | 104 - .../data_in_processing_job_status_response.py | 104 - .../data_in_push_data_cancel_response.py | 102 - .../data_in_push_data_complete_request.py | 90 - .../data_in_push_data_complete_response.py | 104 - .../models/data_in_push_data_response.py | 104 - .../models/data_in_receiving_job.py | 92 - ...ta_in_receiving_job_and_status_response.py | 104 - .../data_in_receiving_job_status_response.py | 104 - .../models/data_in_result.py | 96 - .../models/data_in_source.py | 98 - .../data_in_start_extraction_response.py | 88 - .../models/data_in_start_transfer_response.py | 88 - .../models/data_in_tenant.py | 100 - .../models/data_in_tenant_and_credential.py | 90 - .../models/data_in_upload_to_exclude.py | 102 - .../models/data_in_upload_to_include.py | 102 - .../models/data_load_request.py | 92 + .../models/data_load_request_model.py | 90 + .../models/data_load_response.py | 88 + .../models/data_model_analytic_object_dto.py | 130 + .../models/data_out_list_response.py | 101 - .../data_provider_auth_information_dto.py | 104 + .../models/data_provider_auth_params_dto.py | 344 +++ .../data_provider_basic_information_dto.py | 90 + .../data_provider_basic_metadata_dto.py | 88 + .../models/data_security_profile_dto.py | 134 + .../models/data_transfer_result_detail.py | 94 + .../models/data_version_and_date_dto.py | 90 + .../models/data_version_export_column_dto.py | 94 + ...version_export_data_version_summary_dto.py | 92 + .../data_version_export_data_versions_dto.py | 96 + .../models/data_version_export_dto.py | 108 + .../models/data_version_export_file_dto.py | 106 + .../data_version_export_job_status_dto.py | 94 + .../data_version_export_part_file_dto.py | 90 + ...version_export_schedule_job_request_dto.py | 90 + ...ersion_export_schedule_job_response_dto.py | 88 + .../models/data_version_export_table_dto.py | 101 + .../models/data_version_exports_dto.py | 96 + .../models/data_version_object.py | 90 + .../models/databricks_auth_params_dto.py | 94 + ...s_common_dimension_member_reference_dto.py | 90 - .../dataservices_common_member_values_dto.py | 105 - ...s_datamodel_aggregation_type_option_dto.py | 96 - ...atamodel_aggregation_type_parameter_dto.py | 102 - ...aservices_datamodel_analytic_object_dto.py | 130 - ...services_datamodel_analytic_objects_dto.py | 96 - .../dataservices_datamodel_currencies_dto.py | 96 - .../dataservices_datamodel_currency_dto.py | 94 - ...ataservices_datamodel_currency_rate_dto.py | 96 - ...taservices_datamodel_currency_rates_dto.py | 96 - .../dataservices_datamodel_dimension_dto.py | 120 - ...amodel_dimension_mapping_validation_dto.py | 102 - ...ension_mapping_validation_execution_dto.py | 90 - ...vices_datamodel_dimension_reference_dto.py | 90 - .../dataservices_datamodel_dimensions_dto.py | 96 - .../dataservices_datamodel_level_dto.py | 92 - .../dataservices_datamodel_member_dto.py | 106 - ...tamodel_member_parameter_definition_dto.py | 102 - .../dataservices_datamodel_members_dto.py | 96 - .../dataservices_datamodel_metric_dto.py | 122 - .../dataservices_datamodel_metrics_dto.py | 96 - ...amodel_numeric_parameter_definition_dto.py | 98 - ...services_datamodel_object_reference_dto.py | 110 - ...ices_datamodel_parameter_definition_dto.py | 110 - ...datamodel_plan_parameter_definition_dto.py | 94 - ...del_planning_concept_filter_context_dto.py | 88 - ...l_planning_hierarchy_filter_context_dto.py | 92 - ...taservices_datamodel_planning_model_dto.py | 92 - ...aservices_datamodel_planning_models_dto.py | 96 - ...ces_datamodel_planning_plan_context_dto.py | 98 - ...ataservices_datamodel_planning_plan_dto.py | 123 - ...taservices_datamodel_planning_plans_dto.py | 96 - ..._datamodel_population_configuration_dto.py | 115 - .../dataservices_datamodel_prediction_dto.py | 124 - .../dataservices_datamodel_predictions_dto.py | 96 - .../dataservices_datamodel_properties_dto.py | 96 - .../dataservices_datamodel_property_dto.py | 118 - ...rvices_datamodel_property_reference_dto.py | 90 - ...ices_datamodel_scenario_or_snapshot_dto.py | 90 - ...ervices_datamodel_selection_concept_dto.py | 106 - ...tamodel_selection_concept_reference_dto.py | 90 - ...rvices_datamodel_selection_concepts_dto.py | 96 - ...aservices_datamodel_tag_map_element_dto.py | 90 - ...taservices_datamodel_validity_range_dto.py | 90 - ...ataservices_query_aggregation_query_dto.py | 128 - ...s_query_aggregation_query_execution_dto.py | 98 - ...ices_query_aggregation_query_source_dto.py | 96 - ...ery_aggregation_query_source_metric_dto.py | 94 - ...ry_aggregation_query_source_metrics_dto.py | 96 - ...ry_aggregation_type_parameter_value_dto.py | 90 - ...ervices_query_cell_distribution_bin_dto.py | 90 - ...ces_query_cell_distribution_options_dto.py | 88 - .../models/dataservices_query_cell_dto.py | 102 - .../dataservices_query_cell_set_axis_dto.py | 102 - ...rvices_query_cell_set_axis_position_dto.py | 92 - .../models/dataservices_query_cell_set_dto.py | 114 - ...ataservices_query_cell_set_or_error_dto.py | 98 - .../dataservices_query_cohort_filter_dto.py | 100 - ...ry_internal_query_execution_options_dto.py | 100 - ...dataservices_query_key_group_filter_dto.py | 96 - ...ervices_query_key_group_filter_item_dto.py | 100 - .../models/dataservices_query_lineage_dto.py | 100 - ...services_query_list_query_execution_dto.py | 144 -- ..._query_list_query_execution_options_dto.py | 158 -- ...ataservices_query_list_query_source_dto.py | 94 - .../dataservices_query_member_filter_dto.py | 98 - ...rvices_query_member_parameter_value_dto.py | 98 - ...vices_query_numeric_parameter_value_dto.py | 90 - ...services_query_plan_parameter_value_dto.py | 94 - .../dataservices_query_property_column_dto.py | 94 - .../dataservices_query_query_axis_dto.py | 141 - ...taservices_query_query_axis_options_dto.py | 100 - ...ery_dimension_data_member_selection_dto.py | 92 - ...uery_query_dimension_leaf_selection_dto.py | 92 - ...uery_query_dimension_level_property_dto.py | 108 - ...ery_query_dimension_level_selection_dto.py | 96 - ...ry_query_dimension_member_selection_dto.py | 102 - ...query_query_execution_error_details_dto.py | 94 - ...ervices_query_query_execution_error_dto.py | 100 - ...rvices_query_query_execution_errors_dto.py | 100 - ...vices_query_query_execution_options_dto.py | 192 -- .../dataservices_query_query_filter_dto.py | 106 - ...ces_query_query_member_map_property_dto.py | 94 - ...es_query_query_member_map_selection_dto.py | 104 - ...services_query_query_numeric_ranges_dto.py | 100 - ...ervices_query_query_parameter_value_dto.py | 110 - .../dataservices_query_query_property_dto.py | 120 - ...aservices_query_query_time_interval_dto.py | 134 - ...services_query_query_time_intervals_dto.py | 150 -- ...ices_query_snapshot_query_execution_dto.py | 144 -- ...ry_snapshot_query_execution_options_dto.py | 134 - .../dataservices_query_sort_option_dto.py | 100 - ...ices_query_sql_like_query_execution_dto.py | 94 - .../dataservices_query_time_shift_dto.py | 112 - .../models/date_range_dto.py | 90 + .../models/dayforce_v2_auth_params_dto.py | 96 + .../models/delete_permissions_request_dto.py | 88 + .../models/delete_user_group_v2_request.py | 88 + .../models/dependent_dto.py | 92 + .../models/designer_adp_auth_params_dto.py | 88 - ...designer_api_analytic_object_filter_dto.py | 100 - ...i_calculation_concept_configuration_dto.py | 96 - ...lculation_concept_configuration_map_dto.py | 96 - .../designer_api_calculation_concept_dto.py | 96 - ...signer_api_calculation_concept_list_dto.py | 96 - ...er_api_concept_configuration_result_dto.py | 92 - .../designer_api_dimension_filter_dto.py | 100 - .../designer_api_dimension_member_dto.py | 88 - ...igner_api_perspective_configuration_dto.py | 100 - .../designer_api_perspective_node_dto.py | 100 - ...api_selection_concept_configuration_dto.py | 96 - ...selection_concept_configuration_map_dto.py | 96 - .../designer_api_selection_concept_dto.py | 96 - ...designer_api_selection_concept_list_dto.py | 96 - .../models/designer_bamboo_auth_params_dto.py | 90 - .../designer_basic_s3_auth_params_dto.py | 96 - .../designer_big_query_auth_params_dto.py | 104 - ...er_big_query_service_account_params_dto.py | 90 - .../designer_copy_s3_auth_params_dto.py | 88 - ...er_credential_creation_api_response_dto.py | 102 - ...esigner_crypto_generate_key_request_dto.py | 92 - ...ner_crypto_key_pair_delete_response_dto.py | 88 - ...er_crypto_key_pair_generate_request_dto.py | 88 - .../models/designer_crypto_public_key_dto.py | 96 - .../models/designer_crypto_public_keys_dto.py | 96 - ...rypto_tenant_encryption_key_details_dto.py | 96 - ...signer_crypto_tenant_encryption_key_dto.py | 94 - ...gner_data_provider_auth_information_dto.py | 104 - .../designer_data_provider_auth_params_dto.py | 344 --- ...ner_data_provider_basic_information_dto.py | 90 - ...signer_data_provider_basic_metadata_dto.py | 88 - ...designer_data_version_export_column_dto.py | 94 - ...version_export_data_version_summary_dto.py | 92 - ...r_data_version_export_data_versions_dto.py | 96 - .../designer_data_version_export_dto.py | 108 - .../designer_data_version_export_file_dto.py | 106 - ...gner_data_version_export_job_status_dto.py | 94 - ...igner_data_version_export_part_file_dto.py | 90 - ...version_export_schedule_job_request_dto.py | 90 - ...ersion_export_schedule_job_response_dto.py | 88 - .../designer_data_version_export_table_dto.py | 101 - .../designer_data_version_exports_dto.py | 96 - .../designer_databricks_auth_params_dto.py | 94 - .../designer_dayforce_v2_auth_params_dto.py | 96 - .../models/designer_dimension_filter_dto.py | 100 + .../designer_dimensions_auth_params_dto.py | 98 - .../designer_download_source_files_dto.py | 102 - ...gner_download_source_files_response_dto.py | 90 - .../designer_extractor_credential_apidto.py | 96 - .../designer_extractor_credentials_apidto.py | 100 - .../models/designer_fusion_auth_params_dto.py | 92 - .../models/designer_gong_auth_params_dto.py | 90 - .../designer_google_sheets_auth_params_dto.py | 94 - ...signer_google_workspace_auth_params_dto.py | 96 - .../designer_greenhouse_auth_params_dto.py | 88 - .../models/designer_icims_auth_params_dto.py | 108 - .../designer_internal_s3_auth_params_dto.py | 90 - .../models/designer_jdbc_auth_params_dto.py | 92 - .../models/designer_jira_auth_params_dto.py | 96 - .../designer_jira_connect_params_dto.py | 92 - .../models/designer_lever_auth_params_dto.py | 88 - .../designer_medallia_auth_params_dto.py | 94 - .../designer_microsoft365_auth_params_dto.py | 94 - .../models/designer_module_settings_dto.py | 92 - .../models/designer_my_sql_auth_params_dto.py | 98 - .../models/designer_namely_auth_params_dto.py | 88 - .../designer_oracle_db_auth_params_dto.py | 96 - .../models/designer_pair_dto.py | 90 - ...esigner_push_data_column_definition_dto.py | 98 - ...esigner_push_data_source_definition_dto.py | 102 - ...signer_push_data_source_definitions_dto.py | 96 - .../designer_qualtrics_auth_params_dto.py | 90 - .../designer_redshift_auth_params_dto.py | 100 - .../designer_salesforce_auth_params_dto.py | 90 - .../designer_salesforce_v2_auth_params_dto.py | 94 - .../models/designer_selection_concept_dto.py | 96 + .../designer_service_now_auth_params_dto.py | 92 - ...designer_service_now_v2_auth_params_dto.py | 96 - .../models/designer_slack_auth_params_dto.py | 92 - .../designer_snowflake_auth_params_dto.py | 100 - .../designer_sql_server_auth_params_dto.py | 96 - .../designer_subject_missing_access_dto.py | 102 - ...esigner_success_factors_auth_params_dto.py | 100 - ...igner_success_factors_o_auth_params_dto.py | 92 - .../models/designer_tenant_module_dto.py | 96 - .../designer_ultimate_auth_params_dto.py | 96 - ...bhook_webhook_basic_auth_credential_dto.py | 90 - ...esigner_webhook_webhook_credentials_dto.py | 94 - .../designer_webhook_webhook_details_dto.py | 104 - .../models/designer_webhook_webhook_dto.py | 96 - ...designer_webhook_webhook_event_type_dto.py | 88 - ...er_webhook_webhook_message_response_dto.py | 94 - .../designer_webhook_webhook_request_dto.py | 98 - .../models/designer_webhook_webhooks_dto.py | 96 - .../models/designer_willow_auth_params_dto.py | 90 - .../designer_workday_auth_params_dto.py | 118 - .../designer_workday_o_auth_params_dto.py | 92 - .../designer_workday_raas_auth_params_dto.py | 96 - ...signer_workday_refresh_token_params_dto.py | 92 - .../models/designer_zoom_auth_params_dto.py | 92 - .../models/dimension_change_definition_dto.py | 94 + ...ension_change_definitions_by_tenant_dto.py | 100 + .../models/dimension_dto.py | 120 + .../models/dimension_filter_dto.py | 98 + .../dimension_mapping_validation_dto.py | 102 + ...ension_mapping_validation_execution_dto.py | 90 + .../models/dimension_member_dto.py | 88 + .../models/dimension_member_reference_dto.py | 90 + .../models/dimension_reference_dto.py | 90 + .../models/dimensions_auth_params_dto.py | 98 + .../dimensions_change_definitions_dto.py | 96 + .../models/dimensions_dto.py | 96 + .../models/direct_data_job_config_dto.py | 100 + .../direct_data_job_status_response_dto.py | 96 + ...ect_data_list_transactions_response_dto.py | 96 + .../models/direct_data_load_config_dto.py | 92 + .../models/direct_data_schema_dto.py | 96 + .../models/direct_data_schema_field_dto.py | 96 + .../models/direct_data_transaction_dto.py | 96 + ...ect_data_transaction_start_response_dto.py | 88 + .../models/disable_dv_model.py | 96 + .../models/disable_dv_request.py | 92 + .../models/disable_dv_response.py | 100 + .../models/dispatching_job_status_response.py | 94 + .../models/document_search_link_dto.py | 90 + .../models/download_source_files_dto.py | 102 + .../download_source_files_response_dto.py | 90 + ...utomation_metric_validation_summary_dto.py | 92 - ...tion_tenant_preview_entries_summary_dto.py | 102 - ...tenant_preview_entries_summary_list_dto.py | 100 - .../dp_cancel_job_batch_from_job_id_dto.py | 88 - .../models/dp_job_cancellation_result_dto.py | 110 - .../models/dp_job_cancellation_results_dto.py | 96 - .../models/dynamic_dimension_filter_dto.py | 112 + .../models/dynamic_property_mapping_dto.py | 106 + .../models/element_ids_dto.py | 88 + .../models/email_domains_dto.py | 90 + .../visier_platform_sdk/models/error_dto.py | 92 + .../models/exclude_data_uploads_request.py | 96 + .../models/excluded_sources_body.py | 88 + .../models/execution_context_dto.py | 90 + ...n_versions_api_operation_parameters_dto.py | 92 + .../models/extract_data_and_load_dto.py | 150 ++ .../models/extraction_job.py | 94 + .../extraction_job_and_status_response.py | 104 + .../models/extractor_credential_apidto.py | 96 + .../models/extractor_credentials_apidto.py | 100 + .../models/extractor_setting_apidto.py | 100 + .../extractor_setting_key_value_apidto.py | 90 + .../models/extractor_settings_apidto.py | 96 + ...ccessible_tenant_profile_assignment_dto.py | 98 + .../models/failed_change_dto.py | 100 + ...led_local_tenant_profile_assignment_dto.py | 94 + .../failed_local_tenant_profile_revoke_dto.py | 90 + .../models/fusion_auth_params_dto.py | 92 + .../models/generate_key_request_dto.py | 92 + .../get_capabilities_api_response_dto.py | 96 + .../get_content_packages_api_response_dto.py | 96 + .../get_data_access_sets_api_response_dto.py | 96 + ..._data_security_objects_api_response_dto.py | 96 + .../get_permissions_api_response_dto.py | 96 + .../models/get_plan_list_response_dto.py | 98 + ...et_production_versions_api_response_dto.py | 96 + .../models/get_projects_api_response_dto.py | 123 + .../models/gong_auth_params_dto.py | 90 + .../models/google_protobuf_any.py | 101 - .../models/google_sheets_auth_params_dto.py | 94 + .../google_workspace_auth_params_dto.py | 96 + .../models/greenhouse_auth_params_dto.py | 88 + .../models/hierarchy_property_dto.py | 90 + .../models/home_analysis_by_user_group_dto.py | 90 + .../models/icims_auth_params_dto.py | 108 + .../models/import_definition_apidto.py | 92 + .../models/import_definitions_apidto.py | 100 + .../models/include_data_uploads_request.py | 96 + .../models/inherited_access_config_dto.py | 100 + ...ited_reference_member_filter_config_dto.py | 90 + .../internal_query_execution_options_dto.py | 100 + .../models/internal_s3_auth_params_dto.py | 90 + .../models/jdbc_auth_params_dto.py | 92 + .../models/jira_auth_params_dto.py | 96 + .../models/jira_connect_params_dto.py | 92 + .../models/job_cancellation_result_dto.py | 110 + .../models/job_cancellation_results_dto.py | 96 + .../models/job_id_response.py | 88 + .../models/job_status_list_response.py | 100 + .../models/job_status_with_start_time.py | 96 + .../models/key_group_filter_dto.py | 96 + .../models/key_group_filter_item_dto.py | 100 + .../visier_platform_sdk/models/key_name.py | 88 + .../models/key_pair_delete_response_dto.py | 88 + .../models/key_pair_generate_request_dto.py | 88 + .../models/last_login_dto.py | 88 + .../visier_platform_sdk/models/level_dto.py | 92 + .../models/lever_auth_params_dto.py | 88 + .../visier_platform_sdk/models/lineage_dto.py | 100 + .../models/list_query_execution_dto.py | 144 ++ .../list_query_execution_options_dto.py | 158 ++ .../models/list_query_source_dto.py | 94 + .../models/list_response.py | 101 + ...l_tenant_profile_assignment_request_dto.py | 92 + ..._tenant_profile_assignment_response_dto.py | 118 + ...local_tenant_profile_revoke_request_dto.py | 88 + ...ocal_tenant_profile_revoke_response_dto.py | 106 + .../models/mask_message.py | 88 + .../models/medallia_auth_params_dto.py | 94 + .../visier_platform_sdk/models/member_dto.py | 106 + .../models/member_filter_config_dto.py | 96 + .../models/member_filter_dto.py | 98 + .../models/member_parameter_definition_dto.py | 102 + .../models/member_parameter_value_dto.py | 98 + .../models/member_selection_dto.py | 102 + .../models/member_values_dto.py | 105 + .../visier_platform_sdk/models/members_dto.py | 96 + .../models/metric_definition_dto.py | 114 + .../visier_platform_sdk/models/metric_dto.py | 122 + .../models/metric_type_details_dto.py | 92 + .../models/metric_validation_summary_dto.py | 92 + .../visier_platform_sdk/models/metrics_dto.py | 96 + .../models/microsoft365_auth_params_dto.py | 94 + .../models/module_settings_dto.py | 92 + ...ltiple_tenant_data_versions_details_dto.py | 98 + .../multiple_tenant_data_versions_list_dto.py | 100 + .../models/my_sql_auth_params_dto.py | 98 + .../models/namely_auth_params_dto.py | 88 + .../models/network_subnets_message_request.py | 90 + .../network_subnets_message_response.py | 88 + .../numeric_parameter_definition_dto.py | 98 + .../models/numeric_parameter_value_dto.py | 90 + .../models/o_auth2_user_info_dto.py | 117 + .../models/o_auth2_user_subnet_info_dto.py | 100 + .../models/o_auth2_user_tenant_detail_dto.py | 96 + .../models/o_auth2_user_tenant_details_dto.py | 96 + .../o_auth2_user_tenant_properties_dto.py | 88 + .../models/object_change_failure_dto.py | 98 + .../models/object_change_success_dto.py | 94 + .../models/object_id_dto.py | 90 + .../models/object_reference_dto.py | 110 + .../objects_bulk_change_response_dto.py | 106 + .../models/oracle_db_auth_params_dto.py | 96 + .../visier_platform_sdk/models/pair_dto.py | 90 + .../models/parameter_definition_dto.py | 110 + .../permission_assigned_by_tenant_dto.py | 98 + ...ermission_assigned_for_local_tenant_dto.py | 92 + .../models/permission_assigned_user_dto.py | 92 + .../models/permission_assigned_users_dto.py | 100 + .../permission_bulk_operation_response_dto.py | 106 + .../models/permission_dto.py | 114 + .../models/permission_error_dto.py | 90 + .../models/permission_failure_dto.py | 96 + .../models/permission_response_dto.py | 90 + .../models/permission_success_dto.py | 90 + .../models/permissions_list_dto.py | 96 + ...ermissions_to_user_group_for_tenant_dto.py | 102 + .../permissions_to_user_group_request_dto.py | 90 + .../permissions_to_user_groups_request_dto.py | 96 + .../models/perspective_configuration_dto.py | 100 + .../models/perspective_node_dto.py | 100 + .../models/plan_data_load_error_dto.py | 92 + .../models/plan_data_upload_response_dto.py | 6 +- .../models/plan_info_dto.py | 106 + .../models/plan_item_dto.py | 102 + .../models/plan_parameter_definition_dto.py | 94 + .../models/plan_parameter_value_dto.py | 94 + .../models/plan_row_data_load_response_dto.py | 12 +- .../models/plan_schema_dto.py | 126 + .../models/plan_segment_level_dto.py | 96 + .../models/plan_segment_level_member_dto.py | 94 + .../plan_segment_level_member_list_dto.py | 100 + .../models/plan_time_period_dto.py | 90 + .../models/plan_with_schema_dto.py | 108 + .../planning_concept_filter_context_dto.py | 88 + .../planning_get_plan_list_response_dto.py | 98 - .../planning_hierarchy_filter_context_dto.py | 92 + .../models/planning_model_dto.py | 92 + .../models/planning_models_dto.py | 96 + .../models/planning_plan_context_dto.py | 98 + .../planning_plan_data_load_error_dto.py | 92 - .../models/planning_plan_dto.py | 123 + .../models/planning_plan_info_dto.py | 106 - .../models/planning_plan_item_dto.py | 102 - .../models/planning_plan_schema_dto.py | 126 - .../models/planning_plan_segment_level_dto.py | 96 - .../planning_plan_segment_level_member_dto.py | 94 - ...ning_plan_segment_level_member_list_dto.py | 100 - .../models/planning_plan_time_period_dto.py | 90 - .../models/planning_plan_with_schema_dto.py | 108 - .../models/planning_plans_dto.py | 96 + .../models/planning_scenario_info_dto.py | 92 - .../models/population_configuration_dto.py | 115 + .../models/prediction_dto.py | 124 + .../models/predictions_dto.py | 96 + .../models/process_concept_definition_dto.py | 128 + .../models/process_concept_member_dto.py | 90 + .../models/process_concept_member_list_dto.py | 96 + .../process_concept_metric_definition_dto.py | 92 + .../models/process_concept_metric_list_dto.py | 96 + .../models/process_concept_outcome_dto.py | 114 + .../process_concept_outcome_list_dto.py | 96 + .../process_concept_property_list_dto.py | 96 + .../process_concept_property_type_dto.py | 92 + .../models/process_concept_stage_dto.py | 102 + .../models/process_concept_stage_list_dto.py | 96 + .../models/processing_job.py | 96 + .../processing_job_and_status_response.py | 104 + .../models/processing_job_request_dto.py | 96 + .../models/processing_job_status_response.py | 104 + .../models/product_release_dto.py | 94 + .../models/product_releases_dto.py | 96 + .../models/product_version_dto.py | 92 + .../models/product_versions_dto.py | 96 + ...ions_update_failure_tenant_response_dto.py | 94 + .../product_versions_update_response_dto.py | 106 + ...s_update_successful_tenant_response_dto.py | 92 + ...ction_version_api_operation_request_dto.py | 98 + ...tion_version_api_operation_response_dto.py | 92 + ...tion_versions_api_operation_request_dto.py | 104 + ...ion_versions_api_operation_response_dto.py | 88 + ...file_assigned_for_accessible_tenant_dto.py | 98 + .../profile_assigned_for_local_tenant_dto.py | 110 + .../models/profile_get_api_response_dto.py | 102 + .../models/profiles_get_api_response_dto.py | 96 + .../project_commits_api_response_dto.py | 96 + .../visier_platform_sdk/models/project_dto.py | 111 + .../models/project_operation_request_dto.py | 98 + .../models/project_operation_response_dto.py | 92 + .../properties_change_definitions_dto.py | 96 + .../properties_delete_definitions_dto.py | 100 + .../models/properties_dto.py | 96 + .../models/property_access_config_dto.py | 116 + .../property_bulk_delete_response_dto.py | 106 + .../models/property_change_definition_dto.py | 112 + ...operty_change_definitions_by_tenant_dto.py | 100 + .../models/property_column_dto.py | 94 + .../models/property_definition_dto.py | 102 + ...operty_delete_definitions_by_tenant_dto.py | 92 + .../models/property_delete_failure_dto.py | 117 + .../models/property_delete_success_dto.py | 113 + .../models/property_dto.py | 118 + .../models/property_reference_dto.py | 90 + .../models/property_set_config_dto.py | 102 + .../models/property_type_details_dto.py | 104 + .../models/property_type_dto.py | 98 + .../models/public_key_dto.py | 96 + .../models/public_keys_dto.py | 96 + .../models/push_data_cancel_response.py | 102 + .../models/push_data_column_definition_dto.py | 98 + .../models/push_data_complete_request.py | 90 + .../models/push_data_complete_response.py | 104 + .../models/push_data_response.py | 104 + .../models/push_data_source_definition_dto.py | 102 + .../push_data_source_definitions_dto.py | 96 + .../models/put_project_commits_request.py | 88 + .../models/qualtrics_auth_params_dto.py | 90 + .../models/query_axis_dto.py | 141 + .../models/query_axis_options_dto.py | 100 + ...ery_dimension_data_member_selection_dto.py | 92 + .../query_dimension_leaf_selection_dto.py | 92 + .../query_dimension_level_property_dto.py | 108 + .../query_dimension_level_selection_dto.py | 96 + .../query_dimension_member_selection_dto.py | 102 + .../query_execution_error_details_dto.py | 94 + .../models/query_execution_error_dto.py | 100 + .../models/query_execution_errors_dto.py | 100 + .../models/query_execution_options_dto.py | 192 ++ .../models/query_filter_dto.py | 106 + .../models/query_member_map_property_dto.py | 94 + .../models/query_member_map_selection_dto.py | 104 + .../models/query_numeric_ranges_dto.py | 100 + .../models/query_parameter_value_dto.py | 110 + .../models/query_property_dto.py | 120 + .../models/query_time_interval_dto.py | 134 + .../models/query_time_intervals_dto.py | 150 ++ .../question_categories_api_response_dto.py | 96 + .../question_category_api_response_dto.py | 90 + .../models/receiving_job.py | 92 + .../receiving_job_and_status_response.py | 104 + .../models/receiving_job_status_response.py | 104 + .../models/redshift_auth_params_dto.py | 100 + .../models/reduced_error_dto.py | 88 + .../models/reduced_tenant_code_error_dto.py | 96 + .../models/reduced_user_id_error_dto.py | 94 + .../models/related_analytic_object_dto.py | 90 + .../models/report_create_request_dto.py | 90 + .../models/report_delete_success_dto.py | 88 + .../visier_platform_sdk/models/report_dto.py | 115 + .../models/report_list_response_dto.py | 96 + .../visier_platform_sdk/models/result.py | 96 + .../models/role_modules_config_dto.py | 88 + .../models/salesforce_auth_params_dto.py | 90 + .../models/salesforce_v2_auth_params_dto.py | 94 + .../sample_question_api_response_dto.py | 100 + .../sample_questions_api_response_dto.py | 96 + .../models/scenario_info_dto.py | 92 + .../models/scenario_or_snapshot_dto.py | 90 + .../models/securable_dimension_dto.py | 102 + .../models/securable_property_dto.py | 96 + .../security_assignment_response_dto.py | 96 + .../selection_concept_configuration_dto.py | 96 + ...selection_concept_configuration_map_dto.py | 96 + .../models/selection_concept_dto.py | 106 + .../models/selection_concept_list_dto.py | 96 + .../models/selection_concept_reference_dto.py | 90 + .../models/selection_concepts_dto.py | 96 + .../models/service_now_auth_params_dto.py | 92 + .../models/service_now_v2_auth_params_dto.py | 96 + ...e_tenant_profile_assignment_request_dto.py | 102 - ..._tenant_profile_assignment_response_dto.py | 128 - ...sible_tenant_profile_revoke_request_dto.py | 98 - ...ible_tenant_profile_revoke_response_dto.py | 125 - .../servicing_additional_capabilities_dto.py | 88 - .../servicing_admin_capability_config_dto.py | 90 - ...rmissions_assigned_for_local_tenant_dto.py | 96 - ...file_assigned_for_accessible_tenant_dto.py | 96 - ...l_profile_assigned_for_local_tenant_dto.py | 96 - ...er_groups_assigned_for_local_tenant_dto.py | 96 - ...ervicing_all_users_get_api_response_dto.py | 100 - .../models/servicing_analytic_object_dto.py | 132 - ...ign_revoke_permission_by_permission_dto.py | 102 - ..._assign_revoke_permission_by_tenant_dto.py | 114 - ...ng_assign_revoke_permission_by_user_dto.py | 92 - ...ng_assign_revoke_permission_request_dto.py | 90 - ...g_assign_revoke_permissions_request_dto.py | 102 - ..._assign_revoke_permissions_response_dto.py | 96 - ...icing_bulk_data_access_set_response_dto.py | 106 - .../models/servicing_capabilities_dto.py | 92 - .../models/servicing_capability_dto.py | 92 - .../models/servicing_capability_group_dto.py | 146 -- ...capability_proto_enum_access_lookup_dto.py | 96 + ..._clone_files_into_source_parameters_dto.py | 96 - ...mmit_and_publish_operation_response_dto.py | 92 - .../models/servicing_commit_dto.py | 92 - .../models/servicing_content_package_dto.py | 92 - ...cing_create_data_access_set_request_dto.py | 96 - .../models/servicing_data_access_set_dto.py | 104 - .../servicing_data_access_set_error_dto.py | 90 - .../servicing_data_access_set_failure_dto.py | 96 - .../servicing_data_access_set_success_dto.py | 90 - .../servicing_data_categories_response_dto.py | 96 - .../servicing_data_category_response_dto.py | 90 - .../servicing_data_security_profile_dto.py | 134 - .../models/servicing_date_range_dto.py | 90 - ...ervicing_delete_permissions_request_dto.py | 88 - .../models/servicing_dimension_filter_dto.py | 98 - .../servicing_direct_data_job_config_dto.py | 100 - ...ing_direct_data_job_status_response_dto.py | 96 - ...ect_data_list_transactions_response_dto.py | 96 - .../servicing_direct_data_load_config_dto.py | 92 - .../servicing_direct_data_schema_dto.py | 96 - .../servicing_direct_data_schema_field_dto.py | 96 - .../servicing_direct_data_transaction_dto.py | 96 - ...ect_data_transaction_start_response_dto.py | 88 - .../servicing_document_search_link_dto.py | 90 - .../servicing_dynamic_dimension_filter_dto.py | 112 - .../servicing_dynamic_property_mapping_dto.py | 106 - .../models/servicing_error_dto.py | 92 - ...n_versions_api_operation_parameters_dto.py | 92 - ...ccessible_tenant_profile_assignment_dto.py | 98 - ...led_local_tenant_profile_assignment_dto.py | 94 - ..._failed_local_tenant_profile_revoke_dto.py | 90 - ...icing_get_capabilities_api_response_dto.py | 96 - ...g_get_content_packages_api_response_dto.py | 96 - ...g_get_data_access_sets_api_response_dto.py | 96 - ..._data_security_objects_api_response_dto.py | 96 - ...vicing_get_permissions_api_response_dto.py | 96 - ...et_production_versions_api_response_dto.py | 96 - ...servicing_get_projects_api_response_dto.py | 123 - .../servicing_hierarchy_property_dto.py | 90 - .../servicing_inherited_access_config_dto.py | 100 - ...ited_reference_member_filter_config_dto.py | 90 - .../models/servicing_job_id_response.py | 88 - .../models/servicing_last_login_dto.py | 88 - ...l_tenant_profile_assignment_request_dto.py | 92 - ..._tenant_profile_assignment_response_dto.py | 118 - ...local_tenant_profile_revoke_request_dto.py | 88 - ...ocal_tenant_profile_revoke_response_dto.py | 106 - .../servicing_member_filter_config_dto.py | 96 - .../models/servicing_member_selection_dto.py | 102 - ...figuration_calculated_property_type_dto.py | 90 - ...icing_objectconfiguration_dependent_dto.py | 92 - ...uration_dimension_change_definition_dto.py | 94 - ...ension_change_definitions_by_tenant_dto.py | 100 - ...ation_dimensions_change_definitions_dto.py | 96 - ...configuration_object_change_failure_dto.py | 98 - ...configuration_object_change_success_dto.py | 94 - ...ration_objects_bulk_change_response_dto.py | 106 - ...ation_properties_change_definitions_dto.py | 96 - ...ation_properties_delete_definitions_dto.py | 100 - ...ation_property_bulk_delete_response_dto.py | 106 - ...guration_property_change_definition_dto.py | 112 - ...operty_change_definitions_by_tenant_dto.py | 100 - ...operty_delete_definitions_by_tenant_dto.py | 92 - ...nfiguration_property_delete_failure_dto.py | 117 - ...nfiguration_property_delete_success_dto.py | 113 - ...g_objectconfiguration_property_type_dto.py | 98 - ...tconfiguration_simple_property_type_dto.py | 88 - .../servicing_objectconfiguration_tags_dto.py | 88 - ...icing_permission_assigned_by_tenant_dto.py | 98 - ...ermission_assigned_for_local_tenant_dto.py | 92 - .../servicing_permission_assigned_user_dto.py | 92 - ...servicing_permission_assigned_users_dto.py | 100 - ..._permission_bulk_operation_response_dto.py | 106 - .../models/servicing_permission_dto.py | 114 - .../models/servicing_permission_error_dto.py | 90 - .../servicing_permission_failure_dto.py | 96 - .../servicing_permission_success_dto.py | 90 - ...ction_version_api_operation_request_dto.py | 98 - ...tion_version_api_operation_response_dto.py | 92 - ...tion_versions_api_operation_request_dto.py | 104 - ...ion_versions_api_operation_response_dto.py | 88 - ...file_assigned_for_accessible_tenant_dto.py | 98 - ...g_profile_assigned_for_local_tenant_dto.py | 110 - .../servicing_profile_get_api_response_dto.py | 102 - ...servicing_profiles_get_api_response_dto.py | 96 - ...vicing_project_commits_api_response_dto.py | 96 - .../models/servicing_project_dto.py | 111 - ...servicing_project_operation_request_dto.py | 98 - ...ervicing_project_operation_response_dto.py | 92 - .../servicing_property_access_config_dto.py | 116 - .../servicing_property_set_config_dto.py | 102 - ...ng_question_categories_api_response_dto.py | 96 - ...cing_question_category_api_response_dto.py | 90 - .../models/servicing_reduced_error_dto.py | 88 - ...servicing_reduced_tenant_code_error_dto.py | 96 - .../servicing_reduced_user_id_error_dto.py | 94 - .../servicing_related_analytic_object_dto.py | 90 - .../servicing_role_modules_config_dto.py | 88 - ...vicing_sample_question_api_response_dto.py | 100 - ...icing_sample_questions_api_response_dto.py | 96 - .../servicing_securable_dimension_dto.py | 102 - .../servicing_securable_property_dto.py | 96 - ...capability_proto_enum_access_lookup_dto.py | 96 - .../servicing_shareable_data_access_set.py | 88 - ...ple_document_header_search_response_dto.py | 96 - ...imple_document_header_search_result_dto.py | 98 - ...icing_sources_api_operation_request_dto.py | 104 - .../servicing_static_dimension_filter_dto.py | 112 - ...ccessible_tenant_profile_assignment_dto.py | 92 - ...ful_local_tenant_profile_assignment_dto.py | 88 - .../servicing_target_tenant_code_dto.py | 90 - .../models/servicing_tenant_code_error_dto.py | 96 - ..._tenant_data_upload_status_response_dto.py | 90 - ..._data_upload_update_status_response_dto.py | 94 - ...g_tenant_data_uploads_list_response_dto.py | 100 - ...vicing_tenant_data_uploads_response_dto.py | 98 - ...tenant_data_uploads_update_response_dto.py | 100 - ...servicing_user_creation_api_request_dto.py | 96 - .../servicing_user_get_api_response_dto.py | 122 - ...ser_group_assigned_for_local_tenant_dto.py | 90 - .../servicing_user_group_assignment_dto.py | 88 - .../models/servicing_user_id_error_dto.py | 94 - .../models/servicing_user_property_dto.py | 88 - .../servicing_user_update_api_request_dto.py | 96 - .../servicing_users_api_error_message_dto.py | 90 - .../models/servicing_users_api_failure_dto.py | 98 - .../servicing_users_api_response_dto.py | 106 - .../models/servicing_users_api_success_dto.py | 98 - ...ervicing_users_creation_api_request_dto.py | 96 - .../servicing_users_delete_api_request_dto.py | 88 - .../servicing_users_update_api_request_dto.py | 96 - .../servicing_users_update_api_user_dto.py | 98 - ...guration_analytic_object_definition_dto.py | 102 - ...nfiguration_analytic_object_request_dto.py | 96 - ...ration_analytic_object_with_context_dto.py | 98 - ...jectconfiguration_basic_information_dto.py | 102 - ...tconfiguration_bulk_change_response_dto.py | 106 - ...figuration_calculated_property_type_dto.py | 92 - ...ectconfiguration_concept_definition_dto.py | 102 - ...onfiguration_concept_delete_request_dto.py | 96 - ...uration_concept_delete_with_context_dto.py | 98 - ...objectconfiguration_concept_request_dto.py | 96 - ...bjectconfiguration_concept_response_dto.py | 96 - ...tconfiguration_concept_type_details_dto.py | 92 - ...tconfiguration_concept_with_context_dto.py | 98 - ...jectconfiguration_execution_context_dto.py | 90 - ...2_objectconfiguration_failed_change_dto.py | 100 - ...jectconfiguration_metric_definition_dto.py | 114 - ...ctconfiguration_metric_type_details_dto.py | 92 - ...ng_v2_objectconfiguration_object_id_dto.py | 90 - ...guration_process_concept_definition_dto.py | 128 - ...onfiguration_process_concept_member_dto.py | 90 - ...uration_process_concept_member_list_dto.py | 96 - ...n_process_concept_metric_definition_dto.py | 92 - ...uration_process_concept_metric_list_dto.py | 96 - ...nfiguration_process_concept_outcome_dto.py | 114 - ...ration_process_concept_outcome_list_dto.py | 96 - ...ation_process_concept_property_list_dto.py | 96 - ...ation_process_concept_property_type_dto.py | 92 - ...configuration_process_concept_stage_dto.py | 102 - ...guration_process_concept_stage_list_dto.py | 96 - ...ctconfiguration_property_definition_dto.py | 102 - ...configuration_property_type_details_dto.py | 104 - ...tconfiguration_simple_property_type_dto.py | 90 - ...jectconfiguration_successful_change_dto.py | 98 - ...v2_objectconfiguration_synonym_list_dto.py | 88 - ...2_objectconfiguration_tag_reference_dto.py | 88 - ...ectconfiguration_tag_reference_list_dto.py | 96 - ...cing_vee_question_change_definition_dto.py | 100 - ...estion_change_definitions_by_tenant_dto.py | 100 - ...rvicing_vee_question_change_failure_dto.py | 106 - ...rvicing_vee_question_change_success_dto.py | 104 - ...estion_delete_definitions_by_tenant_dto.py | 92 - ..._vee_questions_bulk_change_response_dto.py | 106 - ...ng_vee_questions_change_definitions_dto.py | 96 - ...ng_vee_questions_delete_definitions_dto.py | 96 - .../set_connector_setting_request_dto.py | 98 + .../set_connector_setting_response_dto.py | 112 + .../set_connector_settings_request_dto.py | 96 + .../set_connector_settings_response_dto.py | 96 + .../models/shareable_data_access_set.py | 88 + ...ple_document_header_search_response_dto.py | 96 + ...imple_document_header_search_result_dto.py | 98 + .../models/simple_property_type_dto.py | 88 + .../models/simple_user_dto.py | 90 + .../models/slack_auth_params_dto.py | 92 + .../models/snapshot_query_execution_dto.py | 144 ++ .../snapshot_query_execution_options_dto.py | 134 + .../models/snowflake_auth_params_dto.py | 100 + .../models/sort_option_dto.py | 100 + .../visier_platform_sdk/models/source.py | 98 + .../sources_api_operation_request_dto.py | 104 + .../models/sql_like200_response.py | 32 +- .../models/sql_like_query_execution_dto.py | 94 + .../models/sql_server_auth_params_dto.py | 96 + .../models/start_extraction_response.py | 88 + .../models/start_transfer_response.py | 88 + .../models/static_dimension_filter_dto.py | 112 + .../models/subject_missing_access_dto.py | 102 + .../models/success_factors_auth_params_dto.py | 100 + .../success_factors_o_auth_params_dto.py | 92 + ...ccessible_tenant_profile_assignment_dto.py | 92 + .../models/successful_change_dto.py | 98 + ...ful_local_tenant_profile_assignment_dto.py | 88 + .../models/synonym_list_dto.py | 88 + .../models/system_status_dto.py | 88 + .../models/systemstatus_system_status_dto.py | 88 - .../models/systemstatus_vee_status_dto.py | 88 - .../models/tag_map_element_dto.py | 90 + .../models/tag_reference_dto.py | 88 + .../models/tag_reference_list_dto.py | 96 + .../visier_platform_sdk/models/tags_dto.py | 88 + .../models/target_project_for_tenant_dto.py | 90 + .../target_project_for_tenants_list_dto.py | 96 + .../models/target_tenant_code_dto.py | 90 + .../visier_platform_sdk/models/tenant.py | 100 + .../models/tenant_and_credential.py | 90 + .../models/tenant_assignments_dto.py | 114 + .../models/tenant_code_body.py | 88 + .../models/tenant_code_error_dto.py | 96 + .../tenant_connector_settings_request_dto.py | 98 + .../tenant_data_upload_status_response_dto.py | 90 + ..._data_upload_update_status_response_dto.py | 94 + .../tenant_data_uploads_list_response_dto.py | 100 + .../tenant_data_uploads_response_dto.py | 98 + ...tenant_data_uploads_update_response_dto.py | 100 + .../models/tenant_detail_apidto.py | 130 + .../models/tenant_details_traits_dto.py | 112 + .../tenant_encryption_key_details_dto.py | 96 + .../models/tenant_encryption_key_dto.py | 94 + .../tenant_management_api_get_response_dto.py | 156 ++ ...tenant_management_api_list_response_dto.py | 100 + ...enant_management_api_update_request_dto.py | 156 ++ ...nant_management_api_update_response_dto.py | 136 + .../models/tenant_module_dto.py | 96 + .../tenant_preview_entries_summary_dto.py | 102 + ...tenant_preview_entries_summary_list_dto.py | 100 + .../models/tenant_provision_apidto.py | 110 + .../models/tenant_status_apidto.py | 94 + .../models/time_shift_dto.py | 112 + .../models/ultimate_auth_params_dto.py | 96 + .../models/update_tenant_model.py | 98 + .../models/upload_to_exclude.py | 102 + .../models/upload_to_include.py | 102 + .../models/user_creation_api_request_dto.py | 96 + .../models/user_get_api_response_dto.py | 122 + ...ser_group_assigned_for_local_tenant_dto.py | 90 + .../models/user_group_assignment_dto.py | 88 + .../user_group_change_definition_dto.py | 108 + .../user_group_change_dimension_filter_dto.py | 104 + .../models/user_group_change_failure_dto.py | 96 + .../models/user_group_change_filter_dto.py | 100 + .../user_group_change_member_selection_dto.py | 90 + .../models/user_group_change_response_dto.py | 106 + .../models/user_group_change_success_dto.py | 94 + .../models/user_group_change_users_dto.py | 105 + .../models/user_group_delete_dto.py | 92 + .../models/user_group_delete_failure_dto.py | 96 + .../models/user_group_delete_response_dto.py | 106 + .../models/user_group_delete_success_dto.py | 92 + .../models/user_group_filters_dto.py | 96 + .../models/user_group_get_api_response_dto.py | 100 + .../user_group_single_delete_response_dto.py | 98 + .../models/user_groups_change_dto.py | 96 + .../models/user_groups_delete_request_dto.py | 96 + .../user_groups_get_api_response_dto.py | 100 + .../models/user_groups_users_dto.py | 100 + .../user_groups_users_for_tenant_dto.py | 98 + .../models/user_id_error_dto.py | 94 + .../models/user_property_dto.py | 88 + .../models/user_security_assignments_dto.py | 100 + .../models/user_update_api_request_dto.py | 96 + .../models/users_api_error_message_dto.py | 90 + .../models/users_api_failure_dto.py | 98 + .../models/users_api_response_dto.py | 106 + .../models/users_api_success_dto.py | 98 + .../models/users_creation_api_request_dto.py | 96 + .../models/users_delete_api_request_dto.py | 88 + .../models/users_to_user_group_request_dto.py | 90 + .../users_to_user_groups_request_dto.py | 102 + .../models/users_update_api_request_dto.py | 96 + .../models/users_update_api_user_dto.py | 98 + .../models/v2_calculated_property_type_dto.py | 92 + .../models/v2_simple_property_type_dto.py | 90 + .../models/validity_range_dto.py | 90 + .../models/vee_clarification_dto.py | 98 + .../models/vee_conversation_dto.py | 92 + .../models/vee_conversation_state_dto.py | 88 + .../models/vee_corrections_dto.py | 109 + .../models/vee_data_dto.py | 90 + .../models/vee_feedback_dto.py | 96 + .../models/vee_options_dto.py | 110 + .../vee_question_change_definition_dto.py | 100 + ...estion_change_definitions_by_tenant_dto.py | 100 + .../models/vee_question_change_failure_dto.py | 106 + .../models/vee_question_change_success_dto.py | 104 + ...estion_delete_definitions_by_tenant_dto.py | 92 + .../models/vee_question_dto.py | 102 + .../vee_questions_bulk_change_response_dto.py | 106 + .../vee_questions_change_definitions_dto.py | 96 + .../vee_questions_delete_definitions_dto.py | 96 + .../models/vee_response_dto.py | 132 + .../models/vee_response_schema_dto.py | 107 + .../vee_response_schema_reference_dto.py | 90 + .../models/vee_sample_question_dto.py | 94 + .../models/vee_sample_question_library_dto.py | 96 + .../models/vee_status_code_dto.py | 100 + .../models/vee_status_dto.py | 88 + .../models/vee_visual_dto.py | 92 + .../models/vee_visual_options_dto.py | 90 + .../webhook_basic_auth_credential_dto.py | 90 + .../models/webhook_credentials_dto.py | 94 + .../models/webhook_details_dto.py | 104 + .../visier_platform_sdk/models/webhook_dto.py | 96 + .../models/webhook_event_type_dto.py | 88 + .../models/webhook_message_response_dto.py | 94 + .../models/webhook_request_dto.py | 98 + .../models/webhooks_dto.py | 96 + .../models/willow_auth_params_dto.py | 90 + .../models/workday_auth_params_dto.py | 118 + .../models/workday_o_auth_params_dto.py | 92 + .../models/workday_raas_auth_params_dto.py | 96 + .../workday_refresh_token_params_dto.py | 92 + .../models/zoom_auth_params_dto.py | 92 + 2358 files changed, 99902 insertions(+), 96206 deletions(-) create mode 100644 src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_additional_capabilities_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_all_tenants_status_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_assign_connector_credentials_by_tenant_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_assign_connector_credentials_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_assign_connector_with_credentials_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_assigned_credential_info_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_batch_tenant_provision_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_business_location_dto.py create mode 100644 src/visier_platform_sdk/test/test_admin_capability_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_connector_info_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_connector_setting_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_connector_setting_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_connector_settings_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_excluded_source_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_source_tenant_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_create_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_list_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_with_details.py delete mode 100644 src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_custom_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_custom_tenant_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_data_import_definition_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_data_import_definitions_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_data_version_and_date_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_delete_user_group_v2_request.py delete mode 100644 src/visier_platform_sdk/test/test_admin_element_ids_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_email_domains_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_excluded_sources_body.py delete mode 100644 src/visier_platform_sdk/test/test_admin_extractor_setting_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_extractor_setting_key_value_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_extractor_settings_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_home_analysis_by_user_group_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_jobs_consolidated_analytics_job_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_jobs_extract_data_and_load_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_jobs_processing_job_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_key_name.py delete mode 100644 src/visier_platform_sdk/test/test_admin_mask_message.py delete mode 100644 src/visier_platform_sdk/test/test_admin_multiple_tenant_data_versions_details_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_multiple_tenant_data_versions_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_network_subnets_message_request.py delete mode 100644 src/visier_platform_sdk/test/test_admin_network_subnets_message_response.py delete mode 100644 src/visier_platform_sdk/test/test_admin_permission_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_permissions_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_permissions_to_user_group_for_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_permissions_to_user_group_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_permissions_to_user_groups_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_product_release_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_product_releases_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_product_version_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_product_versions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_product_versions_update_failure_tenant_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_product_versions_update_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_product_versions_update_successful_tenant_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_put_project_commits_request.py delete mode 100644 src/visier_platform_sdk/test/test_admin_security_assignment_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_set_connector_setting_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_set_connector_setting_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_set_connector_settings_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_set_connector_settings_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_simple_user_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_target_project_for_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_target_project_for_tenants_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_assignments_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_code_body.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_connector_settings_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_detail_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_details_traits_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_management_api_get_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_management_api_list_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_management_api_update_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_management_api_update_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_provision_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_tenant_status_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_update_tenant_model.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_change_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_change_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_change_failure_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_change_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_change_member_selection_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_change_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_change_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_change_users_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_delete_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_delete_failure_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_delete_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_delete_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_filters_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_group_single_delete_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_groups_change_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_groups_delete_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_groups_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_groups_users_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_groups_users_for_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_user_security_assignments_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_users_to_user_group_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_admin_users_to_user_groups_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_adp_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_aggregation_query_dto.py create mode 100644 src/visier_platform_sdk/test/test_aggregation_query_execution_dto.py create mode 100644 src/visier_platform_sdk/test/test_aggregation_query_source_dto.py create mode 100644 src/visier_platform_sdk/test/test_aggregation_query_source_metric_dto.py create mode 100644 src/visier_platform_sdk/test/test_aggregation_query_source_metrics_dto.py create mode 100644 src/visier_platform_sdk/test/test_aggregation_type_option_dto.py create mode 100644 src/visier_platform_sdk/test/test_aggregation_type_parameter_dto.py create mode 100644 src/visier_platform_sdk/test/test_aggregation_type_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/test/test_all_permissions_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_all_profile_assigned_for_accessible_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_all_profile_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_all_tenants_status_apidto.py create mode 100644 src/visier_platform_sdk/test/test_all_user_groups_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_all_users_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_report_create_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_report_delete_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_report_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_report_list_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_clarification_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_conversation_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_conversation_state_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_corrections_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_data_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_feedback_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_options_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_question_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_response_schema_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_response_schema_reference_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_sample_question_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_sample_question_library_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_status_code_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_visual_dto.py delete mode 100644 src/visier_platform_sdk/test/test_analysis_common_vee_visual_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_with_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_objects_dto.py create mode 100644 src/visier_platform_sdk/test/test_any.py create mode 100644 src/visier_platform_sdk/test/test_assign_connector_credential_request.py create mode 100644 src/visier_platform_sdk/test/test_assign_connector_credentials_by_tenant_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_assign_connector_credentials_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_assign_connector_with_credentials_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_assign_revoke_permission_by_permission_dto.py create mode 100644 src/visier_platform_sdk/test/test_assign_revoke_permission_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_assign_revoke_permission_by_user_dto.py create mode 100644 src/visier_platform_sdk/test/test_assign_revoke_permission_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_assign_revoke_permissions_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_assign_revoke_permissions_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_assigned_credential_info_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_authentication_o_auth2_user_info_dto.py delete mode 100644 src/visier_platform_sdk/test/test_authentication_o_auth2_user_subnet_info_dto.py delete mode 100644 src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_detail_dto.py delete mode 100644 src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_details_dto.py delete mode 100644 src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_properties_dto.py create mode 100644 src/visier_platform_sdk/test/test_bamboo_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_basic_information_dto.py create mode 100644 src/visier_platform_sdk/test/test_basic_s3_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_batch_tenant_provision_apidto.py create mode 100644 src/visier_platform_sdk/test/test_big_query_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_big_query_service_account_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_bulk_change_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_bulk_data_access_set_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_business_location_dto.py create mode 100644 src/visier_platform_sdk/test/test_calculated_property_type_dto.py create mode 100644 src/visier_platform_sdk/test/test_calculation_concept_configuration_dto.py create mode 100644 src/visier_platform_sdk/test/test_calculation_concept_configuration_map_dto.py create mode 100644 src/visier_platform_sdk/test/test_calculation_concept_dto.py create mode 100644 src/visier_platform_sdk/test/test_calculation_concept_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_cancel_job_batch_from_job_id_dto.py create mode 100644 src/visier_platform_sdk/test/test_capabilities_dto.py create mode 100644 src/visier_platform_sdk/test/test_capability_dto.py create mode 100644 src/visier_platform_sdk/test/test_capability_group_dto.py create mode 100644 src/visier_platform_sdk/test/test_cell_distribution_bin_dto.py create mode 100644 src/visier_platform_sdk/test/test_cell_distribution_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_cell_dto.py create mode 100644 src/visier_platform_sdk/test/test_cell_set_axis_dto.py create mode 100644 src/visier_platform_sdk/test/test_cell_set_axis_position_dto.py create mode 100644 src/visier_platform_sdk/test/test_cell_set_dto.py create mode 100644 src/visier_platform_sdk/test/test_cell_set_or_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_clone_files_into_source_parameters_dto.py create mode 100644 src/visier_platform_sdk/test/test_cohort_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_commit_and_publish_operation_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_commit_dto.py create mode 100644 src/visier_platform_sdk/test/test_concept_configuration_result_dto.py create mode 100644 src/visier_platform_sdk/test/test_concept_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_concept_delete_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_concept_delete_with_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_concept_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_concept_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_concept_type_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_concept_with_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_connector.py create mode 100644 src/visier_platform_sdk/test/test_connector_info_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_connector_setting_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_connector_setting_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_connector_settings_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_consolidated_analytics_api_excluded_source_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_consolidated_analytics_api_source_tenant_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_create_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_list_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details.py create mode 100644 src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_consolidated_analytics_job_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_content_package_dto.py create mode 100644 src/visier_platform_sdk/test/test_copy_s3_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_create_data_access_set_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_credential_creation_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_currencies_dto.py create mode 100644 src/visier_platform_sdk/test/test_currency_dto.py create mode 100644 src/visier_platform_sdk/test/test_currency_rate_dto.py create mode 100644 src/visier_platform_sdk/test/test_currency_rates_dto.py create mode 100644 src/visier_platform_sdk/test/test_custom_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_custom_tenant_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_access_set_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_access_set_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_access_set_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_access_set_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_categories_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_category_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_assign_connector_credential_request.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_connector.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_data_load_request.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_data_load_request_model.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_data_load_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_data_transfer_result_detail.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_data_version_object.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_disable_dv_model.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_disable_dv_request.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_disable_dv_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_dispatching_job_status_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_exclude_data_uploads_request.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_extraction_job.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_extraction_job_and_status_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_include_data_uploads_request.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_job_status_list_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_job_status_with_start_time.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_processing_job.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_processing_job_and_status_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_processing_job_status_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_push_data_cancel_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_push_data_complete_request.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_push_data_complete_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_push_data_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_receiving_job.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_receiving_job_and_status_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_receiving_job_status_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_result.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_source.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_start_extraction_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_start_transfer_response.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_tenant.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_tenant_and_credential.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_upload_to_exclude.py delete mode 100644 src/visier_platform_sdk/test/test_data_in_upload_to_include.py create mode 100644 src/visier_platform_sdk/test/test_data_load_request.py create mode 100644 src/visier_platform_sdk/test/test_data_load_request_model.py create mode 100644 src/visier_platform_sdk/test/test_data_load_response.py create mode 100644 src/visier_platform_sdk/test/test_data_model_analytic_object_dto.py delete mode 100644 src/visier_platform_sdk/test/test_data_out_list_response.py create mode 100644 src/visier_platform_sdk/test/test_data_provider_auth_information_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_provider_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_provider_basic_information_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_provider_basic_metadata_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_security_profile_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_transfer_result_detail.py create mode 100644 src/visier_platform_sdk/test/test_data_version_and_date_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_column_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_data_version_summary_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_data_versions_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_file_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_job_status_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_part_file_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_schedule_job_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_schedule_job_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_export_table_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_exports_dto.py create mode 100644 src/visier_platform_sdk/test/test_data_version_object.py create mode 100644 src/visier_platform_sdk/test/test_databricks_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_common_dimension_member_reference_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_common_member_values_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_aggregation_type_option_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_aggregation_type_parameter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_analytic_object_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_analytic_objects_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_currencies_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_currency_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_currency_rate_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_currency_rates_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_mapping_validation_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_mapping_validation_execution_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_reference_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_dimensions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_level_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_member_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_member_parameter_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_members_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_metric_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_metrics_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_numeric_parameter_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_object_reference_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_parameter_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_plan_parameter_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_planning_concept_filter_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_planning_hierarchy_filter_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_planning_model_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_planning_models_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plan_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plan_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plans_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_population_configuration_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_prediction_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_predictions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_properties_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_property_reference_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_scenario_or_snapshot_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concept_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concept_reference_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concepts_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_tag_map_element_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_datamodel_validity_range_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_execution_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_metric_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_metrics_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_aggregation_type_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_cell_distribution_bin_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_cell_distribution_options_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_cell_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_cell_set_axis_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_cell_set_axis_position_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_cell_set_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_cell_set_or_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_cohort_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_internal_query_execution_options_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_key_group_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_key_group_filter_item_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_lineage_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_list_query_execution_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_list_query_execution_options_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_list_query_source_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_member_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_member_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_numeric_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_plan_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_property_column_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_axis_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_axis_options_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_dimension_data_member_selection_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_dimension_leaf_selection_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_dimension_level_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_dimension_level_selection_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_dimension_member_selection_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_execution_error_details_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_execution_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_execution_errors_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_execution_options_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_member_map_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_member_map_selection_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_numeric_ranges_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_time_interval_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_query_time_intervals_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_snapshot_query_execution_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_snapshot_query_execution_options_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_sort_option_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_sql_like_query_execution_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dataservices_query_time_shift_dto.py create mode 100644 src/visier_platform_sdk/test/test_date_range_dto.py create mode 100644 src/visier_platform_sdk/test/test_dayforce_v2_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_delete_permissions_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_delete_user_group_v2_request.py create mode 100644 src/visier_platform_sdk/test/test_dependent_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_adp_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_analytic_object_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_calculation_concept_configuration_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_calculation_concept_configuration_map_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_calculation_concept_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_calculation_concept_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_concept_configuration_result_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_dimension_member_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_perspective_configuration_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_perspective_node_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_selection_concept_configuration_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_selection_concept_configuration_map_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_selection_concept_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_api_selection_concept_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_bamboo_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_basic_s3_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_big_query_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_big_query_service_account_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_copy_s3_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_credential_creation_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_crypto_generate_key_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_crypto_key_pair_delete_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_crypto_key_pair_generate_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_crypto_public_key_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_crypto_public_keys_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_crypto_tenant_encryption_key_details_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_crypto_tenant_encryption_key_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_provider_auth_information_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_provider_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_provider_basic_information_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_provider_basic_metadata_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_column_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_data_version_summary_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_data_versions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_file_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_job_status_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_part_file_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_schedule_job_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_schedule_job_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_export_table_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_data_version_exports_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_databricks_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_dayforce_v2_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_designer_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_dimensions_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_download_source_files_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_download_source_files_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_extractor_credential_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_extractor_credentials_apidto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_fusion_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_gong_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_google_sheets_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_google_workspace_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_greenhouse_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_icims_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_internal_s3_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_jdbc_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_jira_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_jira_connect_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_lever_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_medallia_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_microsoft365_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_module_settings_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_my_sql_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_namely_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_oracle_db_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_pair_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_push_data_column_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_push_data_source_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_push_data_source_definitions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_qualtrics_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_redshift_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_salesforce_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_salesforce_v2_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_designer_selection_concept_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_service_now_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_service_now_v2_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_slack_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_snowflake_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_sql_server_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_subject_missing_access_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_success_factors_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_success_factors_o_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_tenant_module_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_ultimate_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_webhook_webhook_basic_auth_credential_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_webhook_webhook_credentials_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_webhook_webhook_details_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_webhook_webhook_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_webhook_webhook_event_type_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_webhook_webhook_message_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_webhook_webhook_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_webhook_webhooks_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_willow_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_workday_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_workday_o_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_workday_raas_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_workday_refresh_token_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_designer_zoom_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_change_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_change_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_mapping_validation_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_mapping_validation_execution_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_member_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_member_reference_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimension_reference_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimensions_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimensions_change_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_dimensions_dto.py create mode 100644 src/visier_platform_sdk/test/test_direct_data_job_config_dto.py create mode 100644 src/visier_platform_sdk/test/test_direct_data_job_status_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_direct_data_list_transactions_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_direct_data_load_config_dto.py create mode 100644 src/visier_platform_sdk/test/test_direct_data_schema_dto.py create mode 100644 src/visier_platform_sdk/test/test_direct_data_schema_field_dto.py create mode 100644 src/visier_platform_sdk/test/test_direct_data_transaction_dto.py create mode 100644 src/visier_platform_sdk/test/test_direct_data_transaction_start_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_disable_dv_model.py create mode 100644 src/visier_platform_sdk/test/test_disable_dv_request.py create mode 100644 src/visier_platform_sdk/test/test_disable_dv_response.py create mode 100644 src/visier_platform_sdk/test/test_dispatching_job_status_response.py create mode 100644 src/visier_platform_sdk/test/test_document_search_link_dto.py create mode 100644 src/visier_platform_sdk/test/test_download_source_files_dto.py create mode 100644 src/visier_platform_sdk/test/test_download_source_files_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dp_automation_metric_validation_summary_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dp_automation_tenant_preview_entries_summary_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dp_automation_tenant_preview_entries_summary_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dp_cancel_job_batch_from_job_id_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dp_job_cancellation_result_dto.py delete mode 100644 src/visier_platform_sdk/test/test_dp_job_cancellation_results_dto.py create mode 100644 src/visier_platform_sdk/test/test_dynamic_dimension_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_dynamic_property_mapping_dto.py create mode 100644 src/visier_platform_sdk/test/test_element_ids_dto.py create mode 100644 src/visier_platform_sdk/test/test_email_domains_dto.py create mode 100644 src/visier_platform_sdk/test/test_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_exclude_data_uploads_request.py create mode 100644 src/visier_platform_sdk/test/test_excluded_sources_body.py create mode 100644 src/visier_platform_sdk/test/test_execution_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_export_production_versions_api_operation_parameters_dto.py create mode 100644 src/visier_platform_sdk/test/test_extract_data_and_load_dto.py create mode 100644 src/visier_platform_sdk/test/test_extraction_job.py create mode 100644 src/visier_platform_sdk/test/test_extraction_job_and_status_response.py create mode 100644 src/visier_platform_sdk/test/test_extractor_credential_apidto.py create mode 100644 src/visier_platform_sdk/test/test_extractor_credentials_apidto.py create mode 100644 src/visier_platform_sdk/test/test_extractor_setting_apidto.py create mode 100644 src/visier_platform_sdk/test/test_extractor_setting_key_value_apidto.py create mode 100644 src/visier_platform_sdk/test/test_extractor_settings_apidto.py create mode 100644 src/visier_platform_sdk/test/test_failed_accessible_tenant_profile_assignment_dto.py create mode 100644 src/visier_platform_sdk/test/test_failed_change_dto.py create mode 100644 src/visier_platform_sdk/test/test_failed_local_tenant_profile_assignment_dto.py create mode 100644 src/visier_platform_sdk/test/test_failed_local_tenant_profile_revoke_dto.py create mode 100644 src/visier_platform_sdk/test/test_fusion_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_generate_key_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_capabilities_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_content_packages_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_data_access_sets_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_data_security_objects_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_permissions_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_plan_list_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_production_versions_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_projects_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_gong_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_google_protobuf_any.py create mode 100644 src/visier_platform_sdk/test/test_google_sheets_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_google_workspace_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_greenhouse_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_hierarchy_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_home_analysis_by_user_group_dto.py create mode 100644 src/visier_platform_sdk/test/test_icims_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_import_definition_apidto.py create mode 100644 src/visier_platform_sdk/test/test_import_definitions_apidto.py create mode 100644 src/visier_platform_sdk/test/test_include_data_uploads_request.py create mode 100644 src/visier_platform_sdk/test/test_inherited_access_config_dto.py create mode 100644 src/visier_platform_sdk/test/test_inherited_reference_member_filter_config_dto.py create mode 100644 src/visier_platform_sdk/test/test_internal_query_execution_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_internal_s3_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_jdbc_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_jira_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_jira_connect_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_job_cancellation_result_dto.py create mode 100644 src/visier_platform_sdk/test/test_job_cancellation_results_dto.py create mode 100644 src/visier_platform_sdk/test/test_job_id_response.py create mode 100644 src/visier_platform_sdk/test/test_job_status_list_response.py create mode 100644 src/visier_platform_sdk/test/test_job_status_with_start_time.py create mode 100644 src/visier_platform_sdk/test/test_key_group_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_key_group_filter_item_dto.py create mode 100644 src/visier_platform_sdk/test/test_key_name.py create mode 100644 src/visier_platform_sdk/test/test_key_pair_delete_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_key_pair_generate_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_last_login_dto.py create mode 100644 src/visier_platform_sdk/test/test_level_dto.py create mode 100644 src/visier_platform_sdk/test/test_lever_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_lineage_dto.py create mode 100644 src/visier_platform_sdk/test/test_list_query_execution_dto.py create mode 100644 src/visier_platform_sdk/test/test_list_query_execution_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_list_query_source_dto.py create mode 100644 src/visier_platform_sdk/test/test_list_response.py create mode 100644 src/visier_platform_sdk/test/test_local_tenant_profile_assignment_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_local_tenant_profile_assignment_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_local_tenant_profile_revoke_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_local_tenant_profile_revoke_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_mask_message.py create mode 100644 src/visier_platform_sdk/test/test_medallia_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_member_dto.py create mode 100644 src/visier_platform_sdk/test/test_member_filter_config_dto.py create mode 100644 src/visier_platform_sdk/test/test_member_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_member_parameter_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_member_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/test/test_member_selection_dto.py create mode 100644 src/visier_platform_sdk/test/test_member_values_dto.py create mode 100644 src/visier_platform_sdk/test/test_members_dto.py create mode 100644 src/visier_platform_sdk/test/test_metric_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_metric_dto.py create mode 100644 src/visier_platform_sdk/test/test_metric_type_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_metric_validation_summary_dto.py create mode 100644 src/visier_platform_sdk/test/test_metrics_dto.py create mode 100644 src/visier_platform_sdk/test/test_microsoft365_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_module_settings_dto.py create mode 100644 src/visier_platform_sdk/test/test_multiple_tenant_data_versions_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_multiple_tenant_data_versions_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_my_sql_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_namely_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_network_subnets_message_request.py create mode 100644 src/visier_platform_sdk/test/test_network_subnets_message_response.py create mode 100644 src/visier_platform_sdk/test/test_numeric_parameter_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_numeric_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/test/test_o_auth2_user_info_dto.py create mode 100644 src/visier_platform_sdk/test/test_o_auth2_user_subnet_info_dto.py create mode 100644 src/visier_platform_sdk/test/test_o_auth2_user_tenant_detail_dto.py create mode 100644 src/visier_platform_sdk/test/test_o_auth2_user_tenant_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_o_auth2_user_tenant_properties_dto.py create mode 100644 src/visier_platform_sdk/test/test_object_change_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_object_change_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_object_id_dto.py create mode 100644 src/visier_platform_sdk/test/test_object_reference_dto.py create mode 100644 src/visier_platform_sdk/test/test_objects_bulk_change_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_oracle_db_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_pair_dto.py create mode 100644 src/visier_platform_sdk/test/test_parameter_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_assigned_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_assigned_user_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_assigned_users_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_bulk_operation_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_permission_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_permissions_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_permissions_to_user_group_for_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_permissions_to_user_group_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_permissions_to_user_groups_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_perspective_configuration_dto.py create mode 100644 src/visier_platform_sdk/test/test_perspective_node_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_data_load_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_info_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_item_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_parameter_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_schema_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_segment_level_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_segment_level_member_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_segment_level_member_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_time_period_dto.py create mode 100644 src/visier_platform_sdk/test/test_plan_with_schema_dto.py create mode 100644 src/visier_platform_sdk/test/test_planning_concept_filter_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_get_plan_list_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_planning_hierarchy_filter_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_planning_model_dto.py create mode 100644 src/visier_platform_sdk/test/test_planning_models_dto.py create mode 100644 src/visier_platform_sdk/test/test_planning_plan_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_data_load_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_planning_plan_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_info_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_item_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_schema_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_segment_level_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_segment_level_member_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_segment_level_member_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_time_period_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_plan_with_schema_dto.py create mode 100644 src/visier_platform_sdk/test/test_planning_plans_dto.py delete mode 100644 src/visier_platform_sdk/test/test_planning_scenario_info_dto.py create mode 100644 src/visier_platform_sdk/test/test_population_configuration_dto.py create mode 100644 src/visier_platform_sdk/test/test_prediction_dto.py create mode 100644 src/visier_platform_sdk/test/test_predictions_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_member_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_member_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_metric_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_metric_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_outcome_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_outcome_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_property_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_property_type_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_stage_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_stage_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_processing_job.py create mode 100644 src/visier_platform_sdk/test/test_processing_job_and_status_response.py create mode 100644 src/visier_platform_sdk/test/test_processing_job_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_processing_job_status_response.py create mode 100644 src/visier_platform_sdk/test/test_product_release_dto.py create mode 100644 src/visier_platform_sdk/test/test_product_releases_dto.py create mode 100644 src/visier_platform_sdk/test/test_product_version_dto.py create mode 100644 src/visier_platform_sdk/test/test_product_versions_dto.py create mode 100644 src/visier_platform_sdk/test/test_product_versions_update_failure_tenant_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_product_versions_update_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_product_versions_update_successful_tenant_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_production_version_api_operation_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_production_version_api_operation_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_production_versions_api_operation_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_production_versions_api_operation_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_profile_assigned_for_accessible_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_profile_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_profile_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_profiles_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_project_commits_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_project_dto.py create mode 100644 src/visier_platform_sdk/test/test_project_operation_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_project_operation_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_properties_change_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_properties_delete_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_properties_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_access_config_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_bulk_delete_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_change_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_change_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_column_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_delete_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_delete_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_delete_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_reference_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_set_config_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_type_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_property_type_dto.py create mode 100644 src/visier_platform_sdk/test/test_public_key_dto.py create mode 100644 src/visier_platform_sdk/test/test_public_keys_dto.py create mode 100644 src/visier_platform_sdk/test/test_push_data_cancel_response.py create mode 100644 src/visier_platform_sdk/test/test_push_data_column_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_push_data_complete_request.py create mode 100644 src/visier_platform_sdk/test/test_push_data_complete_response.py create mode 100644 src/visier_platform_sdk/test/test_push_data_response.py create mode 100644 src/visier_platform_sdk/test/test_push_data_source_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_push_data_source_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_put_project_commits_request.py create mode 100644 src/visier_platform_sdk/test/test_qualtrics_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_axis_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_axis_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_dimension_data_member_selection_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_dimension_leaf_selection_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_dimension_level_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_dimension_level_selection_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_dimension_member_selection_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_execution_error_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_execution_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_execution_errors_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_execution_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_member_map_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_member_map_selection_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_numeric_ranges_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_time_interval_dto.py create mode 100644 src/visier_platform_sdk/test/test_query_time_intervals_dto.py create mode 100644 src/visier_platform_sdk/test/test_question_categories_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_question_category_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_receiving_job.py create mode 100644 src/visier_platform_sdk/test/test_receiving_job_and_status_response.py create mode 100644 src/visier_platform_sdk/test/test_receiving_job_status_response.py create mode 100644 src/visier_platform_sdk/test/test_redshift_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_reduced_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_reduced_tenant_code_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_reduced_user_id_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_related_analytic_object_dto.py create mode 100644 src/visier_platform_sdk/test/test_report_create_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_report_delete_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_report_dto.py create mode 100644 src/visier_platform_sdk/test/test_report_list_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_result.py create mode 100644 src/visier_platform_sdk/test/test_role_modules_config_dto.py create mode 100644 src/visier_platform_sdk/test/test_salesforce_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_salesforce_v2_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_sample_question_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_sample_questions_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_scenario_info_dto.py create mode 100644 src/visier_platform_sdk/test/test_scenario_or_snapshot_dto.py create mode 100644 src/visier_platform_sdk/test/test_securable_dimension_dto.py create mode 100644 src/visier_platform_sdk/test/test_securable_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_security_assignment_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_selection_concept_configuration_dto.py create mode 100644 src/visier_platform_sdk/test/test_selection_concept_configuration_map_dto.py create mode 100644 src/visier_platform_sdk/test/test_selection_concept_dto.py create mode 100644 src/visier_platform_sdk/test/test_selection_concept_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_selection_concept_reference_dto.py create mode 100644 src/visier_platform_sdk/test/test_selection_concepts_dto.py create mode 100644 src/visier_platform_sdk/test/test_service_now_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_service_now_v2_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_assignment_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_assignment_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_revoke_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_revoke_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_additional_capabilities_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_admin_capability_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_all_permissions_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_all_profile_assigned_for_accessible_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_all_profile_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_all_user_groups_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_all_users_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_analytic_object_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_permission_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_user_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_assign_revoke_permissions_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_assign_revoke_permissions_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_bulk_data_access_set_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_capabilities_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_capability_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_capability_group_dto.py create mode 100644 src/visier_platform_sdk/test/test_servicing_capability_proto_enum_access_lookup_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_clone_files_into_source_parameters_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_commit_and_publish_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_commit_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_content_package_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_create_data_access_set_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_data_access_set_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_data_access_set_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_data_access_set_failure_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_data_access_set_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_data_categories_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_data_category_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_data_security_profile_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_date_range_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_delete_permissions_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_direct_data_job_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_direct_data_job_status_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_direct_data_list_transactions_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_direct_data_load_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_direct_data_schema_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_direct_data_schema_field_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_direct_data_transaction_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_direct_data_transaction_start_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_document_search_link_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_dynamic_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_dynamic_property_mapping_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_export_production_versions_api_operation_parameters_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_failed_accessible_tenant_profile_assignment_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_failed_local_tenant_profile_assignment_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_failed_local_tenant_profile_revoke_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_get_capabilities_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_get_content_packages_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_get_data_access_sets_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_get_data_security_objects_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_get_permissions_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_get_production_versions_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_get_projects_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_hierarchy_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_inherited_access_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_inherited_reference_member_filter_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_job_id_response.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_last_login_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_local_tenant_profile_assignment_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_local_tenant_profile_assignment_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_local_tenant_profile_revoke_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_local_tenant_profile_revoke_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_member_filter_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_member_selection_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_calculated_property_type_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_dependent_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimension_change_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimensions_change_definitions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_object_change_failure_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_object_change_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_objects_bulk_change_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_properties_change_definitions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_properties_delete_definitions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_bulk_delete_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_change_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_failure_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_type_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_simple_property_type_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_objectconfiguration_tags_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_assigned_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_assigned_user_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_assigned_users_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_bulk_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_failure_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_permission_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_production_version_api_operation_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_production_version_api_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_production_versions_api_operation_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_production_versions_api_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_profile_assigned_for_accessible_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_profile_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_profile_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_profiles_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_project_commits_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_project_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_project_operation_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_project_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_property_access_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_property_set_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_question_categories_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_question_category_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_reduced_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_reduced_tenant_code_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_reduced_user_id_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_related_analytic_object_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_role_modules_config_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_sample_question_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_sample_questions_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_securable_dimension_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_securable_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_servicing_capability_proto_enum_access_lookup_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_shareable_data_access_set.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_simple_document_header_search_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_simple_document_header_search_result_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_sources_api_operation_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_static_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_successful_accessible_tenant_profile_assignment_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_successful_local_tenant_profile_assignment_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_target_tenant_code_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_tenant_code_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_tenant_data_upload_status_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_tenant_data_upload_update_status_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_list_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_update_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_user_creation_api_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_user_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_user_group_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_user_group_assignment_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_user_id_error_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_user_property_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_user_update_api_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_users_api_error_message_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_users_api_failure_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_users_api_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_users_api_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_users_creation_api_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_users_delete_api_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_users_update_api_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_users_update_api_user_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_with_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_basic_information_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_bulk_change_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_calculated_property_type_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_delete_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_delete_with_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_request_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_type_details_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_with_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_execution_context_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_failed_change_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_metric_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_metric_type_details_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_object_id_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_member_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_member_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_metric_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_outcome_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_property_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_property_type_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_stage_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_stage_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_property_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_property_type_details_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_simple_property_type_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_successful_change_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_synonym_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_tag_reference_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_tag_reference_list_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_vee_question_change_definition_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_vee_question_change_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_vee_question_change_failure_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_vee_question_change_success_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_vee_question_delete_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_vee_questions_bulk_change_response_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_vee_questions_change_definitions_dto.py delete mode 100644 src/visier_platform_sdk/test/test_servicing_vee_questions_delete_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_set_connector_setting_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_set_connector_setting_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_set_connector_settings_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_set_connector_settings_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_shareable_data_access_set.py create mode 100644 src/visier_platform_sdk/test/test_simple_document_header_search_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_simple_document_header_search_result_dto.py create mode 100644 src/visier_platform_sdk/test/test_simple_property_type_dto.py create mode 100644 src/visier_platform_sdk/test/test_simple_user_dto.py create mode 100644 src/visier_platform_sdk/test/test_slack_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_snapshot_query_execution_dto.py create mode 100644 src/visier_platform_sdk/test/test_snapshot_query_execution_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_snowflake_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_sort_option_dto.py create mode 100644 src/visier_platform_sdk/test/test_source.py create mode 100644 src/visier_platform_sdk/test/test_sources_api_operation_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_sql_like_query_execution_dto.py create mode 100644 src/visier_platform_sdk/test/test_sql_server_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_start_extraction_response.py create mode 100644 src/visier_platform_sdk/test/test_start_transfer_response.py create mode 100644 src/visier_platform_sdk/test/test_static_dimension_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_subject_missing_access_dto.py create mode 100644 src/visier_platform_sdk/test/test_success_factors_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_success_factors_o_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_successful_accessible_tenant_profile_assignment_dto.py create mode 100644 src/visier_platform_sdk/test/test_successful_change_dto.py create mode 100644 src/visier_platform_sdk/test/test_successful_local_tenant_profile_assignment_dto.py create mode 100644 src/visier_platform_sdk/test/test_synonym_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_system_status_dto.py delete mode 100644 src/visier_platform_sdk/test/test_systemstatus_system_status_dto.py delete mode 100644 src/visier_platform_sdk/test/test_systemstatus_vee_status_dto.py create mode 100644 src/visier_platform_sdk/test/test_tag_map_element_dto.py create mode 100644 src/visier_platform_sdk/test/test_tag_reference_dto.py create mode 100644 src/visier_platform_sdk/test/test_tag_reference_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_tags_dto.py create mode 100644 src/visier_platform_sdk/test/test_target_project_for_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_target_project_for_tenants_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_target_tenant_code_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant.py create mode 100644 src/visier_platform_sdk/test/test_tenant_and_credential.py create mode 100644 src/visier_platform_sdk/test/test_tenant_assignments_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_code_body.py create mode 100644 src/visier_platform_sdk/test/test_tenant_code_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_connector_settings_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_data_upload_status_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_data_upload_update_status_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_data_uploads_list_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_data_uploads_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_data_uploads_update_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_detail_apidto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_details_traits_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_encryption_key_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_encryption_key_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_management_api_get_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_management_api_list_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_management_api_update_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_management_api_update_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_module_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_preview_entries_summary_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_preview_entries_summary_list_dto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_provision_apidto.py create mode 100644 src/visier_platform_sdk/test/test_tenant_status_apidto.py create mode 100644 src/visier_platform_sdk/test/test_time_shift_dto.py create mode 100644 src/visier_platform_sdk/test/test_ultimate_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_update_tenant_model.py create mode 100644 src/visier_platform_sdk/test/test_upload_to_exclude.py create mode 100644 src/visier_platform_sdk/test/test_upload_to_include.py create mode 100644 src/visier_platform_sdk/test/test_user_creation_api_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_assignment_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_change_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_change_dimension_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_change_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_change_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_change_member_selection_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_change_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_change_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_change_users_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_delete_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_delete_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_delete_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_delete_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_filters_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_group_single_delete_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_groups_change_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_groups_delete_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_groups_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_groups_users_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_groups_users_for_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_id_error_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_security_assignments_dto.py create mode 100644 src/visier_platform_sdk/test/test_user_update_api_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_api_error_message_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_api_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_api_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_api_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_creation_api_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_delete_api_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_to_user_group_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_to_user_groups_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_update_api_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_users_update_api_user_dto.py create mode 100644 src/visier_platform_sdk/test/test_v2_calculated_property_type_dto.py create mode 100644 src/visier_platform_sdk/test/test_v2_simple_property_type_dto.py create mode 100644 src/visier_platform_sdk/test/test_validity_range_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_clarification_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_conversation_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_conversation_state_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_corrections_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_data_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_feedback_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_change_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_change_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_change_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_change_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_delete_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_questions_bulk_change_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_questions_change_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_questions_delete_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_response_schema_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_response_schema_reference_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_sample_question_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_sample_question_library_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_status_code_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_status_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_visual_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_visual_options_dto.py create mode 100644 src/visier_platform_sdk/test/test_webhook_basic_auth_credential_dto.py create mode 100644 src/visier_platform_sdk/test/test_webhook_credentials_dto.py create mode 100644 src/visier_platform_sdk/test/test_webhook_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_webhook_dto.py create mode 100644 src/visier_platform_sdk/test/test_webhook_event_type_dto.py create mode 100644 src/visier_platform_sdk/test/test_webhook_message_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_webhook_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_webhooks_dto.py create mode 100644 src/visier_platform_sdk/test/test_willow_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_workday_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_workday_o_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_workday_raas_auth_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_workday_refresh_token_params_dto.py create mode 100644 src/visier_platform_sdk/test/test_zoom_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/additional_capabilities_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_all_tenants_status_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_credentials_by_tenant_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_credentials_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_with_credentials_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_assigned_credential_info_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_batch_tenant_provision_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_business_location_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_capability_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_info_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_setting_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_setting_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_settings_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_excluded_source_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_source_tenant_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_create_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_list_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_custom_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_custom_tenant_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_data_import_definition_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_data_import_definitions_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_data_version_and_date_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_delete_user_group_v2_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_element_ids_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_email_domains_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_excluded_sources_body.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_setting_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_setting_key_value_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_settings_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_home_analysis_by_user_group_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_consolidated_analytics_job_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_extract_data_and_load_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_processing_job_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_key_name.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_mask_message.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_multiple_tenant_data_versions_details_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_multiple_tenant_data_versions_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_network_subnets_message_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_network_subnets_message_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_permission_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_group_for_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_group_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_groups_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_product_release_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_product_releases_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_product_version_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_failure_tenant_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_successful_tenant_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_put_project_commits_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_security_assignment_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_setting_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_setting_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_settings_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_settings_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_simple_user_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_target_project_for_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_target_project_for_tenants_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_assignments_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_code_body.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_connector_settings_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_detail_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_details_traits_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_get_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_list_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_update_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_update_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_provision_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_status_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_update_tenant_model.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_failure_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_member_selection_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_users_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_failure_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_filters_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_single_delete_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_change_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_delete_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_users_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_users_for_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_user_security_assignments_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_users_to_user_group_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/admin_users_to_user_groups_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/adp_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_execution_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metric_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metrics_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_option_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/all_tenants_status_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/all_users_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_create_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_delete_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_list_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_clarification_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_conversation_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_conversation_state_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_corrections_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_data_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_feedback_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_options_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_question_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_schema_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_schema_reference_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_sample_question_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_sample_question_library_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_status_code_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_visual_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_visual_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_with_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_objects_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/any.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credential_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/assigned_credential_info_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_info_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_subnet_info_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_detail_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_details_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_properties_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/bamboo_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/basic_information_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/basic_s3_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/batch_tenant_provision_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/big_query_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/big_query_service_account_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/bulk_change_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/business_location_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/calculated_property_type_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_map_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/capabilities_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/capability_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/capability_group_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_bin_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cell_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_position_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cell_set_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cell_set_or_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/clone_files_into_source_parameters_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/cohort_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/commit_and_publish_operation_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/commit_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_configuration_result_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_with_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_type_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_with_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/connector.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/connector_info_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/connector_settings_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_job_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/content_package_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/copy_s3_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/create_data_access_set_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/credential_creation_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/currencies_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/currency_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/currency_rate_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/currency_rates_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/custom_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/custom_tenant_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_categories_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_category_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_assign_connector_credential_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_connector.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_request_model.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_transfer_result_detail.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_version_object.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_model.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_dispatching_job_status_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_exclude_data_uploads_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_extraction_job.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_extraction_job_and_status_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_include_data_uploads_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_job_status_list_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_job_status_with_start_time.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job_and_status_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job_status_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_cancel_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_complete_request.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_complete_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job_and_status_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job_status_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_result.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_source.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_start_extraction_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_start_transfer_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_tenant.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_tenant_and_credential.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_upload_to_exclude.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_in_upload_to_include.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_load_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_load_request_model.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_load_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_model_analytic_object_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_out_list_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_information_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_information_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_metadata_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_security_profile_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_transfer_result_detail.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_and_date_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_column_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_version_summary_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_versions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_file_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_job_status_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_part_file_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_table_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_exports_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/data_version_object.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/databricks_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_common_dimension_member_reference_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_common_member_values_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_aggregation_type_option_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_aggregation_type_parameter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_analytic_object_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_analytic_objects_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currencies_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_rate_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_rates_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_execution_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_reference_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimensions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_level_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_member_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_member_parameter_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_members_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_metric_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_metrics_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_numeric_parameter_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_object_reference_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_parameter_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_plan_parameter_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_concept_filter_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_hierarchy_filter_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_model_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_models_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plan_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plan_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plans_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_population_configuration_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_prediction_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_predictions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_properties_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_property_reference_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_scenario_or_snapshot_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concept_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concept_reference_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concepts_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_tag_map_element_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_validity_range_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_execution_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_metric_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_metrics_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_type_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_distribution_bin_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_distribution_options_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_axis_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_axis_position_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_or_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cohort_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_internal_query_execution_options_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_key_group_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_key_group_filter_item_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_lineage_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_execution_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_execution_options_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_source_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_member_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_member_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_numeric_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_plan_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_property_column_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_axis_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_axis_options_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_data_member_selection_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_leaf_selection_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_level_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_level_selection_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_member_selection_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_error_details_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_errors_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_options_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_member_map_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_member_map_selection_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_numeric_ranges_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_parameter_value_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_time_interval_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_time_intervals_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_snapshot_query_execution_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_snapshot_query_execution_options_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_sort_option_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_sql_like_query_execution_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_time_shift_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/date_range_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dayforce_v2_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/delete_permissions_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/delete_user_group_v2_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dependent_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_adp_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_analytic_object_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_configuration_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_configuration_map_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_concept_configuration_result_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_dimension_member_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_perspective_configuration_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_perspective_node_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_configuration_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_configuration_map_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_bamboo_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_basic_s3_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_big_query_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_big_query_service_account_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_copy_s3_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_credential_creation_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_generate_key_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_key_pair_delete_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_key_pair_generate_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_public_key_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_public_keys_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_tenant_encryption_key_details_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_tenant_encryption_key_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_auth_information_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_basic_information_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_basic_metadata_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_column_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_data_version_summary_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_data_versions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_file_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_job_status_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_part_file_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_schedule_job_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_schedule_job_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_table_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_exports_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_databricks_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_dayforce_v2_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_dimensions_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_download_source_files_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_download_source_files_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_extractor_credential_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_extractor_credentials_apidto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_fusion_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_gong_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_google_sheets_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_google_workspace_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_greenhouse_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_icims_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_internal_s3_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_jdbc_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_jira_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_jira_connect_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_lever_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_medallia_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_microsoft365_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_module_settings_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_my_sql_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_namely_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_oracle_db_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_pair_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_column_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_source_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_source_definitions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_qualtrics_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_redshift_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_salesforce_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_salesforce_v2_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_selection_concept_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_service_now_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_service_now_v2_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_slack_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_snowflake_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_sql_server_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_subject_missing_access_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_success_factors_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_success_factors_o_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_tenant_module_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_ultimate_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_basic_auth_credential_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_credentials_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_details_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_event_type_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_message_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhooks_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_willow_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_o_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_raas_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_refresh_token_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/designer_zoom_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_reference_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimension_reference_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimensions_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimensions_change_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dimensions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_config_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_status_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/direct_data_list_transactions_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/direct_data_load_config_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_field_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_start_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_model.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dispatching_job_status_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/document_search_link_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_metric_validation_summary_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dp_cancel_job_batch_from_job_id_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dp_job_cancellation_result_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dp_job_cancellation_results_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dynamic_dimension_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/dynamic_property_mapping_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/element_ids_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/email_domains_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/exclude_data_uploads_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/excluded_sources_body.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/execution_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/extract_data_and_load_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/extraction_job.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/extraction_job_and_status_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/extractor_credential_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/extractor_credentials_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_key_value_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/extractor_settings_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/failed_change_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/fusion_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/generate_key_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_capabilities_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_content_packages_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_data_access_sets_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_data_security_objects_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_permissions_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_plan_list_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_production_versions_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_projects_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/gong_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/google_protobuf_any.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/google_sheets_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/google_workspace_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/greenhouse_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/hierarchy_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/home_analysis_by_user_group_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/icims_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/import_definition_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/import_definitions_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/include_data_uploads_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/inherited_access_config_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/internal_query_execution_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/internal_s3_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/jdbc_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/jira_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/jira_connect_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_result_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_results_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/job_id_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/job_status_list_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/job_status_with_start_time.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_item_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/key_name.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/key_pair_delete_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/key_pair_generate_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/last_login_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/level_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/lever_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/lineage_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/list_query_source_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/list_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/mask_message.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/medallia_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/member_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/member_filter_config_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/member_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/member_selection_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/member_values_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/members_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/metric_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/metric_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/metric_type_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/metric_validation_summary_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/metrics_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/microsoft365_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/module_settings_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/my_sql_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/namely_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_info_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/object_change_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/object_change_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/object_id_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/object_reference_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/objects_bulk_change_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/oracle_db_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/pair_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/parameter_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_user_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_users_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_bulk_operation_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permission_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permissions_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_groups_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/perspective_configuration_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/perspective_node_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_info_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_item_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_schema_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_time_period_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_with_schema_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_concept_filter_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_get_plan_list_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_model_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_models_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_data_load_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_info_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_item_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_schema_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_member_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_member_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_time_period_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_with_schema_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_plans_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/planning_scenario_info_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/population_configuration_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/prediction_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/predictions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_type_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/processing_job.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/processing_job_and_status_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/processing_job_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/processing_job_status_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/product_release_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/product_releases_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/product_version_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/product_versions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/profile_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/profiles_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/project_commits_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/project_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/project_operation_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/project_operation_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/properties_change_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/properties_delete_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/properties_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_access_config_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_bulk_delete_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_change_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_column_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_delete_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_delete_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_reference_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_set_config_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_type_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/property_type_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/public_key_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/public_keys_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/push_data_cancel_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/push_data_column_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/push_data_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/put_project_commits_request.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/qualtrics_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_axis_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_axis_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_data_member_selection_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_leaf_selection_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_selection_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_member_selection_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_execution_errors_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_execution_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_selection_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_numeric_ranges_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/question_categories_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/question_category_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/receiving_job.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_and_status_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_status_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/redshift_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/reduced_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/reduced_tenant_code_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/reduced_user_id_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/related_analytic_object_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/report_create_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/report_delete_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/report_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/report_list_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/result.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/role_modules_config_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/salesforce_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/salesforce_v2_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/sample_question_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/sample_questions_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/scenario_info_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/scenario_or_snapshot_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/securable_dimension_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/securable_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/security_assignment_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_map_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_reference_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/selection_concepts_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/service_now_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/service_now_v2_auth_params_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_additional_capabilities_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_admin_capability_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_permissions_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_profile_assigned_for_accessible_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_profile_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_user_groups_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_users_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_analytic_object_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_permission_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_user_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permissions_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permissions_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_bulk_data_access_set_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_capabilities_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_group_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_clone_files_into_source_parameters_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_commit_and_publish_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_commit_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_content_package_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_create_data_access_set_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_failure_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_categories_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_category_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_security_profile_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_date_range_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_delete_permissions_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_job_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_job_status_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_list_transactions_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_load_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_schema_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_schema_field_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_transaction_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_transaction_start_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_document_search_link_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_dynamic_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_dynamic_property_mapping_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_export_production_versions_api_operation_parameters_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_accessible_tenant_profile_assignment_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_local_tenant_profile_assignment_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_local_tenant_profile_revoke_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_capabilities_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_content_packages_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_data_access_sets_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_data_security_objects_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_permissions_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_production_versions_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_projects_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_hierarchy_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_inherited_access_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_inherited_reference_member_filter_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_job_id_response.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_last_login_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_assignment_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_assignment_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_revoke_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_revoke_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_member_filter_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_member_selection_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_calculated_property_type_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dependent_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimensions_change_definitions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_object_change_failure_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_object_change_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_objects_bulk_change_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_properties_change_definitions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_properties_delete_definitions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_bulk_delete_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_change_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_failure_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_type_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_simple_property_type_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_tags_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_user_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_users_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_bulk_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_failure_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_version_api_operation_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_version_api_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_versions_api_operation_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_versions_api_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_assigned_for_accessible_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_profiles_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_commits_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_operation_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_operation_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_property_access_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_property_set_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_question_categories_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_question_category_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_tenant_code_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_user_id_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_related_analytic_object_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_role_modules_config_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_sample_question_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_sample_questions_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_securable_dimension_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_securable_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_servicing_capability_proto_enum_access_lookup_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_shareable_data_access_set.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_simple_document_header_search_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_simple_document_header_search_result_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_sources_api_operation_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_static_dimension_filter_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_successful_accessible_tenant_profile_assignment_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_successful_local_tenant_profile_assignment_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_target_tenant_code_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_code_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_upload_status_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_upload_update_status_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_list_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_update_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_creation_api_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_get_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_group_assigned_for_local_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_group_assignment_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_id_error_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_property_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_update_api_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_error_message_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_failure_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_creation_api_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_delete_api_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_update_api_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_update_api_user_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_with_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_basic_information_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_bulk_change_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_calculated_property_type_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_with_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_request_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_type_details_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_with_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_execution_context_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_failed_change_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_type_details_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_object_id_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_type_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_property_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_property_type_details_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_simple_property_type_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_successful_change_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_synonym_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_list_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_definition_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_failure_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_success_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_delete_definitions_by_tenant_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_bulk_change_response_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_change_definitions_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_delete_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/shareable_data_access_set.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_result_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/simple_property_type_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/simple_user_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/slack_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/snowflake_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/sort_option_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/source.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/sources_api_operation_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/sql_like_query_execution_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/sql_server_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/start_extraction_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/start_transfer_response.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/static_dimension_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/subject_missing_access_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/success_factors_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/success_factors_o_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/successful_change_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/synonym_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/system_status_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/systemstatus_system_status_dto.py delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/systemstatus_vee_status_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tag_map_element_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tags_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenants_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/target_tenant_code_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_and_credential.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_assignments_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_body.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_connector_settings_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_status_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_detail_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_details_traits_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_get_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_list_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_module_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_provision_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/tenant_status_apidto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/time_shift_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/ultimate_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/update_tenant_model.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/upload_to_exclude.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/upload_to_include.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_assignment_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_dimension_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_member_selection_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_users_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_filters_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_group_single_delete_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_groups_change_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_groups_delete_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_groups_get_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_for_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_id_error_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_security_assignments_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/user_update_api_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_api_error_message_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_api_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_api_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_api_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_creation_api_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_delete_api_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_group_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_groups_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_user_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/v2_calculated_property_type_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/v2_simple_property_type_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/validity_range_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_clarification_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_state_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_corrections_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_data_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_feedback_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_change_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_delete_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_reference_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_library_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_status_code_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_status_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_options_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/webhook_basic_auth_credential_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/webhook_credentials_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/webhook_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/webhook_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/webhook_event_type_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/webhook_message_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/webhook_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/webhooks_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/willow_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/workday_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/workday_o_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/workday_raas_auth_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/workday_refresh_token_params_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/zoom_auth_params_dto.py diff --git a/src/visier_platform_sdk/.openapi-generator/FILES b/src/visier_platform_sdk/.openapi-generator/FILES index 9a0cb0d6f3..c7f9bd1ded 100644 --- a/src/visier_platform_sdk/.openapi-generator/FILES +++ b/src/visier_platform_sdk/.openapi-generator/FILES @@ -4,633 +4,499 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_admin_all_tenants_status_apidto.py -test/test_admin_assign_connector_credentials_by_tenant_response_dto.py -test/test_admin_assign_connector_credentials_response_dto.py -test/test_admin_assign_connector_with_credentials_response_dto.py -test/test_admin_assigned_credential_info_response_dto.py -test/test_admin_batch_tenant_provision_apidto.py -test/test_admin_business_location_dto.py -test/test_admin_connector_info_response_dto.py -test/test_admin_connector_setting_request_dto.py -test/test_admin_connector_setting_response_dto.py -test/test_admin_connector_settings_response_dto.py -test/test_admin_consolidated_analytics_api_excluded_source_list_dto.py -test/test_admin_consolidated_analytics_api_source_tenant_list_dto.py -test/test_admin_consolidated_analytics_api_tenant_create_request_dto.py -test/test_admin_consolidated_analytics_api_tenant_list_response_dto.py -test/test_admin_consolidated_analytics_api_tenant_with_details.py -test/test_admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py -test/test_admin_custom_property_dto.py -test/test_admin_custom_tenant_property_dto.py -test/test_admin_data_import_definition_apidto.py -test/test_admin_data_import_definitions_apidto.py -test/test_admin_data_version_and_date_dto.py -test/test_admin_delete_user_group_v2_request.py -test/test_admin_element_ids_dto.py -test/test_admin_email_domains_dto.py -test/test_admin_excluded_sources_body.py -test/test_admin_extractor_setting_apidto.py -test/test_admin_extractor_setting_key_value_apidto.py -test/test_admin_extractor_settings_apidto.py -test/test_admin_home_analysis_by_user_group_dto.py -test/test_admin_jobs_consolidated_analytics_job_request_dto.py -test/test_admin_jobs_extract_data_and_load_dto.py -test/test_admin_jobs_processing_job_request_dto.py -test/test_admin_key_name.py -test/test_admin_mask_message.py -test/test_admin_multiple_tenant_data_versions_details_dto.py -test/test_admin_multiple_tenant_data_versions_list_dto.py -test/test_admin_network_subnets_message_request.py -test/test_admin_network_subnets_message_response.py -test/test_admin_permission_response_dto.py -test/test_admin_permissions_list_dto.py -test/test_admin_permissions_to_user_group_for_tenant_dto.py -test/test_admin_permissions_to_user_group_request_dto.py -test/test_admin_permissions_to_user_groups_request_dto.py -test/test_admin_product_release_dto.py -test/test_admin_product_releases_dto.py -test/test_admin_product_version_dto.py -test/test_admin_product_versions_dto.py -test/test_admin_product_versions_update_failure_tenant_response_dto.py -test/test_admin_product_versions_update_response_dto.py -test/test_admin_product_versions_update_successful_tenant_response_dto.py -test/test_admin_put_project_commits_request.py -test/test_admin_security_assignment_response_dto.py -test/test_admin_set_connector_setting_request_dto.py -test/test_admin_set_connector_setting_response_dto.py -test/test_admin_set_connector_settings_request_dto.py -test/test_admin_set_connector_settings_response_dto.py -test/test_admin_simple_user_dto.py -test/test_admin_target_project_for_tenant_dto.py -test/test_admin_target_project_for_tenants_list_dto.py -test/test_admin_tenant_assignments_dto.py -test/test_admin_tenant_code_body.py -test/test_admin_tenant_connector_settings_request_dto.py -test/test_admin_tenant_detail_apidto.py -test/test_admin_tenant_details_traits_dto.py -test/test_admin_tenant_management_api_get_response_dto.py -test/test_admin_tenant_management_api_list_response_dto.py -test/test_admin_tenant_management_api_update_request_dto.py -test/test_admin_tenant_management_api_update_response_dto.py -test/test_admin_tenant_provision_apidto.py -test/test_admin_tenant_status_apidto.py -test/test_admin_update_tenant_model.py -test/test_admin_user_group_change_definition_dto.py -test/test_admin_user_group_change_dimension_filter_dto.py -test/test_admin_user_group_change_failure_dto.py -test/test_admin_user_group_change_filter_dto.py -test/test_admin_user_group_change_member_selection_dto.py -test/test_admin_user_group_change_response_dto.py -test/test_admin_user_group_change_success_dto.py -test/test_admin_user_group_change_users_dto.py -test/test_admin_user_group_delete_dto.py -test/test_admin_user_group_delete_failure_dto.py -test/test_admin_user_group_delete_response_dto.py -test/test_admin_user_group_delete_success_dto.py -test/test_admin_user_group_filters_dto.py -test/test_admin_user_group_get_api_response_dto.py -test/test_admin_user_group_single_delete_response_dto.py -test/test_admin_user_groups_change_dto.py -test/test_admin_user_groups_delete_request_dto.py -test/test_admin_user_groups_get_api_response_dto.py -test/test_admin_user_groups_users_dto.py -test/test_admin_user_groups_users_for_tenant_dto.py -test/test_admin_user_security_assignments_dto.py -test/test_admin_users_to_user_group_request_dto.py -test/test_admin_users_to_user_groups_request_dto.py -test/test_analysis_common_report_create_request_dto.py -test/test_analysis_common_report_delete_success_dto.py -test/test_analysis_common_report_dto.py -test/test_analysis_common_report_list_response_dto.py -test/test_analysis_common_vee_clarification_dto.py -test/test_analysis_common_vee_conversation_dto.py -test/test_analysis_common_vee_conversation_state_dto.py -test/test_analysis_common_vee_corrections_dto.py -test/test_analysis_common_vee_data_dto.py -test/test_analysis_common_vee_feedback_dto.py -test/test_analysis_common_vee_options_dto.py -test/test_analysis_common_vee_question_dto.py -test/test_analysis_common_vee_response_dto.py -test/test_analysis_common_vee_response_schema_dto.py -test/test_analysis_common_vee_response_schema_reference_dto.py -test/test_analysis_common_vee_sample_question_dto.py -test/test_analysis_common_vee_sample_question_library_dto.py -test/test_analysis_common_vee_status_code_dto.py -test/test_analysis_common_vee_visual_dto.py -test/test_analysis_common_vee_visual_options_dto.py +test/test_accessible_tenant_profile_assignment_request_dto.py +test/test_accessible_tenant_profile_assignment_response_dto.py +test/test_accessible_tenant_profile_revoke_request_dto.py +test/test_accessible_tenant_profile_revoke_response_dto.py +test/test_additional_capabilities_dto.py +test/test_admin_capability_config_dto.py +test/test_adp_auth_params_dto.py +test/test_aggregation_query_dto.py +test/test_aggregation_query_execution_dto.py +test/test_aggregation_query_source_dto.py +test/test_aggregation_query_source_metric_dto.py +test/test_aggregation_query_source_metrics_dto.py +test/test_aggregation_type_option_dto.py +test/test_aggregation_type_parameter_dto.py +test/test_aggregation_type_parameter_value_dto.py +test/test_all_permissions_assigned_for_local_tenant_dto.py +test/test_all_profile_assigned_for_accessible_tenant_dto.py +test/test_all_profile_assigned_for_local_tenant_dto.py +test/test_all_tenants_status_apidto.py +test/test_all_user_groups_assigned_for_local_tenant_dto.py +test/test_all_users_get_api_response_dto.py +test/test_analytic_object_definition_dto.py +test/test_analytic_object_dto.py +test/test_analytic_object_filter_dto.py +test/test_analytic_object_request_dto.py +test/test_analytic_object_with_context_dto.py +test/test_analytic_objects_dto.py +test/test_any.py test/test_api_error.py -test/test_authentication_o_auth2_user_info_dto.py -test/test_authentication_o_auth2_user_subnet_info_dto.py -test/test_authentication_o_auth2_user_tenant_detail_dto.py -test/test_authentication_o_auth2_user_tenant_details_dto.py -test/test_authentication_o_auth2_user_tenant_properties_dto.py +test/test_assign_connector_credential_request.py +test/test_assign_connector_credentials_by_tenant_response_dto.py +test/test_assign_connector_credentials_response_dto.py +test/test_assign_connector_with_credentials_response_dto.py +test/test_assign_revoke_permission_by_permission_dto.py +test/test_assign_revoke_permission_by_tenant_dto.py +test/test_assign_revoke_permission_by_user_dto.py +test/test_assign_revoke_permission_request_dto.py +test/test_assign_revoke_permissions_request_dto.py +test/test_assign_revoke_permissions_response_dto.py +test/test_assigned_credential_info_response_dto.py +test/test_bamboo_auth_params_dto.py test/test_basic_authentication_api.py +test/test_basic_information_dto.py +test/test_basic_s3_auth_params_dto.py +test/test_batch_tenant_provision_apidto.py test/test_benchmark_info.py test/test_benchmark_value.py test/test_benchmarks_api.py +test/test_big_query_auth_params_dto.py +test/test_big_query_service_account_params_dto.py +test/test_bulk_change_response_dto.py +test/test_bulk_data_access_set_response_dto.py +test/test_business_location_dto.py +test/test_calculated_property_type_dto.py +test/test_calculation_concept_configuration_dto.py +test/test_calculation_concept_configuration_map_dto.py +test/test_calculation_concept_dto.py +test/test_calculation_concept_list_dto.py +test/test_cancel_job_batch_from_job_id_dto.py +test/test_capabilities_dto.py +test/test_capability_dto.py +test/test_capability_group_dto.py +test/test_cell_distribution_bin_dto.py +test/test_cell_distribution_options_dto.py +test/test_cell_dto.py +test/test_cell_set_axis_dto.py +test/test_cell_set_axis_position_dto.py +test/test_cell_set_dto.py +test/test_cell_set_or_error_dto.py +test/test_clone_files_into_source_parameters_dto.py +test/test_cohort_filter_dto.py +test/test_commit_and_publish_operation_response_dto.py +test/test_commit_dto.py +test/test_concept_configuration_result_dto.py +test/test_concept_definition_dto.py +test/test_concept_delete_request_dto.py +test/test_concept_delete_with_context_dto.py +test/test_concept_request_dto.py +test/test_concept_response_dto.py +test/test_concept_type_details_dto.py +test/test_concept_with_context_dto.py test/test_concepts_v2_api.py +test/test_connector.py +test/test_connector_info_response_dto.py +test/test_connector_setting_request_dto.py +test/test_connector_setting_response_dto.py +test/test_connector_settings_response_dto.py test/test_consolidated_analytics_api.py +test/test_consolidated_analytics_api_excluded_source_list_dto.py +test/test_consolidated_analytics_api_source_tenant_list_dto.py +test/test_consolidated_analytics_api_tenant_create_request_dto.py +test/test_consolidated_analytics_api_tenant_list_response_dto.py +test/test_consolidated_analytics_api_tenant_with_details.py +test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py +test/test_consolidated_analytics_job_request_dto.py +test/test_content_package_dto.py +test/test_copy_s3_auth_params_dto.py +test/test_create_data_access_set_request_dto.py +test/test_credential_creation_api_response_dto.py +test/test_currencies_dto.py +test/test_currency_dto.py +test/test_currency_rate_dto.py +test/test_currency_rates_dto.py +test/test_custom_property_dto.py +test/test_custom_tenant_property_dto.py +test/test_data_access_set_dto.py +test/test_data_access_set_error_dto.py +test/test_data_access_set_failure_dto.py +test/test_data_access_set_success_dto.py test/test_data_and_job_handling_api.py -test/test_data_in_assign_connector_credential_request.py -test/test_data_in_connector.py -test/test_data_in_data_load_request.py -test/test_data_in_data_load_request_model.py -test/test_data_in_data_load_response.py -test/test_data_in_data_transfer_result_detail.py -test/test_data_in_data_version_object.py -test/test_data_in_disable_dv_model.py -test/test_data_in_disable_dv_request.py -test/test_data_in_disable_dv_response.py -test/test_data_in_dispatching_job_status_response.py -test/test_data_in_exclude_data_uploads_request.py -test/test_data_in_extraction_job.py -test/test_data_in_extraction_job_and_status_response.py -test/test_data_in_include_data_uploads_request.py -test/test_data_in_job_status_list_response.py -test/test_data_in_job_status_with_start_time.py -test/test_data_in_processing_job.py -test/test_data_in_processing_job_and_status_response.py -test/test_data_in_processing_job_status_response.py -test/test_data_in_push_data_cancel_response.py -test/test_data_in_push_data_complete_request.py -test/test_data_in_push_data_complete_response.py -test/test_data_in_push_data_response.py -test/test_data_in_receiving_job.py -test/test_data_in_receiving_job_and_status_response.py -test/test_data_in_receiving_job_status_response.py -test/test_data_in_result.py -test/test_data_in_source.py -test/test_data_in_start_extraction_response.py -test/test_data_in_start_transfer_response.py -test/test_data_in_tenant.py -test/test_data_in_tenant_and_credential.py -test/test_data_in_upload_to_exclude.py -test/test_data_in_upload_to_include.py +test/test_data_categories_response_dto.py +test/test_data_category_response_dto.py test/test_data_intake_api.py +test/test_data_load_request.py +test/test_data_load_request_model.py +test/test_data_load_response.py +test/test_data_model_analytic_object_dto.py test/test_data_model_api.py -test/test_data_out_list_response.py +test/test_data_provider_auth_information_dto.py +test/test_data_provider_auth_params_dto.py +test/test_data_provider_basic_information_dto.py +test/test_data_provider_basic_metadata_dto.py test/test_data_query_api.py +test/test_data_security_profile_dto.py +test/test_data_transfer_result_detail.py test/test_data_upload_api.py +test/test_data_version_and_date_dto.py test/test_data_version_export_api.py -test/test_dataservices_common_dimension_member_reference_dto.py -test/test_dataservices_common_member_values_dto.py -test/test_dataservices_datamodel_aggregation_type_option_dto.py -test/test_dataservices_datamodel_aggregation_type_parameter_dto.py -test/test_dataservices_datamodel_analytic_object_dto.py -test/test_dataservices_datamodel_analytic_objects_dto.py -test/test_dataservices_datamodel_currencies_dto.py -test/test_dataservices_datamodel_currency_dto.py -test/test_dataservices_datamodel_currency_rate_dto.py -test/test_dataservices_datamodel_currency_rates_dto.py -test/test_dataservices_datamodel_dimension_dto.py -test/test_dataservices_datamodel_dimension_mapping_validation_dto.py -test/test_dataservices_datamodel_dimension_mapping_validation_execution_dto.py -test/test_dataservices_datamodel_dimension_reference_dto.py -test/test_dataservices_datamodel_dimensions_dto.py -test/test_dataservices_datamodel_level_dto.py -test/test_dataservices_datamodel_member_dto.py -test/test_dataservices_datamodel_member_parameter_definition_dto.py -test/test_dataservices_datamodel_members_dto.py -test/test_dataservices_datamodel_metric_dto.py -test/test_dataservices_datamodel_metrics_dto.py -test/test_dataservices_datamodel_numeric_parameter_definition_dto.py -test/test_dataservices_datamodel_object_reference_dto.py -test/test_dataservices_datamodel_parameter_definition_dto.py -test/test_dataservices_datamodel_plan_parameter_definition_dto.py -test/test_dataservices_datamodel_planning_concept_filter_context_dto.py -test/test_dataservices_datamodel_planning_hierarchy_filter_context_dto.py -test/test_dataservices_datamodel_planning_model_dto.py -test/test_dataservices_datamodel_planning_models_dto.py -test/test_dataservices_datamodel_planning_plan_context_dto.py -test/test_dataservices_datamodel_planning_plan_dto.py -test/test_dataservices_datamodel_planning_plans_dto.py -test/test_dataservices_datamodel_population_configuration_dto.py -test/test_dataservices_datamodel_prediction_dto.py -test/test_dataservices_datamodel_predictions_dto.py -test/test_dataservices_datamodel_properties_dto.py -test/test_dataservices_datamodel_property_dto.py -test/test_dataservices_datamodel_property_reference_dto.py -test/test_dataservices_datamodel_scenario_or_snapshot_dto.py -test/test_dataservices_datamodel_selection_concept_dto.py -test/test_dataservices_datamodel_selection_concept_reference_dto.py -test/test_dataservices_datamodel_selection_concepts_dto.py -test/test_dataservices_datamodel_tag_map_element_dto.py -test/test_dataservices_datamodel_validity_range_dto.py -test/test_dataservices_query_aggregation_query_dto.py -test/test_dataservices_query_aggregation_query_execution_dto.py -test/test_dataservices_query_aggregation_query_source_dto.py -test/test_dataservices_query_aggregation_query_source_metric_dto.py -test/test_dataservices_query_aggregation_query_source_metrics_dto.py -test/test_dataservices_query_aggregation_type_parameter_value_dto.py -test/test_dataservices_query_cell_distribution_bin_dto.py -test/test_dataservices_query_cell_distribution_options_dto.py -test/test_dataservices_query_cell_dto.py -test/test_dataservices_query_cell_set_axis_dto.py -test/test_dataservices_query_cell_set_axis_position_dto.py -test/test_dataservices_query_cell_set_dto.py -test/test_dataservices_query_cell_set_or_error_dto.py -test/test_dataservices_query_cohort_filter_dto.py -test/test_dataservices_query_internal_query_execution_options_dto.py -test/test_dataservices_query_key_group_filter_dto.py -test/test_dataservices_query_key_group_filter_item_dto.py -test/test_dataservices_query_lineage_dto.py -test/test_dataservices_query_list_query_execution_dto.py -test/test_dataservices_query_list_query_execution_options_dto.py -test/test_dataservices_query_list_query_source_dto.py -test/test_dataservices_query_member_filter_dto.py -test/test_dataservices_query_member_parameter_value_dto.py -test/test_dataservices_query_numeric_parameter_value_dto.py -test/test_dataservices_query_plan_parameter_value_dto.py -test/test_dataservices_query_property_column_dto.py -test/test_dataservices_query_query_axis_dto.py -test/test_dataservices_query_query_axis_options_dto.py -test/test_dataservices_query_query_dimension_data_member_selection_dto.py -test/test_dataservices_query_query_dimension_leaf_selection_dto.py -test/test_dataservices_query_query_dimension_level_property_dto.py -test/test_dataservices_query_query_dimension_level_selection_dto.py -test/test_dataservices_query_query_dimension_member_selection_dto.py -test/test_dataservices_query_query_execution_error_details_dto.py -test/test_dataservices_query_query_execution_error_dto.py -test/test_dataservices_query_query_execution_errors_dto.py -test/test_dataservices_query_query_execution_options_dto.py -test/test_dataservices_query_query_filter_dto.py -test/test_dataservices_query_query_member_map_property_dto.py -test/test_dataservices_query_query_member_map_selection_dto.py -test/test_dataservices_query_query_numeric_ranges_dto.py -test/test_dataservices_query_query_parameter_value_dto.py -test/test_dataservices_query_query_property_dto.py -test/test_dataservices_query_query_time_interval_dto.py -test/test_dataservices_query_query_time_intervals_dto.py -test/test_dataservices_query_snapshot_query_execution_dto.py -test/test_dataservices_query_snapshot_query_execution_options_dto.py -test/test_dataservices_query_sort_option_dto.py -test/test_dataservices_query_sql_like_query_execution_dto.py -test/test_dataservices_query_time_shift_dto.py +test/test_data_version_export_column_dto.py +test/test_data_version_export_data_version_summary_dto.py +test/test_data_version_export_data_versions_dto.py +test/test_data_version_export_dto.py +test/test_data_version_export_file_dto.py +test/test_data_version_export_job_status_dto.py +test/test_data_version_export_part_file_dto.py +test/test_data_version_export_schedule_job_request_dto.py +test/test_data_version_export_schedule_job_response_dto.py +test/test_data_version_export_table_dto.py +test/test_data_version_exports_dto.py +test/test_data_version_object.py +test/test_databricks_auth_params_dto.py +test/test_date_range_dto.py +test/test_dayforce_v2_auth_params_dto.py +test/test_delete_permissions_request_dto.py +test/test_delete_user_group_v2_request.py +test/test_dependent_dto.py test/test_description_entry.py -test/test_designer_adp_auth_params_dto.py -test/test_designer_api_analytic_object_filter_dto.py -test/test_designer_api_calculation_concept_configuration_dto.py -test/test_designer_api_calculation_concept_configuration_map_dto.py -test/test_designer_api_calculation_concept_dto.py -test/test_designer_api_calculation_concept_list_dto.py -test/test_designer_api_concept_configuration_result_dto.py -test/test_designer_api_dimension_filter_dto.py -test/test_designer_api_dimension_member_dto.py -test/test_designer_api_perspective_configuration_dto.py -test/test_designer_api_perspective_node_dto.py -test/test_designer_api_selection_concept_configuration_dto.py -test/test_designer_api_selection_concept_configuration_map_dto.py -test/test_designer_api_selection_concept_dto.py -test/test_designer_api_selection_concept_list_dto.py -test/test_designer_bamboo_auth_params_dto.py -test/test_designer_basic_s3_auth_params_dto.py -test/test_designer_big_query_auth_params_dto.py -test/test_designer_big_query_service_account_params_dto.py -test/test_designer_copy_s3_auth_params_dto.py -test/test_designer_credential_creation_api_response_dto.py -test/test_designer_crypto_generate_key_request_dto.py -test/test_designer_crypto_key_pair_delete_response_dto.py -test/test_designer_crypto_key_pair_generate_request_dto.py -test/test_designer_crypto_public_key_dto.py -test/test_designer_crypto_public_keys_dto.py -test/test_designer_crypto_tenant_encryption_key_details_dto.py -test/test_designer_crypto_tenant_encryption_key_dto.py -test/test_designer_data_provider_auth_information_dto.py -test/test_designer_data_provider_auth_params_dto.py -test/test_designer_data_provider_basic_information_dto.py -test/test_designer_data_provider_basic_metadata_dto.py -test/test_designer_data_version_export_column_dto.py -test/test_designer_data_version_export_data_version_summary_dto.py -test/test_designer_data_version_export_data_versions_dto.py -test/test_designer_data_version_export_dto.py -test/test_designer_data_version_export_file_dto.py -test/test_designer_data_version_export_job_status_dto.py -test/test_designer_data_version_export_part_file_dto.py -test/test_designer_data_version_export_schedule_job_request_dto.py -test/test_designer_data_version_export_schedule_job_response_dto.py -test/test_designer_data_version_export_table_dto.py -test/test_designer_data_version_exports_dto.py -test/test_designer_databricks_auth_params_dto.py -test/test_designer_dayforce_v2_auth_params_dto.py -test/test_designer_dimensions_auth_params_dto.py -test/test_designer_download_source_files_dto.py -test/test_designer_download_source_files_response_dto.py -test/test_designer_extractor_credential_apidto.py -test/test_designer_extractor_credentials_apidto.py -test/test_designer_fusion_auth_params_dto.py -test/test_designer_gong_auth_params_dto.py -test/test_designer_google_sheets_auth_params_dto.py -test/test_designer_google_workspace_auth_params_dto.py -test/test_designer_greenhouse_auth_params_dto.py -test/test_designer_icims_auth_params_dto.py -test/test_designer_internal_s3_auth_params_dto.py -test/test_designer_jdbc_auth_params_dto.py -test/test_designer_jira_auth_params_dto.py -test/test_designer_jira_connect_params_dto.py -test/test_designer_lever_auth_params_dto.py -test/test_designer_medallia_auth_params_dto.py -test/test_designer_microsoft365_auth_params_dto.py -test/test_designer_module_settings_dto.py -test/test_designer_my_sql_auth_params_dto.py -test/test_designer_namely_auth_params_dto.py -test/test_designer_oracle_db_auth_params_dto.py -test/test_designer_pair_dto.py -test/test_designer_push_data_column_definition_dto.py -test/test_designer_push_data_source_definition_dto.py -test/test_designer_push_data_source_definitions_dto.py -test/test_designer_qualtrics_auth_params_dto.py -test/test_designer_redshift_auth_params_dto.py -test/test_designer_salesforce_auth_params_dto.py -test/test_designer_salesforce_v2_auth_params_dto.py -test/test_designer_service_now_auth_params_dto.py -test/test_designer_service_now_v2_auth_params_dto.py -test/test_designer_slack_auth_params_dto.py -test/test_designer_snowflake_auth_params_dto.py -test/test_designer_sql_server_auth_params_dto.py -test/test_designer_subject_missing_access_dto.py -test/test_designer_success_factors_auth_params_dto.py -test/test_designer_success_factors_o_auth_params_dto.py -test/test_designer_tenant_module_dto.py -test/test_designer_ultimate_auth_params_dto.py -test/test_designer_webhook_webhook_basic_auth_credential_dto.py -test/test_designer_webhook_webhook_credentials_dto.py -test/test_designer_webhook_webhook_details_dto.py -test/test_designer_webhook_webhook_dto.py -test/test_designer_webhook_webhook_event_type_dto.py -test/test_designer_webhook_webhook_message_response_dto.py -test/test_designer_webhook_webhook_request_dto.py -test/test_designer_webhook_webhooks_dto.py -test/test_designer_willow_auth_params_dto.py -test/test_designer_workday_auth_params_dto.py -test/test_designer_workday_o_auth_params_dto.py -test/test_designer_workday_raas_auth_params_dto.py -test/test_designer_workday_refresh_token_params_dto.py -test/test_designer_zoom_auth_params_dto.py +test/test_designer_dimension_filter_dto.py +test/test_designer_selection_concept_dto.py +test/test_dimension_change_definition_dto.py +test/test_dimension_change_definitions_by_tenant_dto.py +test/test_dimension_dto.py +test/test_dimension_filter_dto.py +test/test_dimension_mapping_validation_dto.py +test/test_dimension_mapping_validation_execution_dto.py test/test_dimension_member.py +test/test_dimension_member_dto.py +test/test_dimension_member_reference_dto.py +test/test_dimension_reference_dto.py test/test_dimensions_api.py +test/test_dimensions_auth_params_dto.py +test/test_dimensions_change_definitions_dto.py +test/test_dimensions_dto.py test/test_direct_data_intake_api.py +test/test_direct_data_job_config_dto.py +test/test_direct_data_job_status_response_dto.py +test/test_direct_data_list_transactions_response_dto.py +test/test_direct_data_load_config_dto.py +test/test_direct_data_schema_dto.py +test/test_direct_data_schema_field_dto.py +test/test_direct_data_transaction_dto.py +test/test_direct_data_transaction_start_response_dto.py test/test_direct_data_upload_file_response_dto.py -test/test_dp_automation_metric_validation_summary_dto.py -test/test_dp_automation_tenant_preview_entries_summary_dto.py -test/test_dp_automation_tenant_preview_entries_summary_list_dto.py -test/test_dp_cancel_job_batch_from_job_id_dto.py -test/test_dp_job_cancellation_result_dto.py -test/test_dp_job_cancellation_results_dto.py +test/test_disable_dv_model.py +test/test_disable_dv_request.py +test/test_disable_dv_response.py +test/test_dispatching_job_status_response.py +test/test_document_search_link_dto.py +test/test_download_source_files_dto.py +test/test_download_source_files_response_dto.py test/test_dv_export_status.py +test/test_dynamic_dimension_filter_dto.py +test/test_dynamic_property_mapping_dto.py +test/test_element_ids_dto.py test/test_email_domains_api.py +test/test_email_domains_dto.py test/test_encryption_keys_api.py +test/test_error_dto.py +test/test_exclude_data_uploads_request.py +test/test_excluded_sources_body.py +test/test_execution_context_dto.py +test/test_export_production_versions_api_operation_parameters_dto.py +test/test_extract_data_and_load_dto.py test/test_extracted_skill.py +test/test_extraction_job.py +test/test_extraction_job_and_status_response.py +test/test_extractor_credential_apidto.py +test/test_extractor_credentials_apidto.py +test/test_extractor_setting_apidto.py +test/test_extractor_setting_key_value_apidto.py +test/test_extractor_settings_apidto.py +test/test_failed_accessible_tenant_profile_assignment_dto.py +test/test_failed_change_dto.py +test/test_failed_local_tenant_profile_assignment_dto.py +test/test_failed_local_tenant_profile_revoke_dto.py +test/test_fusion_auth_params_dto.py test/test_generate_impersonation_token_request.py -test/test_google_protobuf_any.py +test/test_generate_key_request_dto.py +test/test_get_capabilities_api_response_dto.py +test/test_get_content_packages_api_response_dto.py +test/test_get_data_access_sets_api_response_dto.py +test/test_get_data_security_objects_api_response_dto.py +test/test_get_permissions_api_response_dto.py +test/test_get_plan_list_response_dto.py +test/test_get_production_versions_api_response_dto.py +test/test_get_projects_api_response_dto.py +test/test_gong_auth_params_dto.py +test/test_google_sheets_auth_params_dto.py +test/test_google_workspace_auth_params_dto.py +test/test_greenhouse_auth_params_dto.py test/test_hierarchy.py +test/test_hierarchy_property_dto.py +test/test_home_analysis_by_user_group_dto.py +test/test_icims_auth_params_dto.py +test/test_import_definition_apidto.py +test/test_import_definitions_apidto.py +test/test_include_data_uploads_request.py +test/test_inherited_access_config_dto.py +test/test_inherited_reference_member_filter_config_dto.py +test/test_internal_query_execution_options_dto.py +test/test_internal_s3_auth_params_dto.py +test/test_jdbc_auth_params_dto.py +test/test_jira_auth_params_dto.py +test/test_jira_connect_params_dto.py test/test_job.py +test/test_job_cancellation_result_dto.py +test/test_job_cancellation_results_dto.py test/test_job_entry.py test/test_job_feedback_input.py +test/test_job_id_response.py test/test_job_search_failure_output.py test/test_job_search_input.py test/test_job_search_output.py test/test_job_standardization_input.py test/test_job_standardization_input_skills.py +test/test_job_status_list_response.py +test/test_job_status_with_start_time.py test/test_jobs_library_api.py +test/test_key_group_filter_dto.py +test/test_key_group_filter_item_dto.py +test/test_key_name.py +test/test_key_pair_delete_response_dto.py +test/test_key_pair_generate_request_dto.py +test/test_last_login_dto.py +test/test_level_dto.py +test/test_lever_auth_params_dto.py +test/test_lineage_dto.py +test/test_list_query_execution_dto.py +test/test_list_query_execution_options_dto.py +test/test_list_query_source_dto.py +test/test_list_response.py +test/test_local_tenant_profile_assignment_request_dto.py +test/test_local_tenant_profile_assignment_response_dto.py +test/test_local_tenant_profile_revoke_request_dto.py +test/test_local_tenant_profile_revoke_response_dto.py test/test_location_search_failure_output.py test/test_location_search_input.py test/test_location_search_input1.py test/test_location_search_output.py test/test_location_search_successful_output.py +test/test_mask_message.py +test/test_medallia_auth_params_dto.py +test/test_member_dto.py +test/test_member_filter_config_dto.py +test/test_member_filter_dto.py +test/test_member_parameter_definition_dto.py +test/test_member_parameter_value_dto.py +test/test_member_selection_dto.py +test/test_member_values_dto.py +test/test_members_dto.py +test/test_metric_definition_dto.py +test/test_metric_dto.py +test/test_metric_type_details_dto.py +test/test_metric_validation_summary_dto.py +test/test_metrics_dto.py +test/test_microsoft365_auth_params_dto.py +test/test_module_settings_dto.py +test/test_multiple_tenant_data_versions_details_dto.py +test/test_multiple_tenant_data_versions_list_dto.py +test/test_my_sql_auth_params_dto.py +test/test_namely_auth_params_dto.py test/test_network_subnets_api.py +test/test_network_subnets_message_request.py +test/test_network_subnets_message_response.py +test/test_numeric_parameter_definition_dto.py +test/test_numeric_parameter_value_dto.py test/test_o_auth2_api.py +test/test_o_auth2_user_info_dto.py +test/test_o_auth2_user_subnet_info_dto.py +test/test_o_auth2_user_tenant_detail_dto.py +test/test_o_auth2_user_tenant_details_dto.py +test/test_o_auth2_user_tenant_properties_dto.py +test/test_object_change_failure_dto.py +test/test_object_change_success_dto.py test/test_object_configuration_api.py +test/test_object_id_dto.py +test/test_object_reference_dto.py +test/test_objects_bulk_change_response_dto.py +test/test_oracle_db_auth_params_dto.py test/test_output_entry.py test/test_output_entry1.py test/test_output_entry1_matches_inner.py +test/test_pair_dto.py +test/test_parameter_definition_dto.py +test/test_permission_assigned_by_tenant_dto.py +test/test_permission_assigned_for_local_tenant_dto.py +test/test_permission_assigned_user_dto.py +test/test_permission_assigned_users_dto.py +test/test_permission_bulk_operation_response_dto.py +test/test_permission_dto.py +test/test_permission_error_dto.py +test/test_permission_failure_dto.py +test/test_permission_response_dto.py +test/test_permission_success_dto.py test/test_permissions_api.py +test/test_permissions_list_dto.py +test/test_permissions_to_user_group_for_tenant_dto.py +test/test_permissions_to_user_group_request_dto.py +test/test_permissions_to_user_groups_request_dto.py +test/test_perspective_configuration_dto.py +test/test_perspective_node_dto.py test/test_pgp_key_api.py test/test_plan_data_load_change_dto.py test/test_plan_data_load_change_list_dto.py +test/test_plan_data_load_error_dto.py test/test_plan_data_upload_response_dto.py +test/test_plan_info_dto.py +test/test_plan_item_dto.py +test/test_plan_parameter_definition_dto.py +test/test_plan_parameter_value_dto.py test/test_plan_row_data_load_response_dto.py +test/test_plan_schema_dto.py +test/test_plan_segment_level_dto.py +test/test_plan_segment_level_member_dto.py +test/test_plan_segment_level_member_list_dto.py +test/test_plan_time_period_dto.py +test/test_plan_with_schema_dto.py +test/test_planning_concept_filter_context_dto.py test/test_planning_data_load_api.py -test/test_planning_get_plan_list_response_dto.py -test/test_planning_plan_data_load_error_dto.py -test/test_planning_plan_info_dto.py -test/test_planning_plan_item_dto.py -test/test_planning_plan_schema_dto.py -test/test_planning_plan_segment_level_dto.py -test/test_planning_plan_segment_level_member_dto.py -test/test_planning_plan_segment_level_member_list_dto.py -test/test_planning_plan_time_period_dto.py -test/test_planning_plan_with_schema_dto.py -test/test_planning_scenario_info_dto.py +test/test_planning_hierarchy_filter_context_dto.py +test/test_planning_model_dto.py +test/test_planning_models_dto.py +test/test_planning_plan_context_dto.py +test/test_planning_plan_dto.py +test/test_planning_plans_dto.py +test/test_population_configuration_dto.py +test/test_prediction_dto.py +test/test_predictions_dto.py +test/test_process_concept_definition_dto.py +test/test_process_concept_member_dto.py +test/test_process_concept_member_list_dto.py +test/test_process_concept_metric_definition_dto.py +test/test_process_concept_metric_list_dto.py +test/test_process_concept_outcome_dto.py +test/test_process_concept_outcome_list_dto.py +test/test_process_concept_property_list_dto.py +test/test_process_concept_property_type_dto.py +test/test_process_concept_stage_dto.py +test/test_process_concept_stage_list_dto.py +test/test_processing_job.py +test/test_processing_job_and_status_response.py +test/test_processing_job_request_dto.py +test/test_processing_job_status_response.py +test/test_product_release_dto.py +test/test_product_releases_dto.py +test/test_product_version_dto.py +test/test_product_versions_dto.py +test/test_product_versions_update_failure_tenant_response_dto.py +test/test_product_versions_update_response_dto.py +test/test_product_versions_update_successful_tenant_response_dto.py +test/test_production_version_api_operation_request_dto.py +test/test_production_version_api_operation_response_dto.py test/test_production_versions_api.py +test/test_production_versions_api_operation_request_dto.py +test/test_production_versions_api_operation_response_dto.py +test/test_profile_assigned_for_accessible_tenant_dto.py +test/test_profile_assigned_for_local_tenant_dto.py +test/test_profile_get_api_response_dto.py test/test_profiles_api.py +test/test_profiles_get_api_response_dto.py +test/test_project_commits_api_response_dto.py +test/test_project_dto.py +test/test_project_operation_request_dto.py +test/test_project_operation_response_dto.py test/test_projects_api.py +test/test_properties_change_definitions_dto.py +test/test_properties_delete_definitions_dto.py +test/test_properties_dto.py +test/test_property_access_config_dto.py +test/test_property_bulk_delete_response_dto.py +test/test_property_change_definition_dto.py +test/test_property_change_definitions_by_tenant_dto.py +test/test_property_column_dto.py +test/test_property_definition_dto.py +test/test_property_delete_definitions_by_tenant_dto.py +test/test_property_delete_failure_dto.py +test/test_property_delete_success_dto.py +test/test_property_dto.py +test/test_property_reference_dto.py +test/test_property_set_config_dto.py +test/test_property_type_details_dto.py +test/test_property_type_dto.py +test/test_public_key_dto.py +test/test_public_keys_dto.py +test/test_push_data_cancel_response.py +test/test_push_data_column_definition_dto.py +test/test_push_data_complete_request.py +test/test_push_data_complete_response.py +test/test_push_data_response.py +test/test_push_data_source_definition_dto.py +test/test_push_data_source_definitions_dto.py +test/test_put_project_commits_request.py +test/test_qualtrics_auth_params_dto.py +test/test_query_axis_dto.py +test/test_query_axis_options_dto.py +test/test_query_dimension_data_member_selection_dto.py +test/test_query_dimension_leaf_selection_dto.py +test/test_query_dimension_level_property_dto.py +test/test_query_dimension_level_selection_dto.py +test/test_query_dimension_member_selection_dto.py +test/test_query_execution_error_details_dto.py +test/test_query_execution_error_dto.py +test/test_query_execution_errors_dto.py +test/test_query_execution_options_dto.py +test/test_query_filter_dto.py +test/test_query_member_map_property_dto.py +test/test_query_member_map_selection_dto.py +test/test_query_numeric_ranges_dto.py +test/test_query_parameter_value_dto.py +test/test_query_property_dto.py +test/test_query_time_interval_dto.py +test/test_query_time_intervals_dto.py +test/test_question_categories_api_response_dto.py +test/test_question_category_api_response_dto.py +test/test_receiving_job.py +test/test_receiving_job_and_status_response.py +test/test_receiving_job_status_response.py +test/test_redshift_auth_params_dto.py +test/test_reduced_error_dto.py +test/test_reduced_tenant_code_error_dto.py +test/test_reduced_user_id_error_dto.py +test/test_related_analytic_object_dto.py test/test_release_version_configuration_api.py +test/test_report_create_request_dto.py +test/test_report_delete_success_dto.py +test/test_report_dto.py +test/test_report_list_response_dto.py test/test_reporting_api.py +test/test_result.py +test/test_role_modules_config_dto.py test/test_salary_benchmark_input.py test/test_salary_benchmarks_batch_processing_failure_output.py test/test_salary_benchmarks_batch_processing_outputs.py test/test_salary_benchmarks_batch_processing_successful_output.py +test/test_salesforce_auth_params_dto.py +test/test_salesforce_v2_auth_params_dto.py +test/test_sample_question_api_response_dto.py +test/test_sample_questions_api_response_dto.py +test/test_scenario_info_dto.py +test/test_scenario_or_snapshot_dto.py test/test_search_api.py -test/test_servicing_accessible_tenant_profile_assignment_request_dto.py -test/test_servicing_accessible_tenant_profile_assignment_response_dto.py -test/test_servicing_accessible_tenant_profile_revoke_request_dto.py -test/test_servicing_accessible_tenant_profile_revoke_response_dto.py -test/test_servicing_additional_capabilities_dto.py -test/test_servicing_admin_capability_config_dto.py -test/test_servicing_all_permissions_assigned_for_local_tenant_dto.py -test/test_servicing_all_profile_assigned_for_accessible_tenant_dto.py -test/test_servicing_all_profile_assigned_for_local_tenant_dto.py -test/test_servicing_all_user_groups_assigned_for_local_tenant_dto.py -test/test_servicing_all_users_get_api_response_dto.py -test/test_servicing_analytic_object_dto.py -test/test_servicing_assign_revoke_permission_by_permission_dto.py -test/test_servicing_assign_revoke_permission_by_tenant_dto.py -test/test_servicing_assign_revoke_permission_by_user_dto.py -test/test_servicing_assign_revoke_permission_request_dto.py -test/test_servicing_assign_revoke_permissions_request_dto.py -test/test_servicing_assign_revoke_permissions_response_dto.py -test/test_servicing_bulk_data_access_set_response_dto.py -test/test_servicing_capabilities_dto.py -test/test_servicing_capability_dto.py -test/test_servicing_capability_group_dto.py -test/test_servicing_clone_files_into_source_parameters_dto.py -test/test_servicing_commit_and_publish_operation_response_dto.py -test/test_servicing_commit_dto.py -test/test_servicing_content_package_dto.py -test/test_servicing_create_data_access_set_request_dto.py -test/test_servicing_data_access_set_dto.py -test/test_servicing_data_access_set_error_dto.py -test/test_servicing_data_access_set_failure_dto.py -test/test_servicing_data_access_set_success_dto.py -test/test_servicing_data_categories_response_dto.py -test/test_servicing_data_category_response_dto.py -test/test_servicing_data_security_profile_dto.py -test/test_servicing_date_range_dto.py -test/test_servicing_delete_permissions_request_dto.py -test/test_servicing_dimension_filter_dto.py -test/test_servicing_direct_data_job_config_dto.py -test/test_servicing_direct_data_job_status_response_dto.py -test/test_servicing_direct_data_list_transactions_response_dto.py -test/test_servicing_direct_data_load_config_dto.py -test/test_servicing_direct_data_schema_dto.py -test/test_servicing_direct_data_schema_field_dto.py -test/test_servicing_direct_data_transaction_dto.py -test/test_servicing_direct_data_transaction_start_response_dto.py +test/test_securable_dimension_dto.py +test/test_securable_property_dto.py +test/test_security_assignment_response_dto.py +test/test_selection_concept_configuration_dto.py +test/test_selection_concept_configuration_map_dto.py +test/test_selection_concept_dto.py +test/test_selection_concept_list_dto.py +test/test_selection_concept_reference_dto.py +test/test_selection_concepts_dto.py +test/test_service_now_auth_params_dto.py +test/test_service_now_v2_auth_params_dto.py +test/test_servicing_capability_proto_enum_access_lookup_dto.py test/test_servicing_direct_data_upload_file_response_dto.py -test/test_servicing_document_search_link_dto.py -test/test_servicing_dynamic_dimension_filter_dto.py -test/test_servicing_dynamic_property_mapping_dto.py -test/test_servicing_error_dto.py -test/test_servicing_export_production_versions_api_operation_parameters_dto.py -test/test_servicing_failed_accessible_tenant_profile_assignment_dto.py -test/test_servicing_failed_local_tenant_profile_assignment_dto.py -test/test_servicing_failed_local_tenant_profile_revoke_dto.py -test/test_servicing_get_capabilities_api_response_dto.py -test/test_servicing_get_content_packages_api_response_dto.py -test/test_servicing_get_data_access_sets_api_response_dto.py -test/test_servicing_get_data_security_objects_api_response_dto.py -test/test_servicing_get_permissions_api_response_dto.py -test/test_servicing_get_production_versions_api_response_dto.py -test/test_servicing_get_projects_api_response_dto.py -test/test_servicing_hierarchy_property_dto.py -test/test_servicing_inherited_access_config_dto.py -test/test_servicing_inherited_reference_member_filter_config_dto.py -test/test_servicing_job_id_response.py -test/test_servicing_last_login_dto.py -test/test_servicing_local_tenant_profile_assignment_request_dto.py -test/test_servicing_local_tenant_profile_assignment_response_dto.py -test/test_servicing_local_tenant_profile_revoke_request_dto.py -test/test_servicing_local_tenant_profile_revoke_response_dto.py -test/test_servicing_member_filter_config_dto.py -test/test_servicing_member_selection_dto.py -test/test_servicing_objectconfiguration_calculated_property_type_dto.py -test/test_servicing_objectconfiguration_dependent_dto.py -test/test_servicing_objectconfiguration_dimension_change_definition_dto.py -test/test_servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py -test/test_servicing_objectconfiguration_dimensions_change_definitions_dto.py -test/test_servicing_objectconfiguration_object_change_failure_dto.py -test/test_servicing_objectconfiguration_object_change_success_dto.py -test/test_servicing_objectconfiguration_objects_bulk_change_response_dto.py -test/test_servicing_objectconfiguration_properties_change_definitions_dto.py -test/test_servicing_objectconfiguration_properties_delete_definitions_dto.py -test/test_servicing_objectconfiguration_property_bulk_delete_response_dto.py -test/test_servicing_objectconfiguration_property_change_definition_dto.py -test/test_servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py -test/test_servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py -test/test_servicing_objectconfiguration_property_delete_failure_dto.py -test/test_servicing_objectconfiguration_property_delete_success_dto.py -test/test_servicing_objectconfiguration_property_type_dto.py -test/test_servicing_objectconfiguration_simple_property_type_dto.py -test/test_servicing_objectconfiguration_tags_dto.py -test/test_servicing_permission_assigned_by_tenant_dto.py -test/test_servicing_permission_assigned_for_local_tenant_dto.py -test/test_servicing_permission_assigned_user_dto.py -test/test_servicing_permission_assigned_users_dto.py -test/test_servicing_permission_bulk_operation_response_dto.py -test/test_servicing_permission_dto.py -test/test_servicing_permission_error_dto.py -test/test_servicing_permission_failure_dto.py -test/test_servicing_permission_success_dto.py -test/test_servicing_production_version_api_operation_request_dto.py -test/test_servicing_production_version_api_operation_response_dto.py -test/test_servicing_production_versions_api_operation_request_dto.py -test/test_servicing_production_versions_api_operation_response_dto.py -test/test_servicing_profile_assigned_for_accessible_tenant_dto.py -test/test_servicing_profile_assigned_for_local_tenant_dto.py -test/test_servicing_profile_get_api_response_dto.py -test/test_servicing_profiles_get_api_response_dto.py -test/test_servicing_project_commits_api_response_dto.py -test/test_servicing_project_dto.py -test/test_servicing_project_operation_request_dto.py -test/test_servicing_project_operation_response_dto.py -test/test_servicing_property_access_config_dto.py -test/test_servicing_property_set_config_dto.py -test/test_servicing_question_categories_api_response_dto.py -test/test_servicing_question_category_api_response_dto.py -test/test_servicing_reduced_error_dto.py -test/test_servicing_reduced_tenant_code_error_dto.py -test/test_servicing_reduced_user_id_error_dto.py -test/test_servicing_related_analytic_object_dto.py -test/test_servicing_role_modules_config_dto.py -test/test_servicing_sample_question_api_response_dto.py -test/test_servicing_sample_questions_api_response_dto.py -test/test_servicing_securable_dimension_dto.py -test/test_servicing_securable_property_dto.py -test/test_servicing_servicing_capability_proto_enum_access_lookup_dto.py -test/test_servicing_shareable_data_access_set.py -test/test_servicing_simple_document_header_search_response_dto.py -test/test_servicing_simple_document_header_search_result_dto.py -test/test_servicing_sources_api_operation_request_dto.py -test/test_servicing_static_dimension_filter_dto.py -test/test_servicing_successful_accessible_tenant_profile_assignment_dto.py -test/test_servicing_successful_local_tenant_profile_assignment_dto.py -test/test_servicing_target_tenant_code_dto.py -test/test_servicing_tenant_code_error_dto.py -test/test_servicing_tenant_data_upload_status_response_dto.py -test/test_servicing_tenant_data_upload_update_status_response_dto.py -test/test_servicing_tenant_data_uploads_list_response_dto.py -test/test_servicing_tenant_data_uploads_response_dto.py -test/test_servicing_tenant_data_uploads_update_response_dto.py -test/test_servicing_user_creation_api_request_dto.py -test/test_servicing_user_get_api_response_dto.py -test/test_servicing_user_group_assigned_for_local_tenant_dto.py -test/test_servicing_user_group_assignment_dto.py -test/test_servicing_user_id_error_dto.py -test/test_servicing_user_property_dto.py -test/test_servicing_user_update_api_request_dto.py -test/test_servicing_users_api_error_message_dto.py -test/test_servicing_users_api_failure_dto.py -test/test_servicing_users_api_response_dto.py -test/test_servicing_users_api_success_dto.py -test/test_servicing_users_creation_api_request_dto.py -test/test_servicing_users_delete_api_request_dto.py -test/test_servicing_users_update_api_request_dto.py -test/test_servicing_users_update_api_user_dto.py -test/test_servicing_v2_objectconfiguration_analytic_object_definition_dto.py -test/test_servicing_v2_objectconfiguration_analytic_object_request_dto.py -test/test_servicing_v2_objectconfiguration_analytic_object_with_context_dto.py -test/test_servicing_v2_objectconfiguration_basic_information_dto.py -test/test_servicing_v2_objectconfiguration_bulk_change_response_dto.py -test/test_servicing_v2_objectconfiguration_calculated_property_type_dto.py -test/test_servicing_v2_objectconfiguration_concept_definition_dto.py -test/test_servicing_v2_objectconfiguration_concept_delete_request_dto.py -test/test_servicing_v2_objectconfiguration_concept_delete_with_context_dto.py -test/test_servicing_v2_objectconfiguration_concept_request_dto.py -test/test_servicing_v2_objectconfiguration_concept_response_dto.py -test/test_servicing_v2_objectconfiguration_concept_type_details_dto.py -test/test_servicing_v2_objectconfiguration_concept_with_context_dto.py -test/test_servicing_v2_objectconfiguration_execution_context_dto.py -test/test_servicing_v2_objectconfiguration_failed_change_dto.py -test/test_servicing_v2_objectconfiguration_metric_definition_dto.py -test/test_servicing_v2_objectconfiguration_metric_type_details_dto.py -test/test_servicing_v2_objectconfiguration_object_id_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_definition_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_member_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_member_list_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_metric_list_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_outcome_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_property_list_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_property_type_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_stage_dto.py -test/test_servicing_v2_objectconfiguration_process_concept_stage_list_dto.py -test/test_servicing_v2_objectconfiguration_property_definition_dto.py -test/test_servicing_v2_objectconfiguration_property_type_details_dto.py -test/test_servicing_v2_objectconfiguration_simple_property_type_dto.py -test/test_servicing_v2_objectconfiguration_successful_change_dto.py -test/test_servicing_v2_objectconfiguration_synonym_list_dto.py -test/test_servicing_v2_objectconfiguration_tag_reference_dto.py -test/test_servicing_v2_objectconfiguration_tag_reference_list_dto.py -test/test_servicing_vee_question_change_definition_dto.py -test/test_servicing_vee_question_change_definitions_by_tenant_dto.py -test/test_servicing_vee_question_change_failure_dto.py -test/test_servicing_vee_question_change_success_dto.py -test/test_servicing_vee_question_delete_definitions_by_tenant_dto.py -test/test_servicing_vee_questions_bulk_change_response_dto.py -test/test_servicing_vee_questions_change_definitions_dto.py -test/test_servicing_vee_questions_delete_definitions_dto.py +test/test_set_connector_setting_request_dto.py +test/test_set_connector_setting_response_dto.py +test/test_set_connector_settings_request_dto.py +test/test_set_connector_settings_response_dto.py +test/test_shareable_data_access_set.py +test/test_simple_document_header_search_response_dto.py +test/test_simple_document_header_search_result_dto.py +test/test_simple_property_type_dto.py +test/test_simple_user_dto.py test/test_skill.py test/test_skill_category.py test/test_skill_category_entry.py @@ -640,24 +506,158 @@ test/test_skill_group.py test/test_skill_group_entry.py test/test_skill_match_input.py test/test_skills_library_api.py +test/test_slack_auth_params_dto.py +test/test_snapshot_query_execution_dto.py +test/test_snapshot_query_execution_options_dto.py +test/test_snowflake_auth_params_dto.py +test/test_sort_option_dto.py +test/test_source.py test/test_source_files_download_api.py test/test_source_import_result_summary_dto.py test/test_sources_api.py +test/test_sources_api_operation_request_dto.py test/test_sources_api_put_response_dto.py +test/test_sql_like_query_execution_dto.py +test/test_sql_server_auth_params_dto.py +test/test_start_extraction_response.py +test/test_start_transfer_response.py +test/test_static_dimension_filter_dto.py test/test_status.py +test/test_subject_missing_access_dto.py +test/test_success_factors_auth_params_dto.py +test/test_success_factors_o_auth_params_dto.py +test/test_successful_accessible_tenant_profile_assignment_dto.py +test/test_successful_change_dto.py +test/test_successful_local_tenant_profile_assignment_dto.py +test/test_synonym_list_dto.py test/test_system_status_api.py -test/test_systemstatus_system_status_dto.py -test/test_systemstatus_vee_status_dto.py +test/test_system_status_dto.py test/test_table_response_dto.py +test/test_tag_map_element_dto.py +test/test_tag_reference_dto.py +test/test_tag_reference_list_dto.py +test/test_tags_dto.py +test/test_target_project_for_tenant_dto.py +test/test_target_project_for_tenants_list_dto.py +test/test_target_tenant_code_dto.py +test/test_tenant.py +test/test_tenant_and_credential.py +test/test_tenant_assignments_dto.py +test/test_tenant_code_body.py +test/test_tenant_code_error_dto.py +test/test_tenant_connector_settings_request_dto.py +test/test_tenant_data_upload_status_response_dto.py +test/test_tenant_data_upload_update_status_response_dto.py +test/test_tenant_data_uploads_list_response_dto.py +test/test_tenant_data_uploads_response_dto.py +test/test_tenant_data_uploads_update_response_dto.py +test/test_tenant_detail_apidto.py +test/test_tenant_details_traits_dto.py +test/test_tenant_encryption_key_details_dto.py +test/test_tenant_encryption_key_dto.py +test/test_tenant_management_api_get_response_dto.py +test/test_tenant_management_api_list_response_dto.py +test/test_tenant_management_api_update_request_dto.py +test/test_tenant_management_api_update_response_dto.py +test/test_tenant_module_dto.py +test/test_tenant_preview_entries_summary_dto.py +test/test_tenant_preview_entries_summary_list_dto.py +test/test_tenant_provision_apidto.py +test/test_tenant_status_apidto.py test/test_tenants_v1_api.py test/test_tenants_v2_api.py +test/test_time_shift_dto.py test/test_token_response.py +test/test_ultimate_auth_params_dto.py +test/test_update_tenant_model.py +test/test_upload_to_exclude.py +test/test_upload_to_include.py +test/test_user_creation_api_request_dto.py test/test_user_creation_api_response_dto.py +test/test_user_get_api_response_dto.py +test/test_user_group_assigned_for_local_tenant_dto.py +test/test_user_group_assignment_dto.py +test/test_user_group_change_definition_dto.py +test/test_user_group_change_dimension_filter_dto.py +test/test_user_group_change_failure_dto.py +test/test_user_group_change_filter_dto.py +test/test_user_group_change_member_selection_dto.py +test/test_user_group_change_response_dto.py +test/test_user_group_change_success_dto.py +test/test_user_group_change_users_dto.py +test/test_user_group_delete_dto.py +test/test_user_group_delete_failure_dto.py +test/test_user_group_delete_response_dto.py +test/test_user_group_delete_success_dto.py +test/test_user_group_filters_dto.py +test/test_user_group_get_api_response_dto.py +test/test_user_group_single_delete_response_dto.py +test/test_user_groups_change_dto.py +test/test_user_groups_delete_request_dto.py +test/test_user_groups_get_api_response_dto.py +test/test_user_groups_users_dto.py +test/test_user_groups_users_for_tenant_dto.py test/test_user_groups_v2_api.py +test/test_user_id_error_dto.py +test/test_user_property_dto.py +test/test_user_security_assignments_dto.py +test/test_user_update_api_request_dto.py +test/test_users_api_error_message_dto.py +test/test_users_api_failure_dto.py +test/test_users_api_response_dto.py +test/test_users_api_success_dto.py +test/test_users_creation_api_request_dto.py +test/test_users_delete_api_request_dto.py +test/test_users_to_user_group_request_dto.py +test/test_users_to_user_groups_request_dto.py +test/test_users_update_api_request_dto.py +test/test_users_update_api_user_dto.py test/test_users_v1_api.py test/test_users_v2_api.py +test/test_v2_calculated_property_type_dto.py +test/test_v2_simple_property_type_dto.py +test/test_validity_range_dto.py test/test_vee_api.py +test/test_vee_clarification_dto.py +test/test_vee_conversation_dto.py +test/test_vee_conversation_state_dto.py +test/test_vee_corrections_dto.py +test/test_vee_data_dto.py +test/test_vee_feedback_dto.py +test/test_vee_options_dto.py +test/test_vee_question_change_definition_dto.py +test/test_vee_question_change_definitions_by_tenant_dto.py +test/test_vee_question_change_failure_dto.py +test/test_vee_question_change_success_dto.py +test/test_vee_question_delete_definitions_by_tenant_dto.py +test/test_vee_question_dto.py +test/test_vee_questions_bulk_change_response_dto.py +test/test_vee_questions_change_definitions_dto.py +test/test_vee_questions_delete_definitions_dto.py +test/test_vee_response_dto.py +test/test_vee_response_schema_dto.py +test/test_vee_response_schema_reference_dto.py +test/test_vee_sample_question_dto.py +test/test_vee_sample_question_library_dto.py +test/test_vee_status_code_dto.py +test/test_vee_status_dto.py +test/test_vee_visual_dto.py +test/test_vee_visual_options_dto.py +test/test_webhook_basic_auth_credential_dto.py +test/test_webhook_credentials_dto.py +test/test_webhook_details_dto.py +test/test_webhook_dto.py +test/test_webhook_event_type_dto.py +test/test_webhook_message_response_dto.py +test/test_webhook_request_dto.py test/test_webhooks_api.py +test/test_webhooks_dto.py +test/test_willow_auth_params_dto.py +test/test_workday_auth_params_dto.py +test/test_workday_o_auth_params_dto.py +test/test_workday_raas_auth_params_dto.py +test/test_workday_refresh_token_params_dto.py +test/test_zoom_auth_params_dto.py tox.ini visier_platform_sdk/__init__.py visier_platform_sdk/api/__init__.py @@ -704,606 +704,472 @@ visier_platform_sdk/api_response.py visier_platform_sdk/configuration.py visier_platform_sdk/exceptions.py visier_platform_sdk/models/__init__.py -visier_platform_sdk/models/admin_all_tenants_status_apidto.py -visier_platform_sdk/models/admin_assign_connector_credentials_by_tenant_response_dto.py -visier_platform_sdk/models/admin_assign_connector_credentials_response_dto.py -visier_platform_sdk/models/admin_assign_connector_with_credentials_response_dto.py -visier_platform_sdk/models/admin_assigned_credential_info_response_dto.py -visier_platform_sdk/models/admin_batch_tenant_provision_apidto.py -visier_platform_sdk/models/admin_business_location_dto.py -visier_platform_sdk/models/admin_connector_info_response_dto.py -visier_platform_sdk/models/admin_connector_setting_request_dto.py -visier_platform_sdk/models/admin_connector_setting_response_dto.py -visier_platform_sdk/models/admin_connector_settings_response_dto.py -visier_platform_sdk/models/admin_consolidated_analytics_api_excluded_source_list_dto.py -visier_platform_sdk/models/admin_consolidated_analytics_api_source_tenant_list_dto.py -visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_create_request_dto.py -visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_list_response_dto.py -visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details.py -visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py -visier_platform_sdk/models/admin_custom_property_dto.py -visier_platform_sdk/models/admin_custom_tenant_property_dto.py -visier_platform_sdk/models/admin_data_import_definition_apidto.py -visier_platform_sdk/models/admin_data_import_definitions_apidto.py -visier_platform_sdk/models/admin_data_version_and_date_dto.py -visier_platform_sdk/models/admin_delete_user_group_v2_request.py -visier_platform_sdk/models/admin_element_ids_dto.py -visier_platform_sdk/models/admin_email_domains_dto.py -visier_platform_sdk/models/admin_excluded_sources_body.py -visier_platform_sdk/models/admin_extractor_setting_apidto.py -visier_platform_sdk/models/admin_extractor_setting_key_value_apidto.py -visier_platform_sdk/models/admin_extractor_settings_apidto.py -visier_platform_sdk/models/admin_home_analysis_by_user_group_dto.py -visier_platform_sdk/models/admin_jobs_consolidated_analytics_job_request_dto.py -visier_platform_sdk/models/admin_jobs_extract_data_and_load_dto.py -visier_platform_sdk/models/admin_jobs_processing_job_request_dto.py -visier_platform_sdk/models/admin_key_name.py -visier_platform_sdk/models/admin_mask_message.py -visier_platform_sdk/models/admin_multiple_tenant_data_versions_details_dto.py -visier_platform_sdk/models/admin_multiple_tenant_data_versions_list_dto.py -visier_platform_sdk/models/admin_network_subnets_message_request.py -visier_platform_sdk/models/admin_network_subnets_message_response.py -visier_platform_sdk/models/admin_permission_response_dto.py -visier_platform_sdk/models/admin_permissions_list_dto.py -visier_platform_sdk/models/admin_permissions_to_user_group_for_tenant_dto.py -visier_platform_sdk/models/admin_permissions_to_user_group_request_dto.py -visier_platform_sdk/models/admin_permissions_to_user_groups_request_dto.py -visier_platform_sdk/models/admin_product_release_dto.py -visier_platform_sdk/models/admin_product_releases_dto.py -visier_platform_sdk/models/admin_product_version_dto.py -visier_platform_sdk/models/admin_product_versions_dto.py -visier_platform_sdk/models/admin_product_versions_update_failure_tenant_response_dto.py -visier_platform_sdk/models/admin_product_versions_update_response_dto.py -visier_platform_sdk/models/admin_product_versions_update_successful_tenant_response_dto.py -visier_platform_sdk/models/admin_put_project_commits_request.py -visier_platform_sdk/models/admin_security_assignment_response_dto.py -visier_platform_sdk/models/admin_set_connector_setting_request_dto.py -visier_platform_sdk/models/admin_set_connector_setting_response_dto.py -visier_platform_sdk/models/admin_set_connector_settings_request_dto.py -visier_platform_sdk/models/admin_set_connector_settings_response_dto.py -visier_platform_sdk/models/admin_simple_user_dto.py -visier_platform_sdk/models/admin_target_project_for_tenant_dto.py -visier_platform_sdk/models/admin_target_project_for_tenants_list_dto.py -visier_platform_sdk/models/admin_tenant_assignments_dto.py -visier_platform_sdk/models/admin_tenant_code_body.py -visier_platform_sdk/models/admin_tenant_connector_settings_request_dto.py -visier_platform_sdk/models/admin_tenant_detail_apidto.py -visier_platform_sdk/models/admin_tenant_details_traits_dto.py -visier_platform_sdk/models/admin_tenant_management_api_get_response_dto.py -visier_platform_sdk/models/admin_tenant_management_api_list_response_dto.py -visier_platform_sdk/models/admin_tenant_management_api_update_request_dto.py -visier_platform_sdk/models/admin_tenant_management_api_update_response_dto.py -visier_platform_sdk/models/admin_tenant_provision_apidto.py -visier_platform_sdk/models/admin_tenant_status_apidto.py -visier_platform_sdk/models/admin_update_tenant_model.py -visier_platform_sdk/models/admin_user_group_change_definition_dto.py -visier_platform_sdk/models/admin_user_group_change_dimension_filter_dto.py -visier_platform_sdk/models/admin_user_group_change_failure_dto.py -visier_platform_sdk/models/admin_user_group_change_filter_dto.py -visier_platform_sdk/models/admin_user_group_change_member_selection_dto.py -visier_platform_sdk/models/admin_user_group_change_response_dto.py -visier_platform_sdk/models/admin_user_group_change_success_dto.py -visier_platform_sdk/models/admin_user_group_change_users_dto.py -visier_platform_sdk/models/admin_user_group_delete_dto.py -visier_platform_sdk/models/admin_user_group_delete_failure_dto.py -visier_platform_sdk/models/admin_user_group_delete_response_dto.py -visier_platform_sdk/models/admin_user_group_delete_success_dto.py -visier_platform_sdk/models/admin_user_group_filters_dto.py -visier_platform_sdk/models/admin_user_group_get_api_response_dto.py -visier_platform_sdk/models/admin_user_group_single_delete_response_dto.py -visier_platform_sdk/models/admin_user_groups_change_dto.py -visier_platform_sdk/models/admin_user_groups_delete_request_dto.py -visier_platform_sdk/models/admin_user_groups_get_api_response_dto.py -visier_platform_sdk/models/admin_user_groups_users_dto.py -visier_platform_sdk/models/admin_user_groups_users_for_tenant_dto.py -visier_platform_sdk/models/admin_user_security_assignments_dto.py -visier_platform_sdk/models/admin_users_to_user_group_request_dto.py -visier_platform_sdk/models/admin_users_to_user_groups_request_dto.py -visier_platform_sdk/models/analysis_common_report_create_request_dto.py -visier_platform_sdk/models/analysis_common_report_delete_success_dto.py -visier_platform_sdk/models/analysis_common_report_dto.py -visier_platform_sdk/models/analysis_common_report_list_response_dto.py -visier_platform_sdk/models/analysis_common_vee_clarification_dto.py -visier_platform_sdk/models/analysis_common_vee_conversation_dto.py -visier_platform_sdk/models/analysis_common_vee_conversation_state_dto.py -visier_platform_sdk/models/analysis_common_vee_corrections_dto.py -visier_platform_sdk/models/analysis_common_vee_data_dto.py -visier_platform_sdk/models/analysis_common_vee_feedback_dto.py -visier_platform_sdk/models/analysis_common_vee_options_dto.py -visier_platform_sdk/models/analysis_common_vee_question_dto.py -visier_platform_sdk/models/analysis_common_vee_response_dto.py -visier_platform_sdk/models/analysis_common_vee_response_schema_dto.py -visier_platform_sdk/models/analysis_common_vee_response_schema_reference_dto.py -visier_platform_sdk/models/analysis_common_vee_sample_question_dto.py -visier_platform_sdk/models/analysis_common_vee_sample_question_library_dto.py -visier_platform_sdk/models/analysis_common_vee_status_code_dto.py -visier_platform_sdk/models/analysis_common_vee_visual_dto.py -visier_platform_sdk/models/analysis_common_vee_visual_options_dto.py +visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py +visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py +visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py +visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py +visier_platform_sdk/models/additional_capabilities_dto.py +visier_platform_sdk/models/admin_capability_config_dto.py +visier_platform_sdk/models/adp_auth_params_dto.py +visier_platform_sdk/models/aggregation_query_dto.py +visier_platform_sdk/models/aggregation_query_execution_dto.py +visier_platform_sdk/models/aggregation_query_source_dto.py +visier_platform_sdk/models/aggregation_query_source_metric_dto.py +visier_platform_sdk/models/aggregation_query_source_metrics_dto.py +visier_platform_sdk/models/aggregation_type_option_dto.py +visier_platform_sdk/models/aggregation_type_parameter_dto.py +visier_platform_sdk/models/aggregation_type_parameter_value_dto.py +visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py +visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py +visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py +visier_platform_sdk/models/all_tenants_status_apidto.py +visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py +visier_platform_sdk/models/all_users_get_api_response_dto.py +visier_platform_sdk/models/analytic_object_definition_dto.py +visier_platform_sdk/models/analytic_object_dto.py +visier_platform_sdk/models/analytic_object_filter_dto.py +visier_platform_sdk/models/analytic_object_request_dto.py +visier_platform_sdk/models/analytic_object_with_context_dto.py +visier_platform_sdk/models/analytic_objects_dto.py +visier_platform_sdk/models/any.py visier_platform_sdk/models/api_error.py -visier_platform_sdk/models/authentication_o_auth2_user_info_dto.py -visier_platform_sdk/models/authentication_o_auth2_user_subnet_info_dto.py -visier_platform_sdk/models/authentication_o_auth2_user_tenant_detail_dto.py -visier_platform_sdk/models/authentication_o_auth2_user_tenant_details_dto.py -visier_platform_sdk/models/authentication_o_auth2_user_tenant_properties_dto.py +visier_platform_sdk/models/assign_connector_credential_request.py +visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py +visier_platform_sdk/models/assign_connector_credentials_response_dto.py +visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py +visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py +visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py +visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py +visier_platform_sdk/models/assign_revoke_permission_request_dto.py +visier_platform_sdk/models/assign_revoke_permissions_request_dto.py +visier_platform_sdk/models/assign_revoke_permissions_response_dto.py +visier_platform_sdk/models/assigned_credential_info_response_dto.py +visier_platform_sdk/models/bamboo_auth_params_dto.py +visier_platform_sdk/models/basic_information_dto.py +visier_platform_sdk/models/basic_s3_auth_params_dto.py +visier_platform_sdk/models/batch_tenant_provision_apidto.py visier_platform_sdk/models/benchmark_info.py visier_platform_sdk/models/benchmark_value.py -visier_platform_sdk/models/data_in_assign_connector_credential_request.py -visier_platform_sdk/models/data_in_connector.py -visier_platform_sdk/models/data_in_data_load_request.py -visier_platform_sdk/models/data_in_data_load_request_model.py -visier_platform_sdk/models/data_in_data_load_response.py -visier_platform_sdk/models/data_in_data_transfer_result_detail.py -visier_platform_sdk/models/data_in_data_version_object.py -visier_platform_sdk/models/data_in_disable_dv_model.py -visier_platform_sdk/models/data_in_disable_dv_request.py -visier_platform_sdk/models/data_in_disable_dv_response.py -visier_platform_sdk/models/data_in_dispatching_job_status_response.py -visier_platform_sdk/models/data_in_exclude_data_uploads_request.py -visier_platform_sdk/models/data_in_extraction_job.py -visier_platform_sdk/models/data_in_extraction_job_and_status_response.py -visier_platform_sdk/models/data_in_include_data_uploads_request.py -visier_platform_sdk/models/data_in_job_status_list_response.py -visier_platform_sdk/models/data_in_job_status_with_start_time.py -visier_platform_sdk/models/data_in_processing_job.py -visier_platform_sdk/models/data_in_processing_job_and_status_response.py -visier_platform_sdk/models/data_in_processing_job_status_response.py -visier_platform_sdk/models/data_in_push_data_cancel_response.py -visier_platform_sdk/models/data_in_push_data_complete_request.py -visier_platform_sdk/models/data_in_push_data_complete_response.py -visier_platform_sdk/models/data_in_push_data_response.py -visier_platform_sdk/models/data_in_receiving_job.py -visier_platform_sdk/models/data_in_receiving_job_and_status_response.py -visier_platform_sdk/models/data_in_receiving_job_status_response.py -visier_platform_sdk/models/data_in_result.py -visier_platform_sdk/models/data_in_source.py -visier_platform_sdk/models/data_in_start_extraction_response.py -visier_platform_sdk/models/data_in_start_transfer_response.py -visier_platform_sdk/models/data_in_tenant.py -visier_platform_sdk/models/data_in_tenant_and_credential.py -visier_platform_sdk/models/data_in_upload_to_exclude.py -visier_platform_sdk/models/data_in_upload_to_include.py -visier_platform_sdk/models/data_out_list_response.py -visier_platform_sdk/models/dataservices_common_dimension_member_reference_dto.py -visier_platform_sdk/models/dataservices_common_member_values_dto.py -visier_platform_sdk/models/dataservices_datamodel_aggregation_type_option_dto.py -visier_platform_sdk/models/dataservices_datamodel_aggregation_type_parameter_dto.py -visier_platform_sdk/models/dataservices_datamodel_analytic_object_dto.py -visier_platform_sdk/models/dataservices_datamodel_analytic_objects_dto.py -visier_platform_sdk/models/dataservices_datamodel_currencies_dto.py -visier_platform_sdk/models/dataservices_datamodel_currency_dto.py -visier_platform_sdk/models/dataservices_datamodel_currency_rate_dto.py -visier_platform_sdk/models/dataservices_datamodel_currency_rates_dto.py -visier_platform_sdk/models/dataservices_datamodel_dimension_dto.py -visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_dto.py -visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_execution_dto.py -visier_platform_sdk/models/dataservices_datamodel_dimension_reference_dto.py -visier_platform_sdk/models/dataservices_datamodel_dimensions_dto.py -visier_platform_sdk/models/dataservices_datamodel_level_dto.py -visier_platform_sdk/models/dataservices_datamodel_member_dto.py -visier_platform_sdk/models/dataservices_datamodel_member_parameter_definition_dto.py -visier_platform_sdk/models/dataservices_datamodel_members_dto.py -visier_platform_sdk/models/dataservices_datamodel_metric_dto.py -visier_platform_sdk/models/dataservices_datamodel_metrics_dto.py -visier_platform_sdk/models/dataservices_datamodel_numeric_parameter_definition_dto.py -visier_platform_sdk/models/dataservices_datamodel_object_reference_dto.py -visier_platform_sdk/models/dataservices_datamodel_parameter_definition_dto.py -visier_platform_sdk/models/dataservices_datamodel_plan_parameter_definition_dto.py -visier_platform_sdk/models/dataservices_datamodel_planning_concept_filter_context_dto.py -visier_platform_sdk/models/dataservices_datamodel_planning_hierarchy_filter_context_dto.py -visier_platform_sdk/models/dataservices_datamodel_planning_model_dto.py -visier_platform_sdk/models/dataservices_datamodel_planning_models_dto.py -visier_platform_sdk/models/dataservices_datamodel_planning_plan_context_dto.py -visier_platform_sdk/models/dataservices_datamodel_planning_plan_dto.py -visier_platform_sdk/models/dataservices_datamodel_planning_plans_dto.py -visier_platform_sdk/models/dataservices_datamodel_population_configuration_dto.py -visier_platform_sdk/models/dataservices_datamodel_prediction_dto.py -visier_platform_sdk/models/dataservices_datamodel_predictions_dto.py -visier_platform_sdk/models/dataservices_datamodel_properties_dto.py -visier_platform_sdk/models/dataservices_datamodel_property_dto.py -visier_platform_sdk/models/dataservices_datamodel_property_reference_dto.py -visier_platform_sdk/models/dataservices_datamodel_scenario_or_snapshot_dto.py -visier_platform_sdk/models/dataservices_datamodel_selection_concept_dto.py -visier_platform_sdk/models/dataservices_datamodel_selection_concept_reference_dto.py -visier_platform_sdk/models/dataservices_datamodel_selection_concepts_dto.py -visier_platform_sdk/models/dataservices_datamodel_tag_map_element_dto.py -visier_platform_sdk/models/dataservices_datamodel_validity_range_dto.py -visier_platform_sdk/models/dataservices_query_aggregation_query_dto.py -visier_platform_sdk/models/dataservices_query_aggregation_query_execution_dto.py -visier_platform_sdk/models/dataservices_query_aggregation_query_source_dto.py -visier_platform_sdk/models/dataservices_query_aggregation_query_source_metric_dto.py -visier_platform_sdk/models/dataservices_query_aggregation_query_source_metrics_dto.py -visier_platform_sdk/models/dataservices_query_aggregation_type_parameter_value_dto.py -visier_platform_sdk/models/dataservices_query_cell_distribution_bin_dto.py -visier_platform_sdk/models/dataservices_query_cell_distribution_options_dto.py -visier_platform_sdk/models/dataservices_query_cell_dto.py -visier_platform_sdk/models/dataservices_query_cell_set_axis_dto.py -visier_platform_sdk/models/dataservices_query_cell_set_axis_position_dto.py -visier_platform_sdk/models/dataservices_query_cell_set_dto.py -visier_platform_sdk/models/dataservices_query_cell_set_or_error_dto.py -visier_platform_sdk/models/dataservices_query_cohort_filter_dto.py -visier_platform_sdk/models/dataservices_query_internal_query_execution_options_dto.py -visier_platform_sdk/models/dataservices_query_key_group_filter_dto.py -visier_platform_sdk/models/dataservices_query_key_group_filter_item_dto.py -visier_platform_sdk/models/dataservices_query_lineage_dto.py -visier_platform_sdk/models/dataservices_query_list_query_execution_dto.py -visier_platform_sdk/models/dataservices_query_list_query_execution_options_dto.py -visier_platform_sdk/models/dataservices_query_list_query_source_dto.py -visier_platform_sdk/models/dataservices_query_member_filter_dto.py -visier_platform_sdk/models/dataservices_query_member_parameter_value_dto.py -visier_platform_sdk/models/dataservices_query_numeric_parameter_value_dto.py -visier_platform_sdk/models/dataservices_query_plan_parameter_value_dto.py -visier_platform_sdk/models/dataservices_query_property_column_dto.py -visier_platform_sdk/models/dataservices_query_query_axis_dto.py -visier_platform_sdk/models/dataservices_query_query_axis_options_dto.py -visier_platform_sdk/models/dataservices_query_query_dimension_data_member_selection_dto.py -visier_platform_sdk/models/dataservices_query_query_dimension_leaf_selection_dto.py -visier_platform_sdk/models/dataservices_query_query_dimension_level_property_dto.py -visier_platform_sdk/models/dataservices_query_query_dimension_level_selection_dto.py -visier_platform_sdk/models/dataservices_query_query_dimension_member_selection_dto.py -visier_platform_sdk/models/dataservices_query_query_execution_error_details_dto.py -visier_platform_sdk/models/dataservices_query_query_execution_error_dto.py -visier_platform_sdk/models/dataservices_query_query_execution_errors_dto.py -visier_platform_sdk/models/dataservices_query_query_execution_options_dto.py -visier_platform_sdk/models/dataservices_query_query_filter_dto.py -visier_platform_sdk/models/dataservices_query_query_member_map_property_dto.py -visier_platform_sdk/models/dataservices_query_query_member_map_selection_dto.py -visier_platform_sdk/models/dataservices_query_query_numeric_ranges_dto.py -visier_platform_sdk/models/dataservices_query_query_parameter_value_dto.py -visier_platform_sdk/models/dataservices_query_query_property_dto.py -visier_platform_sdk/models/dataservices_query_query_time_interval_dto.py -visier_platform_sdk/models/dataservices_query_query_time_intervals_dto.py -visier_platform_sdk/models/dataservices_query_snapshot_query_execution_dto.py -visier_platform_sdk/models/dataservices_query_snapshot_query_execution_options_dto.py -visier_platform_sdk/models/dataservices_query_sort_option_dto.py -visier_platform_sdk/models/dataservices_query_sql_like_query_execution_dto.py -visier_platform_sdk/models/dataservices_query_time_shift_dto.py +visier_platform_sdk/models/big_query_auth_params_dto.py +visier_platform_sdk/models/big_query_service_account_params_dto.py +visier_platform_sdk/models/bulk_change_response_dto.py +visier_platform_sdk/models/bulk_data_access_set_response_dto.py +visier_platform_sdk/models/business_location_dto.py +visier_platform_sdk/models/calculated_property_type_dto.py +visier_platform_sdk/models/calculation_concept_configuration_dto.py +visier_platform_sdk/models/calculation_concept_configuration_map_dto.py +visier_platform_sdk/models/calculation_concept_dto.py +visier_platform_sdk/models/calculation_concept_list_dto.py +visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py +visier_platform_sdk/models/capabilities_dto.py +visier_platform_sdk/models/capability_dto.py +visier_platform_sdk/models/capability_group_dto.py +visier_platform_sdk/models/cell_distribution_bin_dto.py +visier_platform_sdk/models/cell_distribution_options_dto.py +visier_platform_sdk/models/cell_dto.py +visier_platform_sdk/models/cell_set_axis_dto.py +visier_platform_sdk/models/cell_set_axis_position_dto.py +visier_platform_sdk/models/cell_set_dto.py +visier_platform_sdk/models/cell_set_or_error_dto.py +visier_platform_sdk/models/clone_files_into_source_parameters_dto.py +visier_platform_sdk/models/cohort_filter_dto.py +visier_platform_sdk/models/commit_and_publish_operation_response_dto.py +visier_platform_sdk/models/commit_dto.py +visier_platform_sdk/models/concept_configuration_result_dto.py +visier_platform_sdk/models/concept_definition_dto.py +visier_platform_sdk/models/concept_delete_request_dto.py +visier_platform_sdk/models/concept_delete_with_context_dto.py +visier_platform_sdk/models/concept_request_dto.py +visier_platform_sdk/models/concept_response_dto.py +visier_platform_sdk/models/concept_type_details_dto.py +visier_platform_sdk/models/concept_with_context_dto.py +visier_platform_sdk/models/connector.py +visier_platform_sdk/models/connector_info_response_dto.py +visier_platform_sdk/models/connector_setting_request_dto.py +visier_platform_sdk/models/connector_setting_response_dto.py +visier_platform_sdk/models/connector_settings_response_dto.py +visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py +visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py +visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py +visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py +visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py +visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py +visier_platform_sdk/models/consolidated_analytics_job_request_dto.py +visier_platform_sdk/models/content_package_dto.py +visier_platform_sdk/models/copy_s3_auth_params_dto.py +visier_platform_sdk/models/create_data_access_set_request_dto.py +visier_platform_sdk/models/credential_creation_api_response_dto.py +visier_platform_sdk/models/currencies_dto.py +visier_platform_sdk/models/currency_dto.py +visier_platform_sdk/models/currency_rate_dto.py +visier_platform_sdk/models/currency_rates_dto.py +visier_platform_sdk/models/custom_property_dto.py +visier_platform_sdk/models/custom_tenant_property_dto.py +visier_platform_sdk/models/data_access_set_dto.py +visier_platform_sdk/models/data_access_set_error_dto.py +visier_platform_sdk/models/data_access_set_failure_dto.py +visier_platform_sdk/models/data_access_set_success_dto.py +visier_platform_sdk/models/data_categories_response_dto.py +visier_platform_sdk/models/data_category_response_dto.py +visier_platform_sdk/models/data_load_request.py +visier_platform_sdk/models/data_load_request_model.py +visier_platform_sdk/models/data_load_response.py +visier_platform_sdk/models/data_model_analytic_object_dto.py +visier_platform_sdk/models/data_provider_auth_information_dto.py +visier_platform_sdk/models/data_provider_auth_params_dto.py +visier_platform_sdk/models/data_provider_basic_information_dto.py +visier_platform_sdk/models/data_provider_basic_metadata_dto.py +visier_platform_sdk/models/data_security_profile_dto.py +visier_platform_sdk/models/data_transfer_result_detail.py +visier_platform_sdk/models/data_version_and_date_dto.py +visier_platform_sdk/models/data_version_export_column_dto.py +visier_platform_sdk/models/data_version_export_data_version_summary_dto.py +visier_platform_sdk/models/data_version_export_data_versions_dto.py +visier_platform_sdk/models/data_version_export_dto.py +visier_platform_sdk/models/data_version_export_file_dto.py +visier_platform_sdk/models/data_version_export_job_status_dto.py +visier_platform_sdk/models/data_version_export_part_file_dto.py +visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py +visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py +visier_platform_sdk/models/data_version_export_table_dto.py +visier_platform_sdk/models/data_version_exports_dto.py +visier_platform_sdk/models/data_version_object.py +visier_platform_sdk/models/databricks_auth_params_dto.py +visier_platform_sdk/models/date_range_dto.py +visier_platform_sdk/models/dayforce_v2_auth_params_dto.py +visier_platform_sdk/models/delete_permissions_request_dto.py +visier_platform_sdk/models/delete_user_group_v2_request.py +visier_platform_sdk/models/dependent_dto.py visier_platform_sdk/models/description_entry.py -visier_platform_sdk/models/designer_adp_auth_params_dto.py -visier_platform_sdk/models/designer_api_analytic_object_filter_dto.py -visier_platform_sdk/models/designer_api_calculation_concept_configuration_dto.py -visier_platform_sdk/models/designer_api_calculation_concept_configuration_map_dto.py -visier_platform_sdk/models/designer_api_calculation_concept_dto.py -visier_platform_sdk/models/designer_api_calculation_concept_list_dto.py -visier_platform_sdk/models/designer_api_concept_configuration_result_dto.py -visier_platform_sdk/models/designer_api_dimension_filter_dto.py -visier_platform_sdk/models/designer_api_dimension_member_dto.py -visier_platform_sdk/models/designer_api_perspective_configuration_dto.py -visier_platform_sdk/models/designer_api_perspective_node_dto.py -visier_platform_sdk/models/designer_api_selection_concept_configuration_dto.py -visier_platform_sdk/models/designer_api_selection_concept_configuration_map_dto.py -visier_platform_sdk/models/designer_api_selection_concept_dto.py -visier_platform_sdk/models/designer_api_selection_concept_list_dto.py -visier_platform_sdk/models/designer_bamboo_auth_params_dto.py -visier_platform_sdk/models/designer_basic_s3_auth_params_dto.py -visier_platform_sdk/models/designer_big_query_auth_params_dto.py -visier_platform_sdk/models/designer_big_query_service_account_params_dto.py -visier_platform_sdk/models/designer_copy_s3_auth_params_dto.py -visier_platform_sdk/models/designer_credential_creation_api_response_dto.py -visier_platform_sdk/models/designer_crypto_generate_key_request_dto.py -visier_platform_sdk/models/designer_crypto_key_pair_delete_response_dto.py -visier_platform_sdk/models/designer_crypto_key_pair_generate_request_dto.py -visier_platform_sdk/models/designer_crypto_public_key_dto.py -visier_platform_sdk/models/designer_crypto_public_keys_dto.py -visier_platform_sdk/models/designer_crypto_tenant_encryption_key_details_dto.py -visier_platform_sdk/models/designer_crypto_tenant_encryption_key_dto.py -visier_platform_sdk/models/designer_data_provider_auth_information_dto.py -visier_platform_sdk/models/designer_data_provider_auth_params_dto.py -visier_platform_sdk/models/designer_data_provider_basic_information_dto.py -visier_platform_sdk/models/designer_data_provider_basic_metadata_dto.py -visier_platform_sdk/models/designer_data_version_export_column_dto.py -visier_platform_sdk/models/designer_data_version_export_data_version_summary_dto.py -visier_platform_sdk/models/designer_data_version_export_data_versions_dto.py -visier_platform_sdk/models/designer_data_version_export_dto.py -visier_platform_sdk/models/designer_data_version_export_file_dto.py -visier_platform_sdk/models/designer_data_version_export_job_status_dto.py -visier_platform_sdk/models/designer_data_version_export_part_file_dto.py -visier_platform_sdk/models/designer_data_version_export_schedule_job_request_dto.py -visier_platform_sdk/models/designer_data_version_export_schedule_job_response_dto.py -visier_platform_sdk/models/designer_data_version_export_table_dto.py -visier_platform_sdk/models/designer_data_version_exports_dto.py -visier_platform_sdk/models/designer_databricks_auth_params_dto.py -visier_platform_sdk/models/designer_dayforce_v2_auth_params_dto.py -visier_platform_sdk/models/designer_dimensions_auth_params_dto.py -visier_platform_sdk/models/designer_download_source_files_dto.py -visier_platform_sdk/models/designer_download_source_files_response_dto.py -visier_platform_sdk/models/designer_extractor_credential_apidto.py -visier_platform_sdk/models/designer_extractor_credentials_apidto.py -visier_platform_sdk/models/designer_fusion_auth_params_dto.py -visier_platform_sdk/models/designer_gong_auth_params_dto.py -visier_platform_sdk/models/designer_google_sheets_auth_params_dto.py -visier_platform_sdk/models/designer_google_workspace_auth_params_dto.py -visier_platform_sdk/models/designer_greenhouse_auth_params_dto.py -visier_platform_sdk/models/designer_icims_auth_params_dto.py -visier_platform_sdk/models/designer_internal_s3_auth_params_dto.py -visier_platform_sdk/models/designer_jdbc_auth_params_dto.py -visier_platform_sdk/models/designer_jira_auth_params_dto.py -visier_platform_sdk/models/designer_jira_connect_params_dto.py -visier_platform_sdk/models/designer_lever_auth_params_dto.py -visier_platform_sdk/models/designer_medallia_auth_params_dto.py -visier_platform_sdk/models/designer_microsoft365_auth_params_dto.py -visier_platform_sdk/models/designer_module_settings_dto.py -visier_platform_sdk/models/designer_my_sql_auth_params_dto.py -visier_platform_sdk/models/designer_namely_auth_params_dto.py -visier_platform_sdk/models/designer_oracle_db_auth_params_dto.py -visier_platform_sdk/models/designer_pair_dto.py -visier_platform_sdk/models/designer_push_data_column_definition_dto.py -visier_platform_sdk/models/designer_push_data_source_definition_dto.py -visier_platform_sdk/models/designer_push_data_source_definitions_dto.py -visier_platform_sdk/models/designer_qualtrics_auth_params_dto.py -visier_platform_sdk/models/designer_redshift_auth_params_dto.py -visier_platform_sdk/models/designer_salesforce_auth_params_dto.py -visier_platform_sdk/models/designer_salesforce_v2_auth_params_dto.py -visier_platform_sdk/models/designer_service_now_auth_params_dto.py -visier_platform_sdk/models/designer_service_now_v2_auth_params_dto.py -visier_platform_sdk/models/designer_slack_auth_params_dto.py -visier_platform_sdk/models/designer_snowflake_auth_params_dto.py -visier_platform_sdk/models/designer_sql_server_auth_params_dto.py -visier_platform_sdk/models/designer_subject_missing_access_dto.py -visier_platform_sdk/models/designer_success_factors_auth_params_dto.py -visier_platform_sdk/models/designer_success_factors_o_auth_params_dto.py -visier_platform_sdk/models/designer_tenant_module_dto.py -visier_platform_sdk/models/designer_ultimate_auth_params_dto.py -visier_platform_sdk/models/designer_webhook_webhook_basic_auth_credential_dto.py -visier_platform_sdk/models/designer_webhook_webhook_credentials_dto.py -visier_platform_sdk/models/designer_webhook_webhook_details_dto.py -visier_platform_sdk/models/designer_webhook_webhook_dto.py -visier_platform_sdk/models/designer_webhook_webhook_event_type_dto.py -visier_platform_sdk/models/designer_webhook_webhook_message_response_dto.py -visier_platform_sdk/models/designer_webhook_webhook_request_dto.py -visier_platform_sdk/models/designer_webhook_webhooks_dto.py -visier_platform_sdk/models/designer_willow_auth_params_dto.py -visier_platform_sdk/models/designer_workday_auth_params_dto.py -visier_platform_sdk/models/designer_workday_o_auth_params_dto.py -visier_platform_sdk/models/designer_workday_raas_auth_params_dto.py -visier_platform_sdk/models/designer_workday_refresh_token_params_dto.py -visier_platform_sdk/models/designer_zoom_auth_params_dto.py +visier_platform_sdk/models/designer_dimension_filter_dto.py +visier_platform_sdk/models/designer_selection_concept_dto.py +visier_platform_sdk/models/dimension_change_definition_dto.py +visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py +visier_platform_sdk/models/dimension_dto.py +visier_platform_sdk/models/dimension_filter_dto.py +visier_platform_sdk/models/dimension_mapping_validation_dto.py +visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py visier_platform_sdk/models/dimension_member.py +visier_platform_sdk/models/dimension_member_dto.py +visier_platform_sdk/models/dimension_member_reference_dto.py +visier_platform_sdk/models/dimension_reference_dto.py +visier_platform_sdk/models/dimensions_auth_params_dto.py +visier_platform_sdk/models/dimensions_change_definitions_dto.py +visier_platform_sdk/models/dimensions_dto.py +visier_platform_sdk/models/direct_data_job_config_dto.py +visier_platform_sdk/models/direct_data_job_status_response_dto.py +visier_platform_sdk/models/direct_data_list_transactions_response_dto.py +visier_platform_sdk/models/direct_data_load_config_dto.py +visier_platform_sdk/models/direct_data_schema_dto.py +visier_platform_sdk/models/direct_data_schema_field_dto.py +visier_platform_sdk/models/direct_data_transaction_dto.py +visier_platform_sdk/models/direct_data_transaction_start_response_dto.py visier_platform_sdk/models/direct_data_upload_file_response_dto.py -visier_platform_sdk/models/dp_automation_metric_validation_summary_dto.py -visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_dto.py -visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_list_dto.py -visier_platform_sdk/models/dp_cancel_job_batch_from_job_id_dto.py -visier_platform_sdk/models/dp_job_cancellation_result_dto.py -visier_platform_sdk/models/dp_job_cancellation_results_dto.py +visier_platform_sdk/models/disable_dv_model.py +visier_platform_sdk/models/disable_dv_request.py +visier_platform_sdk/models/disable_dv_response.py +visier_platform_sdk/models/dispatching_job_status_response.py +visier_platform_sdk/models/document_search_link_dto.py +visier_platform_sdk/models/download_source_files_dto.py +visier_platform_sdk/models/download_source_files_response_dto.py visier_platform_sdk/models/dv_export_status.py +visier_platform_sdk/models/dynamic_dimension_filter_dto.py +visier_platform_sdk/models/dynamic_property_mapping_dto.py +visier_platform_sdk/models/element_ids_dto.py +visier_platform_sdk/models/email_domains_dto.py +visier_platform_sdk/models/error_dto.py +visier_platform_sdk/models/exclude_data_uploads_request.py +visier_platform_sdk/models/excluded_sources_body.py +visier_platform_sdk/models/execution_context_dto.py +visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py +visier_platform_sdk/models/extract_data_and_load_dto.py visier_platform_sdk/models/extracted_skill.py +visier_platform_sdk/models/extraction_job.py +visier_platform_sdk/models/extraction_job_and_status_response.py +visier_platform_sdk/models/extractor_credential_apidto.py +visier_platform_sdk/models/extractor_credentials_apidto.py +visier_platform_sdk/models/extractor_setting_apidto.py +visier_platform_sdk/models/extractor_setting_key_value_apidto.py +visier_platform_sdk/models/extractor_settings_apidto.py +visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py +visier_platform_sdk/models/failed_change_dto.py +visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py +visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py +visier_platform_sdk/models/fusion_auth_params_dto.py visier_platform_sdk/models/generate_impersonation_token_request.py -visier_platform_sdk/models/google_protobuf_any.py +visier_platform_sdk/models/generate_key_request_dto.py +visier_platform_sdk/models/get_capabilities_api_response_dto.py +visier_platform_sdk/models/get_content_packages_api_response_dto.py +visier_platform_sdk/models/get_data_access_sets_api_response_dto.py +visier_platform_sdk/models/get_data_security_objects_api_response_dto.py +visier_platform_sdk/models/get_permissions_api_response_dto.py +visier_platform_sdk/models/get_plan_list_response_dto.py +visier_platform_sdk/models/get_production_versions_api_response_dto.py +visier_platform_sdk/models/get_projects_api_response_dto.py +visier_platform_sdk/models/gong_auth_params_dto.py +visier_platform_sdk/models/google_sheets_auth_params_dto.py +visier_platform_sdk/models/google_workspace_auth_params_dto.py +visier_platform_sdk/models/greenhouse_auth_params_dto.py visier_platform_sdk/models/hierarchy.py +visier_platform_sdk/models/hierarchy_property_dto.py +visier_platform_sdk/models/home_analysis_by_user_group_dto.py +visier_platform_sdk/models/icims_auth_params_dto.py +visier_platform_sdk/models/import_definition_apidto.py +visier_platform_sdk/models/import_definitions_apidto.py +visier_platform_sdk/models/include_data_uploads_request.py +visier_platform_sdk/models/inherited_access_config_dto.py +visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py +visier_platform_sdk/models/internal_query_execution_options_dto.py +visier_platform_sdk/models/internal_s3_auth_params_dto.py +visier_platform_sdk/models/jdbc_auth_params_dto.py +visier_platform_sdk/models/jira_auth_params_dto.py +visier_platform_sdk/models/jira_connect_params_dto.py visier_platform_sdk/models/job.py +visier_platform_sdk/models/job_cancellation_result_dto.py +visier_platform_sdk/models/job_cancellation_results_dto.py visier_platform_sdk/models/job_entry.py visier_platform_sdk/models/job_feedback_input.py +visier_platform_sdk/models/job_id_response.py visier_platform_sdk/models/job_search_failure_output.py visier_platform_sdk/models/job_search_input.py visier_platform_sdk/models/job_search_output.py visier_platform_sdk/models/job_standardization_input.py visier_platform_sdk/models/job_standardization_input_skills.py +visier_platform_sdk/models/job_status_list_response.py +visier_platform_sdk/models/job_status_with_start_time.py +visier_platform_sdk/models/key_group_filter_dto.py +visier_platform_sdk/models/key_group_filter_item_dto.py +visier_platform_sdk/models/key_name.py +visier_platform_sdk/models/key_pair_delete_response_dto.py +visier_platform_sdk/models/key_pair_generate_request_dto.py +visier_platform_sdk/models/last_login_dto.py +visier_platform_sdk/models/level_dto.py +visier_platform_sdk/models/lever_auth_params_dto.py +visier_platform_sdk/models/lineage_dto.py +visier_platform_sdk/models/list_query_execution_dto.py +visier_platform_sdk/models/list_query_execution_options_dto.py +visier_platform_sdk/models/list_query_source_dto.py +visier_platform_sdk/models/list_response.py +visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py +visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py +visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py +visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py visier_platform_sdk/models/location_search_failure_output.py visier_platform_sdk/models/location_search_input.py visier_platform_sdk/models/location_search_input1.py visier_platform_sdk/models/location_search_output.py visier_platform_sdk/models/location_search_successful_output.py +visier_platform_sdk/models/mask_message.py +visier_platform_sdk/models/medallia_auth_params_dto.py +visier_platform_sdk/models/member_dto.py +visier_platform_sdk/models/member_filter_config_dto.py +visier_platform_sdk/models/member_filter_dto.py +visier_platform_sdk/models/member_parameter_definition_dto.py +visier_platform_sdk/models/member_parameter_value_dto.py +visier_platform_sdk/models/member_selection_dto.py +visier_platform_sdk/models/member_values_dto.py +visier_platform_sdk/models/members_dto.py +visier_platform_sdk/models/metric_definition_dto.py +visier_platform_sdk/models/metric_dto.py +visier_platform_sdk/models/metric_type_details_dto.py +visier_platform_sdk/models/metric_validation_summary_dto.py +visier_platform_sdk/models/metrics_dto.py +visier_platform_sdk/models/microsoft365_auth_params_dto.py +visier_platform_sdk/models/module_settings_dto.py +visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py +visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py +visier_platform_sdk/models/my_sql_auth_params_dto.py +visier_platform_sdk/models/namely_auth_params_dto.py +visier_platform_sdk/models/network_subnets_message_request.py +visier_platform_sdk/models/network_subnets_message_response.py +visier_platform_sdk/models/numeric_parameter_definition_dto.py +visier_platform_sdk/models/numeric_parameter_value_dto.py +visier_platform_sdk/models/o_auth2_user_info_dto.py +visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py +visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py +visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py +visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py +visier_platform_sdk/models/object_change_failure_dto.py +visier_platform_sdk/models/object_change_success_dto.py +visier_platform_sdk/models/object_id_dto.py +visier_platform_sdk/models/object_reference_dto.py +visier_platform_sdk/models/objects_bulk_change_response_dto.py +visier_platform_sdk/models/oracle_db_auth_params_dto.py visier_platform_sdk/models/output_entry.py visier_platform_sdk/models/output_entry1.py visier_platform_sdk/models/output_entry1_matches_inner.py +visier_platform_sdk/models/pair_dto.py +visier_platform_sdk/models/parameter_definition_dto.py +visier_platform_sdk/models/permission_assigned_by_tenant_dto.py +visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py +visier_platform_sdk/models/permission_assigned_user_dto.py +visier_platform_sdk/models/permission_assigned_users_dto.py +visier_platform_sdk/models/permission_bulk_operation_response_dto.py +visier_platform_sdk/models/permission_dto.py +visier_platform_sdk/models/permission_error_dto.py +visier_platform_sdk/models/permission_failure_dto.py +visier_platform_sdk/models/permission_response_dto.py +visier_platform_sdk/models/permission_success_dto.py +visier_platform_sdk/models/permissions_list_dto.py +visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py +visier_platform_sdk/models/permissions_to_user_group_request_dto.py +visier_platform_sdk/models/permissions_to_user_groups_request_dto.py +visier_platform_sdk/models/perspective_configuration_dto.py +visier_platform_sdk/models/perspective_node_dto.py visier_platform_sdk/models/plan_data_load_change_dto.py visier_platform_sdk/models/plan_data_load_change_list_dto.py +visier_platform_sdk/models/plan_data_load_error_dto.py visier_platform_sdk/models/plan_data_upload_response_dto.py +visier_platform_sdk/models/plan_info_dto.py +visier_platform_sdk/models/plan_item_dto.py +visier_platform_sdk/models/plan_parameter_definition_dto.py +visier_platform_sdk/models/plan_parameter_value_dto.py visier_platform_sdk/models/plan_row_data_load_response_dto.py -visier_platform_sdk/models/planning_get_plan_list_response_dto.py -visier_platform_sdk/models/planning_plan_data_load_error_dto.py -visier_platform_sdk/models/planning_plan_info_dto.py -visier_platform_sdk/models/planning_plan_item_dto.py -visier_platform_sdk/models/planning_plan_schema_dto.py -visier_platform_sdk/models/planning_plan_segment_level_dto.py -visier_platform_sdk/models/planning_plan_segment_level_member_dto.py -visier_platform_sdk/models/planning_plan_segment_level_member_list_dto.py -visier_platform_sdk/models/planning_plan_time_period_dto.py -visier_platform_sdk/models/planning_plan_with_schema_dto.py -visier_platform_sdk/models/planning_scenario_info_dto.py +visier_platform_sdk/models/plan_schema_dto.py +visier_platform_sdk/models/plan_segment_level_dto.py +visier_platform_sdk/models/plan_segment_level_member_dto.py +visier_platform_sdk/models/plan_segment_level_member_list_dto.py +visier_platform_sdk/models/plan_time_period_dto.py +visier_platform_sdk/models/plan_with_schema_dto.py +visier_platform_sdk/models/planning_concept_filter_context_dto.py +visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py +visier_platform_sdk/models/planning_model_dto.py +visier_platform_sdk/models/planning_models_dto.py +visier_platform_sdk/models/planning_plan_context_dto.py +visier_platform_sdk/models/planning_plan_dto.py +visier_platform_sdk/models/planning_plans_dto.py +visier_platform_sdk/models/population_configuration_dto.py +visier_platform_sdk/models/prediction_dto.py +visier_platform_sdk/models/predictions_dto.py +visier_platform_sdk/models/process_concept_definition_dto.py +visier_platform_sdk/models/process_concept_member_dto.py +visier_platform_sdk/models/process_concept_member_list_dto.py +visier_platform_sdk/models/process_concept_metric_definition_dto.py +visier_platform_sdk/models/process_concept_metric_list_dto.py +visier_platform_sdk/models/process_concept_outcome_dto.py +visier_platform_sdk/models/process_concept_outcome_list_dto.py +visier_platform_sdk/models/process_concept_property_list_dto.py +visier_platform_sdk/models/process_concept_property_type_dto.py +visier_platform_sdk/models/process_concept_stage_dto.py +visier_platform_sdk/models/process_concept_stage_list_dto.py +visier_platform_sdk/models/processing_job.py +visier_platform_sdk/models/processing_job_and_status_response.py +visier_platform_sdk/models/processing_job_request_dto.py +visier_platform_sdk/models/processing_job_status_response.py +visier_platform_sdk/models/product_release_dto.py +visier_platform_sdk/models/product_releases_dto.py +visier_platform_sdk/models/product_version_dto.py +visier_platform_sdk/models/product_versions_dto.py +visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py +visier_platform_sdk/models/product_versions_update_response_dto.py +visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py +visier_platform_sdk/models/production_version_api_operation_request_dto.py +visier_platform_sdk/models/production_version_api_operation_response_dto.py +visier_platform_sdk/models/production_versions_api_operation_request_dto.py +visier_platform_sdk/models/production_versions_api_operation_response_dto.py +visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py +visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py +visier_platform_sdk/models/profile_get_api_response_dto.py +visier_platform_sdk/models/profiles_get_api_response_dto.py +visier_platform_sdk/models/project_commits_api_response_dto.py +visier_platform_sdk/models/project_dto.py +visier_platform_sdk/models/project_operation_request_dto.py +visier_platform_sdk/models/project_operation_response_dto.py +visier_platform_sdk/models/properties_change_definitions_dto.py +visier_platform_sdk/models/properties_delete_definitions_dto.py +visier_platform_sdk/models/properties_dto.py +visier_platform_sdk/models/property_access_config_dto.py +visier_platform_sdk/models/property_bulk_delete_response_dto.py +visier_platform_sdk/models/property_change_definition_dto.py +visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py +visier_platform_sdk/models/property_column_dto.py +visier_platform_sdk/models/property_definition_dto.py +visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py +visier_platform_sdk/models/property_delete_failure_dto.py +visier_platform_sdk/models/property_delete_success_dto.py +visier_platform_sdk/models/property_dto.py +visier_platform_sdk/models/property_reference_dto.py +visier_platform_sdk/models/property_set_config_dto.py +visier_platform_sdk/models/property_type_details_dto.py +visier_platform_sdk/models/property_type_dto.py +visier_platform_sdk/models/public_key_dto.py +visier_platform_sdk/models/public_keys_dto.py +visier_platform_sdk/models/push_data_cancel_response.py +visier_platform_sdk/models/push_data_column_definition_dto.py +visier_platform_sdk/models/push_data_complete_request.py +visier_platform_sdk/models/push_data_complete_response.py +visier_platform_sdk/models/push_data_response.py +visier_platform_sdk/models/push_data_source_definition_dto.py +visier_platform_sdk/models/push_data_source_definitions_dto.py +visier_platform_sdk/models/put_project_commits_request.py +visier_platform_sdk/models/qualtrics_auth_params_dto.py +visier_platform_sdk/models/query_axis_dto.py +visier_platform_sdk/models/query_axis_options_dto.py +visier_platform_sdk/models/query_dimension_data_member_selection_dto.py +visier_platform_sdk/models/query_dimension_leaf_selection_dto.py +visier_platform_sdk/models/query_dimension_level_property_dto.py +visier_platform_sdk/models/query_dimension_level_selection_dto.py +visier_platform_sdk/models/query_dimension_member_selection_dto.py +visier_platform_sdk/models/query_execution_error_details_dto.py +visier_platform_sdk/models/query_execution_error_dto.py +visier_platform_sdk/models/query_execution_errors_dto.py +visier_platform_sdk/models/query_execution_options_dto.py +visier_platform_sdk/models/query_filter_dto.py +visier_platform_sdk/models/query_member_map_property_dto.py +visier_platform_sdk/models/query_member_map_selection_dto.py +visier_platform_sdk/models/query_numeric_ranges_dto.py +visier_platform_sdk/models/query_parameter_value_dto.py +visier_platform_sdk/models/query_property_dto.py +visier_platform_sdk/models/query_time_interval_dto.py +visier_platform_sdk/models/query_time_intervals_dto.py +visier_platform_sdk/models/question_categories_api_response_dto.py +visier_platform_sdk/models/question_category_api_response_dto.py +visier_platform_sdk/models/receiving_job.py +visier_platform_sdk/models/receiving_job_and_status_response.py +visier_platform_sdk/models/receiving_job_status_response.py +visier_platform_sdk/models/redshift_auth_params_dto.py +visier_platform_sdk/models/reduced_error_dto.py +visier_platform_sdk/models/reduced_tenant_code_error_dto.py +visier_platform_sdk/models/reduced_user_id_error_dto.py +visier_platform_sdk/models/related_analytic_object_dto.py +visier_platform_sdk/models/report_create_request_dto.py +visier_platform_sdk/models/report_delete_success_dto.py +visier_platform_sdk/models/report_dto.py +visier_platform_sdk/models/report_list_response_dto.py +visier_platform_sdk/models/result.py +visier_platform_sdk/models/role_modules_config_dto.py visier_platform_sdk/models/salary_benchmark_input.py visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py -visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_request_dto.py -visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_response_dto.py -visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_request_dto.py -visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_response_dto.py -visier_platform_sdk/models/servicing_additional_capabilities_dto.py -visier_platform_sdk/models/servicing_admin_capability_config_dto.py -visier_platform_sdk/models/servicing_all_permissions_assigned_for_local_tenant_dto.py -visier_platform_sdk/models/servicing_all_profile_assigned_for_accessible_tenant_dto.py -visier_platform_sdk/models/servicing_all_profile_assigned_for_local_tenant_dto.py -visier_platform_sdk/models/servicing_all_user_groups_assigned_for_local_tenant_dto.py -visier_platform_sdk/models/servicing_all_users_get_api_response_dto.py -visier_platform_sdk/models/servicing_analytic_object_dto.py -visier_platform_sdk/models/servicing_assign_revoke_permission_by_permission_dto.py -visier_platform_sdk/models/servicing_assign_revoke_permission_by_tenant_dto.py -visier_platform_sdk/models/servicing_assign_revoke_permission_by_user_dto.py -visier_platform_sdk/models/servicing_assign_revoke_permission_request_dto.py -visier_platform_sdk/models/servicing_assign_revoke_permissions_request_dto.py -visier_platform_sdk/models/servicing_assign_revoke_permissions_response_dto.py -visier_platform_sdk/models/servicing_bulk_data_access_set_response_dto.py -visier_platform_sdk/models/servicing_capabilities_dto.py -visier_platform_sdk/models/servicing_capability_dto.py -visier_platform_sdk/models/servicing_capability_group_dto.py -visier_platform_sdk/models/servicing_clone_files_into_source_parameters_dto.py -visier_platform_sdk/models/servicing_commit_and_publish_operation_response_dto.py -visier_platform_sdk/models/servicing_commit_dto.py -visier_platform_sdk/models/servicing_content_package_dto.py -visier_platform_sdk/models/servicing_create_data_access_set_request_dto.py -visier_platform_sdk/models/servicing_data_access_set_dto.py -visier_platform_sdk/models/servicing_data_access_set_error_dto.py -visier_platform_sdk/models/servicing_data_access_set_failure_dto.py -visier_platform_sdk/models/servicing_data_access_set_success_dto.py -visier_platform_sdk/models/servicing_data_categories_response_dto.py -visier_platform_sdk/models/servicing_data_category_response_dto.py -visier_platform_sdk/models/servicing_data_security_profile_dto.py -visier_platform_sdk/models/servicing_date_range_dto.py -visier_platform_sdk/models/servicing_delete_permissions_request_dto.py -visier_platform_sdk/models/servicing_dimension_filter_dto.py -visier_platform_sdk/models/servicing_direct_data_job_config_dto.py -visier_platform_sdk/models/servicing_direct_data_job_status_response_dto.py -visier_platform_sdk/models/servicing_direct_data_list_transactions_response_dto.py -visier_platform_sdk/models/servicing_direct_data_load_config_dto.py -visier_platform_sdk/models/servicing_direct_data_schema_dto.py -visier_platform_sdk/models/servicing_direct_data_schema_field_dto.py -visier_platform_sdk/models/servicing_direct_data_transaction_dto.py -visier_platform_sdk/models/servicing_direct_data_transaction_start_response_dto.py +visier_platform_sdk/models/salesforce_auth_params_dto.py +visier_platform_sdk/models/salesforce_v2_auth_params_dto.py +visier_platform_sdk/models/sample_question_api_response_dto.py +visier_platform_sdk/models/sample_questions_api_response_dto.py +visier_platform_sdk/models/scenario_info_dto.py +visier_platform_sdk/models/scenario_or_snapshot_dto.py +visier_platform_sdk/models/securable_dimension_dto.py +visier_platform_sdk/models/securable_property_dto.py +visier_platform_sdk/models/security_assignment_response_dto.py +visier_platform_sdk/models/selection_concept_configuration_dto.py +visier_platform_sdk/models/selection_concept_configuration_map_dto.py +visier_platform_sdk/models/selection_concept_dto.py +visier_platform_sdk/models/selection_concept_list_dto.py +visier_platform_sdk/models/selection_concept_reference_dto.py +visier_platform_sdk/models/selection_concepts_dto.py +visier_platform_sdk/models/service_now_auth_params_dto.py +visier_platform_sdk/models/service_now_v2_auth_params_dto.py +visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py -visier_platform_sdk/models/servicing_document_search_link_dto.py -visier_platform_sdk/models/servicing_dynamic_dimension_filter_dto.py -visier_platform_sdk/models/servicing_dynamic_property_mapping_dto.py -visier_platform_sdk/models/servicing_error_dto.py -visier_platform_sdk/models/servicing_export_production_versions_api_operation_parameters_dto.py -visier_platform_sdk/models/servicing_failed_accessible_tenant_profile_assignment_dto.py -visier_platform_sdk/models/servicing_failed_local_tenant_profile_assignment_dto.py -visier_platform_sdk/models/servicing_failed_local_tenant_profile_revoke_dto.py -visier_platform_sdk/models/servicing_get_capabilities_api_response_dto.py -visier_platform_sdk/models/servicing_get_content_packages_api_response_dto.py -visier_platform_sdk/models/servicing_get_data_access_sets_api_response_dto.py -visier_platform_sdk/models/servicing_get_data_security_objects_api_response_dto.py -visier_platform_sdk/models/servicing_get_permissions_api_response_dto.py -visier_platform_sdk/models/servicing_get_production_versions_api_response_dto.py -visier_platform_sdk/models/servicing_get_projects_api_response_dto.py -visier_platform_sdk/models/servicing_hierarchy_property_dto.py -visier_platform_sdk/models/servicing_inherited_access_config_dto.py -visier_platform_sdk/models/servicing_inherited_reference_member_filter_config_dto.py -visier_platform_sdk/models/servicing_job_id_response.py -visier_platform_sdk/models/servicing_last_login_dto.py -visier_platform_sdk/models/servicing_local_tenant_profile_assignment_request_dto.py -visier_platform_sdk/models/servicing_local_tenant_profile_assignment_response_dto.py -visier_platform_sdk/models/servicing_local_tenant_profile_revoke_request_dto.py -visier_platform_sdk/models/servicing_local_tenant_profile_revoke_response_dto.py -visier_platform_sdk/models/servicing_member_filter_config_dto.py -visier_platform_sdk/models/servicing_member_selection_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_calculated_property_type_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_dependent_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definition_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_dimensions_change_definitions_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_object_change_failure_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_object_change_success_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_objects_bulk_change_response_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_properties_change_definitions_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_properties_delete_definitions_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_property_bulk_delete_response_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_property_change_definition_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_property_delete_failure_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_property_delete_success_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_property_type_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_simple_property_type_dto.py -visier_platform_sdk/models/servicing_objectconfiguration_tags_dto.py -visier_platform_sdk/models/servicing_permission_assigned_by_tenant_dto.py -visier_platform_sdk/models/servicing_permission_assigned_for_local_tenant_dto.py -visier_platform_sdk/models/servicing_permission_assigned_user_dto.py -visier_platform_sdk/models/servicing_permission_assigned_users_dto.py -visier_platform_sdk/models/servicing_permission_bulk_operation_response_dto.py -visier_platform_sdk/models/servicing_permission_dto.py -visier_platform_sdk/models/servicing_permission_error_dto.py -visier_platform_sdk/models/servicing_permission_failure_dto.py -visier_platform_sdk/models/servicing_permission_success_dto.py -visier_platform_sdk/models/servicing_production_version_api_operation_request_dto.py -visier_platform_sdk/models/servicing_production_version_api_operation_response_dto.py -visier_platform_sdk/models/servicing_production_versions_api_operation_request_dto.py -visier_platform_sdk/models/servicing_production_versions_api_operation_response_dto.py -visier_platform_sdk/models/servicing_profile_assigned_for_accessible_tenant_dto.py -visier_platform_sdk/models/servicing_profile_assigned_for_local_tenant_dto.py -visier_platform_sdk/models/servicing_profile_get_api_response_dto.py -visier_platform_sdk/models/servicing_profiles_get_api_response_dto.py -visier_platform_sdk/models/servicing_project_commits_api_response_dto.py -visier_platform_sdk/models/servicing_project_dto.py -visier_platform_sdk/models/servicing_project_operation_request_dto.py -visier_platform_sdk/models/servicing_project_operation_response_dto.py -visier_platform_sdk/models/servicing_property_access_config_dto.py -visier_platform_sdk/models/servicing_property_set_config_dto.py -visier_platform_sdk/models/servicing_question_categories_api_response_dto.py -visier_platform_sdk/models/servicing_question_category_api_response_dto.py -visier_platform_sdk/models/servicing_reduced_error_dto.py -visier_platform_sdk/models/servicing_reduced_tenant_code_error_dto.py -visier_platform_sdk/models/servicing_reduced_user_id_error_dto.py -visier_platform_sdk/models/servicing_related_analytic_object_dto.py -visier_platform_sdk/models/servicing_role_modules_config_dto.py -visier_platform_sdk/models/servicing_sample_question_api_response_dto.py -visier_platform_sdk/models/servicing_sample_questions_api_response_dto.py -visier_platform_sdk/models/servicing_securable_dimension_dto.py -visier_platform_sdk/models/servicing_securable_property_dto.py -visier_platform_sdk/models/servicing_servicing_capability_proto_enum_access_lookup_dto.py -visier_platform_sdk/models/servicing_shareable_data_access_set.py -visier_platform_sdk/models/servicing_simple_document_header_search_response_dto.py -visier_platform_sdk/models/servicing_simple_document_header_search_result_dto.py -visier_platform_sdk/models/servicing_sources_api_operation_request_dto.py -visier_platform_sdk/models/servicing_static_dimension_filter_dto.py -visier_platform_sdk/models/servicing_successful_accessible_tenant_profile_assignment_dto.py -visier_platform_sdk/models/servicing_successful_local_tenant_profile_assignment_dto.py -visier_platform_sdk/models/servicing_target_tenant_code_dto.py -visier_platform_sdk/models/servicing_tenant_code_error_dto.py -visier_platform_sdk/models/servicing_tenant_data_upload_status_response_dto.py -visier_platform_sdk/models/servicing_tenant_data_upload_update_status_response_dto.py -visier_platform_sdk/models/servicing_tenant_data_uploads_list_response_dto.py -visier_platform_sdk/models/servicing_tenant_data_uploads_response_dto.py -visier_platform_sdk/models/servicing_tenant_data_uploads_update_response_dto.py -visier_platform_sdk/models/servicing_user_creation_api_request_dto.py -visier_platform_sdk/models/servicing_user_get_api_response_dto.py -visier_platform_sdk/models/servicing_user_group_assigned_for_local_tenant_dto.py -visier_platform_sdk/models/servicing_user_group_assignment_dto.py -visier_platform_sdk/models/servicing_user_id_error_dto.py -visier_platform_sdk/models/servicing_user_property_dto.py -visier_platform_sdk/models/servicing_user_update_api_request_dto.py -visier_platform_sdk/models/servicing_users_api_error_message_dto.py -visier_platform_sdk/models/servicing_users_api_failure_dto.py -visier_platform_sdk/models/servicing_users_api_response_dto.py -visier_platform_sdk/models/servicing_users_api_success_dto.py -visier_platform_sdk/models/servicing_users_creation_api_request_dto.py -visier_platform_sdk/models/servicing_users_delete_api_request_dto.py -visier_platform_sdk/models/servicing_users_update_api_request_dto.py -visier_platform_sdk/models/servicing_users_update_api_user_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_definition_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_request_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_with_context_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_basic_information_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_bulk_change_response_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_calculated_property_type_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_definition_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_request_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_with_context_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_request_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_response_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_type_details_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_with_context_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_execution_context_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_failed_change_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_definition_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_type_details_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_object_id_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_definition_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_list_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_list_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_list_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_type_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_list_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_property_definition_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_property_type_details_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_simple_property_type_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_successful_change_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_synonym_list_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_dto.py -visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_list_dto.py -visier_platform_sdk/models/servicing_vee_question_change_definition_dto.py -visier_platform_sdk/models/servicing_vee_question_change_definitions_by_tenant_dto.py -visier_platform_sdk/models/servicing_vee_question_change_failure_dto.py -visier_platform_sdk/models/servicing_vee_question_change_success_dto.py -visier_platform_sdk/models/servicing_vee_question_delete_definitions_by_tenant_dto.py -visier_platform_sdk/models/servicing_vee_questions_bulk_change_response_dto.py -visier_platform_sdk/models/servicing_vee_questions_change_definitions_dto.py -visier_platform_sdk/models/servicing_vee_questions_delete_definitions_dto.py +visier_platform_sdk/models/set_connector_setting_request_dto.py +visier_platform_sdk/models/set_connector_setting_response_dto.py +visier_platform_sdk/models/set_connector_settings_request_dto.py +visier_platform_sdk/models/set_connector_settings_response_dto.py +visier_platform_sdk/models/shareable_data_access_set.py +visier_platform_sdk/models/simple_document_header_search_response_dto.py +visier_platform_sdk/models/simple_document_header_search_result_dto.py +visier_platform_sdk/models/simple_property_type_dto.py +visier_platform_sdk/models/simple_user_dto.py visier_platform_sdk/models/skill.py visier_platform_sdk/models/skill_category.py visier_platform_sdk/models/skill_category_entry.py @@ -1312,14 +1178,148 @@ visier_platform_sdk/models/skill_extraction_input.py visier_platform_sdk/models/skill_group.py visier_platform_sdk/models/skill_group_entry.py visier_platform_sdk/models/skill_match_input.py +visier_platform_sdk/models/slack_auth_params_dto.py +visier_platform_sdk/models/snapshot_query_execution_dto.py +visier_platform_sdk/models/snapshot_query_execution_options_dto.py +visier_platform_sdk/models/snowflake_auth_params_dto.py +visier_platform_sdk/models/sort_option_dto.py +visier_platform_sdk/models/source.py visier_platform_sdk/models/source_import_result_summary_dto.py +visier_platform_sdk/models/sources_api_operation_request_dto.py visier_platform_sdk/models/sources_api_put_response_dto.py visier_platform_sdk/models/sql_like200_response.py +visier_platform_sdk/models/sql_like_query_execution_dto.py +visier_platform_sdk/models/sql_server_auth_params_dto.py +visier_platform_sdk/models/start_extraction_response.py +visier_platform_sdk/models/start_transfer_response.py +visier_platform_sdk/models/static_dimension_filter_dto.py visier_platform_sdk/models/status.py -visier_platform_sdk/models/systemstatus_system_status_dto.py -visier_platform_sdk/models/systemstatus_vee_status_dto.py +visier_platform_sdk/models/subject_missing_access_dto.py +visier_platform_sdk/models/success_factors_auth_params_dto.py +visier_platform_sdk/models/success_factors_o_auth_params_dto.py +visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py +visier_platform_sdk/models/successful_change_dto.py +visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py +visier_platform_sdk/models/synonym_list_dto.py +visier_platform_sdk/models/system_status_dto.py visier_platform_sdk/models/table_response_dto.py +visier_platform_sdk/models/tag_map_element_dto.py +visier_platform_sdk/models/tag_reference_dto.py +visier_platform_sdk/models/tag_reference_list_dto.py +visier_platform_sdk/models/tags_dto.py +visier_platform_sdk/models/target_project_for_tenant_dto.py +visier_platform_sdk/models/target_project_for_tenants_list_dto.py +visier_platform_sdk/models/target_tenant_code_dto.py +visier_platform_sdk/models/tenant.py +visier_platform_sdk/models/tenant_and_credential.py +visier_platform_sdk/models/tenant_assignments_dto.py +visier_platform_sdk/models/tenant_code_body.py +visier_platform_sdk/models/tenant_code_error_dto.py +visier_platform_sdk/models/tenant_connector_settings_request_dto.py +visier_platform_sdk/models/tenant_data_upload_status_response_dto.py +visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py +visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py +visier_platform_sdk/models/tenant_data_uploads_response_dto.py +visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py +visier_platform_sdk/models/tenant_detail_apidto.py +visier_platform_sdk/models/tenant_details_traits_dto.py +visier_platform_sdk/models/tenant_encryption_key_details_dto.py +visier_platform_sdk/models/tenant_encryption_key_dto.py +visier_platform_sdk/models/tenant_management_api_get_response_dto.py +visier_platform_sdk/models/tenant_management_api_list_response_dto.py +visier_platform_sdk/models/tenant_management_api_update_request_dto.py +visier_platform_sdk/models/tenant_management_api_update_response_dto.py +visier_platform_sdk/models/tenant_module_dto.py +visier_platform_sdk/models/tenant_preview_entries_summary_dto.py +visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py +visier_platform_sdk/models/tenant_provision_apidto.py +visier_platform_sdk/models/tenant_status_apidto.py +visier_platform_sdk/models/time_shift_dto.py visier_platform_sdk/models/token_response.py +visier_platform_sdk/models/ultimate_auth_params_dto.py +visier_platform_sdk/models/update_tenant_model.py +visier_platform_sdk/models/upload_to_exclude.py +visier_platform_sdk/models/upload_to_include.py +visier_platform_sdk/models/user_creation_api_request_dto.py visier_platform_sdk/models/user_creation_api_response_dto.py +visier_platform_sdk/models/user_get_api_response_dto.py +visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py +visier_platform_sdk/models/user_group_assignment_dto.py +visier_platform_sdk/models/user_group_change_definition_dto.py +visier_platform_sdk/models/user_group_change_dimension_filter_dto.py +visier_platform_sdk/models/user_group_change_failure_dto.py +visier_platform_sdk/models/user_group_change_filter_dto.py +visier_platform_sdk/models/user_group_change_member_selection_dto.py +visier_platform_sdk/models/user_group_change_response_dto.py +visier_platform_sdk/models/user_group_change_success_dto.py +visier_platform_sdk/models/user_group_change_users_dto.py +visier_platform_sdk/models/user_group_delete_dto.py +visier_platform_sdk/models/user_group_delete_failure_dto.py +visier_platform_sdk/models/user_group_delete_response_dto.py +visier_platform_sdk/models/user_group_delete_success_dto.py +visier_platform_sdk/models/user_group_filters_dto.py +visier_platform_sdk/models/user_group_get_api_response_dto.py +visier_platform_sdk/models/user_group_single_delete_response_dto.py +visier_platform_sdk/models/user_groups_change_dto.py +visier_platform_sdk/models/user_groups_delete_request_dto.py +visier_platform_sdk/models/user_groups_get_api_response_dto.py +visier_platform_sdk/models/user_groups_users_dto.py +visier_platform_sdk/models/user_groups_users_for_tenant_dto.py +visier_platform_sdk/models/user_id_error_dto.py +visier_platform_sdk/models/user_property_dto.py +visier_platform_sdk/models/user_security_assignments_dto.py +visier_platform_sdk/models/user_update_api_request_dto.py +visier_platform_sdk/models/users_api_error_message_dto.py +visier_platform_sdk/models/users_api_failure_dto.py +visier_platform_sdk/models/users_api_response_dto.py +visier_platform_sdk/models/users_api_success_dto.py +visier_platform_sdk/models/users_creation_api_request_dto.py +visier_platform_sdk/models/users_delete_api_request_dto.py +visier_platform_sdk/models/users_to_user_group_request_dto.py +visier_platform_sdk/models/users_to_user_groups_request_dto.py +visier_platform_sdk/models/users_update_api_request_dto.py +visier_platform_sdk/models/users_update_api_user_dto.py +visier_platform_sdk/models/v2_calculated_property_type_dto.py +visier_platform_sdk/models/v2_simple_property_type_dto.py +visier_platform_sdk/models/validity_range_dto.py +visier_platform_sdk/models/vee_clarification_dto.py +visier_platform_sdk/models/vee_conversation_dto.py +visier_platform_sdk/models/vee_conversation_state_dto.py +visier_platform_sdk/models/vee_corrections_dto.py +visier_platform_sdk/models/vee_data_dto.py +visier_platform_sdk/models/vee_feedback_dto.py +visier_platform_sdk/models/vee_options_dto.py +visier_platform_sdk/models/vee_question_change_definition_dto.py +visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py +visier_platform_sdk/models/vee_question_change_failure_dto.py +visier_platform_sdk/models/vee_question_change_success_dto.py +visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py +visier_platform_sdk/models/vee_question_dto.py +visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py +visier_platform_sdk/models/vee_questions_change_definitions_dto.py +visier_platform_sdk/models/vee_questions_delete_definitions_dto.py +visier_platform_sdk/models/vee_response_dto.py +visier_platform_sdk/models/vee_response_schema_dto.py +visier_platform_sdk/models/vee_response_schema_reference_dto.py +visier_platform_sdk/models/vee_sample_question_dto.py +visier_platform_sdk/models/vee_sample_question_library_dto.py +visier_platform_sdk/models/vee_status_code_dto.py +visier_platform_sdk/models/vee_status_dto.py +visier_platform_sdk/models/vee_visual_dto.py +visier_platform_sdk/models/vee_visual_options_dto.py +visier_platform_sdk/models/webhook_basic_auth_credential_dto.py +visier_platform_sdk/models/webhook_credentials_dto.py +visier_platform_sdk/models/webhook_details_dto.py +visier_platform_sdk/models/webhook_dto.py +visier_platform_sdk/models/webhook_event_type_dto.py +visier_platform_sdk/models/webhook_message_response_dto.py +visier_platform_sdk/models/webhook_request_dto.py +visier_platform_sdk/models/webhooks_dto.py +visier_platform_sdk/models/willow_auth_params_dto.py +visier_platform_sdk/models/workday_auth_params_dto.py +visier_platform_sdk/models/workday_o_auth_params_dto.py +visier_platform_sdk/models/workday_raas_auth_params_dto.py +visier_platform_sdk/models/workday_refresh_token_params_dto.py +visier_platform_sdk/models/zoom_auth_params_dto.py visier_platform_sdk/py.typed visier_platform_sdk/rest.py diff --git a/src/visier_platform_sdk/pyproject.toml b/src/visier_platform_sdk/pyproject.toml index 3b1f9cf4c8..76a130ba9f 100644 --- a/src/visier_platform_sdk/pyproject.toml +++ b/src/visier_platform_sdk/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "visier_platform_sdk" -version = "22222222.99201.1914" +version = "22222222.99201.1914.beta6" description = "API Reference" authors = ["Visier "] license = "Apache License, Version 2.0" diff --git a/src/visier_platform_sdk/setup.py b/src/visier_platform_sdk/setup.py index 593de7c6d6..4359835ea3 100644 --- a/src/visier_platform_sdk/setup.py +++ b/src/visier_platform_sdk/setup.py @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "visier-platform-sdk" -VERSION = "22222222.99201.1914" +VERSION = "22222222.99201.1914.beta6" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_request_dto.py new file mode 100644 index 0000000000..e662c2c0a4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_request_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.accessible_tenant_profile_assignment_request_dto import AccessibleTenantProfileAssignmentRequestDTO + +class TestAccessibleTenantProfileAssignmentRequestDTO(unittest.TestCase): + """AccessibleTenantProfileAssignmentRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AccessibleTenantProfileAssignmentRequestDTO: + """Test AccessibleTenantProfileAssignmentRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AccessibleTenantProfileAssignmentRequestDTO( + target_user_ids = [ + '' + ], + target_tenant_codes = [ + visier_platform_sdk.models.target_tenant_code_dto.TargetTenantCodeDTO( + tenant_code = '', + for_all_children = True, ) + ], + validity_start_time = '', + validity_end_time = '' + ) + else: + return AccessibleTenantProfileAssignmentRequestDTO( + ) + + def testAccessibleTenantProfileAssignmentRequestDTO(self): + """Test AccessibleTenantProfileAssignmentRequestDTO""" + def validate_instance(instance): + AccessibleTenantProfileAssignmentRequestDTO.model_validate(inst_req_only) + instance_deserialized = AccessibleTenantProfileAssignmentRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_response_dto.py new file mode 100644 index 0000000000..4361eaaa9c --- /dev/null +++ b/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_response_dto.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.accessible_tenant_profile_assignment_response_dto import AccessibleTenantProfileAssignmentResponseDTO + +class TestAccessibleTenantProfileAssignmentResponseDTO(unittest.TestCase): + """AccessibleTenantProfileAssignmentResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AccessibleTenantProfileAssignmentResponseDTO: + """Test AccessibleTenantProfileAssignmentResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AccessibleTenantProfileAssignmentResponseDTO( + errors = True, + bad_tenant_codes = [ + visier_platform_sdk.models.tenant_code_error_dto.TenantCodeErrorDTO( + tenant_code = '', + for_all_children = True, + error = None, ) + ], + bad_user_ids = [ + visier_platform_sdk.models.user_id_error_dto.UserIdErrorDTO( + user_id = '', + error = None, ) + ], + failed_assignments = [ + visier_platform_sdk.models.failed_accessible_tenant_profile_assignment_dto.FailedAccessibleTenantProfileAssignmentDTO( + user_id = '', + tenant_code = '', + for_all_children = True, + error = None, ) + ], + successful_assignments = [ + visier_platform_sdk.models.successful_accessible_tenant_profile_assignment_dto.SuccessfulAccessibleTenantProfileAssignmentDTO( + user_id = '', + tenant_code = '', + for_all_children = True, ) + ] + ) + else: + return AccessibleTenantProfileAssignmentResponseDTO( + ) + + def testAccessibleTenantProfileAssignmentResponseDTO(self): + """Test AccessibleTenantProfileAssignmentResponseDTO""" + def validate_instance(instance): + AccessibleTenantProfileAssignmentResponseDTO.model_validate(inst_req_only) + instance_deserialized = AccessibleTenantProfileAssignmentResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_request_dto.py new file mode 100644 index 0000000000..e0049d8ad4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_request_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.accessible_tenant_profile_revoke_request_dto import AccessibleTenantProfileRevokeRequestDTO + +class TestAccessibleTenantProfileRevokeRequestDTO(unittest.TestCase): + """AccessibleTenantProfileRevokeRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AccessibleTenantProfileRevokeRequestDTO: + """Test AccessibleTenantProfileRevokeRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AccessibleTenantProfileRevokeRequestDTO( + target_user_ids = [ + '' + ], + target_tenant_codes = [ + visier_platform_sdk.models.target_tenant_code_dto.TargetTenantCodeDTO( + tenant_code = '', + for_all_children = True, ) + ] + ) + else: + return AccessibleTenantProfileRevokeRequestDTO( + ) + + def testAccessibleTenantProfileRevokeRequestDTO(self): + """Test AccessibleTenantProfileRevokeRequestDTO""" + def validate_instance(instance): + AccessibleTenantProfileRevokeRequestDTO.model_validate(inst_req_only) + instance_deserialized = AccessibleTenantProfileRevokeRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_response_dto.py new file mode 100644 index 0000000000..2d32d31b69 --- /dev/null +++ b/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_response_dto.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.accessible_tenant_profile_revoke_response_dto import AccessibleTenantProfileRevokeResponseDTO + +class TestAccessibleTenantProfileRevokeResponseDTO(unittest.TestCase): + """AccessibleTenantProfileRevokeResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AccessibleTenantProfileRevokeResponseDTO: + """Test AccessibleTenantProfileRevokeResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AccessibleTenantProfileRevokeResponseDTO( + bad_tenant_codes = [ + visier_platform_sdk.models.reduced_tenant_code_error_dto.ReducedTenantCodeErrorDTO( + tenant_code = '', + for_all_children = True, + error = None, ) + ], + bad_user_ids = [ + visier_platform_sdk.models.reduced_user_id_error_dto.ReducedUserIdErrorDTO( + user_id = '', + error = None, ) + ], + unaffected_users = [ + visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto.SuccessfulLocalTenantProfileAssignmentDTO( + user_id = '', ) + ], + succeeded = [ + visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto.SuccessfulLocalTenantProfileAssignmentDTO( + user_id = '', ) + ] + ) + else: + return AccessibleTenantProfileRevokeResponseDTO( + ) + + def testAccessibleTenantProfileRevokeResponseDTO(self): + """Test AccessibleTenantProfileRevokeResponseDTO""" + def validate_instance(instance): + AccessibleTenantProfileRevokeResponseDTO.model_validate(inst_req_only) + instance_deserialized = AccessibleTenantProfileRevokeResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_additional_capabilities_dto.py b/src/visier_platform_sdk/test/test_additional_capabilities_dto.py new file mode 100644 index 0000000000..9ecd328e14 --- /dev/null +++ b/src/visier_platform_sdk/test/test_additional_capabilities_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.additional_capabilities_dto import AdditionalCapabilitiesDTO + +class TestAdditionalCapabilitiesDTO(unittest.TestCase): + """AdditionalCapabilitiesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AdditionalCapabilitiesDTO: + """Test AdditionalCapabilitiesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AdditionalCapabilitiesDTO( + additional_capabilities = [ + '' + ] + ) + else: + return AdditionalCapabilitiesDTO( + ) + + def testAdditionalCapabilitiesDTO(self): + """Test AdditionalCapabilitiesDTO""" + def validate_instance(instance): + AdditionalCapabilitiesDTO.model_validate(inst_req_only) + instance_deserialized = AdditionalCapabilitiesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_all_tenants_status_apidto.py b/src/visier_platform_sdk/test/test_admin_all_tenants_status_apidto.py deleted file mode 100644 index 28f8833761..0000000000 --- a/src/visier_platform_sdk/test/test_admin_all_tenants_status_apidto.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_all_tenants_status_apidto import AdminAllTenantsStatusAPIDTO - -class TestAdminAllTenantsStatusAPIDTO(unittest.TestCase): - """AdminAllTenantsStatusAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminAllTenantsStatusAPIDTO: - """Test AdminAllTenantsStatusAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminAllTenantsStatusAPIDTO` - """ - model = AdminAllTenantsStatusAPIDTO() - if include_optional: - return AdminAllTenantsStatusAPIDTO( - tenants = [ - visier_platform_sdk.models.admin/tenant_detail_apidto.admin.TenantDetailAPIDTO( - tenant_code = '', - tenant_display_name = '', - status = '', - provision_date = '', - current_data_version = '', - data_version_date = '', - modules = [ - visier_platform_sdk.models.designer/tenant_module_dto.designer.TenantModuleDTO( - display_name = '', - symbol_name = '', - module_settings = None, ) - ], - industry_code = 56, - can_administer_other_tenants = True, - embeddable_domains = [ - '' - ], - custom_properties = [ - visier_platform_sdk.models.admin/custom_tenant_property_dto.admin.CustomTenantPropertyDTO( - key = '', - value = '', ) - ], - sso_instance_issuers = [ - '' - ], - vanity_url_name = '', - allowed_o_auth_idp_url_domains = [ - '' - ], ) - ], - limit = 56, - start = 56 - ) - else: - return AdminAllTenantsStatusAPIDTO( - ) - """ - - def testAdminAllTenantsStatusAPIDTO(self): - """Test AdminAllTenantsStatusAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_assign_connector_credentials_by_tenant_response_dto.py b/src/visier_platform_sdk/test/test_admin_assign_connector_credentials_by_tenant_response_dto.py deleted file mode 100644 index 1b99514fe0..0000000000 --- a/src/visier_platform_sdk/test/test_admin_assign_connector_credentials_by_tenant_response_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_assign_connector_credentials_by_tenant_response_dto import AdminAssignConnectorCredentialsByTenantResponseDTO - -class TestAdminAssignConnectorCredentialsByTenantResponseDTO(unittest.TestCase): - """AdminAssignConnectorCredentialsByTenantResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminAssignConnectorCredentialsByTenantResponseDTO: - """Test AdminAssignConnectorCredentialsByTenantResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminAssignConnectorCredentialsByTenantResponseDTO` - """ - model = AdminAssignConnectorCredentialsByTenantResponseDTO() - if include_optional: - return AdminAssignConnectorCredentialsByTenantResponseDTO( - tenant_code = '', - connectors = [ - visier_platform_sdk.models.admin/assign_connector_with_credentials_response_dto.admin.AssignConnectorWithCredentialsResponseDTO( - connector = None, - credential = None, ) - ], - status = 'Unknown', - message = '' - ) - else: - return AdminAssignConnectorCredentialsByTenantResponseDTO( - ) - """ - - def testAdminAssignConnectorCredentialsByTenantResponseDTO(self): - """Test AdminAssignConnectorCredentialsByTenantResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_assign_connector_credentials_response_dto.py b/src/visier_platform_sdk/test/test_admin_assign_connector_credentials_response_dto.py deleted file mode 100644 index abb4c7c95d..0000000000 --- a/src/visier_platform_sdk/test/test_admin_assign_connector_credentials_response_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_assign_connector_credentials_response_dto import AdminAssignConnectorCredentialsResponseDTO - -class TestAdminAssignConnectorCredentialsResponseDTO(unittest.TestCase): - """AdminAssignConnectorCredentialsResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminAssignConnectorCredentialsResponseDTO: - """Test AdminAssignConnectorCredentialsResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminAssignConnectorCredentialsResponseDTO` - """ - model = AdminAssignConnectorCredentialsResponseDTO() - if include_optional: - return AdminAssignConnectorCredentialsResponseDTO( - tenants = [ - visier_platform_sdk.models.admin/assign_connector_credentials_by_tenant_response_dto.admin.AssignConnectorCredentialsByTenantResponseDTO( - tenant_code = '', - connectors = [ - visier_platform_sdk.models.admin/assign_connector_with_credentials_response_dto.admin.AssignConnectorWithCredentialsResponseDTO( - connector = None, - credential = None, ) - ], - status = 'Unknown', - message = '', ) - ] - ) - else: - return AdminAssignConnectorCredentialsResponseDTO( - ) - """ - - def testAdminAssignConnectorCredentialsResponseDTO(self): - """Test AdminAssignConnectorCredentialsResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_assign_connector_with_credentials_response_dto.py b/src/visier_platform_sdk/test/test_admin_assign_connector_with_credentials_response_dto.py deleted file mode 100644 index c23a216fad..0000000000 --- a/src/visier_platform_sdk/test/test_admin_assign_connector_with_credentials_response_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_assign_connector_with_credentials_response_dto import AdminAssignConnectorWithCredentialsResponseDTO - -class TestAdminAssignConnectorWithCredentialsResponseDTO(unittest.TestCase): - """AdminAssignConnectorWithCredentialsResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminAssignConnectorWithCredentialsResponseDTO: - """Test AdminAssignConnectorWithCredentialsResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminAssignConnectorWithCredentialsResponseDTO` - """ - model = AdminAssignConnectorWithCredentialsResponseDTO() - if include_optional: - return AdminAssignConnectorWithCredentialsResponseDTO( - connector = visier_platform_sdk.models.admin/connector_info_response_dto.admin.ConnectorInfoResponseDTO( - connector_id = '', - display_name = '', - description = '', ), - credential = visier_platform_sdk.models.admin/assigned_credential_info_response_dto.admin.AssignedCredentialInfoResponseDTO( - credential_id = '', - display_name = '', - message = '', ) - ) - else: - return AdminAssignConnectorWithCredentialsResponseDTO( - ) - """ - - def testAdminAssignConnectorWithCredentialsResponseDTO(self): - """Test AdminAssignConnectorWithCredentialsResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_assigned_credential_info_response_dto.py b/src/visier_platform_sdk/test/test_admin_assigned_credential_info_response_dto.py deleted file mode 100644 index 1fb7193723..0000000000 --- a/src/visier_platform_sdk/test/test_admin_assigned_credential_info_response_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_assigned_credential_info_response_dto import AdminAssignedCredentialInfoResponseDTO - -class TestAdminAssignedCredentialInfoResponseDTO(unittest.TestCase): - """AdminAssignedCredentialInfoResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminAssignedCredentialInfoResponseDTO: - """Test AdminAssignedCredentialInfoResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminAssignedCredentialInfoResponseDTO` - """ - model = AdminAssignedCredentialInfoResponseDTO() - if include_optional: - return AdminAssignedCredentialInfoResponseDTO( - credential_id = '', - display_name = '', - message = '' - ) - else: - return AdminAssignedCredentialInfoResponseDTO( - ) - """ - - def testAdminAssignedCredentialInfoResponseDTO(self): - """Test AdminAssignedCredentialInfoResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_batch_tenant_provision_apidto.py b/src/visier_platform_sdk/test/test_admin_batch_tenant_provision_apidto.py deleted file mode 100644 index 7df65bd797..0000000000 --- a/src/visier_platform_sdk/test/test_admin_batch_tenant_provision_apidto.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_batch_tenant_provision_apidto import AdminBatchTenantProvisionAPIDTO - -class TestAdminBatchTenantProvisionAPIDTO(unittest.TestCase): - """AdminBatchTenantProvisionAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminBatchTenantProvisionAPIDTO: - """Test AdminBatchTenantProvisionAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminBatchTenantProvisionAPIDTO` - """ - model = AdminBatchTenantProvisionAPIDTO() - if include_optional: - return AdminBatchTenantProvisionAPIDTO( - tenants = [ - visier_platform_sdk.models.admin/tenant_provision_apidto.admin.TenantProvisionAPIDTO( - tenant_code = '', - tenant_display_name = '', - purchased_modules = [ - '' - ], - industry_code = 56, - embeddable_domains = [ - '' - ], - custom_properties = [ - visier_platform_sdk.models.admin/custom_tenant_property_dto.admin.CustomTenantPropertyDTO( - key = '', - value = '', ) - ], - sso_instance_issuers = [ - '' - ], - allowed_o_auth_idp_url_domains = [ - '' - ], ) - ] - ) - else: - return AdminBatchTenantProvisionAPIDTO( - ) - """ - - def testAdminBatchTenantProvisionAPIDTO(self): - """Test AdminBatchTenantProvisionAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_business_location_dto.py b/src/visier_platform_sdk/test/test_admin_business_location_dto.py deleted file mode 100644 index c4224d8437..0000000000 --- a/src/visier_platform_sdk/test/test_admin_business_location_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_business_location_dto import AdminBusinessLocationDTO - -class TestAdminBusinessLocationDTO(unittest.TestCase): - """AdminBusinessLocationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminBusinessLocationDTO: - """Test AdminBusinessLocationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminBusinessLocationDTO` - """ - model = AdminBusinessLocationDTO() - if include_optional: - return AdminBusinessLocationDTO( - country_code = '', - postal_code = '' - ) - else: - return AdminBusinessLocationDTO( - ) - """ - - def testAdminBusinessLocationDTO(self): - """Test AdminBusinessLocationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_capability_config_dto.py b/src/visier_platform_sdk/test/test_admin_capability_config_dto.py new file mode 100644 index 0000000000..296d183cb7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_admin_capability_config_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.admin_capability_config_dto import AdminCapabilityConfigDTO + +class TestAdminCapabilityConfigDTO(unittest.TestCase): + """AdminCapabilityConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AdminCapabilityConfigDTO: + """Test AdminCapabilityConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AdminCapabilityConfigDTO( + all_capabilities_access = True, + capabilities = [ + '' + ] + ) + else: + return AdminCapabilityConfigDTO( + ) + + def testAdminCapabilityConfigDTO(self): + """Test AdminCapabilityConfigDTO""" + def validate_instance(instance): + AdminCapabilityConfigDTO.model_validate(inst_req_only) + instance_deserialized = AdminCapabilityConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_connector_info_response_dto.py b/src/visier_platform_sdk/test/test_admin_connector_info_response_dto.py deleted file mode 100644 index aaab30a2d3..0000000000 --- a/src/visier_platform_sdk/test/test_admin_connector_info_response_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_connector_info_response_dto import AdminConnectorInfoResponseDTO - -class TestAdminConnectorInfoResponseDTO(unittest.TestCase): - """AdminConnectorInfoResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConnectorInfoResponseDTO: - """Test AdminConnectorInfoResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConnectorInfoResponseDTO` - """ - model = AdminConnectorInfoResponseDTO() - if include_optional: - return AdminConnectorInfoResponseDTO( - connector_id = '', - display_name = '', - description = '' - ) - else: - return AdminConnectorInfoResponseDTO( - ) - """ - - def testAdminConnectorInfoResponseDTO(self): - """Test AdminConnectorInfoResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_connector_setting_request_dto.py b/src/visier_platform_sdk/test/test_admin_connector_setting_request_dto.py deleted file mode 100644 index c7629b014f..0000000000 --- a/src/visier_platform_sdk/test/test_admin_connector_setting_request_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_connector_setting_request_dto import AdminConnectorSettingRequestDTO - -class TestAdminConnectorSettingRequestDTO(unittest.TestCase): - """AdminConnectorSettingRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConnectorSettingRequestDTO: - """Test AdminConnectorSettingRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConnectorSettingRequestDTO` - """ - model = AdminConnectorSettingRequestDTO() - if include_optional: - return AdminConnectorSettingRequestDTO( - setting_key = '', - value = '' - ) - else: - return AdminConnectorSettingRequestDTO( - ) - """ - - def testAdminConnectorSettingRequestDTO(self): - """Test AdminConnectorSettingRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_connector_setting_response_dto.py b/src/visier_platform_sdk/test/test_admin_connector_setting_response_dto.py deleted file mode 100644 index 47cfb1a302..0000000000 --- a/src/visier_platform_sdk/test/test_admin_connector_setting_response_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_connector_setting_response_dto import AdminConnectorSettingResponseDTO - -class TestAdminConnectorSettingResponseDTO(unittest.TestCase): - """AdminConnectorSettingResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConnectorSettingResponseDTO: - """Test AdminConnectorSettingResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConnectorSettingResponseDTO` - """ - model = AdminConnectorSettingResponseDTO() - if include_optional: - return AdminConnectorSettingResponseDTO( - key = '', - value = '', - message = '' - ) - else: - return AdminConnectorSettingResponseDTO( - ) - """ - - def testAdminConnectorSettingResponseDTO(self): - """Test AdminConnectorSettingResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_connector_settings_response_dto.py b/src/visier_platform_sdk/test/test_admin_connector_settings_response_dto.py deleted file mode 100644 index ed4e51210c..0000000000 --- a/src/visier_platform_sdk/test/test_admin_connector_settings_response_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_connector_settings_response_dto import AdminConnectorSettingsResponseDTO - -class TestAdminConnectorSettingsResponseDTO(unittest.TestCase): - """AdminConnectorSettingsResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConnectorSettingsResponseDTO: - """Test AdminConnectorSettingsResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConnectorSettingsResponseDTO` - """ - model = AdminConnectorSettingsResponseDTO() - if include_optional: - return AdminConnectorSettingsResponseDTO( - connector = visier_platform_sdk.models.admin/connector_info_response_dto.admin.ConnectorInfoResponseDTO( - connector_id = '', - display_name = '', - description = '', ), - settings = [ - visier_platform_sdk.models.admin/connector_setting_response_dto.admin.ConnectorSettingResponseDTO( - key = '', - value = '', - message = '', ) - ] - ) - else: - return AdminConnectorSettingsResponseDTO( - ) - """ - - def testAdminConnectorSettingsResponseDTO(self): - """Test AdminConnectorSettingsResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_excluded_source_list_dto.py b/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_excluded_source_list_dto.py deleted file mode 100644 index 6691305f23..0000000000 --- a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_excluded_source_list_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_consolidated_analytics_api_excluded_source_list_dto import AdminConsolidatedAnalyticsAPIExcludedSourceListDTO - -class TestAdminConsolidatedAnalyticsAPIExcludedSourceListDTO(unittest.TestCase): - """AdminConsolidatedAnalyticsAPIExcludedSourceListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO: - """Test AdminConsolidatedAnalyticsAPIExcludedSourceListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConsolidatedAnalyticsAPIExcludedSourceListDTO` - """ - model = AdminConsolidatedAnalyticsAPIExcludedSourceListDTO() - if include_optional: - return AdminConsolidatedAnalyticsAPIExcludedSourceListDTO( - excluded_sources = [ - '' - ] - ) - else: - return AdminConsolidatedAnalyticsAPIExcludedSourceListDTO( - ) - """ - - def testAdminConsolidatedAnalyticsAPIExcludedSourceListDTO(self): - """Test AdminConsolidatedAnalyticsAPIExcludedSourceListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_source_tenant_list_dto.py b/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_source_tenant_list_dto.py deleted file mode 100644 index d35c79aa5f..0000000000 --- a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_source_tenant_list_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_consolidated_analytics_api_source_tenant_list_dto import AdminConsolidatedAnalyticsAPISourceTenantListDTO - -class TestAdminConsolidatedAnalyticsAPISourceTenantListDTO(unittest.TestCase): - """AdminConsolidatedAnalyticsAPISourceTenantListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO: - """Test AdminConsolidatedAnalyticsAPISourceTenantListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConsolidatedAnalyticsAPISourceTenantListDTO` - """ - model = AdminConsolidatedAnalyticsAPISourceTenantListDTO() - if include_optional: - return AdminConsolidatedAnalyticsAPISourceTenantListDTO( - tenant_codes = [ - '' - ] - ) - else: - return AdminConsolidatedAnalyticsAPISourceTenantListDTO( - ) - """ - - def testAdminConsolidatedAnalyticsAPISourceTenantListDTO(self): - """Test AdminConsolidatedAnalyticsAPISourceTenantListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_create_request_dto.py b/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_create_request_dto.py deleted file mode 100644 index 532fcc511f..0000000000 --- a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_create_request_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_create_request_dto import AdminConsolidatedAnalyticsAPITenantCreateRequestDTO - -class TestAdminConsolidatedAnalyticsAPITenantCreateRequestDTO(unittest.TestCase): - """AdminConsolidatedAnalyticsAPITenantCreateRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConsolidatedAnalyticsAPITenantCreateRequestDTO: - """Test AdminConsolidatedAnalyticsAPITenantCreateRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConsolidatedAnalyticsAPITenantCreateRequestDTO` - """ - model = AdminConsolidatedAnalyticsAPITenantCreateRequestDTO() - if include_optional: - return AdminConsolidatedAnalyticsAPITenantCreateRequestDTO( - tenant_code = '' - ) - else: - return AdminConsolidatedAnalyticsAPITenantCreateRequestDTO( - ) - """ - - def testAdminConsolidatedAnalyticsAPITenantCreateRequestDTO(self): - """Test AdminConsolidatedAnalyticsAPITenantCreateRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_list_response_dto.py b/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_list_response_dto.py deleted file mode 100644 index 214ecf7372..0000000000 --- a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_list_response_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_list_response_dto import AdminConsolidatedAnalyticsAPITenantListResponseDTO - -class TestAdminConsolidatedAnalyticsAPITenantListResponseDTO(unittest.TestCase): - """AdminConsolidatedAnalyticsAPITenantListResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConsolidatedAnalyticsAPITenantListResponseDTO: - """Test AdminConsolidatedAnalyticsAPITenantListResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConsolidatedAnalyticsAPITenantListResponseDTO` - """ - model = AdminConsolidatedAnalyticsAPITenantListResponseDTO() - if include_optional: - return AdminConsolidatedAnalyticsAPITenantListResponseDTO( - tenant_codes = [ - '' - ] - ) - else: - return AdminConsolidatedAnalyticsAPITenantListResponseDTO( - ) - """ - - def testAdminConsolidatedAnalyticsAPITenantListResponseDTO(self): - """Test AdminConsolidatedAnalyticsAPITenantListResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_with_details.py b/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_with_details.py deleted file mode 100644 index c1c31fd60e..0000000000 --- a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_with_details.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details import AdminConsolidatedAnalyticsAPITenantWithDetails - -class TestAdminConsolidatedAnalyticsAPITenantWithDetails(unittest.TestCase): - """AdminConsolidatedAnalyticsAPITenantWithDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConsolidatedAnalyticsAPITenantWithDetails: - """Test AdminConsolidatedAnalyticsAPITenantWithDetails - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConsolidatedAnalyticsAPITenantWithDetails` - """ - model = AdminConsolidatedAnalyticsAPITenantWithDetails() - if include_optional: - return AdminConsolidatedAnalyticsAPITenantWithDetails( - tenant_code = '', - source_tenants_list = [ - '' - ], - excluded_sources_list = [ - '' - ] - ) - else: - return AdminConsolidatedAnalyticsAPITenantWithDetails( - ) - """ - - def testAdminConsolidatedAnalyticsAPITenantWithDetails(self): - """Test AdminConsolidatedAnalyticsAPITenantWithDetails""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py b/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py deleted file mode 100644 index eb2f8e3433..0000000000 --- a/src/visier_platform_sdk/test/test_admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details_list_response_dto import AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO - -class TestAdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO(unittest.TestCase): - """AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO: - """Test AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO` - """ - model = AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO() - if include_optional: - return AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO( - tenants = [ - visier_platform_sdk.models.admin/consolidated_analytics_api_tenant_with_details.admin.ConsolidatedAnalyticsAPITenantWithDetails( - tenant_code = '', - source_tenants_list = [ - '' - ], - excluded_sources_list = [ - '' - ], ) - ] - ) - else: - return AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO( - ) - """ - - def testAdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO(self): - """Test AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_custom_property_dto.py b/src/visier_platform_sdk/test/test_admin_custom_property_dto.py deleted file mode 100644 index 2232befac5..0000000000 --- a/src/visier_platform_sdk/test/test_admin_custom_property_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_custom_property_dto import AdminCustomPropertyDTO - -class TestAdminCustomPropertyDTO(unittest.TestCase): - """AdminCustomPropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminCustomPropertyDTO: - """Test AdminCustomPropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminCustomPropertyDTO` - """ - model = AdminCustomPropertyDTO() - if include_optional: - return AdminCustomPropertyDTO( - key = '', - value = '' - ) - else: - return AdminCustomPropertyDTO( - ) - """ - - def testAdminCustomPropertyDTO(self): - """Test AdminCustomPropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_custom_tenant_property_dto.py b/src/visier_platform_sdk/test/test_admin_custom_tenant_property_dto.py deleted file mode 100644 index 3bc2b55d6e..0000000000 --- a/src/visier_platform_sdk/test/test_admin_custom_tenant_property_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_custom_tenant_property_dto import AdminCustomTenantPropertyDTO - -class TestAdminCustomTenantPropertyDTO(unittest.TestCase): - """AdminCustomTenantPropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminCustomTenantPropertyDTO: - """Test AdminCustomTenantPropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminCustomTenantPropertyDTO` - """ - model = AdminCustomTenantPropertyDTO() - if include_optional: - return AdminCustomTenantPropertyDTO( - key = '', - value = '' - ) - else: - return AdminCustomTenantPropertyDTO( - ) - """ - - def testAdminCustomTenantPropertyDTO(self): - """Test AdminCustomTenantPropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_data_import_definition_apidto.py b/src/visier_platform_sdk/test/test_admin_data_import_definition_apidto.py deleted file mode 100644 index c164c92eb2..0000000000 --- a/src/visier_platform_sdk/test/test_admin_data_import_definition_apidto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_data_import_definition_apidto import AdminDataImportDefinitionAPIDTO - -class TestAdminDataImportDefinitionAPIDTO(unittest.TestCase): - """AdminDataImportDefinitionAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminDataImportDefinitionAPIDTO: - """Test AdminDataImportDefinitionAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminDataImportDefinitionAPIDTO` - """ - model = AdminDataImportDefinitionAPIDTO() - if include_optional: - return AdminDataImportDefinitionAPIDTO( - connector_id = '', - display_name = '', - credential_id = '' - ) - else: - return AdminDataImportDefinitionAPIDTO( - ) - """ - - def testAdminDataImportDefinitionAPIDTO(self): - """Test AdminDataImportDefinitionAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_data_import_definitions_apidto.py b/src/visier_platform_sdk/test/test_admin_data_import_definitions_apidto.py deleted file mode 100644 index c62f27ed90..0000000000 --- a/src/visier_platform_sdk/test/test_admin_data_import_definitions_apidto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_data_import_definitions_apidto import AdminDataImportDefinitionsAPIDTO - -class TestAdminDataImportDefinitionsAPIDTO(unittest.TestCase): - """AdminDataImportDefinitionsAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminDataImportDefinitionsAPIDTO: - """Test AdminDataImportDefinitionsAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminDataImportDefinitionsAPIDTO` - """ - model = AdminDataImportDefinitionsAPIDTO() - if include_optional: - return AdminDataImportDefinitionsAPIDTO( - data_connectors = [ - visier_platform_sdk.models.admin/data/import_definition_apidto.admin.data.ImportDefinitionAPIDTO( - connector_id = '', - display_name = '', - credential_id = '', ) - ], - limit = 56, - start = 56 - ) - else: - return AdminDataImportDefinitionsAPIDTO( - ) - """ - - def testAdminDataImportDefinitionsAPIDTO(self): - """Test AdminDataImportDefinitionsAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_data_version_and_date_dto.py b/src/visier_platform_sdk/test/test_admin_data_version_and_date_dto.py deleted file mode 100644 index a69d316c92..0000000000 --- a/src/visier_platform_sdk/test/test_admin_data_version_and_date_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_data_version_and_date_dto import AdminDataVersionAndDateDTO - -class TestAdminDataVersionAndDateDTO(unittest.TestCase): - """AdminDataVersionAndDateDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminDataVersionAndDateDTO: - """Test AdminDataVersionAndDateDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminDataVersionAndDateDTO` - """ - model = AdminDataVersionAndDateDTO() - if include_optional: - return AdminDataVersionAndDateDTO( - data_version = '', - data_version_date = '' - ) - else: - return AdminDataVersionAndDateDTO( - ) - """ - - def testAdminDataVersionAndDateDTO(self): - """Test AdminDataVersionAndDateDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_delete_user_group_v2_request.py b/src/visier_platform_sdk/test/test_admin_delete_user_group_v2_request.py deleted file mode 100644 index 01c1cb7004..0000000000 --- a/src/visier_platform_sdk/test/test_admin_delete_user_group_v2_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_delete_user_group_v2_request import AdminDeleteUserGroupV2Request - -class TestAdminDeleteUserGroupV2Request(unittest.TestCase): - """AdminDeleteUserGroupV2Request unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminDeleteUserGroupV2Request: - """Test AdminDeleteUserGroupV2Request - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminDeleteUserGroupV2Request` - """ - model = AdminDeleteUserGroupV2Request() - if include_optional: - return AdminDeleteUserGroupV2Request( - user_group_id = '' - ) - else: - return AdminDeleteUserGroupV2Request( - ) - """ - - def testAdminDeleteUserGroupV2Request(self): - """Test AdminDeleteUserGroupV2Request""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_element_ids_dto.py b/src/visier_platform_sdk/test/test_admin_element_ids_dto.py deleted file mode 100644 index 85b3aa798f..0000000000 --- a/src/visier_platform_sdk/test/test_admin_element_ids_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_element_ids_dto import AdminElementIDsDTO - -class TestAdminElementIDsDTO(unittest.TestCase): - """AdminElementIDsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminElementIDsDTO: - """Test AdminElementIDsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminElementIDsDTO` - """ - model = AdminElementIDsDTO() - if include_optional: - return AdminElementIDsDTO( - ids = [ - '' - ] - ) - else: - return AdminElementIDsDTO( - ) - """ - - def testAdminElementIDsDTO(self): - """Test AdminElementIDsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_email_domains_dto.py b/src/visier_platform_sdk/test/test_admin_email_domains_dto.py deleted file mode 100644 index 5eef2ccf03..0000000000 --- a/src/visier_platform_sdk/test/test_admin_email_domains_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_email_domains_dto import AdminEmailDomainsDTO - -class TestAdminEmailDomainsDTO(unittest.TestCase): - """AdminEmailDomainsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminEmailDomainsDTO: - """Test AdminEmailDomainsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminEmailDomainsDTO` - """ - model = AdminEmailDomainsDTO() - if include_optional: - return AdminEmailDomainsDTO( - domains = [ - '' - ], - confirm_not_allowed_domain = True - ) - else: - return AdminEmailDomainsDTO( - ) - """ - - def testAdminEmailDomainsDTO(self): - """Test AdminEmailDomainsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_excluded_sources_body.py b/src/visier_platform_sdk/test/test_admin_excluded_sources_body.py deleted file mode 100644 index f3927e5be7..0000000000 --- a/src/visier_platform_sdk/test/test_admin_excluded_sources_body.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_excluded_sources_body import AdminExcludedSourcesBody - -class TestAdminExcludedSourcesBody(unittest.TestCase): - """AdminExcludedSourcesBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminExcludedSourcesBody: - """Test AdminExcludedSourcesBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminExcludedSourcesBody` - """ - model = AdminExcludedSourcesBody() - if include_optional: - return AdminExcludedSourcesBody( - excluded_sources = [ - '' - ] - ) - else: - return AdminExcludedSourcesBody( - ) - """ - - def testAdminExcludedSourcesBody(self): - """Test AdminExcludedSourcesBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_extractor_setting_apidto.py b/src/visier_platform_sdk/test/test_admin_extractor_setting_apidto.py deleted file mode 100644 index e1b71cf137..0000000000 --- a/src/visier_platform_sdk/test/test_admin_extractor_setting_apidto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_extractor_setting_apidto import AdminExtractorSettingAPIDTO - -class TestAdminExtractorSettingAPIDTO(unittest.TestCase): - """AdminExtractorSettingAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminExtractorSettingAPIDTO: - """Test AdminExtractorSettingAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminExtractorSettingAPIDTO` - """ - model = AdminExtractorSettingAPIDTO() - if include_optional: - return AdminExtractorSettingAPIDTO( - connector_id = '', - display_name = '', - connector_settings = [ - visier_platform_sdk.models.admin/extractor_setting_key_value_apidto.admin.ExtractorSettingKeyValueAPIDTO( - setting_key = '', - value = '', ) - ] - ) - else: - return AdminExtractorSettingAPIDTO( - ) - """ - - def testAdminExtractorSettingAPIDTO(self): - """Test AdminExtractorSettingAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_extractor_setting_key_value_apidto.py b/src/visier_platform_sdk/test/test_admin_extractor_setting_key_value_apidto.py deleted file mode 100644 index 7f97e1cc1d..0000000000 --- a/src/visier_platform_sdk/test/test_admin_extractor_setting_key_value_apidto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_extractor_setting_key_value_apidto import AdminExtractorSettingKeyValueAPIDTO - -class TestAdminExtractorSettingKeyValueAPIDTO(unittest.TestCase): - """AdminExtractorSettingKeyValueAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminExtractorSettingKeyValueAPIDTO: - """Test AdminExtractorSettingKeyValueAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminExtractorSettingKeyValueAPIDTO` - """ - model = AdminExtractorSettingKeyValueAPIDTO() - if include_optional: - return AdminExtractorSettingKeyValueAPIDTO( - setting_key = '', - value = '' - ) - else: - return AdminExtractorSettingKeyValueAPIDTO( - ) - """ - - def testAdminExtractorSettingKeyValueAPIDTO(self): - """Test AdminExtractorSettingKeyValueAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_extractor_settings_apidto.py b/src/visier_platform_sdk/test/test_admin_extractor_settings_apidto.py deleted file mode 100644 index 56c664a834..0000000000 --- a/src/visier_platform_sdk/test/test_admin_extractor_settings_apidto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_extractor_settings_apidto import AdminExtractorSettingsAPIDTO - -class TestAdminExtractorSettingsAPIDTO(unittest.TestCase): - """AdminExtractorSettingsAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminExtractorSettingsAPIDTO: - """Test AdminExtractorSettingsAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminExtractorSettingsAPIDTO` - """ - model = AdminExtractorSettingsAPIDTO() - if include_optional: - return AdminExtractorSettingsAPIDTO( - connectors = [ - visier_platform_sdk.models.admin/extractor_setting_apidto.admin.ExtractorSettingAPIDTO( - connector_id = '', - display_name = '', - connector_settings = [ - visier_platform_sdk.models.admin/extractor_setting_key_value_apidto.admin.ExtractorSettingKeyValueAPIDTO( - setting_key = '', - value = '', ) - ], ) - ] - ) - else: - return AdminExtractorSettingsAPIDTO( - ) - """ - - def testAdminExtractorSettingsAPIDTO(self): - """Test AdminExtractorSettingsAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_home_analysis_by_user_group_dto.py b/src/visier_platform_sdk/test/test_admin_home_analysis_by_user_group_dto.py deleted file mode 100644 index 32983548e6..0000000000 --- a/src/visier_platform_sdk/test/test_admin_home_analysis_by_user_group_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_home_analysis_by_user_group_dto import AdminHomeAnalysisByUserGroupDTO - -class TestAdminHomeAnalysisByUserGroupDTO(unittest.TestCase): - """AdminHomeAnalysisByUserGroupDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminHomeAnalysisByUserGroupDTO: - """Test AdminHomeAnalysisByUserGroupDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminHomeAnalysisByUserGroupDTO` - """ - model = AdminHomeAnalysisByUserGroupDTO() - if include_optional: - return AdminHomeAnalysisByUserGroupDTO( - user_group_id = '', - home_analysis_id = '' - ) - else: - return AdminHomeAnalysisByUserGroupDTO( - ) - """ - - def testAdminHomeAnalysisByUserGroupDTO(self): - """Test AdminHomeAnalysisByUserGroupDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_jobs_consolidated_analytics_job_request_dto.py b/src/visier_platform_sdk/test/test_admin_jobs_consolidated_analytics_job_request_dto.py deleted file mode 100644 index 97d6d60996..0000000000 --- a/src/visier_platform_sdk/test/test_admin_jobs_consolidated_analytics_job_request_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_jobs_consolidated_analytics_job_request_dto import AdminJobsConsolidatedAnalyticsJobRequestDTO - -class TestAdminJobsConsolidatedAnalyticsJobRequestDTO(unittest.TestCase): - """AdminJobsConsolidatedAnalyticsJobRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminJobsConsolidatedAnalyticsJobRequestDTO: - """Test AdminJobsConsolidatedAnalyticsJobRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminJobsConsolidatedAnalyticsJobRequestDTO` - """ - model = AdminJobsConsolidatedAnalyticsJobRequestDTO() - if include_optional: - return AdminJobsConsolidatedAnalyticsJobRequestDTO( - tenant_code = '' - ) - else: - return AdminJobsConsolidatedAnalyticsJobRequestDTO( - ) - """ - - def testAdminJobsConsolidatedAnalyticsJobRequestDTO(self): - """Test AdminJobsConsolidatedAnalyticsJobRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_jobs_extract_data_and_load_dto.py b/src/visier_platform_sdk/test/test_admin_jobs_extract_data_and_load_dto.py deleted file mode 100644 index 6830890744..0000000000 --- a/src/visier_platform_sdk/test/test_admin_jobs_extract_data_and_load_dto.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_jobs_extract_data_and_load_dto import AdminJobsExtractDataAndLoadDTO - -class TestAdminJobsExtractDataAndLoadDTO(unittest.TestCase): - """AdminJobsExtractDataAndLoadDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminJobsExtractDataAndLoadDTO: - """Test AdminJobsExtractDataAndLoadDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminJobsExtractDataAndLoadDTO` - """ - model = AdminJobsExtractDataAndLoadDTO() - if include_optional: - return AdminJobsExtractDataAndLoadDTO( - tenants = [ - '' - ], - all_tenants = True, - override_last_extraction_timestamp = '', - publish_data_load_artifacts = True, - run_processing_job = True, - data_category_id = '', - disable_artifact_generation = True, - connector_ids = [ - '' - ], - last_extraction_time_offset_weeks = 56, - months_to_extract = 56, - extract_to_time_override = '', - batch_size_override = 56, - sql_batch_size = 56, - force_update_existing_artifacts = True, - excluded_tenants = [ - '' - ], - spill_debug_info_partitions_dto = 'spillNone', - spill_debug_info_detail_level_dto = 'fileAndLine', - last_extraction_time_offset_months = 56, - last_extraction_time_offset_mode = '', - offset_week_option = '', - offset_month_option = '', - credential_id = '' - ) - else: - return AdminJobsExtractDataAndLoadDTO( - ) - """ - - def testAdminJobsExtractDataAndLoadDTO(self): - """Test AdminJobsExtractDataAndLoadDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_jobs_processing_job_request_dto.py b/src/visier_platform_sdk/test/test_admin_jobs_processing_job_request_dto.py deleted file mode 100644 index f0445c9612..0000000000 --- a/src/visier_platform_sdk/test/test_admin_jobs_processing_job_request_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_jobs_processing_job_request_dto import AdminJobsProcessingJobRequestDTO - -class TestAdminJobsProcessingJobRequestDTO(unittest.TestCase): - """AdminJobsProcessingJobRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminJobsProcessingJobRequestDTO: - """Test AdminJobsProcessingJobRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminJobsProcessingJobRequestDTO` - """ - model = AdminJobsProcessingJobRequestDTO() - if include_optional: - return AdminJobsProcessingJobRequestDTO( - tenants = [ - '' - ], - all_tenants = True, - data_category_id = '', - publish_to_production = True, - excluded_tenants = [ - '' - ] - ) - else: - return AdminJobsProcessingJobRequestDTO( - ) - """ - - def testAdminJobsProcessingJobRequestDTO(self): - """Test AdminJobsProcessingJobRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_key_name.py b/src/visier_platform_sdk/test/test_admin_key_name.py deleted file mode 100644 index aa443420fa..0000000000 --- a/src/visier_platform_sdk/test/test_admin_key_name.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_key_name import AdminKeyName - -class TestAdminKeyName(unittest.TestCase): - """AdminKeyName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminKeyName: - """Test AdminKeyName - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminKeyName` - """ - model = AdminKeyName() - if include_optional: - return AdminKeyName( - key_name = '' - ) - else: - return AdminKeyName( - ) - """ - - def testAdminKeyName(self): - """Test AdminKeyName""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_mask_message.py b/src/visier_platform_sdk/test/test_admin_mask_message.py deleted file mode 100644 index 4f3ffabcfc..0000000000 --- a/src/visier_platform_sdk/test/test_admin_mask_message.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_mask_message import AdminMaskMessage - -class TestAdminMaskMessage(unittest.TestCase): - """AdminMaskMessage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminMaskMessage: - """Test AdminMaskMessage - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminMaskMessage` - """ - model = AdminMaskMessage() - if include_optional: - return AdminMaskMessage( - mask = '' - ) - else: - return AdminMaskMessage( - ) - """ - - def testAdminMaskMessage(self): - """Test AdminMaskMessage""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_multiple_tenant_data_versions_details_dto.py b/src/visier_platform_sdk/test/test_admin_multiple_tenant_data_versions_details_dto.py deleted file mode 100644 index 9a647d77ab..0000000000 --- a/src/visier_platform_sdk/test/test_admin_multiple_tenant_data_versions_details_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_multiple_tenant_data_versions_details_dto import AdminMultipleTenantDataVersionsDetailsDTO - -class TestAdminMultipleTenantDataVersionsDetailsDTO(unittest.TestCase): - """AdminMultipleTenantDataVersionsDetailsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminMultipleTenantDataVersionsDetailsDTO: - """Test AdminMultipleTenantDataVersionsDetailsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminMultipleTenantDataVersionsDetailsDTO` - """ - model = AdminMultipleTenantDataVersionsDetailsDTO() - if include_optional: - return AdminMultipleTenantDataVersionsDetailsDTO( - tenant_code = '', - data_versions = [ - visier_platform_sdk.models.admin/data_version_and_date_dto.admin.DataVersionAndDateDTO( - data_version = '', - data_version_date = '', ) - ] - ) - else: - return AdminMultipleTenantDataVersionsDetailsDTO( - ) - """ - - def testAdminMultipleTenantDataVersionsDetailsDTO(self): - """Test AdminMultipleTenantDataVersionsDetailsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_multiple_tenant_data_versions_list_dto.py b/src/visier_platform_sdk/test/test_admin_multiple_tenant_data_versions_list_dto.py deleted file mode 100644 index a07001d7d1..0000000000 --- a/src/visier_platform_sdk/test/test_admin_multiple_tenant_data_versions_list_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_multiple_tenant_data_versions_list_dto import AdminMultipleTenantDataVersionsListDTO - -class TestAdminMultipleTenantDataVersionsListDTO(unittest.TestCase): - """AdminMultipleTenantDataVersionsListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminMultipleTenantDataVersionsListDTO: - """Test AdminMultipleTenantDataVersionsListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminMultipleTenantDataVersionsListDTO` - """ - model = AdminMultipleTenantDataVersionsListDTO() - if include_optional: - return AdminMultipleTenantDataVersionsListDTO( - tenants = [ - visier_platform_sdk.models.admin/multiple_tenant_data_versions_details_dto.admin.MultipleTenantDataVersionsDetailsDTO( - tenant_code = '', - data_versions = [ - visier_platform_sdk.models.admin/data_version_and_date_dto.admin.DataVersionAndDateDTO( - data_version = '', - data_version_date = '', ) - ], ) - ], - limit = 56, - start = 56 - ) - else: - return AdminMultipleTenantDataVersionsListDTO( - ) - """ - - def testAdminMultipleTenantDataVersionsListDTO(self): - """Test AdminMultipleTenantDataVersionsListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_network_subnets_message_request.py b/src/visier_platform_sdk/test/test_admin_network_subnets_message_request.py deleted file mode 100644 index 96db6134ff..0000000000 --- a/src/visier_platform_sdk/test/test_admin_network_subnets_message_request.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_network_subnets_message_request import AdminNetworkSubnetsMessageRequest - -class TestAdminNetworkSubnetsMessageRequest(unittest.TestCase): - """AdminNetworkSubnetsMessageRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminNetworkSubnetsMessageRequest: - """Test AdminNetworkSubnetsMessageRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminNetworkSubnetsMessageRequest` - """ - model = AdminNetworkSubnetsMessageRequest() - if include_optional: - return AdminNetworkSubnetsMessageRequest( - network_subnets_for_api = [ - '' - ], - confirm_lockout = True - ) - else: - return AdminNetworkSubnetsMessageRequest( - ) - """ - - def testAdminNetworkSubnetsMessageRequest(self): - """Test AdminNetworkSubnetsMessageRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_network_subnets_message_response.py b/src/visier_platform_sdk/test/test_admin_network_subnets_message_response.py deleted file mode 100644 index 6f835ffd6d..0000000000 --- a/src/visier_platform_sdk/test/test_admin_network_subnets_message_response.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_network_subnets_message_response import AdminNetworkSubnetsMessageResponse - -class TestAdminNetworkSubnetsMessageResponse(unittest.TestCase): - """AdminNetworkSubnetsMessageResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminNetworkSubnetsMessageResponse: - """Test AdminNetworkSubnetsMessageResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminNetworkSubnetsMessageResponse` - """ - model = AdminNetworkSubnetsMessageResponse() - if include_optional: - return AdminNetworkSubnetsMessageResponse( - network_subnets_for_api = [ - '' - ] - ) - else: - return AdminNetworkSubnetsMessageResponse( - ) - """ - - def testAdminNetworkSubnetsMessageResponse(self): - """Test AdminNetworkSubnetsMessageResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_permission_response_dto.py b/src/visier_platform_sdk/test/test_admin_permission_response_dto.py deleted file mode 100644 index f33c05797a..0000000000 --- a/src/visier_platform_sdk/test/test_admin_permission_response_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_permission_response_dto import AdminPermissionResponseDTO - -class TestAdminPermissionResponseDTO(unittest.TestCase): - """AdminPermissionResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminPermissionResponseDTO: - """Test AdminPermissionResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminPermissionResponseDTO` - """ - model = AdminPermissionResponseDTO() - if include_optional: - return AdminPermissionResponseDTO( - permission_id = '', - display_name = '' - ) - else: - return AdminPermissionResponseDTO( - ) - """ - - def testAdminPermissionResponseDTO(self): - """Test AdminPermissionResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_permissions_list_dto.py b/src/visier_platform_sdk/test/test_admin_permissions_list_dto.py deleted file mode 100644 index 21fafdccd5..0000000000 --- a/src/visier_platform_sdk/test/test_admin_permissions_list_dto.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_permissions_list_dto import AdminPermissionsListDTO - -class TestAdminPermissionsListDTO(unittest.TestCase): - """AdminPermissionsListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminPermissionsListDTO: - """Test AdminPermissionsListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminPermissionsListDTO` - """ - model = AdminPermissionsListDTO() - if include_optional: - return AdminPermissionsListDTO( - permissions = [ - visier_platform_sdk.models.servicing/permission_dto.servicing.PermissionDTO( - permission_id = '', - display_name = '', - description = '', - data_security_profiles = [ - visier_platform_sdk.models.servicing/data_security_profile_dto.servicing.DataSecurityProfileDTO( - analytic_object_id = '', - property_set_config = None, - all_data_point_access = True, - member_filter_configs = [ - visier_platform_sdk.models.servicing/member_filter_config_dto.servicing.MemberFilterConfigDTO( - dimension_filters = [ - visier_platform_sdk.models.servicing/dimension_filter_dto.servicing.DimensionFilterDTO( - static_dimension_filter = visier_platform_sdk.models.servicing/static_dimension_filter_dto.servicing.StaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset', ), - dynamic_dimension_filter = visier_platform_sdk.models.servicing/dynamic_dimension_filter_dto.servicing.DynamicDimensionFilterDTO( - dimension_id = '', - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset', ), ) - ], ) - ], - inherited_access_configs = [ - visier_platform_sdk.models.servicing/inherited_access_config_dto.servicing.InheritedAccessConfigDTO( - analytic_object_id = '', - remove_access = True, ) - ], - inherited_reference_member_filter_config = None, - analytic_object_status = 'Unset', ) - ], - admin_capability_config = None, - role_modules_config = None, ) - ] - ) - else: - return AdminPermissionsListDTO( - ) - """ - - def testAdminPermissionsListDTO(self): - """Test AdminPermissionsListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_permissions_to_user_group_for_tenant_dto.py b/src/visier_platform_sdk/test/test_admin_permissions_to_user_group_for_tenant_dto.py deleted file mode 100644 index 4545a1afd9..0000000000 --- a/src/visier_platform_sdk/test/test_admin_permissions_to_user_group_for_tenant_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_permissions_to_user_group_for_tenant_dto import AdminPermissionsToUserGroupForTenantDTO - -class TestAdminPermissionsToUserGroupForTenantDTO(unittest.TestCase): - """AdminPermissionsToUserGroupForTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminPermissionsToUserGroupForTenantDTO: - """Test AdminPermissionsToUserGroupForTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminPermissionsToUserGroupForTenantDTO` - """ - model = AdminPermissionsToUserGroupForTenantDTO() - if include_optional: - return AdminPermissionsToUserGroupForTenantDTO( - tenant_code = '', - status = '', - message = '', - user_groups = [ - visier_platform_sdk.models.admin/user_group_get_api_response_dto.admin.UserGroupGetAPIResponseDTO( - user_group_id = '', - display_name = '', - permissions = [ - visier_platform_sdk.models.admin/permission_response_dto.admin.PermissionResponseDTO( - permission_id = '', - display_name = '', ) - ], ) - ] - ) - else: - return AdminPermissionsToUserGroupForTenantDTO( - ) - """ - - def testAdminPermissionsToUserGroupForTenantDTO(self): - """Test AdminPermissionsToUserGroupForTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_permissions_to_user_group_request_dto.py b/src/visier_platform_sdk/test/test_admin_permissions_to_user_group_request_dto.py deleted file mode 100644 index e72aa564cd..0000000000 --- a/src/visier_platform_sdk/test/test_admin_permissions_to_user_group_request_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_permissions_to_user_group_request_dto import AdminPermissionsToUserGroupRequestDTO - -class TestAdminPermissionsToUserGroupRequestDTO(unittest.TestCase): - """AdminPermissionsToUserGroupRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminPermissionsToUserGroupRequestDTO: - """Test AdminPermissionsToUserGroupRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminPermissionsToUserGroupRequestDTO` - """ - model = AdminPermissionsToUserGroupRequestDTO() - if include_optional: - return AdminPermissionsToUserGroupRequestDTO( - user_group_id = '', - permissions_ids = [ - '' - ] - ) - else: - return AdminPermissionsToUserGroupRequestDTO( - ) - """ - - def testAdminPermissionsToUserGroupRequestDTO(self): - """Test AdminPermissionsToUserGroupRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_permissions_to_user_groups_request_dto.py b/src/visier_platform_sdk/test/test_admin_permissions_to_user_groups_request_dto.py deleted file mode 100644 index cc66a5a5e9..0000000000 --- a/src/visier_platform_sdk/test/test_admin_permissions_to_user_groups_request_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_permissions_to_user_groups_request_dto import AdminPermissionsToUserGroupsRequestDTO - -class TestAdminPermissionsToUserGroupsRequestDTO(unittest.TestCase): - """AdminPermissionsToUserGroupsRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminPermissionsToUserGroupsRequestDTO: - """Test AdminPermissionsToUserGroupsRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminPermissionsToUserGroupsRequestDTO` - """ - model = AdminPermissionsToUserGroupsRequestDTO() - if include_optional: - return AdminPermissionsToUserGroupsRequestDTO( - user_groups = [ - visier_platform_sdk.models.admin/permissions_to_user_group_request_dto.admin.PermissionsToUserGroupRequestDTO( - user_group_id = '', - permissions_ids = [ - '' - ], ) - ] - ) - else: - return AdminPermissionsToUserGroupsRequestDTO( - ) - """ - - def testAdminPermissionsToUserGroupsRequestDTO(self): - """Test AdminPermissionsToUserGroupsRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_product_release_dto.py b/src/visier_platform_sdk/test/test_admin_product_release_dto.py deleted file mode 100644 index 64388b67a1..0000000000 --- a/src/visier_platform_sdk/test/test_admin_product_release_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_product_release_dto import AdminProductReleaseDTO - -class TestAdminProductReleaseDTO(unittest.TestCase): - """AdminProductReleaseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminProductReleaseDTO: - """Test AdminProductReleaseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminProductReleaseDTO` - """ - model = AdminProductReleaseDTO() - if include_optional: - return AdminProductReleaseDTO( - product_id = '', - previous_version = '', - previous_version_end_date = '', - latest_version = '' - ) - else: - return AdminProductReleaseDTO( - ) - """ - - def testAdminProductReleaseDTO(self): - """Test AdminProductReleaseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_product_releases_dto.py b/src/visier_platform_sdk/test/test_admin_product_releases_dto.py deleted file mode 100644 index 34a493b06a..0000000000 --- a/src/visier_platform_sdk/test/test_admin_product_releases_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_product_releases_dto import AdminProductReleasesDTO - -class TestAdminProductReleasesDTO(unittest.TestCase): - """AdminProductReleasesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminProductReleasesDTO: - """Test AdminProductReleasesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminProductReleasesDTO` - """ - model = AdminProductReleasesDTO() - if include_optional: - return AdminProductReleasesDTO( - releases = [ - visier_platform_sdk.models.admin/product_release_dto.admin.ProductReleaseDTO( - product_id = '', - previous_version = '', - previous_version_end_date = '', - latest_version = '', ) - ] - ) - else: - return AdminProductReleasesDTO( - ) - """ - - def testAdminProductReleasesDTO(self): - """Test AdminProductReleasesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_product_version_dto.py b/src/visier_platform_sdk/test/test_admin_product_version_dto.py deleted file mode 100644 index d8f31281ff..0000000000 --- a/src/visier_platform_sdk/test/test_admin_product_version_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_product_version_dto import AdminProductVersionDTO - -class TestAdminProductVersionDTO(unittest.TestCase): - """AdminProductVersionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminProductVersionDTO: - """Test AdminProductVersionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminProductVersionDTO` - """ - model = AdminProductVersionDTO() - if include_optional: - return AdminProductVersionDTO( - product_id = '', - version = '', - tenant_codes = [ - '' - ] - ) - else: - return AdminProductVersionDTO( - ) - """ - - def testAdminProductVersionDTO(self): - """Test AdminProductVersionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_product_versions_dto.py b/src/visier_platform_sdk/test/test_admin_product_versions_dto.py deleted file mode 100644 index 5ec5de45d9..0000000000 --- a/src/visier_platform_sdk/test/test_admin_product_versions_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_product_versions_dto import AdminProductVersionsDTO - -class TestAdminProductVersionsDTO(unittest.TestCase): - """AdminProductVersionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminProductVersionsDTO: - """Test AdminProductVersionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminProductVersionsDTO` - """ - model = AdminProductVersionsDTO() - if include_optional: - return AdminProductVersionsDTO( - versions = [ - visier_platform_sdk.models.admin/product_version_dto.admin.ProductVersionDTO( - product_id = '', - version = '', - tenant_codes = [ - '' - ], ) - ] - ) - else: - return AdminProductVersionsDTO( - ) - """ - - def testAdminProductVersionsDTO(self): - """Test AdminProductVersionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_product_versions_update_failure_tenant_response_dto.py b/src/visier_platform_sdk/test/test_admin_product_versions_update_failure_tenant_response_dto.py deleted file mode 100644 index e3b37f5cfd..0000000000 --- a/src/visier_platform_sdk/test/test_admin_product_versions_update_failure_tenant_response_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_product_versions_update_failure_tenant_response_dto import AdminProductVersionsUpdateFailureTenantResponseDTO - -class TestAdminProductVersionsUpdateFailureTenantResponseDTO(unittest.TestCase): - """AdminProductVersionsUpdateFailureTenantResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminProductVersionsUpdateFailureTenantResponseDTO: - """Test AdminProductVersionsUpdateFailureTenantResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminProductVersionsUpdateFailureTenantResponseDTO` - """ - model = AdminProductVersionsUpdateFailureTenantResponseDTO() - if include_optional: - return AdminProductVersionsUpdateFailureTenantResponseDTO( - product_id = '', - version = '', - tenant_codes = [ - '' - ], - message = '' - ) - else: - return AdminProductVersionsUpdateFailureTenantResponseDTO( - ) - """ - - def testAdminProductVersionsUpdateFailureTenantResponseDTO(self): - """Test AdminProductVersionsUpdateFailureTenantResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_product_versions_update_response_dto.py b/src/visier_platform_sdk/test/test_admin_product_versions_update_response_dto.py deleted file mode 100644 index c124b86aeb..0000000000 --- a/src/visier_platform_sdk/test/test_admin_product_versions_update_response_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_product_versions_update_response_dto import AdminProductVersionsUpdateResponseDTO - -class TestAdminProductVersionsUpdateResponseDTO(unittest.TestCase): - """AdminProductVersionsUpdateResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminProductVersionsUpdateResponseDTO: - """Test AdminProductVersionsUpdateResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminProductVersionsUpdateResponseDTO` - """ - model = AdminProductVersionsUpdateResponseDTO() - if include_optional: - return AdminProductVersionsUpdateResponseDTO( - successes = [ - visier_platform_sdk.models.admin/product_versions_update_successful_tenant_response_dto.admin.ProductVersionsUpdateSuccessfulTenantResponseDTO( - product_id = '', - version = '', - tenant_codes = [ - '' - ], ) - ], - failures = [ - visier_platform_sdk.models.admin/product_versions_update_failure_tenant_response_dto.admin.ProductVersionsUpdateFailureTenantResponseDTO( - product_id = '', - version = '', - tenant_codes = [ - '' - ], - message = '', ) - ] - ) - else: - return AdminProductVersionsUpdateResponseDTO( - ) - """ - - def testAdminProductVersionsUpdateResponseDTO(self): - """Test AdminProductVersionsUpdateResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_product_versions_update_successful_tenant_response_dto.py b/src/visier_platform_sdk/test/test_admin_product_versions_update_successful_tenant_response_dto.py deleted file mode 100644 index 279920d8c6..0000000000 --- a/src/visier_platform_sdk/test/test_admin_product_versions_update_successful_tenant_response_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_product_versions_update_successful_tenant_response_dto import AdminProductVersionsUpdateSuccessfulTenantResponseDTO - -class TestAdminProductVersionsUpdateSuccessfulTenantResponseDTO(unittest.TestCase): - """AdminProductVersionsUpdateSuccessfulTenantResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminProductVersionsUpdateSuccessfulTenantResponseDTO: - """Test AdminProductVersionsUpdateSuccessfulTenantResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminProductVersionsUpdateSuccessfulTenantResponseDTO` - """ - model = AdminProductVersionsUpdateSuccessfulTenantResponseDTO() - if include_optional: - return AdminProductVersionsUpdateSuccessfulTenantResponseDTO( - product_id = '', - version = '', - tenant_codes = [ - '' - ] - ) - else: - return AdminProductVersionsUpdateSuccessfulTenantResponseDTO( - ) - """ - - def testAdminProductVersionsUpdateSuccessfulTenantResponseDTO(self): - """Test AdminProductVersionsUpdateSuccessfulTenantResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_put_project_commits_request.py b/src/visier_platform_sdk/test/test_admin_put_project_commits_request.py deleted file mode 100644 index 063a8b6a31..0000000000 --- a/src/visier_platform_sdk/test/test_admin_put_project_commits_request.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_put_project_commits_request import AdminPutProjectCommitsRequest - -class TestAdminPutProjectCommitsRequest(unittest.TestCase): - """AdminPutProjectCommitsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminPutProjectCommitsRequest: - """Test AdminPutProjectCommitsRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminPutProjectCommitsRequest` - """ - model = AdminPutProjectCommitsRequest() - if include_optional: - return AdminPutProjectCommitsRequest( - project_id = '' - ) - else: - return AdminPutProjectCommitsRequest( - ) - """ - - def testAdminPutProjectCommitsRequest(self): - """Test AdminPutProjectCommitsRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_security_assignment_response_dto.py b/src/visier_platform_sdk/test/test_admin_security_assignment_response_dto.py deleted file mode 100644 index bb59198d48..0000000000 --- a/src/visier_platform_sdk/test/test_admin_security_assignment_response_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_security_assignment_response_dto import AdminSecurityAssignmentResponseDTO - -class TestAdminSecurityAssignmentResponseDTO(unittest.TestCase): - """AdminSecurityAssignmentResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminSecurityAssignmentResponseDTO: - """Test AdminSecurityAssignmentResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminSecurityAssignmentResponseDTO` - """ - model = AdminSecurityAssignmentResponseDTO() - if include_optional: - return AdminSecurityAssignmentResponseDTO( - tenants = [ - visier_platform_sdk.models.admin/tenant_assignments_dto.admin.TenantAssignmentsDTO( - tenant_code = '', - status = 'Unknown', - message = '', - assignments = [ - visier_platform_sdk.models.admin/user_security_assignments_dto.admin.UserSecurityAssignmentsDTO( - id = '', - name = '', - users = [ - visier_platform_sdk.models.admin/simple_user_dto.admin.SimpleUserDTO( - user_id = '', - username = '', ) - ], ) - ], - project_id = '', ) - ] - ) - else: - return AdminSecurityAssignmentResponseDTO( - ) - """ - - def testAdminSecurityAssignmentResponseDTO(self): - """Test AdminSecurityAssignmentResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_set_connector_setting_request_dto.py b/src/visier_platform_sdk/test/test_admin_set_connector_setting_request_dto.py deleted file mode 100644 index df235fff01..0000000000 --- a/src/visier_platform_sdk/test/test_admin_set_connector_setting_request_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_set_connector_setting_request_dto import AdminSetConnectorSettingRequestDTO - -class TestAdminSetConnectorSettingRequestDTO(unittest.TestCase): - """AdminSetConnectorSettingRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminSetConnectorSettingRequestDTO: - """Test AdminSetConnectorSettingRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminSetConnectorSettingRequestDTO` - """ - model = AdminSetConnectorSettingRequestDTO() - if include_optional: - return AdminSetConnectorSettingRequestDTO( - connector_id = '', - tenants = [ - visier_platform_sdk.models.admin/tenant_connector_settings_request_dto.admin.TenantConnectorSettingsRequestDTO( - tenant_code = '', - connector_settings = [ - visier_platform_sdk.models.admin/connector_setting_request_dto.admin.ConnectorSettingRequestDTO( - setting_key = '', - value = '', ) - ], ) - ] - ) - else: - return AdminSetConnectorSettingRequestDTO( - ) - """ - - def testAdminSetConnectorSettingRequestDTO(self): - """Test AdminSetConnectorSettingRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_set_connector_setting_response_dto.py b/src/visier_platform_sdk/test/test_admin_set_connector_setting_response_dto.py deleted file mode 100644 index 56edd8e8c2..0000000000 --- a/src/visier_platform_sdk/test/test_admin_set_connector_setting_response_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_set_connector_setting_response_dto import AdminSetConnectorSettingResponseDTO - -class TestAdminSetConnectorSettingResponseDTO(unittest.TestCase): - """AdminSetConnectorSettingResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminSetConnectorSettingResponseDTO: - """Test AdminSetConnectorSettingResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminSetConnectorSettingResponseDTO` - """ - model = AdminSetConnectorSettingResponseDTO() - if include_optional: - return AdminSetConnectorSettingResponseDTO( - tenant_code = '', - connectors = [ - visier_platform_sdk.models.admin/connector_settings_response_dto.admin.ConnectorSettingsResponseDTO( - connector = None, - settings = [ - visier_platform_sdk.models.admin/connector_setting_response_dto.admin.ConnectorSettingResponseDTO( - key = '', - value = '', - message = '', ) - ], ) - ], - status = 'Unknown', - message = '' - ) - else: - return AdminSetConnectorSettingResponseDTO( - ) - """ - - def testAdminSetConnectorSettingResponseDTO(self): - """Test AdminSetConnectorSettingResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_set_connector_settings_request_dto.py b/src/visier_platform_sdk/test/test_admin_set_connector_settings_request_dto.py deleted file mode 100644 index b66d866e3c..0000000000 --- a/src/visier_platform_sdk/test/test_admin_set_connector_settings_request_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_set_connector_settings_request_dto import AdminSetConnectorSettingsRequestDTO - -class TestAdminSetConnectorSettingsRequestDTO(unittest.TestCase): - """AdminSetConnectorSettingsRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminSetConnectorSettingsRequestDTO: - """Test AdminSetConnectorSettingsRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminSetConnectorSettingsRequestDTO` - """ - model = AdminSetConnectorSettingsRequestDTO() - if include_optional: - return AdminSetConnectorSettingsRequestDTO( - connectors = [ - visier_platform_sdk.models.admin/set_connector_setting_request_dto.admin.SetConnectorSettingRequestDTO( - connector_id = '', - tenants = [ - visier_platform_sdk.models.admin/tenant_connector_settings_request_dto.admin.TenantConnectorSettingsRequestDTO( - tenant_code = '', - connector_settings = [ - visier_platform_sdk.models.admin/connector_setting_request_dto.admin.ConnectorSettingRequestDTO( - setting_key = '', - value = '', ) - ], ) - ], ) - ] - ) - else: - return AdminSetConnectorSettingsRequestDTO( - ) - """ - - def testAdminSetConnectorSettingsRequestDTO(self): - """Test AdminSetConnectorSettingsRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_set_connector_settings_response_dto.py b/src/visier_platform_sdk/test/test_admin_set_connector_settings_response_dto.py deleted file mode 100644 index ae13cc3120..0000000000 --- a/src/visier_platform_sdk/test/test_admin_set_connector_settings_response_dto.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_set_connector_settings_response_dto import AdminSetConnectorSettingsResponseDTO - -class TestAdminSetConnectorSettingsResponseDTO(unittest.TestCase): - """AdminSetConnectorSettingsResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminSetConnectorSettingsResponseDTO: - """Test AdminSetConnectorSettingsResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminSetConnectorSettingsResponseDTO` - """ - model = AdminSetConnectorSettingsResponseDTO() - if include_optional: - return AdminSetConnectorSettingsResponseDTO( - tenants = [ - visier_platform_sdk.models.admin/set_connector_setting_response_dto.admin.SetConnectorSettingResponseDTO( - tenant_code = '', - connectors = [ - visier_platform_sdk.models.admin/connector_settings_response_dto.admin.ConnectorSettingsResponseDTO( - connector = None, - settings = [ - visier_platform_sdk.models.admin/connector_setting_response_dto.admin.ConnectorSettingResponseDTO( - key = '', - value = '', - message = '', ) - ], ) - ], - status = 'Unknown', - message = '', ) - ] - ) - else: - return AdminSetConnectorSettingsResponseDTO( - ) - """ - - def testAdminSetConnectorSettingsResponseDTO(self): - """Test AdminSetConnectorSettingsResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_simple_user_dto.py b/src/visier_platform_sdk/test/test_admin_simple_user_dto.py deleted file mode 100644 index ce3041c39f..0000000000 --- a/src/visier_platform_sdk/test/test_admin_simple_user_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_simple_user_dto import AdminSimpleUserDTO - -class TestAdminSimpleUserDTO(unittest.TestCase): - """AdminSimpleUserDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminSimpleUserDTO: - """Test AdminSimpleUserDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminSimpleUserDTO` - """ - model = AdminSimpleUserDTO() - if include_optional: - return AdminSimpleUserDTO( - user_id = '', - username = '' - ) - else: - return AdminSimpleUserDTO( - ) - """ - - def testAdminSimpleUserDTO(self): - """Test AdminSimpleUserDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_target_project_for_tenant_dto.py b/src/visier_platform_sdk/test/test_admin_target_project_for_tenant_dto.py deleted file mode 100644 index e53d7c34c3..0000000000 --- a/src/visier_platform_sdk/test/test_admin_target_project_for_tenant_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_target_project_for_tenant_dto import AdminTargetProjectForTenantDTO - -class TestAdminTargetProjectForTenantDTO(unittest.TestCase): - """AdminTargetProjectForTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTargetProjectForTenantDTO: - """Test AdminTargetProjectForTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTargetProjectForTenantDTO` - """ - model = AdminTargetProjectForTenantDTO() - if include_optional: - return AdminTargetProjectForTenantDTO( - tenant_code = '', - project_id = '' - ) - else: - return AdminTargetProjectForTenantDTO( - ) - """ - - def testAdminTargetProjectForTenantDTO(self): - """Test AdminTargetProjectForTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_target_project_for_tenants_list_dto.py b/src/visier_platform_sdk/test/test_admin_target_project_for_tenants_list_dto.py deleted file mode 100644 index 720f6bbb4a..0000000000 --- a/src/visier_platform_sdk/test/test_admin_target_project_for_tenants_list_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_target_project_for_tenants_list_dto import AdminTargetProjectForTenantsListDTO - -class TestAdminTargetProjectForTenantsListDTO(unittest.TestCase): - """AdminTargetProjectForTenantsListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTargetProjectForTenantsListDTO: - """Test AdminTargetProjectForTenantsListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTargetProjectForTenantsListDTO` - """ - model = AdminTargetProjectForTenantsListDTO() - if include_optional: - return AdminTargetProjectForTenantsListDTO( - target_project_for_tenants = [ - visier_platform_sdk.models.admin/target_project_for_tenant_dto.admin.TargetProjectForTenantDTO( - tenant_code = '', - project_id = '', ) - ] - ) - else: - return AdminTargetProjectForTenantsListDTO( - ) - """ - - def testAdminTargetProjectForTenantsListDTO(self): - """Test AdminTargetProjectForTenantsListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_assignments_dto.py b/src/visier_platform_sdk/test/test_admin_tenant_assignments_dto.py deleted file mode 100644 index 61767eac43..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_assignments_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_assignments_dto import AdminTenantAssignmentsDTO - -class TestAdminTenantAssignmentsDTO(unittest.TestCase): - """AdminTenantAssignmentsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantAssignmentsDTO: - """Test AdminTenantAssignmentsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantAssignmentsDTO` - """ - model = AdminTenantAssignmentsDTO() - if include_optional: - return AdminTenantAssignmentsDTO( - tenant_code = '', - status = 'Unknown', - message = '', - assignments = [ - visier_platform_sdk.models.admin/user_security_assignments_dto.admin.UserSecurityAssignmentsDTO( - id = '', - name = '', - users = [ - visier_platform_sdk.models.admin/simple_user_dto.admin.SimpleUserDTO( - user_id = '', - username = '', ) - ], ) - ], - project_id = '' - ) - else: - return AdminTenantAssignmentsDTO( - ) - """ - - def testAdminTenantAssignmentsDTO(self): - """Test AdminTenantAssignmentsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_code_body.py b/src/visier_platform_sdk/test/test_admin_tenant_code_body.py deleted file mode 100644 index ae2ef855ce..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_code_body.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_code_body import AdminTenantCodeBody - -class TestAdminTenantCodeBody(unittest.TestCase): - """AdminTenantCodeBody unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantCodeBody: - """Test AdminTenantCodeBody - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantCodeBody` - """ - model = AdminTenantCodeBody() - if include_optional: - return AdminTenantCodeBody( - tenant_codes = [ - '' - ] - ) - else: - return AdminTenantCodeBody( - ) - """ - - def testAdminTenantCodeBody(self): - """Test AdminTenantCodeBody""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_connector_settings_request_dto.py b/src/visier_platform_sdk/test/test_admin_tenant_connector_settings_request_dto.py deleted file mode 100644 index b463f78fff..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_connector_settings_request_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_connector_settings_request_dto import AdminTenantConnectorSettingsRequestDTO - -class TestAdminTenantConnectorSettingsRequestDTO(unittest.TestCase): - """AdminTenantConnectorSettingsRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantConnectorSettingsRequestDTO: - """Test AdminTenantConnectorSettingsRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantConnectorSettingsRequestDTO` - """ - model = AdminTenantConnectorSettingsRequestDTO() - if include_optional: - return AdminTenantConnectorSettingsRequestDTO( - tenant_code = '', - connector_settings = [ - visier_platform_sdk.models.admin/connector_setting_request_dto.admin.ConnectorSettingRequestDTO( - setting_key = '', - value = '', ) - ] - ) - else: - return AdminTenantConnectorSettingsRequestDTO( - ) - """ - - def testAdminTenantConnectorSettingsRequestDTO(self): - """Test AdminTenantConnectorSettingsRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_detail_apidto.py b/src/visier_platform_sdk/test/test_admin_tenant_detail_apidto.py deleted file mode 100644 index 3b015d53bb..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_detail_apidto.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_detail_apidto import AdminTenantDetailAPIDTO - -class TestAdminTenantDetailAPIDTO(unittest.TestCase): - """AdminTenantDetailAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantDetailAPIDTO: - """Test AdminTenantDetailAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantDetailAPIDTO` - """ - model = AdminTenantDetailAPIDTO() - if include_optional: - return AdminTenantDetailAPIDTO( - tenant_code = '', - tenant_display_name = '', - status = '', - provision_date = '', - current_data_version = '', - data_version_date = '', - modules = [ - visier_platform_sdk.models.designer/tenant_module_dto.designer.TenantModuleDTO( - display_name = '', - symbol_name = '', - module_settings = None, ) - ], - industry_code = 56, - can_administer_other_tenants = True, - embeddable_domains = [ - '' - ], - custom_properties = [ - visier_platform_sdk.models.admin/custom_tenant_property_dto.admin.CustomTenantPropertyDTO( - key = '', - value = '', ) - ], - sso_instance_issuers = [ - '' - ], - vanity_url_name = '', - allowed_o_auth_idp_url_domains = [ - '' - ] - ) - else: - return AdminTenantDetailAPIDTO( - ) - """ - - def testAdminTenantDetailAPIDTO(self): - """Test AdminTenantDetailAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_details_traits_dto.py b/src/visier_platform_sdk/test/test_admin_tenant_details_traits_dto.py deleted file mode 100644 index 3f6ca99031..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_details_traits_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_details_traits_dto import AdminTenantDetailsTraitsDTO - -class TestAdminTenantDetailsTraitsDTO(unittest.TestCase): - """AdminTenantDetailsTraitsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantDetailsTraitsDTO: - """Test AdminTenantDetailsTraitsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantDetailsTraitsDTO` - """ - model = AdminTenantDetailsTraitsDTO() - if include_optional: - return AdminTenantDetailsTraitsDTO( - aggregation_rights = True, - tenant_type = 'ROOT_ADMIN', - data_profile_type = 'Regular' - ) - else: - return AdminTenantDetailsTraitsDTO( - ) - """ - - def testAdminTenantDetailsTraitsDTO(self): - """Test AdminTenantDetailsTraitsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_management_api_get_response_dto.py b/src/visier_platform_sdk/test/test_admin_tenant_management_api_get_response_dto.py deleted file mode 100644 index d132306091..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_management_api_get_response_dto.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_management_api_get_response_dto import AdminTenantManagementAPIGetResponseDTO - -class TestAdminTenantManagementAPIGetResponseDTO(unittest.TestCase): - """AdminTenantManagementAPIGetResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantManagementAPIGetResponseDTO: - """Test AdminTenantManagementAPIGetResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantManagementAPIGetResponseDTO` - """ - model = AdminTenantManagementAPIGetResponseDTO() - if include_optional: - return AdminTenantManagementAPIGetResponseDTO( - tenant_code = '', - tenant_display_name = '', - status = '', - provision_date = '', - current_data_version = '', - data_version_date = '', - purchased_modules = [ - '' - ], - industry_code = 56, - primary_business_location = visier_platform_sdk.models.admin/business_location_dto.admin.BusinessLocationDTO( - country_code = '', - postal_code = '', ), - can_administer_other_tenants = True, - embeddable_domains = [ - '' - ], - custom_properties = [ - visier_platform_sdk.models.admin/custom_property_dto.admin.CustomPropertyDTO( - key = '', - value = '', ) - ], - sso_instance_issuers = [ - '' - ], - vanity_url_name = '', - home_analysis_id = '', - home_analysis_by_user_group = [ - visier_platform_sdk.models.admin/home_analysis_by_user_group_dto.admin.HomeAnalysisByUserGroupDTO( - user_group_id = '', - home_analysis_id = '', ) - ], - click_through_link = '', - click_through_link_enabled = '', - default_currency = '', - allowed_o_auth_idp_url_domains = [ - '' - ], - effective_industry_code = 56, - company_size = 56, - traits = visier_platform_sdk.models.admin/tenant_details_traits_dto.admin.TenantDetailsTraitsDTO( - aggregation_rights = True, - tenant_type = 'ROOT_ADMIN', - data_profile_type = 'Regular', ) - ) - else: - return AdminTenantManagementAPIGetResponseDTO( - ) - """ - - def testAdminTenantManagementAPIGetResponseDTO(self): - """Test AdminTenantManagementAPIGetResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_management_api_list_response_dto.py b/src/visier_platform_sdk/test/test_admin_tenant_management_api_list_response_dto.py deleted file mode 100644 index cecfb2284e..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_management_api_list_response_dto.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_management_api_list_response_dto import AdminTenantManagementAPIListResponseDTO - -class TestAdminTenantManagementAPIListResponseDTO(unittest.TestCase): - """AdminTenantManagementAPIListResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantManagementAPIListResponseDTO: - """Test AdminTenantManagementAPIListResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantManagementAPIListResponseDTO` - """ - model = AdminTenantManagementAPIListResponseDTO() - if include_optional: - return AdminTenantManagementAPIListResponseDTO( - tenants = [ - visier_platform_sdk.models.admin/tenant_management_api_get_response_dto.admin.TenantManagementAPIGetResponseDTO( - tenant_code = '', - tenant_display_name = '', - status = '', - provision_date = '', - current_data_version = '', - data_version_date = '', - purchased_modules = [ - '' - ], - industry_code = 56, - primary_business_location = None, - can_administer_other_tenants = True, - embeddable_domains = [ - '' - ], - custom_properties = [ - visier_platform_sdk.models.admin/custom_property_dto.admin.CustomPropertyDTO( - key = '', - value = '', ) - ], - sso_instance_issuers = [ - '' - ], - vanity_url_name = '', - home_analysis_id = '', - home_analysis_by_user_group = [ - visier_platform_sdk.models.admin/home_analysis_by_user_group_dto.admin.HomeAnalysisByUserGroupDTO( - user_group_id = '', - home_analysis_id = '', ) - ], - click_through_link = '', - click_through_link_enabled = '', - default_currency = '', - allowed_o_auth_idp_url_domains = [ - '' - ], - effective_industry_code = 56, - company_size = 56, - traits = None, ) - ], - limit = 56, - start = 56 - ) - else: - return AdminTenantManagementAPIListResponseDTO( - ) - """ - - def testAdminTenantManagementAPIListResponseDTO(self): - """Test AdminTenantManagementAPIListResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_management_api_update_request_dto.py b/src/visier_platform_sdk/test/test_admin_tenant_management_api_update_request_dto.py deleted file mode 100644 index 96428c786f..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_management_api_update_request_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_management_api_update_request_dto import AdminTenantManagementAPIUpdateRequestDTO - -class TestAdminTenantManagementAPIUpdateRequestDTO(unittest.TestCase): - """AdminTenantManagementAPIUpdateRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantManagementAPIUpdateRequestDTO: - """Test AdminTenantManagementAPIUpdateRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantManagementAPIUpdateRequestDTO` - """ - model = AdminTenantManagementAPIUpdateRequestDTO() - if include_optional: - return AdminTenantManagementAPIUpdateRequestDTO( - tenant_code = '', - tenant_display_name = '', - tenant_short_name = '', - vanity_url_name = '', - industry_code = 56, - primary_business_location = visier_platform_sdk.models.admin/business_location_dto.admin.BusinessLocationDTO( - country_code = '', - postal_code = '', ), - purchased_modules = [ - '' - ], - embeddable_domains = [ - '' - ], - custom_properties = [ - visier_platform_sdk.models.admin/custom_property_dto.admin.CustomPropertyDTO( - key = '', - value = '', ) - ], - sso_instance_issuers = [ - '' - ], - home_analysis_id = '', - home_analysis_by_user_group = [ - visier_platform_sdk.models.admin/home_analysis_by_user_group_dto.admin.HomeAnalysisByUserGroupDTO( - user_group_id = '', - home_analysis_id = '', ) - ], - update_action = 'MERGE', - enabled = True, - click_through_link = '', - default_currency = '', - allowed_o_auth_idp_url_domains = [ - '' - ], - traits = visier_platform_sdk.models.admin/tenant_details_traits_dto.admin.TenantDetailsTraitsDTO( - aggregation_rights = True, - tenant_type = 'ROOT_ADMIN', - data_profile_type = 'Regular', ) - ) - else: - return AdminTenantManagementAPIUpdateRequestDTO( - ) - """ - - def testAdminTenantManagementAPIUpdateRequestDTO(self): - """Test AdminTenantManagementAPIUpdateRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_management_api_update_response_dto.py b/src/visier_platform_sdk/test/test_admin_tenant_management_api_update_response_dto.py deleted file mode 100644 index f0a2cb1de6..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_management_api_update_response_dto.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_management_api_update_response_dto import AdminTenantManagementAPIUpdateResponseDTO - -class TestAdminTenantManagementAPIUpdateResponseDTO(unittest.TestCase): - """AdminTenantManagementAPIUpdateResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantManagementAPIUpdateResponseDTO: - """Test AdminTenantManagementAPIUpdateResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantManagementAPIUpdateResponseDTO` - """ - model = AdminTenantManagementAPIUpdateResponseDTO() - if include_optional: - return AdminTenantManagementAPIUpdateResponseDTO( - tenant_code = '', - tenant_display_name = '', - industry_code = 56, - primary_business_location = visier_platform_sdk.models.admin/business_location_dto.admin.BusinessLocationDTO( - country_code = '', - postal_code = '', ), - purchased_modules = [ - '' - ], - embeddable_domains = [ - '' - ], - custom_properties = [ - visier_platform_sdk.models.admin/custom_property_dto.admin.CustomPropertyDTO( - key = '', - value = '', ) - ], - sso_instance_issuers = [ - '' - ], - home_analysis_id = '', - home_analysis_by_user_group = [ - visier_platform_sdk.models.admin/home_analysis_by_user_group_dto.admin.HomeAnalysisByUserGroupDTO( - user_group_id = '', - home_analysis_id = '', ) - ], - status = '', - click_through_link = '', - vanity_url_name = '', - default_currency = '', - allowed_o_auth_idp_url_domains = [ - '' - ] - ) - else: - return AdminTenantManagementAPIUpdateResponseDTO( - ) - """ - - def testAdminTenantManagementAPIUpdateResponseDTO(self): - """Test AdminTenantManagementAPIUpdateResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_provision_apidto.py b/src/visier_platform_sdk/test/test_admin_tenant_provision_apidto.py deleted file mode 100644 index 18e6a210c4..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_provision_apidto.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_provision_apidto import AdminTenantProvisionAPIDTO - -class TestAdminTenantProvisionAPIDTO(unittest.TestCase): - """AdminTenantProvisionAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantProvisionAPIDTO: - """Test AdminTenantProvisionAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantProvisionAPIDTO` - """ - model = AdminTenantProvisionAPIDTO() - if include_optional: - return AdminTenantProvisionAPIDTO( - tenant_code = '', - tenant_display_name = '', - purchased_modules = [ - '' - ], - industry_code = 56, - embeddable_domains = [ - '' - ], - custom_properties = [ - visier_platform_sdk.models.admin/custom_tenant_property_dto.admin.CustomTenantPropertyDTO( - key = '', - value = '', ) - ], - sso_instance_issuers = [ - '' - ], - allowed_o_auth_idp_url_domains = [ - '' - ] - ) - else: - return AdminTenantProvisionAPIDTO( - ) - """ - - def testAdminTenantProvisionAPIDTO(self): - """Test AdminTenantProvisionAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_tenant_status_apidto.py b/src/visier_platform_sdk/test/test_admin_tenant_status_apidto.py deleted file mode 100644 index 94397af650..0000000000 --- a/src/visier_platform_sdk/test/test_admin_tenant_status_apidto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_tenant_status_apidto import AdminTenantStatusAPIDTO - -class TestAdminTenantStatusAPIDTO(unittest.TestCase): - """AdminTenantStatusAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminTenantStatusAPIDTO: - """Test AdminTenantStatusAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminTenantStatusAPIDTO` - """ - model = AdminTenantStatusAPIDTO() - if include_optional: - return AdminTenantStatusAPIDTO( - tenant_code = '', - status = '', - tenant_display_name = '', - can_administer_other_tenants = True - ) - else: - return AdminTenantStatusAPIDTO( - ) - """ - - def testAdminTenantStatusAPIDTO(self): - """Test AdminTenantStatusAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_update_tenant_model.py b/src/visier_platform_sdk/test/test_admin_update_tenant_model.py deleted file mode 100644 index 5173476a18..0000000000 --- a/src/visier_platform_sdk/test/test_admin_update_tenant_model.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_update_tenant_model import AdminUpdateTenantModel - -class TestAdminUpdateTenantModel(unittest.TestCase): - """AdminUpdateTenantModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUpdateTenantModel: - """Test AdminUpdateTenantModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUpdateTenantModel` - """ - model = AdminUpdateTenantModel() - if include_optional: - return AdminUpdateTenantModel( - tenant_display_name = '', - industry_code = 56, - purchased_modules = [ - '' - ], - embeddable_domains = [ - '' - ], - custom_properties = { - 'key' : '' - }, - sso_instance_issuers = [ - '' - ] - ) - else: - return AdminUpdateTenantModel( - ) - """ - - def testAdminUpdateTenantModel(self): - """Test AdminUpdateTenantModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_change_definition_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_change_definition_dto.py deleted file mode 100644 index cca4a6858f..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_change_definition_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_change_definition_dto import AdminUserGroupChangeDefinitionDTO - -class TestAdminUserGroupChangeDefinitionDTO(unittest.TestCase): - """AdminUserGroupChangeDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupChangeDefinitionDTO: - """Test AdminUserGroupChangeDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupChangeDefinitionDTO` - """ - model = AdminUserGroupChangeDefinitionDTO() - if include_optional: - return AdminUserGroupChangeDefinitionDTO( - user_group_id = '', - display_name = '', - description = '', - permission_ids = visier_platform_sdk.models.admin/element_ids_dto.admin.ElementIDsDTO( - ids = [ - '' - ], ), - users = visier_platform_sdk.models.admin/user_group_change_users_dto.admin.UserGroupChangeUsersDTO( - include_all_users = True, - manually_included_ids = None, - manually_excluded_ids = None, - dynamic_filter_definition = None, ), - tenant_code = '', - project_id = '' - ) - else: - return AdminUserGroupChangeDefinitionDTO( - ) - """ - - def testAdminUserGroupChangeDefinitionDTO(self): - """Test AdminUserGroupChangeDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_change_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_change_dimension_filter_dto.py deleted file mode 100644 index fb9f170d9d..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_change_dimension_filter_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_change_dimension_filter_dto import AdminUserGroupChangeDimensionFilterDTO - -class TestAdminUserGroupChangeDimensionFilterDTO(unittest.TestCase): - """AdminUserGroupChangeDimensionFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupChangeDimensionFilterDTO: - """Test AdminUserGroupChangeDimensionFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupChangeDimensionFilterDTO` - """ - model = AdminUserGroupChangeDimensionFilterDTO() - if include_optional: - return AdminUserGroupChangeDimensionFilterDTO( - dimension_id = '', - subject_reference_path = visier_platform_sdk.models.admin/element_ids_dto.admin.ElementIDsDTO( - ids = [ - '' - ], ), - member_selections = [ - visier_platform_sdk.models.admin/user_group_change_member_selection_dto.admin.UserGroupChangeMemberSelectionDTO( - is_excluded = True, - name_path = [ - '' - ], ) - ] - ) - else: - return AdminUserGroupChangeDimensionFilterDTO( - ) - """ - - def testAdminUserGroupChangeDimensionFilterDTO(self): - """Test AdminUserGroupChangeDimensionFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_change_failure_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_change_failure_dto.py deleted file mode 100644 index 8da4e626c3..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_change_failure_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_change_failure_dto import AdminUserGroupChangeFailureDTO - -class TestAdminUserGroupChangeFailureDTO(unittest.TestCase): - """AdminUserGroupChangeFailureDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupChangeFailureDTO: - """Test AdminUserGroupChangeFailureDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupChangeFailureDTO` - """ - model = AdminUserGroupChangeFailureDTO() - if include_optional: - return AdminUserGroupChangeFailureDTO( - display_name = '', - message = '', - rci = '', - tenant_code = '', - project_id = '' - ) - else: - return AdminUserGroupChangeFailureDTO( - ) - """ - - def testAdminUserGroupChangeFailureDTO(self): - """Test AdminUserGroupChangeFailureDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_change_filter_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_change_filter_dto.py deleted file mode 100644 index ce20d1ddc0..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_change_filter_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_change_filter_dto import AdminUserGroupChangeFilterDTO - -class TestAdminUserGroupChangeFilterDTO(unittest.TestCase): - """AdminUserGroupChangeFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupChangeFilterDTO: - """Test AdminUserGroupChangeFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupChangeFilterDTO` - """ - model = AdminUserGroupChangeFilterDTO() - if include_optional: - return AdminUserGroupChangeFilterDTO( - filter_id = '', - analytic_object_id = '', - dimension_filters = [ - visier_platform_sdk.models.admin/user_group_change_dimension_filter_dto.admin.UserGroupChangeDimensionFilterDTO( - dimension_id = '', - subject_reference_path = None, - member_selections = [ - visier_platform_sdk.models.admin/user_group_change_member_selection_dto.admin.UserGroupChangeMemberSelectionDTO( - is_excluded = True, - name_path = [ - '' - ], ) - ], ) - ] - ) - else: - return AdminUserGroupChangeFilterDTO( - ) - """ - - def testAdminUserGroupChangeFilterDTO(self): - """Test AdminUserGroupChangeFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_change_member_selection_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_change_member_selection_dto.py deleted file mode 100644 index fe5af54f0c..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_change_member_selection_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_change_member_selection_dto import AdminUserGroupChangeMemberSelectionDTO - -class TestAdminUserGroupChangeMemberSelectionDTO(unittest.TestCase): - """AdminUserGroupChangeMemberSelectionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupChangeMemberSelectionDTO: - """Test AdminUserGroupChangeMemberSelectionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupChangeMemberSelectionDTO` - """ - model = AdminUserGroupChangeMemberSelectionDTO() - if include_optional: - return AdminUserGroupChangeMemberSelectionDTO( - is_excluded = True, - name_path = [ - '' - ] - ) - else: - return AdminUserGroupChangeMemberSelectionDTO( - ) - """ - - def testAdminUserGroupChangeMemberSelectionDTO(self): - """Test AdminUserGroupChangeMemberSelectionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_change_response_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_change_response_dto.py deleted file mode 100644 index 9f26946fad..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_change_response_dto.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_change_response_dto import AdminUserGroupChangeResponseDTO - -class TestAdminUserGroupChangeResponseDTO(unittest.TestCase): - """AdminUserGroupChangeResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupChangeResponseDTO: - """Test AdminUserGroupChangeResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupChangeResponseDTO` - """ - model = AdminUserGroupChangeResponseDTO() - if include_optional: - return AdminUserGroupChangeResponseDTO( - successes = [ - visier_platform_sdk.models.admin/user_group_change_success_dto.admin.UserGroupChangeSuccessDTO( - display_name = '', - user_group_id = '', - tenant_code = '', - project_id = '', ) - ], - failures = [ - visier_platform_sdk.models.admin/user_group_change_failure_dto.admin.UserGroupChangeFailureDTO( - display_name = '', - message = '', - rci = '', - tenant_code = '', - project_id = '', ) - ] - ) - else: - return AdminUserGroupChangeResponseDTO( - ) - """ - - def testAdminUserGroupChangeResponseDTO(self): - """Test AdminUserGroupChangeResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_change_success_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_change_success_dto.py deleted file mode 100644 index 43cd1d813d..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_change_success_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_change_success_dto import AdminUserGroupChangeSuccessDTO - -class TestAdminUserGroupChangeSuccessDTO(unittest.TestCase): - """AdminUserGroupChangeSuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupChangeSuccessDTO: - """Test AdminUserGroupChangeSuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupChangeSuccessDTO` - """ - model = AdminUserGroupChangeSuccessDTO() - if include_optional: - return AdminUserGroupChangeSuccessDTO( - display_name = '', - user_group_id = '', - tenant_code = '', - project_id = '' - ) - else: - return AdminUserGroupChangeSuccessDTO( - ) - """ - - def testAdminUserGroupChangeSuccessDTO(self): - """Test AdminUserGroupChangeSuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_change_users_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_change_users_dto.py deleted file mode 100644 index 434ba1825e..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_change_users_dto.py +++ /dev/null @@ -1,78 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_change_users_dto import AdminUserGroupChangeUsersDTO - -class TestAdminUserGroupChangeUsersDTO(unittest.TestCase): - """AdminUserGroupChangeUsersDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupChangeUsersDTO: - """Test AdminUserGroupChangeUsersDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupChangeUsersDTO` - """ - model = AdminUserGroupChangeUsersDTO() - if include_optional: - return AdminUserGroupChangeUsersDTO( - include_all_users = True, - manually_included_ids = visier_platform_sdk.models.admin/element_ids_dto.admin.ElementIDsDTO( - ids = [ - '' - ], ), - manually_excluded_ids = visier_platform_sdk.models.admin/element_ids_dto.admin.ElementIDsDTO( - ids = [ - '' - ], ), - dynamic_filter_definition = visier_platform_sdk.models.admin/user_group_filters_dto.admin.UserGroupFiltersDTO( - filters = [ - visier_platform_sdk.models.admin/user_group_change_filter_dto.admin.UserGroupChangeFilterDTO( - filter_id = '', - analytic_object_id = '', - dimension_filters = [ - visier_platform_sdk.models.admin/user_group_change_dimension_filter_dto.admin.UserGroupChangeDimensionFilterDTO( - dimension_id = '', - subject_reference_path = None, - member_selections = [ - visier_platform_sdk.models.admin/user_group_change_member_selection_dto.admin.UserGroupChangeMemberSelectionDTO( - is_excluded = True, - name_path = [ - '' - ], ) - ], ) - ], ) - ], ) - ) - else: - return AdminUserGroupChangeUsersDTO( - ) - """ - - def testAdminUserGroupChangeUsersDTO(self): - """Test AdminUserGroupChangeUsersDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_delete_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_delete_dto.py deleted file mode 100644 index abf51d3d17..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_delete_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_delete_dto import AdminUserGroupDeleteDTO - -class TestAdminUserGroupDeleteDTO(unittest.TestCase): - """AdminUserGroupDeleteDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupDeleteDTO: - """Test AdminUserGroupDeleteDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupDeleteDTO` - """ - model = AdminUserGroupDeleteDTO() - if include_optional: - return AdminUserGroupDeleteDTO( - tenant_code = '', - user_group_id = '', - project_id = '' - ) - else: - return AdminUserGroupDeleteDTO( - ) - """ - - def testAdminUserGroupDeleteDTO(self): - """Test AdminUserGroupDeleteDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_delete_failure_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_delete_failure_dto.py deleted file mode 100644 index c1fa97931a..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_delete_failure_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_delete_failure_dto import AdminUserGroupDeleteFailureDTO - -class TestAdminUserGroupDeleteFailureDTO(unittest.TestCase): - """AdminUserGroupDeleteFailureDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupDeleteFailureDTO: - """Test AdminUserGroupDeleteFailureDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupDeleteFailureDTO` - """ - model = AdminUserGroupDeleteFailureDTO() - if include_optional: - return AdminUserGroupDeleteFailureDTO( - tenant_code = '', - user_group_id = '', - message = '', - rci = '', - project_id = '' - ) - else: - return AdminUserGroupDeleteFailureDTO( - ) - """ - - def testAdminUserGroupDeleteFailureDTO(self): - """Test AdminUserGroupDeleteFailureDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_delete_response_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_delete_response_dto.py deleted file mode 100644 index 90ae6f9e5e..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_delete_response_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_delete_response_dto import AdminUserGroupDeleteResponseDTO - -class TestAdminUserGroupDeleteResponseDTO(unittest.TestCase): - """AdminUserGroupDeleteResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupDeleteResponseDTO: - """Test AdminUserGroupDeleteResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupDeleteResponseDTO` - """ - model = AdminUserGroupDeleteResponseDTO() - if include_optional: - return AdminUserGroupDeleteResponseDTO( - successes = [ - visier_platform_sdk.models.admin/user_group_delete_success_dto.admin.UserGroupDeleteSuccessDTO( - tenant_code = '', - user_group_id = '', - project_id = '', ) - ], - failures = [ - visier_platform_sdk.models.admin/user_group_delete_failure_dto.admin.UserGroupDeleteFailureDTO( - tenant_code = '', - user_group_id = '', - message = '', - rci = '', - project_id = '', ) - ] - ) - else: - return AdminUserGroupDeleteResponseDTO( - ) - """ - - def testAdminUserGroupDeleteResponseDTO(self): - """Test AdminUserGroupDeleteResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_delete_success_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_delete_success_dto.py deleted file mode 100644 index 050648719b..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_delete_success_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_delete_success_dto import AdminUserGroupDeleteSuccessDTO - -class TestAdminUserGroupDeleteSuccessDTO(unittest.TestCase): - """AdminUserGroupDeleteSuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupDeleteSuccessDTO: - """Test AdminUserGroupDeleteSuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupDeleteSuccessDTO` - """ - model = AdminUserGroupDeleteSuccessDTO() - if include_optional: - return AdminUserGroupDeleteSuccessDTO( - tenant_code = '', - user_group_id = '', - project_id = '' - ) - else: - return AdminUserGroupDeleteSuccessDTO( - ) - """ - - def testAdminUserGroupDeleteSuccessDTO(self): - """Test AdminUserGroupDeleteSuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_filters_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_filters_dto.py deleted file mode 100644 index bc2cb706f0..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_filters_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_filters_dto import AdminUserGroupFiltersDTO - -class TestAdminUserGroupFiltersDTO(unittest.TestCase): - """AdminUserGroupFiltersDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupFiltersDTO: - """Test AdminUserGroupFiltersDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupFiltersDTO` - """ - model = AdminUserGroupFiltersDTO() - if include_optional: - return AdminUserGroupFiltersDTO( - filters = [ - visier_platform_sdk.models.admin/user_group_change_filter_dto.admin.UserGroupChangeFilterDTO( - filter_id = '', - analytic_object_id = '', - dimension_filters = [ - visier_platform_sdk.models.admin/user_group_change_dimension_filter_dto.admin.UserGroupChangeDimensionFilterDTO( - dimension_id = '', - subject_reference_path = None, - member_selections = [ - visier_platform_sdk.models.admin/user_group_change_member_selection_dto.admin.UserGroupChangeMemberSelectionDTO( - is_excluded = True, - name_path = [ - '' - ], ) - ], ) - ], ) - ] - ) - else: - return AdminUserGroupFiltersDTO( - ) - """ - - def testAdminUserGroupFiltersDTO(self): - """Test AdminUserGroupFiltersDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_get_api_response_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_get_api_response_dto.py deleted file mode 100644 index 494f7d5817..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_get_api_response_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_get_api_response_dto import AdminUserGroupGetAPIResponseDTO - -class TestAdminUserGroupGetAPIResponseDTO(unittest.TestCase): - """AdminUserGroupGetAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupGetAPIResponseDTO: - """Test AdminUserGroupGetAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupGetAPIResponseDTO` - """ - model = AdminUserGroupGetAPIResponseDTO() - if include_optional: - return AdminUserGroupGetAPIResponseDTO( - user_group_id = '', - display_name = '', - permissions = [ - visier_platform_sdk.models.admin/permission_response_dto.admin.PermissionResponseDTO( - permission_id = '', - display_name = '', ) - ] - ) - else: - return AdminUserGroupGetAPIResponseDTO( - ) - """ - - def testAdminUserGroupGetAPIResponseDTO(self): - """Test AdminUserGroupGetAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_group_single_delete_response_dto.py b/src/visier_platform_sdk/test/test_admin_user_group_single_delete_response_dto.py deleted file mode 100644 index b2db2166e2..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_group_single_delete_response_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_group_single_delete_response_dto import AdminUserGroupSingleDeleteResponseDTO - -class TestAdminUserGroupSingleDeleteResponseDTO(unittest.TestCase): - """AdminUserGroupSingleDeleteResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupSingleDeleteResponseDTO: - """Test AdminUserGroupSingleDeleteResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupSingleDeleteResponseDTO` - """ - model = AdminUserGroupSingleDeleteResponseDTO() - if include_optional: - return AdminUserGroupSingleDeleteResponseDTO( - success = visier_platform_sdk.models.admin/user_group_delete_success_dto.admin.UserGroupDeleteSuccessDTO( - tenant_code = '', - user_group_id = '', - project_id = '', ), - failure = visier_platform_sdk.models.admin/user_group_delete_failure_dto.admin.UserGroupDeleteFailureDTO( - tenant_code = '', - user_group_id = '', - message = '', - rci = '', - project_id = '', ) - ) - else: - return AdminUserGroupSingleDeleteResponseDTO( - ) - """ - - def testAdminUserGroupSingleDeleteResponseDTO(self): - """Test AdminUserGroupSingleDeleteResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_groups_change_dto.py b/src/visier_platform_sdk/test/test_admin_user_groups_change_dto.py deleted file mode 100644 index ae7095a2e0..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_groups_change_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_groups_change_dto import AdminUserGroupsChangeDTO - -class TestAdminUserGroupsChangeDTO(unittest.TestCase): - """AdminUserGroupsChangeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupsChangeDTO: - """Test AdminUserGroupsChangeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupsChangeDTO` - """ - model = AdminUserGroupsChangeDTO() - if include_optional: - return AdminUserGroupsChangeDTO( - user_groups = [ - visier_platform_sdk.models.admin/user_group_change_definition_dto.admin.UserGroupChangeDefinitionDTO( - user_group_id = '', - display_name = '', - description = '', - permission_ids = None, - users = None, - tenant_code = '', - project_id = '', ) - ] - ) - else: - return AdminUserGroupsChangeDTO( - ) - """ - - def testAdminUserGroupsChangeDTO(self): - """Test AdminUserGroupsChangeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_groups_delete_request_dto.py b/src/visier_platform_sdk/test/test_admin_user_groups_delete_request_dto.py deleted file mode 100644 index 92bed010d9..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_groups_delete_request_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_groups_delete_request_dto import AdminUserGroupsDeleteRequestDTO - -class TestAdminUserGroupsDeleteRequestDTO(unittest.TestCase): - """AdminUserGroupsDeleteRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupsDeleteRequestDTO: - """Test AdminUserGroupsDeleteRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupsDeleteRequestDTO` - """ - model = AdminUserGroupsDeleteRequestDTO() - if include_optional: - return AdminUserGroupsDeleteRequestDTO( - user_groups = [ - visier_platform_sdk.models.admin/user_group_delete_dto.admin.UserGroupDeleteDTO( - tenant_code = '', - user_group_id = '', - project_id = '', ) - ] - ) - else: - return AdminUserGroupsDeleteRequestDTO( - ) - """ - - def testAdminUserGroupsDeleteRequestDTO(self): - """Test AdminUserGroupsDeleteRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_groups_get_api_response_dto.py b/src/visier_platform_sdk/test/test_admin_user_groups_get_api_response_dto.py deleted file mode 100644 index 17a71d34ab..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_groups_get_api_response_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_groups_get_api_response_dto import AdminUserGroupsGetAPIResponseDTO - -class TestAdminUserGroupsGetAPIResponseDTO(unittest.TestCase): - """AdminUserGroupsGetAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupsGetAPIResponseDTO: - """Test AdminUserGroupsGetAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupsGetAPIResponseDTO` - """ - model = AdminUserGroupsGetAPIResponseDTO() - if include_optional: - return AdminUserGroupsGetAPIResponseDTO( - user_groups = [ - visier_platform_sdk.models.admin/user_group_get_api_response_dto.admin.UserGroupGetAPIResponseDTO( - user_group_id = '', - display_name = '', - permissions = [ - visier_platform_sdk.models.admin/permission_response_dto.admin.PermissionResponseDTO( - permission_id = '', - display_name = '', ) - ], ) - ], - limit = 56, - start = 56 - ) - else: - return AdminUserGroupsGetAPIResponseDTO( - ) - """ - - def testAdminUserGroupsGetAPIResponseDTO(self): - """Test AdminUserGroupsGetAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_groups_users_dto.py b/src/visier_platform_sdk/test/test_admin_user_groups_users_dto.py deleted file mode 100644 index a450388cb0..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_groups_users_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_groups_users_dto import AdminUserGroupsUsersDTO - -class TestAdminUserGroupsUsersDTO(unittest.TestCase): - """AdminUserGroupsUsersDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupsUsersDTO: - """Test AdminUserGroupsUsersDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupsUsersDTO` - """ - model = AdminUserGroupsUsersDTO() - if include_optional: - return AdminUserGroupsUsersDTO( - tenants = [ - visier_platform_sdk.models.admin/user_groups_users_for_tenant_dto.admin.UserGroupsUsersForTenantDTO( - tenant_code = '', - users = [ - visier_platform_sdk.models.admin/simple_user_dto.admin.SimpleUserDTO( - user_id = '', - username = '', ) - ], ) - ], - limit = 56, - start = 56 - ) - else: - return AdminUserGroupsUsersDTO( - ) - """ - - def testAdminUserGroupsUsersDTO(self): - """Test AdminUserGroupsUsersDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_groups_users_for_tenant_dto.py b/src/visier_platform_sdk/test/test_admin_user_groups_users_for_tenant_dto.py deleted file mode 100644 index d74512a4dd..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_groups_users_for_tenant_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_groups_users_for_tenant_dto import AdminUserGroupsUsersForTenantDTO - -class TestAdminUserGroupsUsersForTenantDTO(unittest.TestCase): - """AdminUserGroupsUsersForTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserGroupsUsersForTenantDTO: - """Test AdminUserGroupsUsersForTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserGroupsUsersForTenantDTO` - """ - model = AdminUserGroupsUsersForTenantDTO() - if include_optional: - return AdminUserGroupsUsersForTenantDTO( - tenant_code = '', - users = [ - visier_platform_sdk.models.admin/simple_user_dto.admin.SimpleUserDTO( - user_id = '', - username = '', ) - ] - ) - else: - return AdminUserGroupsUsersForTenantDTO( - ) - """ - - def testAdminUserGroupsUsersForTenantDTO(self): - """Test AdminUserGroupsUsersForTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_user_security_assignments_dto.py b/src/visier_platform_sdk/test/test_admin_user_security_assignments_dto.py deleted file mode 100644 index 51c7d29c8f..0000000000 --- a/src/visier_platform_sdk/test/test_admin_user_security_assignments_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_user_security_assignments_dto import AdminUserSecurityAssignmentsDTO - -class TestAdminUserSecurityAssignmentsDTO(unittest.TestCase): - """AdminUserSecurityAssignmentsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUserSecurityAssignmentsDTO: - """Test AdminUserSecurityAssignmentsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUserSecurityAssignmentsDTO` - """ - model = AdminUserSecurityAssignmentsDTO() - if include_optional: - return AdminUserSecurityAssignmentsDTO( - id = '', - name = '', - users = [ - visier_platform_sdk.models.admin/simple_user_dto.admin.SimpleUserDTO( - user_id = '', - username = '', ) - ] - ) - else: - return AdminUserSecurityAssignmentsDTO( - ) - """ - - def testAdminUserSecurityAssignmentsDTO(self): - """Test AdminUserSecurityAssignmentsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_users_to_user_group_request_dto.py b/src/visier_platform_sdk/test/test_admin_users_to_user_group_request_dto.py deleted file mode 100644 index 8e880c9935..0000000000 --- a/src/visier_platform_sdk/test/test_admin_users_to_user_group_request_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_users_to_user_group_request_dto import AdminUsersToUserGroupRequestDTO - -class TestAdminUsersToUserGroupRequestDTO(unittest.TestCase): - """AdminUsersToUserGroupRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUsersToUserGroupRequestDTO: - """Test AdminUsersToUserGroupRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUsersToUserGroupRequestDTO` - """ - model = AdminUsersToUserGroupRequestDTO() - if include_optional: - return AdminUsersToUserGroupRequestDTO( - user_group_id = '', - user_ids = [ - '' - ] - ) - else: - return AdminUsersToUserGroupRequestDTO( - ) - """ - - def testAdminUsersToUserGroupRequestDTO(self): - """Test AdminUsersToUserGroupRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_admin_users_to_user_groups_request_dto.py b/src/visier_platform_sdk/test/test_admin_users_to_user_groups_request_dto.py deleted file mode 100644 index b6f19e3203..0000000000 --- a/src/visier_platform_sdk/test/test_admin_users_to_user_groups_request_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.admin_users_to_user_groups_request_dto import AdminUsersToUserGroupsRequestDTO - -class TestAdminUsersToUserGroupsRequestDTO(unittest.TestCase): - """AdminUsersToUserGroupsRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AdminUsersToUserGroupsRequestDTO: - """Test AdminUsersToUserGroupsRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AdminUsersToUserGroupsRequestDTO` - """ - model = AdminUsersToUserGroupsRequestDTO() - if include_optional: - return AdminUsersToUserGroupsRequestDTO( - user_groups = [ - visier_platform_sdk.models.admin/users_to_user_group_request_dto.admin.UsersToUserGroupRequestDTO( - user_group_id = '', - user_ids = [ - '' - ], ) - ], - target_project_for_tenants_list = visier_platform_sdk.models.admin/target_project_for_tenants_list_dto.admin.TargetProjectForTenantsListDTO( - target_project_for_tenants = [ - visier_platform_sdk.models.admin/target_project_for_tenant_dto.admin.TargetProjectForTenantDTO( - tenant_code = '', - project_id = '', ) - ], ) - ) - else: - return AdminUsersToUserGroupsRequestDTO( - ) - """ - - def testAdminUsersToUserGroupsRequestDTO(self): - """Test AdminUsersToUserGroupsRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_adp_auth_params_dto.py b/src/visier_platform_sdk/test/test_adp_auth_params_dto.py new file mode 100644 index 0000000000..64e3731748 --- /dev/null +++ b/src/visier_platform_sdk/test/test_adp_auth_params_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.adp_auth_params_dto import AdpAuthParamsDTO + +class TestAdpAuthParamsDTO(unittest.TestCase): + """AdpAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AdpAuthParamsDTO: + """Test AdpAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AdpAuthParamsDTO( + auth_code = '' + ) + else: + return AdpAuthParamsDTO( + ) + + def testAdpAuthParamsDTO(self): + """Test AdpAuthParamsDTO""" + def validate_instance(instance): + AdpAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = AdpAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_aggregation_query_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_dto.py new file mode 100644 index 0000000000..6157386126 --- /dev/null +++ b/src/visier_platform_sdk/test/test_aggregation_query_dto.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.aggregation_query_dto import AggregationQueryDTO + +class TestAggregationQueryDTO(unittest.TestCase): + """AggregationQueryDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AggregationQueryDTO: + """Test AggregationQueryDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AggregationQueryDTO( + source = visier_platform_sdk.models.aggregation_query_source_dto.AggregationQuerySourceDTO( + formula = '', + metric = '', + metrics = None, ), + filters = [ + visier_platform_sdk.models.query_filter_dto.QueryFilterDTO( + formula = '', + selection_concept = None, + member_set = None, + cohort = None, ) + ], + axes = [ + visier_platform_sdk.models.query_axis_dto.QueryAxisDTO( + formula = '', + selection_concept = None, + dimension_member_selection = None, + member_map_selection = None, + numeric_ranges = None, + dimension_level_selection = None, + dimension_leaf_member_selection = None, + dimension_data_member_selection = None, + dimension_level_with_uncategorized_value_selection = None, + table_axis_options = None, ) + ], + time_intervals = visier_platform_sdk.models.query_time_intervals_dto.QueryTimeIntervalsDTO( + from_instant = '', + from_date_time = '', + dynamic_date_from = 'SOURCE', + interval_period_type = 'MONTH', + interval_period_count = 56, + interval_count = 56, + direction = 'BACKWARD', + shift = None, + trailing_period_type = 'MONTH', + trailing_period_count = 56, ), + parameter_values = [ + visier_platform_sdk.models.query_parameter_value_dto.QueryParameterValueDTO( + member_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) + ] + ) + else: + return AggregationQueryDTO( + ) + + def testAggregationQueryDTO(self): + """Test AggregationQueryDTO""" + def validate_instance(instance): + AggregationQueryDTO.model_validate(inst_req_only) + instance_deserialized = AggregationQueryDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_aggregation_query_execution_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_execution_dto.py new file mode 100644 index 0000000000..1af5ab1117 --- /dev/null +++ b/src/visier_platform_sdk/test/test_aggregation_query_execution_dto.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.aggregation_query_execution_dto import AggregationQueryExecutionDTO + +class TestAggregationQueryExecutionDTO(unittest.TestCase): + """AggregationQueryExecutionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AggregationQueryExecutionDTO: + """Test AggregationQueryExecutionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AggregationQueryExecutionDTO( + query = visier_platform_sdk.models.aggregation_query_dto.AggregationQueryDTO( + source = None, + filters = [ + visier_platform_sdk.models.query_filter_dto.QueryFilterDTO( + formula = '', + selection_concept = None, + member_set = None, + cohort = None, ) + ], + axes = [ + visier_platform_sdk.models.query_axis_dto.QueryAxisDTO( + formula = '', + selection_concept = None, + dimension_member_selection = None, + member_map_selection = None, + numeric_ranges = None, + dimension_level_selection = None, + dimension_leaf_member_selection = None, + dimension_data_member_selection = None, + dimension_level_with_uncategorized_value_selection = None, + table_axis_options = None, ) + ], + time_intervals = None, + parameter_values = [ + visier_platform_sdk.models.query_parameter_value_dto.QueryParameterValueDTO( + member_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) + ], ), + options = visier_platform_sdk.models.query_execution_options_dto.QueryExecutionOptionsDTO( + calendar_type = 'TENANT_CALENDAR', + currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', + currency_conversion_date = '', + lineage_depth = 56, + zero_visibility = 'SHOW', + null_visibility = 'SHOW', + cell_distribution_options = visier_platform_sdk.models.cell_distribution_options_dto.CellDistributionOptionsDTO( + bin_count = 56, ), + axis_visibility = 'SIMPLE', + enable_sparse_results = True, + internal = visier_platform_sdk.models.internal_query_execution_options_dto.InternalQueryExecutionOptionsDTO( + sparse_handling_mode = 'ALLOW', + align_time_axis_to_period_end = True, ), + enable_descending_space = True, + currency_conversion_code = '', + member_display_mode = 'DEFAULT', + axes_overall_value_mode = 'NONE', ) + ) + else: + return AggregationQueryExecutionDTO( + ) + + def testAggregationQueryExecutionDTO(self): + """Test AggregationQueryExecutionDTO""" + def validate_instance(instance): + AggregationQueryExecutionDTO.model_validate(inst_req_only) + instance_deserialized = AggregationQueryExecutionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_aggregation_query_source_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_source_dto.py new file mode 100644 index 0000000000..b1afa9fc96 --- /dev/null +++ b/src/visier_platform_sdk/test/test_aggregation_query_source_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.aggregation_query_source_dto import AggregationQuerySourceDTO + +class TestAggregationQuerySourceDTO(unittest.TestCase): + """AggregationQuerySourceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AggregationQuerySourceDTO: + """Test AggregationQuerySourceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AggregationQuerySourceDTO( + formula = '', + metric = '', + metrics = visier_platform_sdk.models.aggregation_query_source_metrics_dto.AggregationQuerySourceMetricsDTO( + columns = [ + visier_platform_sdk.models.aggregation_query_source_metric_dto.AggregationQuerySourceMetricDTO( + column_name = '', + id = '', + formula = '', + qualifying_path = '', ) + ], ) + ) + else: + return AggregationQuerySourceDTO( + ) + + def testAggregationQuerySourceDTO(self): + """Test AggregationQuerySourceDTO""" + def validate_instance(instance): + AggregationQuerySourceDTO.model_validate(inst_req_only) + instance_deserialized = AggregationQuerySourceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_aggregation_query_source_metric_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_source_metric_dto.py new file mode 100644 index 0000000000..03865a4d65 --- /dev/null +++ b/src/visier_platform_sdk/test/test_aggregation_query_source_metric_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.aggregation_query_source_metric_dto import AggregationQuerySourceMetricDTO + +class TestAggregationQuerySourceMetricDTO(unittest.TestCase): + """AggregationQuerySourceMetricDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AggregationQuerySourceMetricDTO: + """Test AggregationQuerySourceMetricDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AggregationQuerySourceMetricDTO( + column_name = '', + id = '', + formula = '', + qualifying_path = '' + ) + else: + return AggregationQuerySourceMetricDTO( + ) + + def testAggregationQuerySourceMetricDTO(self): + """Test AggregationQuerySourceMetricDTO""" + def validate_instance(instance): + AggregationQuerySourceMetricDTO.model_validate(inst_req_only) + instance_deserialized = AggregationQuerySourceMetricDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_aggregation_query_source_metrics_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_source_metrics_dto.py new file mode 100644 index 0000000000..6627113d08 --- /dev/null +++ b/src/visier_platform_sdk/test/test_aggregation_query_source_metrics_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.aggregation_query_source_metrics_dto import AggregationQuerySourceMetricsDTO + +class TestAggregationQuerySourceMetricsDTO(unittest.TestCase): + """AggregationQuerySourceMetricsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AggregationQuerySourceMetricsDTO: + """Test AggregationQuerySourceMetricsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AggregationQuerySourceMetricsDTO( + columns = [ + visier_platform_sdk.models.aggregation_query_source_metric_dto.AggregationQuerySourceMetricDTO( + column_name = '', + id = '', + formula = '', + qualifying_path = '', ) + ] + ) + else: + return AggregationQuerySourceMetricsDTO( + ) + + def testAggregationQuerySourceMetricsDTO(self): + """Test AggregationQuerySourceMetricsDTO""" + def validate_instance(instance): + AggregationQuerySourceMetricsDTO.model_validate(inst_req_only) + instance_deserialized = AggregationQuerySourceMetricsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_aggregation_type_option_dto.py b/src/visier_platform_sdk/test/test_aggregation_type_option_dto.py new file mode 100644 index 0000000000..c952576d40 --- /dev/null +++ b/src/visier_platform_sdk/test/test_aggregation_type_option_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.aggregation_type_option_dto import AggregationTypeOptionDTO + +class TestAggregationTypeOptionDTO(unittest.TestCase): + """AggregationTypeOptionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AggregationTypeOptionDTO: + """Test AggregationTypeOptionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AggregationTypeOptionDTO( + id = '', + display_name = '', + property_name = '', + aggregation_function = '', + is_default = True + ) + else: + return AggregationTypeOptionDTO( + ) + + def testAggregationTypeOptionDTO(self): + """Test AggregationTypeOptionDTO""" + def validate_instance(instance): + AggregationTypeOptionDTO.model_validate(inst_req_only) + instance_deserialized = AggregationTypeOptionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_aggregation_type_parameter_dto.py b/src/visier_platform_sdk/test/test_aggregation_type_parameter_dto.py new file mode 100644 index 0000000000..5e3fc77b3b --- /dev/null +++ b/src/visier_platform_sdk/test/test_aggregation_type_parameter_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.aggregation_type_parameter_dto import AggregationTypeParameterDTO + +class TestAggregationTypeParameterDTO(unittest.TestCase): + """AggregationTypeParameterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AggregationTypeParameterDTO: + """Test AggregationTypeParameterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AggregationTypeParameterDTO( + id = '', + display_name = '', + description = '', + parameter_options = [ + visier_platform_sdk.models.aggregation_type_option_dto.AggregationTypeOptionDTO( + id = '', + display_name = '', + property_name = '', + aggregation_function = '', + is_default = True, ) + ] + ) + else: + return AggregationTypeParameterDTO( + ) + + def testAggregationTypeParameterDTO(self): + """Test AggregationTypeParameterDTO""" + def validate_instance(instance): + AggregationTypeParameterDTO.model_validate(inst_req_only) + instance_deserialized = AggregationTypeParameterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_aggregation_type_parameter_value_dto.py b/src/visier_platform_sdk/test/test_aggregation_type_parameter_value_dto.py new file mode 100644 index 0000000000..119460604d --- /dev/null +++ b/src/visier_platform_sdk/test/test_aggregation_type_parameter_value_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.aggregation_type_parameter_value_dto import AggregationTypeParameterValueDTO + +class TestAggregationTypeParameterValueDTO(unittest.TestCase): + """AggregationTypeParameterValueDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AggregationTypeParameterValueDTO: + """Test AggregationTypeParameterValueDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AggregationTypeParameterValueDTO( + parameter_id = '', + aggregation_option_id = '' + ) + else: + return AggregationTypeParameterValueDTO( + ) + + def testAggregationTypeParameterValueDTO(self): + """Test AggregationTypeParameterValueDTO""" + def validate_instance(instance): + AggregationTypeParameterValueDTO.model_validate(inst_req_only) + instance_deserialized = AggregationTypeParameterValueDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_all_permissions_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_all_permissions_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..f9c18b976a --- /dev/null +++ b/src/visier_platform_sdk/test/test_all_permissions_assigned_for_local_tenant_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.all_permissions_assigned_for_local_tenant_dto import AllPermissionsAssignedForLocalTenantDTO + +class TestAllPermissionsAssignedForLocalTenantDTO(unittest.TestCase): + """AllPermissionsAssignedForLocalTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AllPermissionsAssignedForLocalTenantDTO: + """Test AllPermissionsAssignedForLocalTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AllPermissionsAssignedForLocalTenantDTO( + assigned_permissions = [ + visier_platform_sdk.models.permission_assigned_for_local_tenant_dto.PermissionAssignedForLocalTenantDTO( + permission_id = '', + display_name = '', + description = '', ) + ] + ) + else: + return AllPermissionsAssignedForLocalTenantDTO( + ) + + def testAllPermissionsAssignedForLocalTenantDTO(self): + """Test AllPermissionsAssignedForLocalTenantDTO""" + def validate_instance(instance): + AllPermissionsAssignedForLocalTenantDTO.model_validate(inst_req_only) + instance_deserialized = AllPermissionsAssignedForLocalTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_all_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/test/test_all_profile_assigned_for_accessible_tenant_dto.py new file mode 100644 index 0000000000..3e384a434d --- /dev/null +++ b/src/visier_platform_sdk/test/test_all_profile_assigned_for_accessible_tenant_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.all_profile_assigned_for_accessible_tenant_dto import AllProfileAssignedForAccessibleTenantDTO + +class TestAllProfileAssignedForAccessibleTenantDTO(unittest.TestCase): + """AllProfileAssignedForAccessibleTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AllProfileAssignedForAccessibleTenantDTO: + """Test AllProfileAssignedForAccessibleTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AllProfileAssignedForAccessibleTenantDTO( + assigned_profiles_for_accessible_tenant = [ + visier_platform_sdk.models.profile_assigned_for_accessible_tenant_dto.ProfileAssignedForAccessibleTenantDTO( + profile_id = '', + display_name = '', + tenant_code = '', + for_all_children = True, + validity_start_time = '', + validity_end_time = '', ) + ] + ) + else: + return AllProfileAssignedForAccessibleTenantDTO( + ) + + def testAllProfileAssignedForAccessibleTenantDTO(self): + """Test AllProfileAssignedForAccessibleTenantDTO""" + def validate_instance(instance): + AllProfileAssignedForAccessibleTenantDTO.model_validate(inst_req_only) + instance_deserialized = AllProfileAssignedForAccessibleTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_all_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_all_profile_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..c7d1e79286 --- /dev/null +++ b/src/visier_platform_sdk/test/test_all_profile_assigned_for_local_tenant_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.all_profile_assigned_for_local_tenant_dto import AllProfileAssignedForLocalTenantDTO + +class TestAllProfileAssignedForLocalTenantDTO(unittest.TestCase): + """AllProfileAssignedForLocalTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AllProfileAssignedForLocalTenantDTO: + """Test AllProfileAssignedForLocalTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AllProfileAssignedForLocalTenantDTO( + assigned_profiles = [ + visier_platform_sdk.models.profile_assigned_for_local_tenant_dto.ProfileAssignedForLocalTenantDTO( + profile_id = '', + display_name = '', + validity_start_time = '', + validity_end_time = '', + capabilities = [ + visier_platform_sdk.models.capabilities_dto.CapabilitiesDTO( + capability = '', + access_level = '', + view_level = '', ) + ], + additional_capabilities = None, ) + ] + ) + else: + return AllProfileAssignedForLocalTenantDTO( + ) + + def testAllProfileAssignedForLocalTenantDTO(self): + """Test AllProfileAssignedForLocalTenantDTO""" + def validate_instance(instance): + AllProfileAssignedForLocalTenantDTO.model_validate(inst_req_only) + instance_deserialized = AllProfileAssignedForLocalTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_all_tenants_status_apidto.py b/src/visier_platform_sdk/test/test_all_tenants_status_apidto.py new file mode 100644 index 0000000000..c5bd9093c0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_all_tenants_status_apidto.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.all_tenants_status_apidto import AllTenantsStatusAPIDTO + +class TestAllTenantsStatusAPIDTO(unittest.TestCase): + """AllTenantsStatusAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AllTenantsStatusAPIDTO: + """Test AllTenantsStatusAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AllTenantsStatusAPIDTO( + tenants = [ + visier_platform_sdk.models.tenant_detail_apidto.TenantDetailAPIDTO( + tenant_code = '', + tenant_display_name = '', + status = '', + provision_date = '', + current_data_version = '', + data_version_date = '', + modules = [ + visier_platform_sdk.models.tenant_module_dto.TenantModuleDTO( + display_name = '', + symbol_name = '', + module_settings = None, ) + ], + industry_code = 56, + can_administer_other_tenants = True, + embeddable_domains = [ + '' + ], + custom_properties = [ + visier_platform_sdk.models.custom_tenant_property_dto.CustomTenantPropertyDTO( + key = '', + value = '', ) + ], + sso_instance_issuers = [ + '' + ], + vanity_url_name = '', + allowed_o_auth_idp_url_domains = [ + '' + ], ) + ], + limit = 56, + start = 56 + ) + else: + return AllTenantsStatusAPIDTO( + ) + + def testAllTenantsStatusAPIDTO(self): + """Test AllTenantsStatusAPIDTO""" + def validate_instance(instance): + AllTenantsStatusAPIDTO.model_validate(inst_req_only) + instance_deserialized = AllTenantsStatusAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_all_user_groups_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_all_user_groups_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..fc5d9cc722 --- /dev/null +++ b/src/visier_platform_sdk/test/test_all_user_groups_assigned_for_local_tenant_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.all_user_groups_assigned_for_local_tenant_dto import AllUserGroupsAssignedForLocalTenantDTO + +class TestAllUserGroupsAssignedForLocalTenantDTO(unittest.TestCase): + """AllUserGroupsAssignedForLocalTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AllUserGroupsAssignedForLocalTenantDTO: + """Test AllUserGroupsAssignedForLocalTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AllUserGroupsAssignedForLocalTenantDTO( + assigned_user_groups = [ + visier_platform_sdk.models.user_group_assigned_for_local_tenant_dto.UserGroupAssignedForLocalTenantDTO( + user_group_id = '', + display_name = '', ) + ] + ) + else: + return AllUserGroupsAssignedForLocalTenantDTO( + ) + + def testAllUserGroupsAssignedForLocalTenantDTO(self): + """Test AllUserGroupsAssignedForLocalTenantDTO""" + def validate_instance(instance): + AllUserGroupsAssignedForLocalTenantDTO.model_validate(inst_req_only) + instance_deserialized = AllUserGroupsAssignedForLocalTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_all_users_get_api_response_dto.py b/src/visier_platform_sdk/test/test_all_users_get_api_response_dto.py new file mode 100644 index 0000000000..2d1ad36434 --- /dev/null +++ b/src/visier_platform_sdk/test/test_all_users_get_api_response_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.all_users_get_api_response_dto import AllUsersGetAPIResponseDTO + +class TestAllUsersGetAPIResponseDTO(unittest.TestCase): + """AllUsersGetAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AllUsersGetAPIResponseDTO: + """Test AllUsersGetAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AllUsersGetAPIResponseDTO( + users = [ + visier_platform_sdk.models.user_get_api_response_dto.UserGetAPIResponseDTO( + user_id = '', + username = '', + display_name = '', + employee_id = '', + account_enabled = True, + profiles = None, + permissions = None, + user_groups = None, + last_login = None, + email = '', ) + ], + limit = 56, + start = 56 + ) + else: + return AllUsersGetAPIResponseDTO( + ) + + def testAllUsersGetAPIResponseDTO(self): + """Test AllUsersGetAPIResponseDTO""" + def validate_instance(instance): + AllUsersGetAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = AllUsersGetAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_report_create_request_dto.py b/src/visier_platform_sdk/test/test_analysis_common_report_create_request_dto.py deleted file mode 100644 index 675acc4a76..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_report_create_request_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_report_create_request_dto import AnalysisCommonReportCreateRequestDTO - -class TestAnalysisCommonReportCreateRequestDTO(unittest.TestCase): - """AnalysisCommonReportCreateRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonReportCreateRequestDTO: - """Test AnalysisCommonReportCreateRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonReportCreateRequestDTO` - """ - model = AnalysisCommonReportCreateRequestDTO() - if include_optional: - return AnalysisCommonReportCreateRequestDTO( - title = '', - description = '' - ) - else: - return AnalysisCommonReportCreateRequestDTO( - ) - """ - - def testAnalysisCommonReportCreateRequestDTO(self): - """Test AnalysisCommonReportCreateRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_report_delete_success_dto.py b/src/visier_platform_sdk/test/test_analysis_common_report_delete_success_dto.py deleted file mode 100644 index b0f8d8cb69..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_report_delete_success_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_report_delete_success_dto import AnalysisCommonReportDeleteSuccessDTO - -class TestAnalysisCommonReportDeleteSuccessDTO(unittest.TestCase): - """AnalysisCommonReportDeleteSuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonReportDeleteSuccessDTO: - """Test AnalysisCommonReportDeleteSuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonReportDeleteSuccessDTO` - """ - model = AnalysisCommonReportDeleteSuccessDTO() - if include_optional: - return AnalysisCommonReportDeleteSuccessDTO( - id = '' - ) - else: - return AnalysisCommonReportDeleteSuccessDTO( - ) - """ - - def testAnalysisCommonReportDeleteSuccessDTO(self): - """Test AnalysisCommonReportDeleteSuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_report_dto.py b/src/visier_platform_sdk/test/test_analysis_common_report_dto.py deleted file mode 100644 index 07b03633f5..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_report_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_report_dto import AnalysisCommonReportDTO - -class TestAnalysisCommonReportDTO(unittest.TestCase): - """AnalysisCommonReportDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonReportDTO: - """Test AnalysisCommonReportDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonReportDTO` - """ - model = AnalysisCommonReportDTO() - if include_optional: - return AnalysisCommonReportDTO( - id = '', - title = '', - description = '', - updated_time = '', - is_published_report = True, - owner = '', - is_owned_by_user = True, - allowed_actions = [ - 'duplicate' - ], - link = '' - ) - else: - return AnalysisCommonReportDTO( - ) - """ - - def testAnalysisCommonReportDTO(self): - """Test AnalysisCommonReportDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_report_list_response_dto.py b/src/visier_platform_sdk/test/test_analysis_common_report_list_response_dto.py deleted file mode 100644 index 0852a46c6c..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_report_list_response_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_report_list_response_dto import AnalysisCommonReportListResponseDTO - -class TestAnalysisCommonReportListResponseDTO(unittest.TestCase): - """AnalysisCommonReportListResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonReportListResponseDTO: - """Test AnalysisCommonReportListResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonReportListResponseDTO` - """ - model = AnalysisCommonReportListResponseDTO() - if include_optional: - return AnalysisCommonReportListResponseDTO( - reports = [ - visier_platform_sdk.models.analysis/common/report_dto.analysis.common.ReportDTO( - id = '', - title = '', - description = '', - updated_time = '', - is_published_report = True, - owner = '', - is_owned_by_user = True, - allowed_actions = [ - 'duplicate' - ], - link = '', ) - ] - ) - else: - return AnalysisCommonReportListResponseDTO( - ) - """ - - def testAnalysisCommonReportListResponseDTO(self): - """Test AnalysisCommonReportListResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_clarification_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_clarification_dto.py deleted file mode 100644 index a7f1ef2ece..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_clarification_dto.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_clarification_dto import AnalysisCommonVeeClarificationDTO - -class TestAnalysisCommonVeeClarificationDTO(unittest.TestCase): - """AnalysisCommonVeeClarificationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeClarificationDTO: - """Test AnalysisCommonVeeClarificationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeClarificationDTO` - """ - model = AnalysisCommonVeeClarificationDTO() - if include_optional: - return AnalysisCommonVeeClarificationDTO( - message = '', - questions = [ - '' - ], - metrics = [ - '' - ], - dimensions = [ - '' - ], - filters = [ - '' - ], - attributes = [ - '' - ] - ) - else: - return AnalysisCommonVeeClarificationDTO( - ) - """ - - def testAnalysisCommonVeeClarificationDTO(self): - """Test AnalysisCommonVeeClarificationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_conversation_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_conversation_dto.py deleted file mode 100644 index 2c776efa9b..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_conversation_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_conversation_dto import AnalysisCommonVeeConversationDTO - -class TestAnalysisCommonVeeConversationDTO(unittest.TestCase): - """AnalysisCommonVeeConversationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeConversationDTO: - """Test AnalysisCommonVeeConversationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeConversationDTO` - """ - model = AnalysisCommonVeeConversationDTO() - if include_optional: - return AnalysisCommonVeeConversationDTO( - conversation_state = visier_platform_sdk.models.analysis/common/vee_conversation_state_dto.analysis.common.VeeConversationStateDTO( - question_state = [ - '' - ], ) - ) - else: - return AnalysisCommonVeeConversationDTO( - ) - """ - - def testAnalysisCommonVeeConversationDTO(self): - """Test AnalysisCommonVeeConversationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_conversation_state_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_conversation_state_dto.py deleted file mode 100644 index 220371d9a7..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_conversation_state_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_conversation_state_dto import AnalysisCommonVeeConversationStateDTO - -class TestAnalysisCommonVeeConversationStateDTO(unittest.TestCase): - """AnalysisCommonVeeConversationStateDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeConversationStateDTO: - """Test AnalysisCommonVeeConversationStateDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeConversationStateDTO` - """ - model = AnalysisCommonVeeConversationStateDTO() - if include_optional: - return AnalysisCommonVeeConversationStateDTO( - question_state = [ - '' - ] - ) - else: - return AnalysisCommonVeeConversationStateDTO( - ) - """ - - def testAnalysisCommonVeeConversationStateDTO(self): - """Test AnalysisCommonVeeConversationStateDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_corrections_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_corrections_dto.py deleted file mode 100644 index 31e7bbe1fa..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_corrections_dto.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_corrections_dto import AnalysisCommonVeeCorrectionsDTO - -class TestAnalysisCommonVeeCorrectionsDTO(unittest.TestCase): - """AnalysisCommonVeeCorrectionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeCorrectionsDTO: - """Test AnalysisCommonVeeCorrectionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeCorrectionsDTO` - """ - model = AnalysisCommonVeeCorrectionsDTO() - if include_optional: - return AnalysisCommonVeeCorrectionsDTO( - warning = [ - 'VEE_NO_WARNING' - ], - clarifications = [ - visier_platform_sdk.models.analysis/common/vee_clarification_dto.analysis.common.VeeClarificationDTO( - message = '', - questions = [ - '' - ], - metrics = [ - '' - ], - dimensions = [ - '' - ], - filters = [ - '' - ], - attributes = [ - '' - ], ) - ] - ) - else: - return AnalysisCommonVeeCorrectionsDTO( - ) - """ - - def testAnalysisCommonVeeCorrectionsDTO(self): - """Test AnalysisCommonVeeCorrectionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_data_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_data_dto.py deleted file mode 100644 index c60a74bed9..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_data_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_data_dto import AnalysisCommonVeeDataDTO - -class TestAnalysisCommonVeeDataDTO(unittest.TestCase): - """AnalysisCommonVeeDataDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeDataDTO: - """Test AnalysisCommonVeeDataDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeDataDTO` - """ - model = AnalysisCommonVeeDataDTO() - if include_optional: - return AnalysisCommonVeeDataDTO( - data_json = '', - context = '' - ) - else: - return AnalysisCommonVeeDataDTO( - ) - """ - - def testAnalysisCommonVeeDataDTO(self): - """Test AnalysisCommonVeeDataDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_feedback_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_feedback_dto.py deleted file mode 100644 index cf8f37f88a..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_feedback_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_feedback_dto import AnalysisCommonVeeFeedbackDTO - -class TestAnalysisCommonVeeFeedbackDTO(unittest.TestCase): - """AnalysisCommonVeeFeedbackDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeFeedbackDTO: - """Test AnalysisCommonVeeFeedbackDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeFeedbackDTO` - """ - model = AnalysisCommonVeeFeedbackDTO() - if include_optional: - return AnalysisCommonVeeFeedbackDTO( - conversation = visier_platform_sdk.models.analysis/common/vee_conversation_dto.analysis.common.VeeConversationDTO( - conversation_state = None, ), - is_approved = True, - description = '' - ) - else: - return AnalysisCommonVeeFeedbackDTO( - ) - """ - - def testAnalysisCommonVeeFeedbackDTO(self): - """Test AnalysisCommonVeeFeedbackDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_options_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_options_dto.py deleted file mode 100644 index 54292c7ad4..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_options_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_options_dto import AnalysisCommonVeeOptionsDTO - -class TestAnalysisCommonVeeOptionsDTO(unittest.TestCase): - """AnalysisCommonVeeOptionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeOptionsDTO: - """Test AnalysisCommonVeeOptionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeOptionsDTO` - """ - model = AnalysisCommonVeeOptionsDTO() - if include_optional: - return AnalysisCommonVeeOptionsDTO( - include_visual = True, - visual_options = visier_platform_sdk.models.analysis/common/vee_visual_options_dto.analysis.common.VeeVisualOptionsDTO( - width = 56, - height = 56, ), - include_data = True, - data_format = 'json', - include_reworded_question = True - ) - else: - return AnalysisCommonVeeOptionsDTO( - ) - """ - - def testAnalysisCommonVeeOptionsDTO(self): - """Test AnalysisCommonVeeOptionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_question_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_question_dto.py deleted file mode 100644 index 3a962fb5c3..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_question_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_question_dto import AnalysisCommonVeeQuestionDTO - -class TestAnalysisCommonVeeQuestionDTO(unittest.TestCase): - """AnalysisCommonVeeQuestionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeQuestionDTO: - """Test AnalysisCommonVeeQuestionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeQuestionDTO` - """ - model = AnalysisCommonVeeQuestionDTO() - if include_optional: - return AnalysisCommonVeeQuestionDTO( - question = '', - conversation_state = visier_platform_sdk.models.analysis/common/vee_conversation_state_dto.analysis.common.VeeConversationStateDTO( - question_state = [ - '' - ], ), - options = visier_platform_sdk.models.analysis/common/vee_options_dto.analysis.common.VeeOptionsDTO( - include_visual = True, - visual_options = None, - include_data = True, - data_format = 'json', - include_reworded_question = True, ), - max_view_details_members = 56 - ) - else: - return AnalysisCommonVeeQuestionDTO( - ) - """ - - def testAnalysisCommonVeeQuestionDTO(self): - """Test AnalysisCommonVeeQuestionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_response_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_response_dto.py deleted file mode 100644 index daa1344c93..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_response_dto.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_response_dto import AnalysisCommonVeeResponseDTO - -class TestAnalysisCommonVeeResponseDTO(unittest.TestCase): - """AnalysisCommonVeeResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeResponseDTO: - """Test AnalysisCommonVeeResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeResponseDTO` - """ - model = AnalysisCommonVeeResponseDTO() - if include_optional: - return AnalysisCommonVeeResponseDTO( - conversation_state = visier_platform_sdk.models.analysis/common/vee_conversation_state_dto.analysis.common.VeeConversationStateDTO( - question_state = [ - '' - ], ), - status_code = visier_platform_sdk.models.analysis/common/vee_status_code_dto.analysis.common.VeeStatusCodeDTO( - status_code = 'UNDEFINED', - status_msg = '', ), - narrative = '', - chart_url = '', - var_schema = visier_platform_sdk.models.analysis/common/vee_response_schema_dto.analysis.common.VeeResponseSchemaDTO( - metrics = [ - '' - ], - dimensions = [ - visier_platform_sdk.models.analysis/common/vee_response_schema_reference_dto.analysis.common.VeeResponseSchemaReferenceDTO( - name = '', - paths = [ - '' - ], ) - ], - concepts = [ - visier_platform_sdk.models.analysis/common/vee_response_schema_reference_dto.analysis.common.VeeResponseSchemaReferenceDTO( - name = '', ) - ], ), - corrections = [ - visier_platform_sdk.models.analysis/common/vee_corrections_dto.analysis.common.VeeCorrectionsDTO( - warning = [ - 'VEE_NO_WARNING' - ], - clarifications = [ - visier_platform_sdk.models.analysis/common/vee_clarification_dto.analysis.common.VeeClarificationDTO( - message = '', - questions = [ - '' - ], - metrics = [ - '' - ], - dimensions = [ - '' - ], - filters = [ - '' - ], - attributes = [ - '' - ], ) - ], ) - ], - data = visier_platform_sdk.models.analysis/common/vee_data_dto.analysis.common.VeeDataDTO( - data_json = '', - context = '', ), - visual = visier_platform_sdk.models.analysis/common/vee_visual_dto.analysis.common.VeeVisualDTO( - image = '', - title = '', - context = '', ), - reworded_question = '' - ) - else: - return AnalysisCommonVeeResponseDTO( - ) - """ - - def testAnalysisCommonVeeResponseDTO(self): - """Test AnalysisCommonVeeResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_response_schema_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_response_schema_dto.py deleted file mode 100644 index 42e079172c..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_response_schema_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_response_schema_dto import AnalysisCommonVeeResponseSchemaDTO - -class TestAnalysisCommonVeeResponseSchemaDTO(unittest.TestCase): - """AnalysisCommonVeeResponseSchemaDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeResponseSchemaDTO: - """Test AnalysisCommonVeeResponseSchemaDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeResponseSchemaDTO` - """ - model = AnalysisCommonVeeResponseSchemaDTO() - if include_optional: - return AnalysisCommonVeeResponseSchemaDTO( - metrics = [ - '' - ], - dimensions = [ - visier_platform_sdk.models.analysis/common/vee_response_schema_reference_dto.analysis.common.VeeResponseSchemaReferenceDTO( - name = '', - paths = [ - '' - ], ) - ], - concepts = [ - visier_platform_sdk.models.analysis/common/vee_response_schema_reference_dto.analysis.common.VeeResponseSchemaReferenceDTO( - name = '', - paths = [ - '' - ], ) - ] - ) - else: - return AnalysisCommonVeeResponseSchemaDTO( - ) - """ - - def testAnalysisCommonVeeResponseSchemaDTO(self): - """Test AnalysisCommonVeeResponseSchemaDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_response_schema_reference_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_response_schema_reference_dto.py deleted file mode 100644 index 21bfb84096..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_response_schema_reference_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_response_schema_reference_dto import AnalysisCommonVeeResponseSchemaReferenceDTO - -class TestAnalysisCommonVeeResponseSchemaReferenceDTO(unittest.TestCase): - """AnalysisCommonVeeResponseSchemaReferenceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeResponseSchemaReferenceDTO: - """Test AnalysisCommonVeeResponseSchemaReferenceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeResponseSchemaReferenceDTO` - """ - model = AnalysisCommonVeeResponseSchemaReferenceDTO() - if include_optional: - return AnalysisCommonVeeResponseSchemaReferenceDTO( - name = '', - paths = [ - '' - ] - ) - else: - return AnalysisCommonVeeResponseSchemaReferenceDTO( - ) - """ - - def testAnalysisCommonVeeResponseSchemaReferenceDTO(self): - """Test AnalysisCommonVeeResponseSchemaReferenceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_sample_question_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_sample_question_dto.py deleted file mode 100644 index f64c955f80..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_sample_question_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_sample_question_dto import AnalysisCommonVeeSampleQuestionDTO - -class TestAnalysisCommonVeeSampleQuestionDTO(unittest.TestCase): - """AnalysisCommonVeeSampleQuestionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeSampleQuestionDTO: - """Test AnalysisCommonVeeSampleQuestionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeSampleQuestionDTO` - """ - model = AnalysisCommonVeeSampleQuestionDTO() - if include_optional: - return AnalysisCommonVeeSampleQuestionDTO( - question = '', - question_id = '', - category_id = '', - is_assigned_to_user = True - ) - else: - return AnalysisCommonVeeSampleQuestionDTO( - ) - """ - - def testAnalysisCommonVeeSampleQuestionDTO(self): - """Test AnalysisCommonVeeSampleQuestionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_sample_question_library_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_sample_question_library_dto.py deleted file mode 100644 index 3dd9725c5a..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_sample_question_library_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_sample_question_library_dto import AnalysisCommonVeeSampleQuestionLibraryDTO - -class TestAnalysisCommonVeeSampleQuestionLibraryDTO(unittest.TestCase): - """AnalysisCommonVeeSampleQuestionLibraryDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeSampleQuestionLibraryDTO: - """Test AnalysisCommonVeeSampleQuestionLibraryDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeSampleQuestionLibraryDTO` - """ - model = AnalysisCommonVeeSampleQuestionLibraryDTO() - if include_optional: - return AnalysisCommonVeeSampleQuestionLibraryDTO( - questions = [ - visier_platform_sdk.models.analysis/common/vee_sample_question_dto.analysis.common.VeeSampleQuestionDTO( - question = '', - question_id = '', - category_id = '', - is_assigned_to_user = True, ) - ] - ) - else: - return AnalysisCommonVeeSampleQuestionLibraryDTO( - ) - """ - - def testAnalysisCommonVeeSampleQuestionLibraryDTO(self): - """Test AnalysisCommonVeeSampleQuestionLibraryDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_status_code_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_status_code_dto.py deleted file mode 100644 index 3ed9db8db1..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_status_code_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_status_code_dto import AnalysisCommonVeeStatusCodeDTO - -class TestAnalysisCommonVeeStatusCodeDTO(unittest.TestCase): - """AnalysisCommonVeeStatusCodeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeStatusCodeDTO: - """Test AnalysisCommonVeeStatusCodeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeStatusCodeDTO` - """ - model = AnalysisCommonVeeStatusCodeDTO() - if include_optional: - return AnalysisCommonVeeStatusCodeDTO( - status_code = 'UNDEFINED', - status_msg = '' - ) - else: - return AnalysisCommonVeeStatusCodeDTO( - ) - """ - - def testAnalysisCommonVeeStatusCodeDTO(self): - """Test AnalysisCommonVeeStatusCodeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_visual_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_visual_dto.py deleted file mode 100644 index 0d23ec8b49..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_visual_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_visual_dto import AnalysisCommonVeeVisualDTO - -class TestAnalysisCommonVeeVisualDTO(unittest.TestCase): - """AnalysisCommonVeeVisualDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeVisualDTO: - """Test AnalysisCommonVeeVisualDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeVisualDTO` - """ - model = AnalysisCommonVeeVisualDTO() - if include_optional: - return AnalysisCommonVeeVisualDTO( - image = '', - title = '', - context = '' - ) - else: - return AnalysisCommonVeeVisualDTO( - ) - """ - - def testAnalysisCommonVeeVisualDTO(self): - """Test AnalysisCommonVeeVisualDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analysis_common_vee_visual_options_dto.py b/src/visier_platform_sdk/test/test_analysis_common_vee_visual_options_dto.py deleted file mode 100644 index 303dc6e25a..0000000000 --- a/src/visier_platform_sdk/test/test_analysis_common_vee_visual_options_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.analysis_common_vee_visual_options_dto import AnalysisCommonVeeVisualOptionsDTO - -class TestAnalysisCommonVeeVisualOptionsDTO(unittest.TestCase): - """AnalysisCommonVeeVisualOptionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AnalysisCommonVeeVisualOptionsDTO: - """Test AnalysisCommonVeeVisualOptionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AnalysisCommonVeeVisualOptionsDTO` - """ - model = AnalysisCommonVeeVisualOptionsDTO() - if include_optional: - return AnalysisCommonVeeVisualOptionsDTO( - width = 56, - height = 56 - ) - else: - return AnalysisCommonVeeVisualOptionsDTO( - ) - """ - - def testAnalysisCommonVeeVisualOptionsDTO(self): - """Test AnalysisCommonVeeVisualOptionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_definition_dto.py b/src/visier_platform_sdk/test/test_analytic_object_definition_dto.py new file mode 100644 index 0000000000..1bbcf5e41e --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_definition_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_definition_dto import AnalyticObjectDefinitionDTO + +class TestAnalyticObjectDefinitionDTO(unittest.TestCase): + """AnalyticObjectDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectDefinitionDTO: + """Test AnalyticObjectDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectDefinitionDTO( + uuid = '', + object_name = '', + update_operation = 'unspecified' + ) + else: + return AnalyticObjectDefinitionDTO( + ) + + def testAnalyticObjectDefinitionDTO(self): + """Test AnalyticObjectDefinitionDTO""" + def validate_instance(instance): + AnalyticObjectDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_dto.py b/src/visier_platform_sdk/test/test_analytic_object_dto.py new file mode 100644 index 0000000000..6156f8947b --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_dto.py @@ -0,0 +1,86 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_dto import AnalyticObjectDTO + +class TestAnalyticObjectDTO(unittest.TestCase): + """AnalyticObjectDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectDTO: + """Test AnalyticObjectDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectDTO( + analytic_object_id = '', + display_name = '', + object_type = 'Event', + related_objects = [ + visier_platform_sdk.models.related_analytic_object_dto.RelatedAnalyticObjectDTO( + analytic_object_id = '', + display_name = '', ) + ], + securable_properties = [ + visier_platform_sdk.models.securable_property_dto.SecurablePropertyDTO( + property_id = '', + display_name = '', + analytic_object_id = '', + is_primary_key = True, + reference_symbol_name = '', ) + ], + securable_dimensions = [ + visier_platform_sdk.models.securable_dimension_dto.SecurableDimensionDTO( + dimension_id = '', + display_name = '', + analytic_object_ids = [ + '' + ], + hierarchy_properties = [ + visier_platform_sdk.models.hierarchy_property_dto.HierarchyPropertyDTO( + hierarchy_property_id = '', + display_name = '', ) + ], ) + ] + ) + else: + return AnalyticObjectDTO( + ) + + def testAnalyticObjectDTO(self): + """Test AnalyticObjectDTO""" + def validate_instance(instance): + AnalyticObjectDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_filter_dto.py b/src/visier_platform_sdk/test/test_analytic_object_filter_dto.py new file mode 100644 index 0000000000..c1cb086e3b --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_filter_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_filter_dto import AnalyticObjectFilterDTO + +class TestAnalyticObjectFilterDTO(unittest.TestCase): + """AnalyticObjectFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectFilterDTO: + """Test AnalyticObjectFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ] + ) + else: + return AnalyticObjectFilterDTO( + ) + + def testAnalyticObjectFilterDTO(self): + """Test AnalyticObjectFilterDTO""" + def validate_instance(instance): + AnalyticObjectFilterDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_request_dto.py b/src/visier_platform_sdk/test/test_analytic_object_request_dto.py new file mode 100644 index 0000000000..5d41a96f80 --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_request_dto import AnalyticObjectRequestDTO + +class TestAnalyticObjectRequestDTO(unittest.TestCase): + """AnalyticObjectRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectRequestDTO: + """Test AnalyticObjectRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectRequestDTO( + analytic_objects = [ + visier_platform_sdk.models.analytic_object_with_context_dto.AnalyticObjectWithContextDTO( + execution_context = None, + analytic_object = None, ) + ] + ) + else: + return AnalyticObjectRequestDTO( + ) + + def testAnalyticObjectRequestDTO(self): + """Test AnalyticObjectRequestDTO""" + def validate_instance(instance): + AnalyticObjectRequestDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_with_context_dto.py b/src/visier_platform_sdk/test/test_analytic_object_with_context_dto.py new file mode 100644 index 0000000000..cf65a34ef1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_with_context_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_with_context_dto import AnalyticObjectWithContextDTO + +class TestAnalyticObjectWithContextDTO(unittest.TestCase): + """AnalyticObjectWithContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectWithContextDTO: + """Test AnalyticObjectWithContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectWithContextDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + analytic_object = visier_platform_sdk.models.analytic_object_definition_dto.AnalyticObjectDefinitionDTO( + uuid = '', + object_name = '', + update_operation = 'unspecified', ) + ) + else: + return AnalyticObjectWithContextDTO( + ) + + def testAnalyticObjectWithContextDTO(self): + """Test AnalyticObjectWithContextDTO""" + def validate_instance(instance): + AnalyticObjectWithContextDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectWithContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_objects_dto.py b/src/visier_platform_sdk/test/test_analytic_objects_dto.py new file mode 100644 index 0000000000..61efc31c34 --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_objects_dto.py @@ -0,0 +1,86 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_objects_dto import AnalyticObjectsDTO + +class TestAnalyticObjectsDTO(unittest.TestCase): + """AnalyticObjectsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectsDTO: + """Test AnalyticObjectsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectsDTO( + analytic_objects = [ + visier_platform_sdk.models.data_model_analytic_object_dto.DataModelAnalyticObjectDTO( + id = '', + display_name = '', + description = '', + type = 'SUBJECT', + data_start_date = '', + data_end_date = '', + property_ids = [ + '' + ], + dimension_ids = [ + '' + ], + selection_concept_ids = [ + '' + ], + object_references = [ + visier_platform_sdk.models.object_reference_dto.ObjectReferenceDTO( + id = '', + display_name = '', + description = '', + from_object = '', + to_object = '', + type = 'SUBJECT_REFERENCE', + is_strong_reference = True, ) + ], + population_configuration = None, ) + ] + ) + else: + return AnalyticObjectsDTO( + ) + + def testAnalyticObjectsDTO(self): + """Test AnalyticObjectsDTO""" + def validate_instance(instance): + AnalyticObjectsDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_any.py b/src/visier_platform_sdk/test/test_any.py new file mode 100644 index 0000000000..d12fc91a46 --- /dev/null +++ b/src/visier_platform_sdk/test/test_any.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.any import Any + +class TestAny(unittest.TestCase): + """Any unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Any: + """Test Any + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return Any( + type = '' + ) + else: + return Any( + ) + + def testAny(self): + """Test Any""" + def validate_instance(instance): + Any.model_validate(inst_req_only) + instance_deserialized = Any.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_api_error.py b/src/visier_platform_sdk/test/test_api_error.py index 0c9efd1420..66d27be655 100644 --- a/src/visier_platform_sdk/test/test_api_error.py +++ b/src/visier_platform_sdk/test/test_api_error.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.api_error import ApiError class TestApiError(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> ApiError: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `ApiError` - """ - model = ApiError() + if include_optional: return ApiError( error_code = '', @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> ApiError: message = '', rci = '', ) - """ def testApiError(self): """Test ApiError""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + ApiError.model_validate(inst_req_only) + instance_deserialized = ApiError.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_connector_credential_request.py b/src/visier_platform_sdk/test/test_assign_connector_credential_request.py new file mode 100644 index 0000000000..f1b5ed93a3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_connector_credential_request.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_connector_credential_request import AssignConnectorCredentialRequest + +class TestAssignConnectorCredentialRequest(unittest.TestCase): + """AssignConnectorCredentialRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignConnectorCredentialRequest: + """Test AssignConnectorCredentialRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignConnectorCredentialRequest( + connectors = [ + visier_platform_sdk.models.connector.Connector( + connector_id = '', + tenants = [ + visier_platform_sdk.models.tenant_and_credential.TenantAndCredential( + tenant_code = '', + credential_id = '', ) + ], ) + ] + ) + else: + return AssignConnectorCredentialRequest( + ) + + def testAssignConnectorCredentialRequest(self): + """Test AssignConnectorCredentialRequest""" + def validate_instance(instance): + AssignConnectorCredentialRequest.model_validate(inst_req_only) + instance_deserialized = AssignConnectorCredentialRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_connector_credentials_by_tenant_response_dto.py b/src/visier_platform_sdk/test/test_assign_connector_credentials_by_tenant_response_dto.py new file mode 100644 index 0000000000..183c3d0a8f --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_connector_credentials_by_tenant_response_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_connector_credentials_by_tenant_response_dto import AssignConnectorCredentialsByTenantResponseDTO + +class TestAssignConnectorCredentialsByTenantResponseDTO(unittest.TestCase): + """AssignConnectorCredentialsByTenantResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignConnectorCredentialsByTenantResponseDTO: + """Test AssignConnectorCredentialsByTenantResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignConnectorCredentialsByTenantResponseDTO( + tenant_code = '', + connectors = [ + visier_platform_sdk.models.assign_connector_with_credentials_response_dto.AssignConnectorWithCredentialsResponseDTO( + connector = None, + credential = None, ) + ], + status = 'Unknown', + message = '' + ) + else: + return AssignConnectorCredentialsByTenantResponseDTO( + ) + + def testAssignConnectorCredentialsByTenantResponseDTO(self): + """Test AssignConnectorCredentialsByTenantResponseDTO""" + def validate_instance(instance): + AssignConnectorCredentialsByTenantResponseDTO.model_validate(inst_req_only) + instance_deserialized = AssignConnectorCredentialsByTenantResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_connector_credentials_response_dto.py b/src/visier_platform_sdk/test/test_assign_connector_credentials_response_dto.py new file mode 100644 index 0000000000..ae21b3921c --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_connector_credentials_response_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_connector_credentials_response_dto import AssignConnectorCredentialsResponseDTO + +class TestAssignConnectorCredentialsResponseDTO(unittest.TestCase): + """AssignConnectorCredentialsResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignConnectorCredentialsResponseDTO: + """Test AssignConnectorCredentialsResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignConnectorCredentialsResponseDTO( + tenants = [ + visier_platform_sdk.models.assign_connector_credentials_by_tenant_response_dto.AssignConnectorCredentialsByTenantResponseDTO( + tenant_code = '', + connectors = [ + visier_platform_sdk.models.assign_connector_with_credentials_response_dto.AssignConnectorWithCredentialsResponseDTO( + connector = None, + credential = None, ) + ], + status = 'Unknown', + message = '', ) + ] + ) + else: + return AssignConnectorCredentialsResponseDTO( + ) + + def testAssignConnectorCredentialsResponseDTO(self): + """Test AssignConnectorCredentialsResponseDTO""" + def validate_instance(instance): + AssignConnectorCredentialsResponseDTO.model_validate(inst_req_only) + instance_deserialized = AssignConnectorCredentialsResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_connector_with_credentials_response_dto.py b/src/visier_platform_sdk/test/test_assign_connector_with_credentials_response_dto.py new file mode 100644 index 0000000000..17793e276a --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_connector_with_credentials_response_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_connector_with_credentials_response_dto import AssignConnectorWithCredentialsResponseDTO + +class TestAssignConnectorWithCredentialsResponseDTO(unittest.TestCase): + """AssignConnectorWithCredentialsResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignConnectorWithCredentialsResponseDTO: + """Test AssignConnectorWithCredentialsResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignConnectorWithCredentialsResponseDTO( + connector = visier_platform_sdk.models.connector_info_response_dto.ConnectorInfoResponseDTO( + connector_id = '', + display_name = '', + description = '', ), + credential = visier_platform_sdk.models.assigned_credential_info_response_dto.AssignedCredentialInfoResponseDTO( + credential_id = '', + display_name = '', + message = '', ) + ) + else: + return AssignConnectorWithCredentialsResponseDTO( + ) + + def testAssignConnectorWithCredentialsResponseDTO(self): + """Test AssignConnectorWithCredentialsResponseDTO""" + def validate_instance(instance): + AssignConnectorWithCredentialsResponseDTO.model_validate(inst_req_only) + instance_deserialized = AssignConnectorWithCredentialsResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_permission_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_permission_dto.py new file mode 100644 index 0000000000..6d5c642744 --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_permission_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_revoke_permission_by_permission_dto import AssignRevokePermissionByPermissionDTO + +class TestAssignRevokePermissionByPermissionDTO(unittest.TestCase): + """AssignRevokePermissionByPermissionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignRevokePermissionByPermissionDTO: + """Test AssignRevokePermissionByPermissionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignRevokePermissionByPermissionDTO( + permission = visier_platform_sdk.models.permission_assigned_for_local_tenant_dto.PermissionAssignedForLocalTenantDTO( + permission_id = '', + display_name = '', + description = '', ), + users = [ + visier_platform_sdk.models.assign_revoke_permission_by_user_dto.AssignRevokePermissionByUserDTO( + user_id = '', + username = '', + message = '', ) + ] + ) + else: + return AssignRevokePermissionByPermissionDTO( + ) + + def testAssignRevokePermissionByPermissionDTO(self): + """Test AssignRevokePermissionByPermissionDTO""" + def validate_instance(instance): + AssignRevokePermissionByPermissionDTO.model_validate(inst_req_only) + instance_deserialized = AssignRevokePermissionByPermissionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_tenant_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_tenant_dto.py new file mode 100644 index 0000000000..402753e3ba --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_tenant_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_revoke_permission_by_tenant_dto import AssignRevokePermissionByTenantDTO + +class TestAssignRevokePermissionByTenantDTO(unittest.TestCase): + """AssignRevokePermissionByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignRevokePermissionByTenantDTO: + """Test AssignRevokePermissionByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignRevokePermissionByTenantDTO( + tenant_code = '', + permissions = [ + visier_platform_sdk.models.assign_revoke_permission_by_permission_dto.AssignRevokePermissionByPermissionDTO( + permission = visier_platform_sdk.models.permission_assigned_for_local_tenant_dto.PermissionAssignedForLocalTenantDTO( + permission_id = '', + display_name = '', + description = '', ), + users = [ + visier_platform_sdk.models.assign_revoke_permission_by_user_dto.AssignRevokePermissionByUserDTO( + user_id = '', + username = '', + message = '', ) + ], ) + ], + status = 'Unknown', + message = '', + project_id = '' + ) + else: + return AssignRevokePermissionByTenantDTO( + ) + + def testAssignRevokePermissionByTenantDTO(self): + """Test AssignRevokePermissionByTenantDTO""" + def validate_instance(instance): + AssignRevokePermissionByTenantDTO.model_validate(inst_req_only) + instance_deserialized = AssignRevokePermissionByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_user_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_user_dto.py new file mode 100644 index 0000000000..764d7a6241 --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_user_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_revoke_permission_by_user_dto import AssignRevokePermissionByUserDTO + +class TestAssignRevokePermissionByUserDTO(unittest.TestCase): + """AssignRevokePermissionByUserDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignRevokePermissionByUserDTO: + """Test AssignRevokePermissionByUserDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignRevokePermissionByUserDTO( + user_id = '', + username = '', + message = '' + ) + else: + return AssignRevokePermissionByUserDTO( + ) + + def testAssignRevokePermissionByUserDTO(self): + """Test AssignRevokePermissionByUserDTO""" + def validate_instance(instance): + AssignRevokePermissionByUserDTO.model_validate(inst_req_only) + instance_deserialized = AssignRevokePermissionByUserDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permission_request_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permission_request_dto.py new file mode 100644 index 0000000000..04a95da364 --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_revoke_permission_request_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_revoke_permission_request_dto import AssignRevokePermissionRequestDTO + +class TestAssignRevokePermissionRequestDTO(unittest.TestCase): + """AssignRevokePermissionRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignRevokePermissionRequestDTO: + """Test AssignRevokePermissionRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignRevokePermissionRequestDTO( + permission_id = '', + user_ids = [ + '' + ] + ) + else: + return AssignRevokePermissionRequestDTO( + ) + + def testAssignRevokePermissionRequestDTO(self): + """Test AssignRevokePermissionRequestDTO""" + def validate_instance(instance): + AssignRevokePermissionRequestDTO.model_validate(inst_req_only) + instance_deserialized = AssignRevokePermissionRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permissions_request_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permissions_request_dto.py new file mode 100644 index 0000000000..b69f4beb68 --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_revoke_permissions_request_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_revoke_permissions_request_dto import AssignRevokePermissionsRequestDTO + +class TestAssignRevokePermissionsRequestDTO(unittest.TestCase): + """AssignRevokePermissionsRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignRevokePermissionsRequestDTO: + """Test AssignRevokePermissionsRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignRevokePermissionsRequestDTO( + permissions = [ + visier_platform_sdk.models.assign_revoke_permission_request_dto.AssignRevokePermissionRequestDTO( + permission_id = '', + user_ids = [ + '' + ], ) + ], + target_project_for_tenants_list = visier_platform_sdk.models.target_project_for_tenants_list_dto.TargetProjectForTenantsListDTO( + target_project_for_tenants = [ + visier_platform_sdk.models.target_project_for_tenant_dto.TargetProjectForTenantDTO( + tenant_code = '', + project_id = '', ) + ], ) + ) + else: + return AssignRevokePermissionsRequestDTO( + ) + + def testAssignRevokePermissionsRequestDTO(self): + """Test AssignRevokePermissionsRequestDTO""" + def validate_instance(instance): + AssignRevokePermissionsRequestDTO.model_validate(inst_req_only) + instance_deserialized = AssignRevokePermissionsRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permissions_response_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permissions_response_dto.py new file mode 100644 index 0000000000..cc3d55df91 --- /dev/null +++ b/src/visier_platform_sdk/test/test_assign_revoke_permissions_response_dto.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assign_revoke_permissions_response_dto import AssignRevokePermissionsResponseDTO + +class TestAssignRevokePermissionsResponseDTO(unittest.TestCase): + """AssignRevokePermissionsResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignRevokePermissionsResponseDTO: + """Test AssignRevokePermissionsResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignRevokePermissionsResponseDTO( + tenants = [ + visier_platform_sdk.models.assign_revoke_permission_by_tenant_dto.AssignRevokePermissionByTenantDTO( + tenant_code = '', + permissions = [ + visier_platform_sdk.models.assign_revoke_permission_by_permission_dto.AssignRevokePermissionByPermissionDTO( + permission = visier_platform_sdk.models.permission_assigned_for_local_tenant_dto.PermissionAssignedForLocalTenantDTO( + permission_id = '', + display_name = '', + description = '', ), + users = [ + visier_platform_sdk.models.assign_revoke_permission_by_user_dto.AssignRevokePermissionByUserDTO( + user_id = '', + username = '', + message = '', ) + ], ) + ], + status = 'Unknown', + message = '', + project_id = '', ) + ] + ) + else: + return AssignRevokePermissionsResponseDTO( + ) + + def testAssignRevokePermissionsResponseDTO(self): + """Test AssignRevokePermissionsResponseDTO""" + def validate_instance(instance): + AssignRevokePermissionsResponseDTO.model_validate(inst_req_only) + instance_deserialized = AssignRevokePermissionsResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_assigned_credential_info_response_dto.py b/src/visier_platform_sdk/test/test_assigned_credential_info_response_dto.py new file mode 100644 index 0000000000..9ac6266464 --- /dev/null +++ b/src/visier_platform_sdk/test/test_assigned_credential_info_response_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.assigned_credential_info_response_dto import AssignedCredentialInfoResponseDTO + +class TestAssignedCredentialInfoResponseDTO(unittest.TestCase): + """AssignedCredentialInfoResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AssignedCredentialInfoResponseDTO: + """Test AssignedCredentialInfoResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AssignedCredentialInfoResponseDTO( + credential_id = '', + display_name = '', + message = '' + ) + else: + return AssignedCredentialInfoResponseDTO( + ) + + def testAssignedCredentialInfoResponseDTO(self): + """Test AssignedCredentialInfoResponseDTO""" + def validate_instance(instance): + AssignedCredentialInfoResponseDTO.model_validate(inst_req_only) + instance_deserialized = AssignedCredentialInfoResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_info_dto.py b/src/visier_platform_sdk/test/test_authentication_o_auth2_user_info_dto.py deleted file mode 100644 index 51c495fbd6..0000000000 --- a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_info_dto.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.authentication_o_auth2_user_info_dto import AuthenticationOAuth2UserInfoDTO - -class TestAuthenticationOAuth2UserInfoDTO(unittest.TestCase): - """AuthenticationOAuth2UserInfoDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AuthenticationOAuth2UserInfoDTO: - """Test AuthenticationOAuth2UserInfoDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AuthenticationOAuth2UserInfoDTO` - """ - model = AuthenticationOAuth2UserInfoDTO() - if include_optional: - return AuthenticationOAuth2UserInfoDTO( - subject = '', - name = '', - email = '', - visier_user_id = '', - visier_capabilities = visier_platform_sdk.models.servicing/servicing_capability_proto_enum_access_lookup_dto.servicing.ServicingCapabilityProtoEnumAccessLookupDTO( - capability_groups = [ - visier_platform_sdk.models.servicing/capability_group_dto.servicing.CapabilityGroupDTO( - group = 'unknown', - access_level = 'NoAccess', - view_level = 'Simple', - api_access_level = 'NoAccess', - api_view_level = 'Simple', ) - ], ), - visier_subnets = visier_platform_sdk.models.authentication/o_auth2_user_subnet_info_dto.authentication.OAuth2UserSubnetInfoDTO( - access_type = 'Unknown', - subnets = [ - '' - ], ), - visier_export_subnets = visier_platform_sdk.models.authentication/o_auth2_user_subnet_info_dto.authentication.OAuth2UserSubnetInfoDTO( - access_type = 'Unknown', - subnets = [ - '' - ], ), - visier_tenant_details = visier_platform_sdk.models.authentication/o_auth2_user_tenant_details_dto.authentication.OAuth2UserTenantDetailsDTO( - details = [ - visier_platform_sdk.models.authentication/o_auth2_user_tenant_detail_dto.authentication.OAuth2UserTenantDetailDTO( - tenant_code = '', - display_name = '', - properties = None, ) - ], ) - ) - else: - return AuthenticationOAuth2UserInfoDTO( - ) - """ - - def testAuthenticationOAuth2UserInfoDTO(self): - """Test AuthenticationOAuth2UserInfoDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_subnet_info_dto.py b/src/visier_platform_sdk/test/test_authentication_o_auth2_user_subnet_info_dto.py deleted file mode 100644 index 6030f6a61f..0000000000 --- a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_subnet_info_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.authentication_o_auth2_user_subnet_info_dto import AuthenticationOAuth2UserSubnetInfoDTO - -class TestAuthenticationOAuth2UserSubnetInfoDTO(unittest.TestCase): - """AuthenticationOAuth2UserSubnetInfoDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AuthenticationOAuth2UserSubnetInfoDTO: - """Test AuthenticationOAuth2UserSubnetInfoDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AuthenticationOAuth2UserSubnetInfoDTO` - """ - model = AuthenticationOAuth2UserSubnetInfoDTO() - if include_optional: - return AuthenticationOAuth2UserSubnetInfoDTO( - access_type = 'Unknown', - subnets = [ - '' - ] - ) - else: - return AuthenticationOAuth2UserSubnetInfoDTO( - ) - """ - - def testAuthenticationOAuth2UserSubnetInfoDTO(self): - """Test AuthenticationOAuth2UserSubnetInfoDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_detail_dto.py b/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_detail_dto.py deleted file mode 100644 index 46fcb827cf..0000000000 --- a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_detail_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_detail_dto import AuthenticationOAuth2UserTenantDetailDTO - -class TestAuthenticationOAuth2UserTenantDetailDTO(unittest.TestCase): - """AuthenticationOAuth2UserTenantDetailDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AuthenticationOAuth2UserTenantDetailDTO: - """Test AuthenticationOAuth2UserTenantDetailDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AuthenticationOAuth2UserTenantDetailDTO` - """ - model = AuthenticationOAuth2UserTenantDetailDTO() - if include_optional: - return AuthenticationOAuth2UserTenantDetailDTO( - tenant_code = '', - display_name = '', - properties = visier_platform_sdk.models.authentication/o_auth2_user_tenant_properties_dto.authentication.OAuth2UserTenantPropertiesDTO( - vanity_url_name = '', ) - ) - else: - return AuthenticationOAuth2UserTenantDetailDTO( - ) - """ - - def testAuthenticationOAuth2UserTenantDetailDTO(self): - """Test AuthenticationOAuth2UserTenantDetailDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_details_dto.py b/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_details_dto.py deleted file mode 100644 index 8aaad6fbcc..0000000000 --- a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_details_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_details_dto import AuthenticationOAuth2UserTenantDetailsDTO - -class TestAuthenticationOAuth2UserTenantDetailsDTO(unittest.TestCase): - """AuthenticationOAuth2UserTenantDetailsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AuthenticationOAuth2UserTenantDetailsDTO: - """Test AuthenticationOAuth2UserTenantDetailsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AuthenticationOAuth2UserTenantDetailsDTO` - """ - model = AuthenticationOAuth2UserTenantDetailsDTO() - if include_optional: - return AuthenticationOAuth2UserTenantDetailsDTO( - details = [ - visier_platform_sdk.models.authentication/o_auth2_user_tenant_detail_dto.authentication.OAuth2UserTenantDetailDTO( - tenant_code = '', - display_name = '', - properties = None, ) - ] - ) - else: - return AuthenticationOAuth2UserTenantDetailsDTO( - ) - """ - - def testAuthenticationOAuth2UserTenantDetailsDTO(self): - """Test AuthenticationOAuth2UserTenantDetailsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_properties_dto.py b/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_properties_dto.py deleted file mode 100644 index 58041a64e1..0000000000 --- a/src/visier_platform_sdk/test/test_authentication_o_auth2_user_tenant_properties_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_properties_dto import AuthenticationOAuth2UserTenantPropertiesDTO - -class TestAuthenticationOAuth2UserTenantPropertiesDTO(unittest.TestCase): - """AuthenticationOAuth2UserTenantPropertiesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> AuthenticationOAuth2UserTenantPropertiesDTO: - """Test AuthenticationOAuth2UserTenantPropertiesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `AuthenticationOAuth2UserTenantPropertiesDTO` - """ - model = AuthenticationOAuth2UserTenantPropertiesDTO() - if include_optional: - return AuthenticationOAuth2UserTenantPropertiesDTO( - vanity_url_name = '' - ) - else: - return AuthenticationOAuth2UserTenantPropertiesDTO( - ) - """ - - def testAuthenticationOAuth2UserTenantPropertiesDTO(self): - """Test AuthenticationOAuth2UserTenantPropertiesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_bamboo_auth_params_dto.py b/src/visier_platform_sdk/test/test_bamboo_auth_params_dto.py new file mode 100644 index 0000000000..0b466a508a --- /dev/null +++ b/src/visier_platform_sdk/test/test_bamboo_auth_params_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.bamboo_auth_params_dto import BambooAuthParamsDTO + +class TestBambooAuthParamsDTO(unittest.TestCase): + """BambooAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BambooAuthParamsDTO: + """Test BambooAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BambooAuthParamsDTO( + access_key = '', + tenant_domain_name = '' + ) + else: + return BambooAuthParamsDTO( + ) + + def testBambooAuthParamsDTO(self): + """Test BambooAuthParamsDTO""" + def validate_instance(instance): + BambooAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = BambooAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_basic_information_dto.py b/src/visier_platform_sdk/test/test_basic_information_dto.py new file mode 100644 index 0000000000..d2e75faa6f --- /dev/null +++ b/src/visier_platform_sdk/test/test_basic_information_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO + +class TestBasicInformationDTO(unittest.TestCase): + """BasicInformationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BasicInformationDTO: + """Test BasicInformationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BasicInformationDTO( + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + synonym_list = visier_platform_sdk.models.synonym_list_dto.SynonymListDTO( + synonyms = [ + '' + ], ) + ) + else: + return BasicInformationDTO( + ) + + def testBasicInformationDTO(self): + """Test BasicInformationDTO""" + def validate_instance(instance): + BasicInformationDTO.model_validate(inst_req_only) + instance_deserialized = BasicInformationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_basic_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_basic_s3_auth_params_dto.py new file mode 100644 index 0000000000..75f020ec55 --- /dev/null +++ b/src/visier_platform_sdk/test/test_basic_s3_auth_params_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.basic_s3_auth_params_dto import BasicS3AuthParamsDTO + +class TestBasicS3AuthParamsDTO(unittest.TestCase): + """BasicS3AuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BasicS3AuthParamsDTO: + """Test BasicS3AuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BasicS3AuthParamsDTO( + bucket_name = '', + bucket_region = '', + access_key = '', + secret_key = '', + path = '' + ) + else: + return BasicS3AuthParamsDTO( + ) + + def testBasicS3AuthParamsDTO(self): + """Test BasicS3AuthParamsDTO""" + def validate_instance(instance): + BasicS3AuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = BasicS3AuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_batch_tenant_provision_apidto.py b/src/visier_platform_sdk/test/test_batch_tenant_provision_apidto.py new file mode 100644 index 0000000000..edd252ad55 --- /dev/null +++ b/src/visier_platform_sdk/test/test_batch_tenant_provision_apidto.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.batch_tenant_provision_apidto import BatchTenantProvisionAPIDTO + +class TestBatchTenantProvisionAPIDTO(unittest.TestCase): + """BatchTenantProvisionAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BatchTenantProvisionAPIDTO: + """Test BatchTenantProvisionAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BatchTenantProvisionAPIDTO( + tenants = [ + visier_platform_sdk.models.tenant_provision_apidto.TenantProvisionAPIDTO( + tenant_code = '', + tenant_display_name = '', + purchased_modules = [ + '' + ], + industry_code = 56, + embeddable_domains = [ + '' + ], + custom_properties = [ + visier_platform_sdk.models.custom_tenant_property_dto.CustomTenantPropertyDTO( + key = '', + value = '', ) + ], + sso_instance_issuers = [ + '' + ], + allowed_o_auth_idp_url_domains = [ + '' + ], ) + ] + ) + else: + return BatchTenantProvisionAPIDTO( + ) + + def testBatchTenantProvisionAPIDTO(self): + """Test BatchTenantProvisionAPIDTO""" + def validate_instance(instance): + BatchTenantProvisionAPIDTO.model_validate(inst_req_only) + instance_deserialized = BatchTenantProvisionAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_benchmark_info.py b/src/visier_platform_sdk/test/test_benchmark_info.py index 41b31ca19d..a6aaf717e0 100644 --- a/src/visier_platform_sdk/test/test_benchmark_info.py +++ b/src/visier_platform_sdk/test/test_benchmark_info.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.benchmark_info import BenchmarkInfo class TestBenchmarkInfo(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> BenchmarkInfo: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `BenchmarkInfo` - """ - model = BenchmarkInfo() + if include_optional: return BenchmarkInfo( reference_date = '', @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> BenchmarkInfo: release_date = '', api_release_date = '', ) - """ def testBenchmarkInfo(self): """Test BenchmarkInfo""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + BenchmarkInfo.model_validate(inst_req_only) + instance_deserialized = BenchmarkInfo.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_benchmark_value.py b/src/visier_platform_sdk/test/test_benchmark_value.py index e1b5dec84e..7ea556b0ae 100644 --- a/src/visier_platform_sdk/test/test_benchmark_value.py +++ b/src/visier_platform_sdk/test/test_benchmark_value.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.benchmark_value import BenchmarkValue class TestBenchmarkValue(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> BenchmarkValue: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `BenchmarkValue` - """ - model = BenchmarkValue() + if include_optional: return BenchmarkValue( percentile10 = 56, @@ -62,12 +61,19 @@ def make_instance(self, include_optional) -> BenchmarkValue: industry_id = '', career_level_id = '', ) - """ def testBenchmarkValue(self): """Test BenchmarkValue""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + BenchmarkValue.model_validate(inst_req_only) + instance_deserialized = BenchmarkValue.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_big_query_auth_params_dto.py b/src/visier_platform_sdk/test/test_big_query_auth_params_dto.py new file mode 100644 index 0000000000..393f21117c --- /dev/null +++ b/src/visier_platform_sdk/test/test_big_query_auth_params_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.big_query_auth_params_dto import BigQueryAuthParamsDTO + +class TestBigQueryAuthParamsDTO(unittest.TestCase): + """BigQueryAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BigQueryAuthParamsDTO: + """Test BigQueryAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BigQueryAuthParamsDTO( + project_id = '', + dataset_location = '', + refresh_token = '', + client_id = '', + client_secret = '', + default_dataset = '', + service_account_params = visier_platform_sdk.models.big_query_service_account_params_dto.BigQueryServiceAccountParamsDTO( + service_account_email = '', + private_key = '', ) + ) + else: + return BigQueryAuthParamsDTO( + ) + + def testBigQueryAuthParamsDTO(self): + """Test BigQueryAuthParamsDTO""" + def validate_instance(instance): + BigQueryAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = BigQueryAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_big_query_service_account_params_dto.py b/src/visier_platform_sdk/test/test_big_query_service_account_params_dto.py new file mode 100644 index 0000000000..b6a1b07c2d --- /dev/null +++ b/src/visier_platform_sdk/test/test_big_query_service_account_params_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.big_query_service_account_params_dto import BigQueryServiceAccountParamsDTO + +class TestBigQueryServiceAccountParamsDTO(unittest.TestCase): + """BigQueryServiceAccountParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BigQueryServiceAccountParamsDTO: + """Test BigQueryServiceAccountParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BigQueryServiceAccountParamsDTO( + service_account_email = '', + private_key = '' + ) + else: + return BigQueryServiceAccountParamsDTO( + ) + + def testBigQueryServiceAccountParamsDTO(self): + """Test BigQueryServiceAccountParamsDTO""" + def validate_instance(instance): + BigQueryServiceAccountParamsDTO.model_validate(inst_req_only) + instance_deserialized = BigQueryServiceAccountParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_bulk_change_response_dto.py new file mode 100644 index 0000000000..65e46a23c3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_bulk_change_response_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO + +class TestBulkChangeResponseDTO(unittest.TestCase): + """BulkChangeResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BulkChangeResponseDTO: + """Test BulkChangeResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BulkChangeResponseDTO( + successes = [ + visier_platform_sdk.models.successful_change_dto.SuccessfulChangeDTO( + execution_context = None, + object_name = '', + uuid = '', + display_name = '', ) + ], + failures = [ + visier_platform_sdk.models.failed_change_dto.FailedChangeDTO( + execution_context = None, + object_name = '', + uuid = '', + display_name = '', + messages = [ + '' + ], ) + ] + ) + else: + return BulkChangeResponseDTO( + ) + + def testBulkChangeResponseDTO(self): + """Test BulkChangeResponseDTO""" + def validate_instance(instance): + BulkChangeResponseDTO.model_validate(inst_req_only) + instance_deserialized = BulkChangeResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_bulk_data_access_set_response_dto.py b/src/visier_platform_sdk/test/test_bulk_data_access_set_response_dto.py new file mode 100644 index 0000000000..d88f180de1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_bulk_data_access_set_response_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.bulk_data_access_set_response_dto import BulkDataAccessSetResponseDTO + +class TestBulkDataAccessSetResponseDTO(unittest.TestCase): + """BulkDataAccessSetResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BulkDataAccessSetResponseDTO: + """Test BulkDataAccessSetResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BulkDataAccessSetResponseDTO( + successes = [ + visier_platform_sdk.models.data_access_set_success_dto.DataAccessSetSuccessDTO( + data_access_set_id = '', + display_name = '', ) + ], + failures = [ + visier_platform_sdk.models.data_access_set_failure_dto.DataAccessSetFailureDTO( + data_access_set_id = '', + display_name = '', + error = None, ) + ] + ) + else: + return BulkDataAccessSetResponseDTO( + ) + + def testBulkDataAccessSetResponseDTO(self): + """Test BulkDataAccessSetResponseDTO""" + def validate_instance(instance): + BulkDataAccessSetResponseDTO.model_validate(inst_req_only) + instance_deserialized = BulkDataAccessSetResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_business_location_dto.py b/src/visier_platform_sdk/test/test_business_location_dto.py new file mode 100644 index 0000000000..b99a144f7e --- /dev/null +++ b/src/visier_platform_sdk/test/test_business_location_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.business_location_dto import BusinessLocationDTO + +class TestBusinessLocationDTO(unittest.TestCase): + """BusinessLocationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BusinessLocationDTO: + """Test BusinessLocationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BusinessLocationDTO( + country_code = '', + postal_code = '' + ) + else: + return BusinessLocationDTO( + ) + + def testBusinessLocationDTO(self): + """Test BusinessLocationDTO""" + def validate_instance(instance): + BusinessLocationDTO.model_validate(inst_req_only) + instance_deserialized = BusinessLocationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_calculated_property_type_dto.py b/src/visier_platform_sdk/test/test_calculated_property_type_dto.py new file mode 100644 index 0000000000..659afee4d3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_calculated_property_type_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.calculated_property_type_dto import CalculatedPropertyTypeDTO + +class TestCalculatedPropertyTypeDTO(unittest.TestCase): + """CalculatedPropertyTypeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CalculatedPropertyTypeDTO: + """Test CalculatedPropertyTypeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CalculatedPropertyTypeDTO( + data_type = '', + formula = '' + ) + else: + return CalculatedPropertyTypeDTO( + ) + + def testCalculatedPropertyTypeDTO(self): + """Test CalculatedPropertyTypeDTO""" + def validate_instance(instance): + CalculatedPropertyTypeDTO.model_validate(inst_req_only) + instance_deserialized = CalculatedPropertyTypeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_calculation_concept_configuration_dto.py b/src/visier_platform_sdk/test/test_calculation_concept_configuration_dto.py new file mode 100644 index 0000000000..9565fc6c40 --- /dev/null +++ b/src/visier_platform_sdk/test/test_calculation_concept_configuration_dto.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.calculation_concept_configuration_dto import CalculationConceptConfigurationDTO + +class TestCalculationConceptConfigurationDTO(unittest.TestCase): + """CalculationConceptConfigurationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CalculationConceptConfigurationDTO: + """Test CalculationConceptConfigurationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CalculationConceptConfigurationDTO( + perspectives = [ + visier_platform_sdk.models.perspective_configuration_dto.PerspectiveConfigurationDTO( + perspective_id = '', + perspective_name = '', + perspective_nodes = [ + visier_platform_sdk.models.perspective_node_dto.PerspectiveNodeDTO( + selection_concept_uuid = '', + symbol_name = '', + analytic_object_filters = [ + visier_platform_sdk.models.analytic_object_filter_dto.AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ], ) + ], ) + ], ) + ] + ) + else: + return CalculationConceptConfigurationDTO( + ) + + def testCalculationConceptConfigurationDTO(self): + """Test CalculationConceptConfigurationDTO""" + def validate_instance(instance): + CalculationConceptConfigurationDTO.model_validate(inst_req_only) + instance_deserialized = CalculationConceptConfigurationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_calculation_concept_configuration_map_dto.py b/src/visier_platform_sdk/test/test_calculation_concept_configuration_map_dto.py new file mode 100644 index 0000000000..7cab9d3ec6 --- /dev/null +++ b/src/visier_platform_sdk/test/test_calculation_concept_configuration_map_dto.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.calculation_concept_configuration_map_dto import CalculationConceptConfigurationMapDTO + +class TestCalculationConceptConfigurationMapDTO(unittest.TestCase): + """CalculationConceptConfigurationMapDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CalculationConceptConfigurationMapDTO: + """Test CalculationConceptConfigurationMapDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CalculationConceptConfigurationMapDTO( + perspectives_to_map = [ + visier_platform_sdk.models.perspective_configuration_dto.PerspectiveConfigurationDTO( + perspective_id = '', + perspective_name = '', + perspective_nodes = [ + visier_platform_sdk.models.perspective_node_dto.PerspectiveNodeDTO( + selection_concept_uuid = '', + symbol_name = '', + analytic_object_filters = [ + visier_platform_sdk.models.analytic_object_filter_dto.AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ], ) + ], ) + ], ) + ] + ) + else: + return CalculationConceptConfigurationMapDTO( + ) + + def testCalculationConceptConfigurationMapDTO(self): + """Test CalculationConceptConfigurationMapDTO""" + def validate_instance(instance): + CalculationConceptConfigurationMapDTO.model_validate(inst_req_only) + instance_deserialized = CalculationConceptConfigurationMapDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_calculation_concept_dto.py b/src/visier_platform_sdk/test/test_calculation_concept_dto.py new file mode 100644 index 0000000000..74c204dd6c --- /dev/null +++ b/src/visier_platform_sdk/test/test_calculation_concept_dto.py @@ -0,0 +1,86 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.calculation_concept_dto import CalculationConceptDTO + +class TestCalculationConceptDTO(unittest.TestCase): + """CalculationConceptDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CalculationConceptDTO: + """Test CalculationConceptDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CalculationConceptDTO( + uuid = '', + name = '', + configuration = visier_platform_sdk.models.calculation_concept_configuration_dto.CalculationConceptConfigurationDTO( + perspectives = [ + visier_platform_sdk.models.perspective_configuration_dto.PerspectiveConfigurationDTO( + perspective_id = '', + perspective_name = '', + perspective_nodes = [ + visier_platform_sdk.models.perspective_node_dto.PerspectiveNodeDTO( + selection_concept_uuid = '', + symbol_name = '', + analytic_object_filters = [ + visier_platform_sdk.models.analytic_object_filter_dto.AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ], ) + ], ) + ], ) + ], ) + ) + else: + return CalculationConceptDTO( + ) + + def testCalculationConceptDTO(self): + """Test CalculationConceptDTO""" + def validate_instance(instance): + CalculationConceptDTO.model_validate(inst_req_only) + instance_deserialized = CalculationConceptDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_calculation_concept_list_dto.py b/src/visier_platform_sdk/test/test_calculation_concept_list_dto.py new file mode 100644 index 0000000000..3c05a38e79 --- /dev/null +++ b/src/visier_platform_sdk/test/test_calculation_concept_list_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.calculation_concept_list_dto import CalculationConceptListDTO + +class TestCalculationConceptListDTO(unittest.TestCase): + """CalculationConceptListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CalculationConceptListDTO: + """Test CalculationConceptListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CalculationConceptListDTO( + concepts = [ + visier_platform_sdk.models.calculation_concept_dto.CalculationConceptDTO( + uuid = '', + name = '', + configuration = None, ) + ] + ) + else: + return CalculationConceptListDTO( + ) + + def testCalculationConceptListDTO(self): + """Test CalculationConceptListDTO""" + def validate_instance(instance): + CalculationConceptListDTO.model_validate(inst_req_only) + instance_deserialized = CalculationConceptListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cancel_job_batch_from_job_id_dto.py b/src/visier_platform_sdk/test/test_cancel_job_batch_from_job_id_dto.py new file mode 100644 index 0000000000..9f18e66850 --- /dev/null +++ b/src/visier_platform_sdk/test/test_cancel_job_batch_from_job_id_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cancel_job_batch_from_job_id_dto import CancelJobBatchFromJobIdDTO + +class TestCancelJobBatchFromJobIdDTO(unittest.TestCase): + """CancelJobBatchFromJobIdDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CancelJobBatchFromJobIdDTO: + """Test CancelJobBatchFromJobIdDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CancelJobBatchFromJobIdDTO( + job_ids = [ + '' + ] + ) + else: + return CancelJobBatchFromJobIdDTO( + ) + + def testCancelJobBatchFromJobIdDTO(self): + """Test CancelJobBatchFromJobIdDTO""" + def validate_instance(instance): + CancelJobBatchFromJobIdDTO.model_validate(inst_req_only) + instance_deserialized = CancelJobBatchFromJobIdDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_capabilities_dto.py b/src/visier_platform_sdk/test/test_capabilities_dto.py new file mode 100644 index 0000000000..fad1d109c5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_capabilities_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.capabilities_dto import CapabilitiesDTO + +class TestCapabilitiesDTO(unittest.TestCase): + """CapabilitiesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CapabilitiesDTO: + """Test CapabilitiesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CapabilitiesDTO( + capability = '', + access_level = '', + view_level = '' + ) + else: + return CapabilitiesDTO( + ) + + def testCapabilitiesDTO(self): + """Test CapabilitiesDTO""" + def validate_instance(instance): + CapabilitiesDTO.model_validate(inst_req_only) + instance_deserialized = CapabilitiesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_capability_dto.py b/src/visier_platform_sdk/test/test_capability_dto.py new file mode 100644 index 0000000000..c6b9c2a83d --- /dev/null +++ b/src/visier_platform_sdk/test/test_capability_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.capability_dto import CapabilityDTO + +class TestCapabilityDTO(unittest.TestCase): + """CapabilityDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CapabilityDTO: + """Test CapabilityDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CapabilityDTO( + name = '', + display_name = '', + description = '' + ) + else: + return CapabilityDTO( + ) + + def testCapabilityDTO(self): + """Test CapabilityDTO""" + def validate_instance(instance): + CapabilityDTO.model_validate(inst_req_only) + instance_deserialized = CapabilityDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_capability_group_dto.py b/src/visier_platform_sdk/test/test_capability_group_dto.py new file mode 100644 index 0000000000..472384b0a7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_capability_group_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.capability_group_dto import CapabilityGroupDTO + +class TestCapabilityGroupDTO(unittest.TestCase): + """CapabilityGroupDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CapabilityGroupDTO: + """Test CapabilityGroupDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CapabilityGroupDTO( + group = 'unknown', + access_level = 'NoAccess', + view_level = 'Simple', + api_access_level = 'NoAccess', + api_view_level = 'Simple' + ) + else: + return CapabilityGroupDTO( + ) + + def testCapabilityGroupDTO(self): + """Test CapabilityGroupDTO""" + def validate_instance(instance): + CapabilityGroupDTO.model_validate(inst_req_only) + instance_deserialized = CapabilityGroupDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cell_distribution_bin_dto.py b/src/visier_platform_sdk/test/test_cell_distribution_bin_dto.py new file mode 100644 index 0000000000..3b53aa8272 --- /dev/null +++ b/src/visier_platform_sdk/test/test_cell_distribution_bin_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cell_distribution_bin_dto import CellDistributionBinDTO + +class TestCellDistributionBinDTO(unittest.TestCase): + """CellDistributionBinDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CellDistributionBinDTO: + """Test CellDistributionBinDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CellDistributionBinDTO( + value = '', + support = '' + ) + else: + return CellDistributionBinDTO( + ) + + def testCellDistributionBinDTO(self): + """Test CellDistributionBinDTO""" + def validate_instance(instance): + CellDistributionBinDTO.model_validate(inst_req_only) + instance_deserialized = CellDistributionBinDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cell_distribution_options_dto.py b/src/visier_platform_sdk/test/test_cell_distribution_options_dto.py new file mode 100644 index 0000000000..8f76fac219 --- /dev/null +++ b/src/visier_platform_sdk/test/test_cell_distribution_options_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cell_distribution_options_dto import CellDistributionOptionsDTO + +class TestCellDistributionOptionsDTO(unittest.TestCase): + """CellDistributionOptionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CellDistributionOptionsDTO: + """Test CellDistributionOptionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CellDistributionOptionsDTO( + bin_count = 56 + ) + else: + return CellDistributionOptionsDTO( + ) + + def testCellDistributionOptionsDTO(self): + """Test CellDistributionOptionsDTO""" + def validate_instance(instance): + CellDistributionOptionsDTO.model_validate(inst_req_only) + instance_deserialized = CellDistributionOptionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cell_dto.py b/src/visier_platform_sdk/test/test_cell_dto.py new file mode 100644 index 0000000000..481a491ccb --- /dev/null +++ b/src/visier_platform_sdk/test/test_cell_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cell_dto import CellDTO + +class TestCellDTO(unittest.TestCase): + """CellDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CellDTO: + """Test CellDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CellDTO( + value = '', + support = '', + coordinates = [ + 56 + ], + distribution = [ + visier_platform_sdk.models.cell_distribution_bin_dto.CellDistributionBinDTO( + value = '', + support = '', ) + ] + ) + else: + return CellDTO( + ) + + def testCellDTO(self): + """Test CellDTO""" + def validate_instance(instance): + CellDTO.model_validate(inst_req_only) + instance_deserialized = CellDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cell_set_axis_dto.py b/src/visier_platform_sdk/test/test_cell_set_axis_dto.py new file mode 100644 index 0000000000..fc3b2984c9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_cell_set_axis_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cell_set_axis_dto import CellSetAxisDTO + +class TestCellSetAxisDTO(unittest.TestCase): + """CellSetAxisDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CellSetAxisDTO: + """Test CellSetAxisDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CellSetAxisDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ), + positions = [ + visier_platform_sdk.models.cell_set_axis_position_dto.CellSetAxisPositionDTO( + path = [ + '' + ], + display_name = '', + display_name_path = [ + '' + ], ) + ] + ) + else: + return CellSetAxisDTO( + ) + + def testCellSetAxisDTO(self): + """Test CellSetAxisDTO""" + def validate_instance(instance): + CellSetAxisDTO.model_validate(inst_req_only) + instance_deserialized = CellSetAxisDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cell_set_axis_position_dto.py b/src/visier_platform_sdk/test/test_cell_set_axis_position_dto.py new file mode 100644 index 0000000000..a1f81cd668 --- /dev/null +++ b/src/visier_platform_sdk/test/test_cell_set_axis_position_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cell_set_axis_position_dto import CellSetAxisPositionDTO + +class TestCellSetAxisPositionDTO(unittest.TestCase): + """CellSetAxisPositionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CellSetAxisPositionDTO: + """Test CellSetAxisPositionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CellSetAxisPositionDTO( + path = [ + '' + ], + display_name = '', + display_name_path = [ + '' + ] + ) + else: + return CellSetAxisPositionDTO( + ) + + def testCellSetAxisPositionDTO(self): + """Test CellSetAxisPositionDTO""" + def validate_instance(instance): + CellSetAxisPositionDTO.model_validate(inst_req_only) + instance_deserialized = CellSetAxisPositionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cell_set_dto.py b/src/visier_platform_sdk/test/test_cell_set_dto.py new file mode 100644 index 0000000000..e932fc3144 --- /dev/null +++ b/src/visier_platform_sdk/test/test_cell_set_dto.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cell_set_dto import CellSetDTO + +class TestCellSetDTO(unittest.TestCase): + """CellSetDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CellSetDTO: + """Test CellSetDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CellSetDTO( + cells = [ + visier_platform_sdk.models.cell_dto.CellDTO( + value = '', + support = '', + coordinates = [ + 56 + ], + distribution = [ + visier_platform_sdk.models.cell_distribution_bin_dto.CellDistributionBinDTO( + value = '', + support = '', ) + ], ) + ], + axes = [ + visier_platform_sdk.models.cell_set_axis_dto.CellSetAxisDTO( + dimension = None, + positions = [ + visier_platform_sdk.models.cell_set_axis_position_dto.CellSetAxisPositionDTO( + path = [ + '' + ], + display_name = '', + display_name_path = [ + '' + ], ) + ], ) + ], + lineage = visier_platform_sdk.models.lineage_dto.LineageDTO( + cell_sets = [ + visier_platform_sdk.models.cell_set_dto.CellSetDTO( + cells = [ + visier_platform_sdk.models.cell_dto.CellDTO( + value = '', + support = '', + coordinates = [ + 56 + ], + distribution = [ + visier_platform_sdk.models.cell_distribution_bin_dto.CellDistributionBinDTO( + value = '', + support = '', ) + ], ) + ], + axes = [ + visier_platform_sdk.models.cell_set_axis_dto.CellSetAxisDTO( + dimension = None, + positions = [ + visier_platform_sdk.models.cell_set_axis_position_dto.CellSetAxisPositionDTO( + path = [ + '' + ], + display_name = '', + display_name_path = [ + '' + ], ) + ], ) + ], + lineage = None, ) + ], + op = '', ) + ) + else: + return CellSetDTO( + ) + + def testCellSetDTO(self): + """Test CellSetDTO""" + def validate_instance(instance): + CellSetDTO.model_validate(inst_req_only) + instance_deserialized = CellSetDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cell_set_or_error_dto.py b/src/visier_platform_sdk/test/test_cell_set_or_error_dto.py new file mode 100644 index 0000000000..4f0ba8c759 --- /dev/null +++ b/src/visier_platform_sdk/test/test_cell_set_or_error_dto.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cell_set_or_error_dto import CellSetOrErrorDTO + +class TestCellSetOrErrorDTO(unittest.TestCase): + """CellSetOrErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CellSetOrErrorDTO: + """Test CellSetOrErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CellSetOrErrorDTO( + cell_set = visier_platform_sdk.models.cell_set_dto.CellSetDTO( + cells = [ + visier_platform_sdk.models.cell_dto.CellDTO( + value = '', + support = '', + coordinates = [ + 56 + ], + distribution = [ + visier_platform_sdk.models.cell_distribution_bin_dto.CellDistributionBinDTO( + value = '', + support = '', ) + ], ) + ], + axes = [ + visier_platform_sdk.models.cell_set_axis_dto.CellSetAxisDTO( + dimension = None, + positions = [ + visier_platform_sdk.models.cell_set_axis_position_dto.CellSetAxisPositionDTO( + path = [ + '' + ], + display_name = '', + display_name_path = [ + '' + ], ) + ], ) + ], + lineage = None, ), + error = visier_platform_sdk.models.query_execution_error_dto.QueryExecutionErrorDTO( + error_code = '', + message = '', + all_errors = [ + visier_platform_sdk.models.query_execution_errors_dto.QueryExecutionErrorsDTO( + error_code = '', + message = '', + all_error_details = [ + visier_platform_sdk.models.query_execution_error_details_dto.QueryExecutionErrorDetailsDTO( + object_type = '', + query_index = 56, + column_index = 56, + error = '', ) + ], ) + ], ) + ) + else: + return CellSetOrErrorDTO( + ) + + def testCellSetOrErrorDTO(self): + """Test CellSetOrErrorDTO""" + def validate_instance(instance): + CellSetOrErrorDTO.model_validate(inst_req_only) + instance_deserialized = CellSetOrErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_clone_files_into_source_parameters_dto.py b/src/visier_platform_sdk/test/test_clone_files_into_source_parameters_dto.py new file mode 100644 index 0000000000..e1ae5fe26e --- /dev/null +++ b/src/visier_platform_sdk/test/test_clone_files_into_source_parameters_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.clone_files_into_source_parameters_dto import CloneFilesIntoSourceParametersDTO + +class TestCloneFilesIntoSourceParametersDTO(unittest.TestCase): + """CloneFilesIntoSourceParametersDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CloneFilesIntoSourceParametersDTO: + """Test CloneFilesIntoSourceParametersDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CloneFilesIntoSourceParametersDTO( + origin_source = '', + target_source = '', + date_range = visier_platform_sdk.models.date_range_dto.DateRangeDTO( + start = '', + end = '', ) + ) + else: + return CloneFilesIntoSourceParametersDTO( + ) + + def testCloneFilesIntoSourceParametersDTO(self): + """Test CloneFilesIntoSourceParametersDTO""" + def validate_instance(instance): + CloneFilesIntoSourceParametersDTO.model_validate(inst_req_only) + instance_deserialized = CloneFilesIntoSourceParametersDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cohort_filter_dto.py b/src/visier_platform_sdk/test/test_cohort_filter_dto.py new file mode 100644 index 0000000000..7ad943b7b3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_cohort_filter_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.cohort_filter_dto import CohortFilterDTO + +class TestCohortFilterDTO(unittest.TestCase): + """CohortFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CohortFilterDTO: + """Test CohortFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CohortFilterDTO( + key_group = visier_platform_sdk.models.key_group_filter_dto.KeyGroupFilterDTO( + filters = [ + visier_platform_sdk.models.key_group_filter_item_dto.KeyGroupFilterItemDTO( + formula = '', + selection_concept = None, + member_set = None, ) + ], ), + exclude = True, + time_interval = visier_platform_sdk.models.query_time_interval_dto.QueryTimeIntervalDTO( + from_instant = '', + from_date_time = '', + dynamic_date_from = 'SOURCE', + interval_period_type = 'MONTH', + interval_period_count = 56, + direction = 'BACKWARD', + shift = None, ) + ) + else: + return CohortFilterDTO( + ) + + def testCohortFilterDTO(self): + """Test CohortFilterDTO""" + def validate_instance(instance): + CohortFilterDTO.model_validate(inst_req_only) + instance_deserialized = CohortFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_commit_and_publish_operation_response_dto.py b/src/visier_platform_sdk/test/test_commit_and_publish_operation_response_dto.py new file mode 100644 index 0000000000..70d368fa84 --- /dev/null +++ b/src/visier_platform_sdk/test/test_commit_and_publish_operation_response_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.commit_and_publish_operation_response_dto import CommitAndPublishOperationResponseDTO + +class TestCommitAndPublishOperationResponseDTO(unittest.TestCase): + """CommitAndPublishOperationResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommitAndPublishOperationResponseDTO: + """Test CommitAndPublishOperationResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CommitAndPublishOperationResponseDTO( + published_version = visier_platform_sdk.models.project_dto.ProjectDTO( + id = '', + name = '', + description = '', + release_version = '', + ticket_number = '', + version_number = 56, + capabilities = [ + 'canRead' + ], ) + ) + else: + return CommitAndPublishOperationResponseDTO( + ) + + def testCommitAndPublishOperationResponseDTO(self): + """Test CommitAndPublishOperationResponseDTO""" + def validate_instance(instance): + CommitAndPublishOperationResponseDTO.model_validate(inst_req_only) + instance_deserialized = CommitAndPublishOperationResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_commit_dto.py b/src/visier_platform_sdk/test/test_commit_dto.py new file mode 100644 index 0000000000..e23fd5380b --- /dev/null +++ b/src/visier_platform_sdk/test/test_commit_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.commit_dto import CommitDTO + +class TestCommitDTO(unittest.TestCase): + """CommitDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommitDTO: + """Test CommitDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CommitDTO( + id = '', + name = '', + description = '' + ) + else: + return CommitDTO( + ) + + def testCommitDTO(self): + """Test CommitDTO""" + def validate_instance(instance): + CommitDTO.model_validate(inst_req_only) + instance_deserialized = CommitDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_configuration_result_dto.py b/src/visier_platform_sdk/test/test_concept_configuration_result_dto.py new file mode 100644 index 0000000000..371b823711 --- /dev/null +++ b/src/visier_platform_sdk/test/test_concept_configuration_result_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.concept_configuration_result_dto import ConceptConfigurationResultDTO + +class TestConceptConfigurationResultDTO(unittest.TestCase): + """ConceptConfigurationResultDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConceptConfigurationResultDTO: + """Test ConceptConfigurationResultDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConceptConfigurationResultDTO( + concept_id = '', + project_id = '', + message = '' + ) + else: + return ConceptConfigurationResultDTO( + ) + + def testConceptConfigurationResultDTO(self): + """Test ConceptConfigurationResultDTO""" + def validate_instance(instance): + ConceptConfigurationResultDTO.model_validate(inst_req_only) + instance_deserialized = ConceptConfigurationResultDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_definition_dto.py b/src/visier_platform_sdk/test/test_concept_definition_dto.py new file mode 100644 index 0000000000..85927d3eb0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_concept_definition_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.concept_definition_dto import ConceptDefinitionDTO + +class TestConceptDefinitionDTO(unittest.TestCase): + """ConceptDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConceptDefinitionDTO: + """Test ConceptDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConceptDefinitionDTO( + uuid = '', + object_name = '', + basic_information = visier_platform_sdk.models.basic_information_dto.BasicInformationDTO( + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + synonym_list = None, ), + details = visier_platform_sdk.models.concept_type_details_dto.ConceptTypeDetailsDTO( + process = None, ) + ) + else: + return ConceptDefinitionDTO( + ) + + def testConceptDefinitionDTO(self): + """Test ConceptDefinitionDTO""" + def validate_instance(instance): + ConceptDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = ConceptDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_delete_request_dto.py b/src/visier_platform_sdk/test/test_concept_delete_request_dto.py new file mode 100644 index 0000000000..96b8d97654 --- /dev/null +++ b/src/visier_platform_sdk/test/test_concept_delete_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.concept_delete_request_dto import ConceptDeleteRequestDTO + +class TestConceptDeleteRequestDTO(unittest.TestCase): + """ConceptDeleteRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConceptDeleteRequestDTO: + """Test ConceptDeleteRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConceptDeleteRequestDTO( + concepts = [ + visier_platform_sdk.models.concept_delete_with_context_dto.ConceptDeleteWithContextDTO( + execution_context = None, + concept = None, ) + ] + ) + else: + return ConceptDeleteRequestDTO( + ) + + def testConceptDeleteRequestDTO(self): + """Test ConceptDeleteRequestDTO""" + def validate_instance(instance): + ConceptDeleteRequestDTO.model_validate(inst_req_only) + instance_deserialized = ConceptDeleteRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_delete_with_context_dto.py b/src/visier_platform_sdk/test/test_concept_delete_with_context_dto.py new file mode 100644 index 0000000000..c6cc2a2c4b --- /dev/null +++ b/src/visier_platform_sdk/test/test_concept_delete_with_context_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.concept_delete_with_context_dto import ConceptDeleteWithContextDTO + +class TestConceptDeleteWithContextDTO(unittest.TestCase): + """ConceptDeleteWithContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConceptDeleteWithContextDTO: + """Test ConceptDeleteWithContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConceptDeleteWithContextDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + concept = visier_platform_sdk.models.object_id_dto.ObjectIdDTO( + uuid = '', + object_name = '', ) + ) + else: + return ConceptDeleteWithContextDTO( + ) + + def testConceptDeleteWithContextDTO(self): + """Test ConceptDeleteWithContextDTO""" + def validate_instance(instance): + ConceptDeleteWithContextDTO.model_validate(inst_req_only) + instance_deserialized = ConceptDeleteWithContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_request_dto.py b/src/visier_platform_sdk/test/test_concept_request_dto.py new file mode 100644 index 0000000000..e47de6caab --- /dev/null +++ b/src/visier_platform_sdk/test/test_concept_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.concept_request_dto import ConceptRequestDTO + +class TestConceptRequestDTO(unittest.TestCase): + """ConceptRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConceptRequestDTO: + """Test ConceptRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConceptRequestDTO( + concepts = [ + visier_platform_sdk.models.concept_with_context_dto.ConceptWithContextDTO( + execution_context = None, + concept = None, ) + ] + ) + else: + return ConceptRequestDTO( + ) + + def testConceptRequestDTO(self): + """Test ConceptRequestDTO""" + def validate_instance(instance): + ConceptRequestDTO.model_validate(inst_req_only) + instance_deserialized = ConceptRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_response_dto.py b/src/visier_platform_sdk/test/test_concept_response_dto.py new file mode 100644 index 0000000000..131dc3527f --- /dev/null +++ b/src/visier_platform_sdk/test/test_concept_response_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.concept_response_dto import ConceptResponseDTO + +class TestConceptResponseDTO(unittest.TestCase): + """ConceptResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConceptResponseDTO: + """Test ConceptResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConceptResponseDTO( + concepts = [ + visier_platform_sdk.models.concept_with_context_dto.ConceptWithContextDTO( + execution_context = None, + concept = None, ) + ] + ) + else: + return ConceptResponseDTO( + ) + + def testConceptResponseDTO(self): + """Test ConceptResponseDTO""" + def validate_instance(instance): + ConceptResponseDTO.model_validate(inst_req_only) + instance_deserialized = ConceptResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_type_details_dto.py b/src/visier_platform_sdk/test/test_concept_type_details_dto.py new file mode 100644 index 0000000000..8d994521f5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_concept_type_details_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.concept_type_details_dto import ConceptTypeDetailsDTO + +class TestConceptTypeDetailsDTO(unittest.TestCase): + """ConceptTypeDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConceptTypeDetailsDTO: + """Test ConceptTypeDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConceptTypeDetailsDTO( + process = visier_platform_sdk.models.process_concept_definition_dto.ProcessConceptDefinitionDTO( + analytic_object_name = '', + status_dimension_object_name = '', + participation_concept_uuid = '', + on_hold_concept_uuid = '', + stage_list = None, + outcome_list = None, + metric_list = None, + property_list = None, + tag_list = None, + visible_in_analytics = True, + include_with_vee = True, ) + ) + else: + return ConceptTypeDetailsDTO( + ) + + def testConceptTypeDetailsDTO(self): + """Test ConceptTypeDetailsDTO""" + def validate_instance(instance): + ConceptTypeDetailsDTO.model_validate(inst_req_only) + instance_deserialized = ConceptTypeDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_with_context_dto.py b/src/visier_platform_sdk/test/test_concept_with_context_dto.py new file mode 100644 index 0000000000..e9a5d1561d --- /dev/null +++ b/src/visier_platform_sdk/test/test_concept_with_context_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.concept_with_context_dto import ConceptWithContextDTO + +class TestConceptWithContextDTO(unittest.TestCase): + """ConceptWithContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConceptWithContextDTO: + """Test ConceptWithContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConceptWithContextDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + concept = visier_platform_sdk.models.concept_definition_dto.ConceptDefinitionDTO( + uuid = '', + object_name = '', + basic_information = None, + details = None, ) + ) + else: + return ConceptWithContextDTO( + ) + + def testConceptWithContextDTO(self): + """Test ConceptWithContextDTO""" + def validate_instance(instance): + ConceptWithContextDTO.model_validate(inst_req_only) + instance_deserialized = ConceptWithContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_connector.py b/src/visier_platform_sdk/test/test_connector.py new file mode 100644 index 0000000000..d0865fc57f --- /dev/null +++ b/src/visier_platform_sdk/test/test_connector.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.connector import Connector + +class TestConnector(unittest.TestCase): + """Connector unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Connector: + """Test Connector + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return Connector( + connector_id = '', + tenants = [ + visier_platform_sdk.models.tenant_and_credential.TenantAndCredential( + tenant_code = '', + credential_id = '', ) + ] + ) + else: + return Connector( + ) + + def testConnector(self): + """Test Connector""" + def validate_instance(instance): + Connector.model_validate(inst_req_only) + instance_deserialized = Connector.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_connector_info_response_dto.py b/src/visier_platform_sdk/test/test_connector_info_response_dto.py new file mode 100644 index 0000000000..fd7c556390 --- /dev/null +++ b/src/visier_platform_sdk/test/test_connector_info_response_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.connector_info_response_dto import ConnectorInfoResponseDTO + +class TestConnectorInfoResponseDTO(unittest.TestCase): + """ConnectorInfoResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConnectorInfoResponseDTO: + """Test ConnectorInfoResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConnectorInfoResponseDTO( + connector_id = '', + display_name = '', + description = '' + ) + else: + return ConnectorInfoResponseDTO( + ) + + def testConnectorInfoResponseDTO(self): + """Test ConnectorInfoResponseDTO""" + def validate_instance(instance): + ConnectorInfoResponseDTO.model_validate(inst_req_only) + instance_deserialized = ConnectorInfoResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_connector_setting_request_dto.py b/src/visier_platform_sdk/test/test_connector_setting_request_dto.py new file mode 100644 index 0000000000..3074cc276d --- /dev/null +++ b/src/visier_platform_sdk/test/test_connector_setting_request_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.connector_setting_request_dto import ConnectorSettingRequestDTO + +class TestConnectorSettingRequestDTO(unittest.TestCase): + """ConnectorSettingRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConnectorSettingRequestDTO: + """Test ConnectorSettingRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConnectorSettingRequestDTO( + setting_key = '', + value = '' + ) + else: + return ConnectorSettingRequestDTO( + ) + + def testConnectorSettingRequestDTO(self): + """Test ConnectorSettingRequestDTO""" + def validate_instance(instance): + ConnectorSettingRequestDTO.model_validate(inst_req_only) + instance_deserialized = ConnectorSettingRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_connector_setting_response_dto.py b/src/visier_platform_sdk/test/test_connector_setting_response_dto.py new file mode 100644 index 0000000000..8422b0aed5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_connector_setting_response_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.connector_setting_response_dto import ConnectorSettingResponseDTO + +class TestConnectorSettingResponseDTO(unittest.TestCase): + """ConnectorSettingResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConnectorSettingResponseDTO: + """Test ConnectorSettingResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConnectorSettingResponseDTO( + key = '', + value = '', + message = '' + ) + else: + return ConnectorSettingResponseDTO( + ) + + def testConnectorSettingResponseDTO(self): + """Test ConnectorSettingResponseDTO""" + def validate_instance(instance): + ConnectorSettingResponseDTO.model_validate(inst_req_only) + instance_deserialized = ConnectorSettingResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_connector_settings_response_dto.py b/src/visier_platform_sdk/test/test_connector_settings_response_dto.py new file mode 100644 index 0000000000..5c0a1ff1ff --- /dev/null +++ b/src/visier_platform_sdk/test/test_connector_settings_response_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.connector_settings_response_dto import ConnectorSettingsResponseDTO + +class TestConnectorSettingsResponseDTO(unittest.TestCase): + """ConnectorSettingsResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConnectorSettingsResponseDTO: + """Test ConnectorSettingsResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConnectorSettingsResponseDTO( + connector = visier_platform_sdk.models.connector_info_response_dto.ConnectorInfoResponseDTO( + connector_id = '', + display_name = '', + description = '', ), + settings = [ + visier_platform_sdk.models.connector_setting_response_dto.ConnectorSettingResponseDTO( + key = '', + value = '', + message = '', ) + ] + ) + else: + return ConnectorSettingsResponseDTO( + ) + + def testConnectorSettingsResponseDTO(self): + """Test ConnectorSettingsResponseDTO""" + def validate_instance(instance): + ConnectorSettingsResponseDTO.model_validate(inst_req_only) + instance_deserialized = ConnectorSettingsResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_excluded_source_list_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_excluded_source_list_dto.py new file mode 100644 index 0000000000..8430f149fe --- /dev/null +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_excluded_source_list_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.consolidated_analytics_api_excluded_source_list_dto import ConsolidatedAnalyticsAPIExcludedSourceListDTO + +class TestConsolidatedAnalyticsAPIExcludedSourceListDTO(unittest.TestCase): + """ConsolidatedAnalyticsAPIExcludedSourceListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConsolidatedAnalyticsAPIExcludedSourceListDTO: + """Test ConsolidatedAnalyticsAPIExcludedSourceListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConsolidatedAnalyticsAPIExcludedSourceListDTO( + excluded_sources = [ + '' + ] + ) + else: + return ConsolidatedAnalyticsAPIExcludedSourceListDTO( + ) + + def testConsolidatedAnalyticsAPIExcludedSourceListDTO(self): + """Test ConsolidatedAnalyticsAPIExcludedSourceListDTO""" + def validate_instance(instance): + ConsolidatedAnalyticsAPIExcludedSourceListDTO.model_validate(inst_req_only) + instance_deserialized = ConsolidatedAnalyticsAPIExcludedSourceListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_source_tenant_list_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_source_tenant_list_dto.py new file mode 100644 index 0000000000..ca2871e349 --- /dev/null +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_source_tenant_list_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.consolidated_analytics_api_source_tenant_list_dto import ConsolidatedAnalyticsAPISourceTenantListDTO + +class TestConsolidatedAnalyticsAPISourceTenantListDTO(unittest.TestCase): + """ConsolidatedAnalyticsAPISourceTenantListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConsolidatedAnalyticsAPISourceTenantListDTO: + """Test ConsolidatedAnalyticsAPISourceTenantListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConsolidatedAnalyticsAPISourceTenantListDTO( + tenant_codes = [ + '' + ] + ) + else: + return ConsolidatedAnalyticsAPISourceTenantListDTO( + ) + + def testConsolidatedAnalyticsAPISourceTenantListDTO(self): + """Test ConsolidatedAnalyticsAPISourceTenantListDTO""" + def validate_instance(instance): + ConsolidatedAnalyticsAPISourceTenantListDTO.model_validate(inst_req_only) + instance_deserialized = ConsolidatedAnalyticsAPISourceTenantListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_create_request_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_create_request_dto.py new file mode 100644 index 0000000000..b2f3b6351c --- /dev/null +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_create_request_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.consolidated_analytics_api_tenant_create_request_dto import ConsolidatedAnalyticsAPITenantCreateRequestDTO + +class TestConsolidatedAnalyticsAPITenantCreateRequestDTO(unittest.TestCase): + """ConsolidatedAnalyticsAPITenantCreateRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConsolidatedAnalyticsAPITenantCreateRequestDTO: + """Test ConsolidatedAnalyticsAPITenantCreateRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConsolidatedAnalyticsAPITenantCreateRequestDTO( + tenant_code = '' + ) + else: + return ConsolidatedAnalyticsAPITenantCreateRequestDTO( + ) + + def testConsolidatedAnalyticsAPITenantCreateRequestDTO(self): + """Test ConsolidatedAnalyticsAPITenantCreateRequestDTO""" + def validate_instance(instance): + ConsolidatedAnalyticsAPITenantCreateRequestDTO.model_validate(inst_req_only) + instance_deserialized = ConsolidatedAnalyticsAPITenantCreateRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_list_response_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_list_response_dto.py new file mode 100644 index 0000000000..bf2af060c7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_list_response_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.consolidated_analytics_api_tenant_list_response_dto import ConsolidatedAnalyticsAPITenantListResponseDTO + +class TestConsolidatedAnalyticsAPITenantListResponseDTO(unittest.TestCase): + """ConsolidatedAnalyticsAPITenantListResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConsolidatedAnalyticsAPITenantListResponseDTO: + """Test ConsolidatedAnalyticsAPITenantListResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConsolidatedAnalyticsAPITenantListResponseDTO( + tenant_codes = [ + '' + ] + ) + else: + return ConsolidatedAnalyticsAPITenantListResponseDTO( + ) + + def testConsolidatedAnalyticsAPITenantListResponseDTO(self): + """Test ConsolidatedAnalyticsAPITenantListResponseDTO""" + def validate_instance(instance): + ConsolidatedAnalyticsAPITenantListResponseDTO.model_validate(inst_req_only) + instance_deserialized = ConsolidatedAnalyticsAPITenantListResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details.py new file mode 100644 index 0000000000..2cc717c350 --- /dev/null +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details import ConsolidatedAnalyticsAPITenantWithDetails + +class TestConsolidatedAnalyticsAPITenantWithDetails(unittest.TestCase): + """ConsolidatedAnalyticsAPITenantWithDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConsolidatedAnalyticsAPITenantWithDetails: + """Test ConsolidatedAnalyticsAPITenantWithDetails + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConsolidatedAnalyticsAPITenantWithDetails( + tenant_code = '', + source_tenants_list = [ + '' + ], + excluded_sources_list = [ + '' + ] + ) + else: + return ConsolidatedAnalyticsAPITenantWithDetails( + ) + + def testConsolidatedAnalyticsAPITenantWithDetails(self): + """Test ConsolidatedAnalyticsAPITenantWithDetails""" + def validate_instance(instance): + ConsolidatedAnalyticsAPITenantWithDetails.model_validate(inst_req_only) + instance_deserialized = ConsolidatedAnalyticsAPITenantWithDetails.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py new file mode 100644 index 0000000000..56ae6453f2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details_list_response_dto import ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO + +class TestConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO(unittest.TestCase): + """ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO: + """Test ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO( + tenants = [ + visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details.ConsolidatedAnalyticsAPITenantWithDetails( + tenant_code = '', + source_tenants_list = [ + '' + ], + excluded_sources_list = [ + '' + ], ) + ] + ) + else: + return ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO( + ) + + def testConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO(self): + """Test ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO""" + def validate_instance(instance): + ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO.model_validate(inst_req_only) + instance_deserialized = ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_job_request_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_job_request_dto.py new file mode 100644 index 0000000000..816e298f48 --- /dev/null +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_job_request_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.consolidated_analytics_job_request_dto import ConsolidatedAnalyticsJobRequestDTO + +class TestConsolidatedAnalyticsJobRequestDTO(unittest.TestCase): + """ConsolidatedAnalyticsJobRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ConsolidatedAnalyticsJobRequestDTO: + """Test ConsolidatedAnalyticsJobRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ConsolidatedAnalyticsJobRequestDTO( + tenant_code = '' + ) + else: + return ConsolidatedAnalyticsJobRequestDTO( + ) + + def testConsolidatedAnalyticsJobRequestDTO(self): + """Test ConsolidatedAnalyticsJobRequestDTO""" + def validate_instance(instance): + ConsolidatedAnalyticsJobRequestDTO.model_validate(inst_req_only) + instance_deserialized = ConsolidatedAnalyticsJobRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_content_package_dto.py b/src/visier_platform_sdk/test/test_content_package_dto.py new file mode 100644 index 0000000000..eeadce88b4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_content_package_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.content_package_dto import ContentPackageDTO + +class TestContentPackageDTO(unittest.TestCase): + """ContentPackageDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ContentPackageDTO: + """Test ContentPackageDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ContentPackageDTO( + content_package_id = '', + display_name = '', + description = '' + ) + else: + return ContentPackageDTO( + ) + + def testContentPackageDTO(self): + """Test ContentPackageDTO""" + def validate_instance(instance): + ContentPackageDTO.model_validate(inst_req_only) + instance_deserialized = ContentPackageDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_copy_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_copy_s3_auth_params_dto.py new file mode 100644 index 0000000000..1740af7894 --- /dev/null +++ b/src/visier_platform_sdk/test/test_copy_s3_auth_params_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.copy_s3_auth_params_dto import CopyS3AuthParamsDTO + +class TestCopyS3AuthParamsDTO(unittest.TestCase): + """CopyS3AuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CopyS3AuthParamsDTO: + """Test CopyS3AuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CopyS3AuthParamsDTO( + iam_role = '' + ) + else: + return CopyS3AuthParamsDTO( + ) + + def testCopyS3AuthParamsDTO(self): + """Test CopyS3AuthParamsDTO""" + def validate_instance(instance): + CopyS3AuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = CopyS3AuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_create_data_access_set_request_dto.py b/src/visier_platform_sdk/test/test_create_data_access_set_request_dto.py new file mode 100644 index 0000000000..1de4372393 --- /dev/null +++ b/src/visier_platform_sdk/test/test_create_data_access_set_request_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.create_data_access_set_request_dto import CreateDataAccessSetRequestDTO + +class TestCreateDataAccessSetRequestDTO(unittest.TestCase): + """CreateDataAccessSetRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CreateDataAccessSetRequestDTO: + """Test CreateDataAccessSetRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CreateDataAccessSetRequestDTO( + shareable_property_access_configs = [ + visier_platform_sdk.models.data_access_set_dto.DataAccessSetDTO( + id = '', + display_name = '', + description = '', + analytic_object_id = '', + property_access_configs = [ + visier_platform_sdk.models.property_access_config_dto.PropertyAccessConfigDTO( + property_id = '', + analytic_object_id = '', + analytic_object_reference_paths = [ + '' + ], + access_level = 'None', + property_status = 'Unset', ) + ], ) + ] + ) + else: + return CreateDataAccessSetRequestDTO( + ) + + def testCreateDataAccessSetRequestDTO(self): + """Test CreateDataAccessSetRequestDTO""" + def validate_instance(instance): + CreateDataAccessSetRequestDTO.model_validate(inst_req_only) + instance_deserialized = CreateDataAccessSetRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_credential_creation_api_response_dto.py b/src/visier_platform_sdk/test/test_credential_creation_api_response_dto.py new file mode 100644 index 0000000000..400d57cd31 --- /dev/null +++ b/src/visier_platform_sdk/test/test_credential_creation_api_response_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.credential_creation_api_response_dto import CredentialCreationAPIResponseDTO + +class TestCredentialCreationAPIResponseDTO(unittest.TestCase): + """CredentialCreationAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CredentialCreationAPIResponseDTO: + """Test CredentialCreationAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CredentialCreationAPIResponseDTO( + uuid = '', + symbol_name = '', + object_name = '', + missing_connection_properties = [ + visier_platform_sdk.models.subject_missing_access_dto.SubjectMissingAccessDTO( + subject = 'Employee', + attributes = [ + '' + ], + error_message = '', ) + ] + ) + else: + return CredentialCreationAPIResponseDTO( + ) + + def testCredentialCreationAPIResponseDTO(self): + """Test CredentialCreationAPIResponseDTO""" + def validate_instance(instance): + CredentialCreationAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = CredentialCreationAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_currencies_dto.py b/src/visier_platform_sdk/test/test_currencies_dto.py new file mode 100644 index 0000000000..a67b3111a7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_currencies_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.currencies_dto import CurrenciesDTO + +class TestCurrenciesDTO(unittest.TestCase): + """CurrenciesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CurrenciesDTO: + """Test CurrenciesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CurrenciesDTO( + currencies = [ + visier_platform_sdk.models.currency_dto.CurrencyDTO( + currency_code = '', + display_name = '', + symbol = '', + short_symbol = '', ) + ] + ) + else: + return CurrenciesDTO( + ) + + def testCurrenciesDTO(self): + """Test CurrenciesDTO""" + def validate_instance(instance): + CurrenciesDTO.model_validate(inst_req_only) + instance_deserialized = CurrenciesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_currency_dto.py b/src/visier_platform_sdk/test/test_currency_dto.py new file mode 100644 index 0000000000..b3b2235c3f --- /dev/null +++ b/src/visier_platform_sdk/test/test_currency_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.currency_dto import CurrencyDTO + +class TestCurrencyDTO(unittest.TestCase): + """CurrencyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CurrencyDTO: + """Test CurrencyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CurrencyDTO( + currency_code = '', + display_name = '', + symbol = '', + short_symbol = '' + ) + else: + return CurrencyDTO( + ) + + def testCurrencyDTO(self): + """Test CurrencyDTO""" + def validate_instance(instance): + CurrencyDTO.model_validate(inst_req_only) + instance_deserialized = CurrencyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_currency_rate_dto.py b/src/visier_platform_sdk/test/test_currency_rate_dto.py new file mode 100644 index 0000000000..b528043a67 --- /dev/null +++ b/src/visier_platform_sdk/test/test_currency_rate_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.currency_rate_dto import CurrencyRateDTO + +class TestCurrencyRateDTO(unittest.TestCase): + """CurrencyRateDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CurrencyRateDTO: + """Test CurrencyRateDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CurrencyRateDTO( + from_currency_code = '', + to_currency_code = '', + rate = 1.337, + start_time = '', + end_time = '' + ) + else: + return CurrencyRateDTO( + ) + + def testCurrencyRateDTO(self): + """Test CurrencyRateDTO""" + def validate_instance(instance): + CurrencyRateDTO.model_validate(inst_req_only) + instance_deserialized = CurrencyRateDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_currency_rates_dto.py b/src/visier_platform_sdk/test/test_currency_rates_dto.py new file mode 100644 index 0000000000..73d88f581a --- /dev/null +++ b/src/visier_platform_sdk/test/test_currency_rates_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.currency_rates_dto import CurrencyRatesDTO + +class TestCurrencyRatesDTO(unittest.TestCase): + """CurrencyRatesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CurrencyRatesDTO: + """Test CurrencyRatesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CurrencyRatesDTO( + currency_rates = [ + visier_platform_sdk.models.currency_rate_dto.CurrencyRateDTO( + from_currency_code = '', + to_currency_code = '', + rate = 1.337, + start_time = '', + end_time = '', ) + ] + ) + else: + return CurrencyRatesDTO( + ) + + def testCurrencyRatesDTO(self): + """Test CurrencyRatesDTO""" + def validate_instance(instance): + CurrencyRatesDTO.model_validate(inst_req_only) + instance_deserialized = CurrencyRatesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_custom_property_dto.py b/src/visier_platform_sdk/test/test_custom_property_dto.py new file mode 100644 index 0000000000..737d2d8b15 --- /dev/null +++ b/src/visier_platform_sdk/test/test_custom_property_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.custom_property_dto import CustomPropertyDTO + +class TestCustomPropertyDTO(unittest.TestCase): + """CustomPropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomPropertyDTO: + """Test CustomPropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CustomPropertyDTO( + key = '', + value = '' + ) + else: + return CustomPropertyDTO( + ) + + def testCustomPropertyDTO(self): + """Test CustomPropertyDTO""" + def validate_instance(instance): + CustomPropertyDTO.model_validate(inst_req_only) + instance_deserialized = CustomPropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_custom_tenant_property_dto.py b/src/visier_platform_sdk/test/test_custom_tenant_property_dto.py new file mode 100644 index 0000000000..c2e08be926 --- /dev/null +++ b/src/visier_platform_sdk/test/test_custom_tenant_property_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.custom_tenant_property_dto import CustomTenantPropertyDTO + +class TestCustomTenantPropertyDTO(unittest.TestCase): + """CustomTenantPropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomTenantPropertyDTO: + """Test CustomTenantPropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CustomTenantPropertyDTO( + key = '', + value = '' + ) + else: + return CustomTenantPropertyDTO( + ) + + def testCustomTenantPropertyDTO(self): + """Test CustomTenantPropertyDTO""" + def validate_instance(instance): + CustomTenantPropertyDTO.model_validate(inst_req_only) + instance_deserialized = CustomTenantPropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_access_set_dto.py b/src/visier_platform_sdk/test/test_data_access_set_dto.py new file mode 100644 index 0000000000..3894108b93 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_access_set_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_access_set_dto import DataAccessSetDTO + +class TestDataAccessSetDTO(unittest.TestCase): + """DataAccessSetDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataAccessSetDTO: + """Test DataAccessSetDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataAccessSetDTO( + id = '', + display_name = '', + description = '', + analytic_object_id = '', + property_access_configs = [ + visier_platform_sdk.models.property_access_config_dto.PropertyAccessConfigDTO( + property_id = '', + analytic_object_id = '', + analytic_object_reference_paths = [ + '' + ], + access_level = 'None', + property_status = 'Unset', ) + ] + ) + else: + return DataAccessSetDTO( + ) + + def testDataAccessSetDTO(self): + """Test DataAccessSetDTO""" + def validate_instance(instance): + DataAccessSetDTO.model_validate(inst_req_only) + instance_deserialized = DataAccessSetDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_access_set_error_dto.py b/src/visier_platform_sdk/test/test_data_access_set_error_dto.py new file mode 100644 index 0000000000..4be52d4d16 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_access_set_error_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_access_set_error_dto import DataAccessSetErrorDTO + +class TestDataAccessSetErrorDTO(unittest.TestCase): + """DataAccessSetErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataAccessSetErrorDTO: + """Test DataAccessSetErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataAccessSetErrorDTO( + message = '', + rci = '' + ) + else: + return DataAccessSetErrorDTO( + ) + + def testDataAccessSetErrorDTO(self): + """Test DataAccessSetErrorDTO""" + def validate_instance(instance): + DataAccessSetErrorDTO.model_validate(inst_req_only) + instance_deserialized = DataAccessSetErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_access_set_failure_dto.py b/src/visier_platform_sdk/test/test_data_access_set_failure_dto.py new file mode 100644 index 0000000000..b0296a706e --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_access_set_failure_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_access_set_failure_dto import DataAccessSetFailureDTO + +class TestDataAccessSetFailureDTO(unittest.TestCase): + """DataAccessSetFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataAccessSetFailureDTO: + """Test DataAccessSetFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataAccessSetFailureDTO( + data_access_set_id = '', + display_name = '', + error = visier_platform_sdk.models.data_access_set_error_dto.DataAccessSetErrorDTO( + message = '', + rci = '', ) + ) + else: + return DataAccessSetFailureDTO( + ) + + def testDataAccessSetFailureDTO(self): + """Test DataAccessSetFailureDTO""" + def validate_instance(instance): + DataAccessSetFailureDTO.model_validate(inst_req_only) + instance_deserialized = DataAccessSetFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_access_set_success_dto.py b/src/visier_platform_sdk/test/test_data_access_set_success_dto.py new file mode 100644 index 0000000000..c7417ca55d --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_access_set_success_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_access_set_success_dto import DataAccessSetSuccessDTO + +class TestDataAccessSetSuccessDTO(unittest.TestCase): + """DataAccessSetSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataAccessSetSuccessDTO: + """Test DataAccessSetSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataAccessSetSuccessDTO( + data_access_set_id = '', + display_name = '' + ) + else: + return DataAccessSetSuccessDTO( + ) + + def testDataAccessSetSuccessDTO(self): + """Test DataAccessSetSuccessDTO""" + def validate_instance(instance): + DataAccessSetSuccessDTO.model_validate(inst_req_only) + instance_deserialized = DataAccessSetSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_categories_response_dto.py b/src/visier_platform_sdk/test/test_data_categories_response_dto.py new file mode 100644 index 0000000000..2dba3b52c3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_categories_response_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_categories_response_dto import DataCategoriesResponseDTO + +class TestDataCategoriesResponseDTO(unittest.TestCase): + """DataCategoriesResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataCategoriesResponseDTO: + """Test DataCategoriesResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataCategoriesResponseDTO( + categories = [ + visier_platform_sdk.models.data_category_response_dto.DataCategoryResponseDTO( + name = '', + id = '', ) + ] + ) + else: + return DataCategoriesResponseDTO( + ) + + def testDataCategoriesResponseDTO(self): + """Test DataCategoriesResponseDTO""" + def validate_instance(instance): + DataCategoriesResponseDTO.model_validate(inst_req_only) + instance_deserialized = DataCategoriesResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_category_response_dto.py b/src/visier_platform_sdk/test/test_data_category_response_dto.py new file mode 100644 index 0000000000..149d02e8c3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_category_response_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_category_response_dto import DataCategoryResponseDTO + +class TestDataCategoryResponseDTO(unittest.TestCase): + """DataCategoryResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataCategoryResponseDTO: + """Test DataCategoryResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataCategoryResponseDTO( + name = '', + id = '' + ) + else: + return DataCategoryResponseDTO( + ) + + def testDataCategoryResponseDTO(self): + """Test DataCategoryResponseDTO""" + def validate_instance(instance): + DataCategoryResponseDTO.model_validate(inst_req_only) + instance_deserialized = DataCategoryResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_assign_connector_credential_request.py b/src/visier_platform_sdk/test/test_data_in_assign_connector_credential_request.py deleted file mode 100644 index 18dea5f66b..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_assign_connector_credential_request.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_assign_connector_credential_request import DataInAssignConnectorCredentialRequest - -class TestDataInAssignConnectorCredentialRequest(unittest.TestCase): - """DataInAssignConnectorCredentialRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInAssignConnectorCredentialRequest: - """Test DataInAssignConnectorCredentialRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInAssignConnectorCredentialRequest` - """ - model = DataInAssignConnectorCredentialRequest() - if include_optional: - return DataInAssignConnectorCredentialRequest( - connectors = [ - visier_platform_sdk.models.data_in/connector.data_in.Connector( - connector_id = '', - tenants = [ - visier_platform_sdk.models.data_in/tenant_and_credential.data_in.TenantAndCredential( - tenant_code = '', - credential_id = '', ) - ], ) - ] - ) - else: - return DataInAssignConnectorCredentialRequest( - ) - """ - - def testDataInAssignConnectorCredentialRequest(self): - """Test DataInAssignConnectorCredentialRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_connector.py b/src/visier_platform_sdk/test/test_data_in_connector.py deleted file mode 100644 index bae5b26a14..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_connector.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_connector import DataInConnector - -class TestDataInConnector(unittest.TestCase): - """DataInConnector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInConnector: - """Test DataInConnector - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInConnector` - """ - model = DataInConnector() - if include_optional: - return DataInConnector( - connector_id = '', - tenants = [ - visier_platform_sdk.models.data_in/tenant_and_credential.data_in.TenantAndCredential( - tenant_code = '', - credential_id = '', ) - ] - ) - else: - return DataInConnector( - ) - """ - - def testDataInConnector(self): - """Test DataInConnector""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_data_load_request.py b/src/visier_platform_sdk/test/test_data_in_data_load_request.py deleted file mode 100644 index 868fc1f0cc..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_data_load_request.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_data_load_request import DataInDataLoadRequest - -class TestDataInDataLoadRequest(unittest.TestCase): - """DataInDataLoadRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDataLoadRequest: - """Test DataInDataLoadRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDataLoadRequest` - """ - model = DataInDataLoadRequest() - if include_optional: - return DataInDataLoadRequest( - model = visier_platform_sdk.models.data_in/data_load_request_model.data_in.DataLoadRequestModel( - files = [ - '' - ], - skip_data_load = True, ) - ) - else: - return DataInDataLoadRequest( - ) - """ - - def testDataInDataLoadRequest(self): - """Test DataInDataLoadRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_data_load_request_model.py b/src/visier_platform_sdk/test/test_data_in_data_load_request_model.py deleted file mode 100644 index 9f24e98c61..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_data_load_request_model.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_data_load_request_model import DataInDataLoadRequestModel - -class TestDataInDataLoadRequestModel(unittest.TestCase): - """DataInDataLoadRequestModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDataLoadRequestModel: - """Test DataInDataLoadRequestModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDataLoadRequestModel` - """ - model = DataInDataLoadRequestModel() - if include_optional: - return DataInDataLoadRequestModel( - files = [ - '' - ], - skip_data_load = True - ) - else: - return DataInDataLoadRequestModel( - ) - """ - - def testDataInDataLoadRequestModel(self): - """Test DataInDataLoadRequestModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_data_load_response.py b/src/visier_platform_sdk/test/test_data_in_data_load_response.py deleted file mode 100644 index 15a5183657..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_data_load_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_data_load_response import DataInDataLoadResponse - -class TestDataInDataLoadResponse(unittest.TestCase): - """DataInDataLoadResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDataLoadResponse: - """Test DataInDataLoadResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDataLoadResponse` - """ - model = DataInDataLoadResponse() - if include_optional: - return DataInDataLoadResponse( - job_id = '' - ) - else: - return DataInDataLoadResponse( - ) - """ - - def testDataInDataLoadResponse(self): - """Test DataInDataLoadResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_data_transfer_result_detail.py b/src/visier_platform_sdk/test/test_data_in_data_transfer_result_detail.py deleted file mode 100644 index 00d29401ff..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_data_transfer_result_detail.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_data_transfer_result_detail import DataInDataTransferResultDetail - -class TestDataInDataTransferResultDetail(unittest.TestCase): - """DataInDataTransferResultDetail unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDataTransferResultDetail: - """Test DataInDataTransferResultDetail - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDataTransferResultDetail` - """ - model = DataInDataTransferResultDetail() - if include_optional: - return DataInDataTransferResultDetail( - tenant_code = '', - source_names = [ - '' - ], - data_size = '', - rows = '' - ) - else: - return DataInDataTransferResultDetail( - ) - """ - - def testDataInDataTransferResultDetail(self): - """Test DataInDataTransferResultDetail""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_data_version_object.py b/src/visier_platform_sdk/test/test_data_in_data_version_object.py deleted file mode 100644 index c6771c609e..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_data_version_object.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_data_version_object import DataInDataVersionObject - -class TestDataInDataVersionObject(unittest.TestCase): - """DataInDataVersionObject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDataVersionObject: - """Test DataInDataVersionObject - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDataVersionObject` - """ - model = DataInDataVersionObject() - if include_optional: - return DataInDataVersionObject( - tenant_code = '', - data_version = '' - ) - else: - return DataInDataVersionObject( - ) - """ - - def testDataInDataVersionObject(self): - """Test DataInDataVersionObject""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_disable_dv_model.py b/src/visier_platform_sdk/test/test_data_in_disable_dv_model.py deleted file mode 100644 index d4ebd9145d..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_disable_dv_model.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_disable_dv_model import DataInDisableDVModel - -class TestDataInDisableDVModel(unittest.TestCase): - """DataInDisableDVModel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDisableDVModel: - """Test DataInDisableDVModel - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDisableDVModel` - """ - model = DataInDisableDVModel() - if include_optional: - return DataInDisableDVModel( - data_version_objects = [ - visier_platform_sdk.models.data_in/data_version_object.data_in.DataVersionObject( - tenant_code = '', - data_version = '', ) - ] - ) - else: - return DataInDisableDVModel( - ) - """ - - def testDataInDisableDVModel(self): - """Test DataInDisableDVModel""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_disable_dv_request.py b/src/visier_platform_sdk/test/test_data_in_disable_dv_request.py deleted file mode 100644 index 74fdb6bc0b..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_disable_dv_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_disable_dv_request import DataInDisableDVRequest - -class TestDataInDisableDVRequest(unittest.TestCase): - """DataInDisableDVRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDisableDVRequest: - """Test DataInDisableDVRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDisableDVRequest` - """ - model = DataInDisableDVRequest() - if include_optional: - return DataInDisableDVRequest( - model = visier_platform_sdk.models.data_in/disable_dv_model.data_in.DisableDVModel( - data_version_objects = [ - visier_platform_sdk.models.data_in/data_version_object.data_in.DataVersionObject( - tenant_code = '', - data_version = '', ) - ], ) - ) - else: - return DataInDisableDVRequest( - ) - """ - - def testDataInDisableDVRequest(self): - """Test DataInDisableDVRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_disable_dv_response.py b/src/visier_platform_sdk/test/test_data_in_disable_dv_response.py deleted file mode 100644 index 073a109493..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_disable_dv_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_disable_dv_response import DataInDisableDVResponse - -class TestDataInDisableDVResponse(unittest.TestCase): - """DataInDisableDVResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDisableDVResponse: - """Test DataInDisableDVResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDisableDVResponse` - """ - model = DataInDisableDVResponse() - if include_optional: - return DataInDisableDVResponse( - total_failures = 56, - total_success = 56, - results = [ - visier_platform_sdk.models.data_in/result.data_in.Result( - job_id = '', - data_version = '', - tenant_code = '', - status = '', - message = '', ) - ] - ) - else: - return DataInDisableDVResponse( - ) - """ - - def testDataInDisableDVResponse(self): - """Test DataInDisableDVResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_dispatching_job_status_response.py b/src/visier_platform_sdk/test/test_data_in_dispatching_job_status_response.py deleted file mode 100644 index 859aa00a62..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_dispatching_job_status_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_dispatching_job_status_response import DataInDispatchingJobStatusResponse - -class TestDataInDispatchingJobStatusResponse(unittest.TestCase): - """DataInDispatchingJobStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInDispatchingJobStatusResponse: - """Test DataInDispatchingJobStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInDispatchingJobStatusResponse` - """ - model = DataInDispatchingJobStatusResponse() - if include_optional: - return DataInDispatchingJobStatusResponse( - job_id = '', - tenant_code = '', - status = '', - total_jobs_dispatched = 56 - ) - else: - return DataInDispatchingJobStatusResponse( - ) - """ - - def testDataInDispatchingJobStatusResponse(self): - """Test DataInDispatchingJobStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_exclude_data_uploads_request.py b/src/visier_platform_sdk/test/test_data_in_exclude_data_uploads_request.py deleted file mode 100644 index 4dca032448..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_exclude_data_uploads_request.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_exclude_data_uploads_request import DataInExcludeDataUploadsRequest - -class TestDataInExcludeDataUploadsRequest(unittest.TestCase): - """DataInExcludeDataUploadsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInExcludeDataUploadsRequest: - """Test DataInExcludeDataUploadsRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInExcludeDataUploadsRequest` - """ - model = DataInExcludeDataUploadsRequest() - if include_optional: - return DataInExcludeDataUploadsRequest( - uploads = [ - visier_platform_sdk.models.data_in/upload_to_exclude.data_in.UploadToExclude( - tenant_code = '', - exclude_all = True, - upload_times = [ - '' - ], - min_upload_time = '', - max_upload_time = '', - sources = [ - '' - ], - file_name_regex = '', - file_identifiers = [ - '' - ], ) - ] - ) - else: - return DataInExcludeDataUploadsRequest( - ) - """ - - def testDataInExcludeDataUploadsRequest(self): - """Test DataInExcludeDataUploadsRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_extraction_job.py b/src/visier_platform_sdk/test/test_data_in_extraction_job.py deleted file mode 100644 index fbfcda4baa..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_extraction_job.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_extraction_job import DataInExtractionJob - -class TestDataInExtractionJob(unittest.TestCase): - """DataInExtractionJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInExtractionJob: - """Test DataInExtractionJob - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInExtractionJob` - """ - model = DataInExtractionJob() - if include_optional: - return DataInExtractionJob( - extraction_job_id = '', - tenant_code = '', - status = '', - current_stage = '' - ) - else: - return DataInExtractionJob( - ) - """ - - def testDataInExtractionJob(self): - """Test DataInExtractionJob""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_extraction_job_and_status_response.py b/src/visier_platform_sdk/test/test_data_in_extraction_job_and_status_response.py deleted file mode 100644 index 5b457eadc4..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_extraction_job_and_status_response.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_extraction_job_and_status_response import DataInExtractionJobAndStatusResponse - -class TestDataInExtractionJobAndStatusResponse(unittest.TestCase): - """DataInExtractionJobAndStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInExtractionJobAndStatusResponse: - """Test DataInExtractionJobAndStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInExtractionJobAndStatusResponse` - """ - model = DataInExtractionJobAndStatusResponse() - if include_optional: - return DataInExtractionJobAndStatusResponse( - parent_job_id = '', - parent_tenant_code = '', - limit = 56, - start = 56, - extraction_jobs = [ - visier_platform_sdk.models.data_in/extraction_job.data_in.ExtractionJob( - extraction_job_id = '', - tenant_code = '', - status = '', - current_stage = '', ) - ] - ) - else: - return DataInExtractionJobAndStatusResponse( - ) - """ - - def testDataInExtractionJobAndStatusResponse(self): - """Test DataInExtractionJobAndStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_include_data_uploads_request.py b/src/visier_platform_sdk/test/test_data_in_include_data_uploads_request.py deleted file mode 100644 index c6f27a8a9e..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_include_data_uploads_request.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_include_data_uploads_request import DataInIncludeDataUploadsRequest - -class TestDataInIncludeDataUploadsRequest(unittest.TestCase): - """DataInIncludeDataUploadsRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInIncludeDataUploadsRequest: - """Test DataInIncludeDataUploadsRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInIncludeDataUploadsRequest` - """ - model = DataInIncludeDataUploadsRequest() - if include_optional: - return DataInIncludeDataUploadsRequest( - uploads = [ - visier_platform_sdk.models.data_in/upload_to_include.data_in.UploadToInclude( - tenant_code = '', - include_all = True, - upload_times = [ - '' - ], - min_upload_time = '', - max_upload_time = '', - sources = [ - '' - ], - file_name_regex = '', - file_identifiers = [ - '' - ], ) - ] - ) - else: - return DataInIncludeDataUploadsRequest( - ) - """ - - def testDataInIncludeDataUploadsRequest(self): - """Test DataInIncludeDataUploadsRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_job_status_list_response.py b/src/visier_platform_sdk/test/test_data_in_job_status_list_response.py deleted file mode 100644 index d522010d9c..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_job_status_list_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_job_status_list_response import DataInJobStatusListResponse - -class TestDataInJobStatusListResponse(unittest.TestCase): - """DataInJobStatusListResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInJobStatusListResponse: - """Test DataInJobStatusListResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInJobStatusListResponse` - """ - model = DataInJobStatusListResponse() - if include_optional: - return DataInJobStatusListResponse( - query_start_time = '', - query_end_time = '', - job_status = [ - visier_platform_sdk.models.data_in/job_status_with_start_time.data_in.JobStatusWithStartTime( - job_id = '', - tenant = '', - status = '', - job_type = '', - start_time = '', ) - ] - ) - else: - return DataInJobStatusListResponse( - ) - """ - - def testDataInJobStatusListResponse(self): - """Test DataInJobStatusListResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_job_status_with_start_time.py b/src/visier_platform_sdk/test/test_data_in_job_status_with_start_time.py deleted file mode 100644 index ef4eecc068..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_job_status_with_start_time.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_job_status_with_start_time import DataInJobStatusWithStartTime - -class TestDataInJobStatusWithStartTime(unittest.TestCase): - """DataInJobStatusWithStartTime unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInJobStatusWithStartTime: - """Test DataInJobStatusWithStartTime - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInJobStatusWithStartTime` - """ - model = DataInJobStatusWithStartTime() - if include_optional: - return DataInJobStatusWithStartTime( - job_id = '', - tenant = '', - status = '', - job_type = '', - start_time = '' - ) - else: - return DataInJobStatusWithStartTime( - ) - """ - - def testDataInJobStatusWithStartTime(self): - """Test DataInJobStatusWithStartTime""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_processing_job.py b/src/visier_platform_sdk/test/test_data_in_processing_job.py deleted file mode 100644 index 822e58967d..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_processing_job.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_processing_job import DataInProcessingJob - -class TestDataInProcessingJob(unittest.TestCase): - """DataInProcessingJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInProcessingJob: - """Test DataInProcessingJob - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInProcessingJob` - """ - model = DataInProcessingJob() - if include_optional: - return DataInProcessingJob( - job_id = '', - tenant_code = '', - data_version = '', - status = '', - message = '' - ) - else: - return DataInProcessingJob( - ) - """ - - def testDataInProcessingJob(self): - """Test DataInProcessingJob""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_processing_job_and_status_response.py b/src/visier_platform_sdk/test/test_data_in_processing_job_and_status_response.py deleted file mode 100644 index 87c47fdb46..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_processing_job_and_status_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_processing_job_and_status_response import DataInProcessingJobAndStatusResponse - -class TestDataInProcessingJobAndStatusResponse(unittest.TestCase): - """DataInProcessingJobAndStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInProcessingJobAndStatusResponse: - """Test DataInProcessingJobAndStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInProcessingJobAndStatusResponse` - """ - model = DataInProcessingJobAndStatusResponse() - if include_optional: - return DataInProcessingJobAndStatusResponse( - parent_job_id = '', - parent_tenant_code = '', - limit = 56, - start = 56, - processing_jobs = [ - visier_platform_sdk.models.data_in/processing_job.data_in.ProcessingJob( - job_id = '', - tenant_code = '', - data_version = '', - status = '', - message = '', ) - ] - ) - else: - return DataInProcessingJobAndStatusResponse( - ) - """ - - def testDataInProcessingJobAndStatusResponse(self): - """Test DataInProcessingJobAndStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_processing_job_status_response.py b/src/visier_platform_sdk/test/test_data_in_processing_job_status_response.py deleted file mode 100644 index a400d720c8..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_processing_job_status_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_processing_job_status_response import DataInProcessingJobStatusResponse - -class TestDataInProcessingJobStatusResponse(unittest.TestCase): - """DataInProcessingJobStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInProcessingJobStatusResponse: - """Test DataInProcessingJobStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInProcessingJobStatusResponse` - """ - model = DataInProcessingJobStatusResponse() - if include_optional: - return DataInProcessingJobStatusResponse( - parent_job_id = '', - parent_tenant_code = '', - limit = 56, - start = 56, - processing_jobs = [ - visier_platform_sdk.models.data_in/processing_job.data_in.ProcessingJob( - job_id = '', - tenant_code = '', - data_version = '', - status = '', - message = '', ) - ] - ) - else: - return DataInProcessingJobStatusResponse( - ) - """ - - def testDataInProcessingJobStatusResponse(self): - """Test DataInProcessingJobStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_push_data_cancel_response.py b/src/visier_platform_sdk/test/test_data_in_push_data_cancel_response.py deleted file mode 100644 index 095af0e675..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_push_data_cancel_response.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_push_data_cancel_response import DataInPushDataCancelResponse - -class TestDataInPushDataCancelResponse(unittest.TestCase): - """DataInPushDataCancelResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInPushDataCancelResponse: - """Test DataInPushDataCancelResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInPushDataCancelResponse` - """ - model = DataInPushDataCancelResponse() - if include_optional: - return DataInPushDataCancelResponse( - message = '', - transfer_session_id = '', - data_transfer_result_details = [ - visier_platform_sdk.models.data_in/data_transfer_result_detail.data_in.DataTransferResultDetail( - tenant_code = '', - source_names = [ - '' - ], - data_size = '', - rows = '', ) - ], - status = '' - ) - else: - return DataInPushDataCancelResponse( - ) - """ - - def testDataInPushDataCancelResponse(self): - """Test DataInPushDataCancelResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_push_data_complete_request.py b/src/visier_platform_sdk/test/test_data_in_push_data_complete_request.py deleted file mode 100644 index 074f76b00a..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_push_data_complete_request.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_push_data_complete_request import DataInPushDataCompleteRequest - -class TestDataInPushDataCompleteRequest(unittest.TestCase): - """DataInPushDataCompleteRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInPushDataCompleteRequest: - """Test DataInPushDataCompleteRequest - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInPushDataCompleteRequest` - """ - model = DataInPushDataCompleteRequest() - if include_optional: - return DataInPushDataCompleteRequest( - transfer_session_id = '', - processing_data = True - ) - else: - return DataInPushDataCompleteRequest( - ) - """ - - def testDataInPushDataCompleteRequest(self): - """Test DataInPushDataCompleteRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_push_data_complete_response.py b/src/visier_platform_sdk/test/test_data_in_push_data_complete_response.py deleted file mode 100644 index 6c8bc4293d..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_push_data_complete_response.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_push_data_complete_response import DataInPushDataCompleteResponse - -class TestDataInPushDataCompleteResponse(unittest.TestCase): - """DataInPushDataCompleteResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInPushDataCompleteResponse: - """Test DataInPushDataCompleteResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInPushDataCompleteResponse` - """ - model = DataInPushDataCompleteResponse() - if include_optional: - return DataInPushDataCompleteResponse( - data_receiving_job_id = '', - message = '', - transfer_session_id = '', - data_transfer_result_details = [ - visier_platform_sdk.models.data_in/data_transfer_result_detail.data_in.DataTransferResultDetail( - tenant_code = '', - source_names = [ - '' - ], - data_size = '', - rows = '', ) - ], - status = '' - ) - else: - return DataInPushDataCompleteResponse( - ) - """ - - def testDataInPushDataCompleteResponse(self): - """Test DataInPushDataCompleteResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_push_data_response.py b/src/visier_platform_sdk/test/test_data_in_push_data_response.py deleted file mode 100644 index 9c09a4a508..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_push_data_response.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_push_data_response import DataInPushDataResponse - -class TestDataInPushDataResponse(unittest.TestCase): - """DataInPushDataResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInPushDataResponse: - """Test DataInPushDataResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInPushDataResponse` - """ - model = DataInPushDataResponse() - if include_optional: - return DataInPushDataResponse( - transfer_session_id = '', - sequence = 56, - status = '', - message = '', - tenants = [ - visier_platform_sdk.models.data_in/tenant.data_in.Tenant( - tenant_code = '', - status = '', - sources = [ - visier_platform_sdk.models.data_in/source.data_in.Source( - source_id = '', - source_name = '', - data_size = '', - rows = '', - status = '', - message = '', ) - ], ) - ] - ) - else: - return DataInPushDataResponse( - ) - """ - - def testDataInPushDataResponse(self): - """Test DataInPushDataResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_receiving_job.py b/src/visier_platform_sdk/test/test_data_in_receiving_job.py deleted file mode 100644 index de12d0adcc..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_receiving_job.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_receiving_job import DataInReceivingJob - -class TestDataInReceivingJob(unittest.TestCase): - """DataInReceivingJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInReceivingJob: - """Test DataInReceivingJob - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInReceivingJob` - """ - model = DataInReceivingJob() - if include_optional: - return DataInReceivingJob( - receiving_job_id = '', - tenant_code = '', - status = '' - ) - else: - return DataInReceivingJob( - ) - """ - - def testDataInReceivingJob(self): - """Test DataInReceivingJob""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_receiving_job_and_status_response.py b/src/visier_platform_sdk/test/test_data_in_receiving_job_and_status_response.py deleted file mode 100644 index 43e67d1dc1..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_receiving_job_and_status_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_receiving_job_and_status_response import DataInReceivingJobAndStatusResponse - -class TestDataInReceivingJobAndStatusResponse(unittest.TestCase): - """DataInReceivingJobAndStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInReceivingJobAndStatusResponse: - """Test DataInReceivingJobAndStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInReceivingJobAndStatusResponse` - """ - model = DataInReceivingJobAndStatusResponse() - if include_optional: - return DataInReceivingJobAndStatusResponse( - parent_job_id = '', - parent_tenant_code = '', - limit = 56, - start = 56, - receiving_jobs = [ - visier_platform_sdk.models.data_in/receiving_job.data_in.ReceivingJob( - receiving_job_id = '', - tenant_code = '', - status = '', ) - ] - ) - else: - return DataInReceivingJobAndStatusResponse( - ) - """ - - def testDataInReceivingJobAndStatusResponse(self): - """Test DataInReceivingJobAndStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_receiving_job_status_response.py b/src/visier_platform_sdk/test/test_data_in_receiving_job_status_response.py deleted file mode 100644 index f263343e0b..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_receiving_job_status_response.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_receiving_job_status_response import DataInReceivingJobStatusResponse - -class TestDataInReceivingJobStatusResponse(unittest.TestCase): - """DataInReceivingJobStatusResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInReceivingJobStatusResponse: - """Test DataInReceivingJobStatusResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInReceivingJobStatusResponse` - """ - model = DataInReceivingJobStatusResponse() - if include_optional: - return DataInReceivingJobStatusResponse( - job_id = '', - status = '', - parent_job_id = '', - parent_tenant_code = '', - receiving_jobs = [ - visier_platform_sdk.models.data_in/receiving_job.data_in.ReceivingJob( - receiving_job_id = '', - tenant_code = '', - status = '', ) - ] - ) - else: - return DataInReceivingJobStatusResponse( - ) - """ - - def testDataInReceivingJobStatusResponse(self): - """Test DataInReceivingJobStatusResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_result.py b/src/visier_platform_sdk/test/test_data_in_result.py deleted file mode 100644 index 685798e60c..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_result.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_result import DataInResult - -class TestDataInResult(unittest.TestCase): - """DataInResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInResult: - """Test DataInResult - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInResult` - """ - model = DataInResult() - if include_optional: - return DataInResult( - job_id = '', - data_version = '', - tenant_code = '', - status = '', - message = '' - ) - else: - return DataInResult( - ) - """ - - def testDataInResult(self): - """Test DataInResult""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_source.py b/src/visier_platform_sdk/test/test_data_in_source.py deleted file mode 100644 index c51d7cb58a..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_source import DataInSource - -class TestDataInSource(unittest.TestCase): - """DataInSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInSource: - """Test DataInSource - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInSource` - """ - model = DataInSource() - if include_optional: - return DataInSource( - source_id = '', - source_name = '', - data_size = '', - rows = '', - status = '', - message = '' - ) - else: - return DataInSource( - ) - """ - - def testDataInSource(self): - """Test DataInSource""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_start_extraction_response.py b/src/visier_platform_sdk/test/test_data_in_start_extraction_response.py deleted file mode 100644 index ae21173c32..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_start_extraction_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_start_extraction_response import DataInStartExtractionResponse - -class TestDataInStartExtractionResponse(unittest.TestCase): - """DataInStartExtractionResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInStartExtractionResponse: - """Test DataInStartExtractionResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInStartExtractionResponse` - """ - model = DataInStartExtractionResponse() - if include_optional: - return DataInStartExtractionResponse( - job_id = '' - ) - else: - return DataInStartExtractionResponse( - ) - """ - - def testDataInStartExtractionResponse(self): - """Test DataInStartExtractionResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_start_transfer_response.py b/src/visier_platform_sdk/test/test_data_in_start_transfer_response.py deleted file mode 100644 index 88f970f302..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_start_transfer_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_start_transfer_response import DataInStartTransferResponse - -class TestDataInStartTransferResponse(unittest.TestCase): - """DataInStartTransferResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInStartTransferResponse: - """Test DataInStartTransferResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInStartTransferResponse` - """ - model = DataInStartTransferResponse() - if include_optional: - return DataInStartTransferResponse( - transfer_session_id = '' - ) - else: - return DataInStartTransferResponse( - ) - """ - - def testDataInStartTransferResponse(self): - """Test DataInStartTransferResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_tenant.py b/src/visier_platform_sdk/test/test_data_in_tenant.py deleted file mode 100644 index f030fe3ac1..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_tenant.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_tenant import DataInTenant - -class TestDataInTenant(unittest.TestCase): - """DataInTenant unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInTenant: - """Test DataInTenant - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInTenant` - """ - model = DataInTenant() - if include_optional: - return DataInTenant( - tenant_code = '', - status = '', - sources = [ - visier_platform_sdk.models.data_in/source.data_in.Source( - source_id = '', - source_name = '', - data_size = '', - rows = '', - status = '', - message = '', ) - ] - ) - else: - return DataInTenant( - ) - """ - - def testDataInTenant(self): - """Test DataInTenant""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_tenant_and_credential.py b/src/visier_platform_sdk/test/test_data_in_tenant_and_credential.py deleted file mode 100644 index fda87f2bcc..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_tenant_and_credential.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_tenant_and_credential import DataInTenantAndCredential - -class TestDataInTenantAndCredential(unittest.TestCase): - """DataInTenantAndCredential unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInTenantAndCredential: - """Test DataInTenantAndCredential - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInTenantAndCredential` - """ - model = DataInTenantAndCredential() - if include_optional: - return DataInTenantAndCredential( - tenant_code = '', - credential_id = '' - ) - else: - return DataInTenantAndCredential( - ) - """ - - def testDataInTenantAndCredential(self): - """Test DataInTenantAndCredential""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_upload_to_exclude.py b/src/visier_platform_sdk/test/test_data_in_upload_to_exclude.py deleted file mode 100644 index f8c67707d4..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_upload_to_exclude.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_upload_to_exclude import DataInUploadToExclude - -class TestDataInUploadToExclude(unittest.TestCase): - """DataInUploadToExclude unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInUploadToExclude: - """Test DataInUploadToExclude - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInUploadToExclude` - """ - model = DataInUploadToExclude() - if include_optional: - return DataInUploadToExclude( - tenant_code = '', - exclude_all = True, - upload_times = [ - '' - ], - min_upload_time = '', - max_upload_time = '', - sources = [ - '' - ], - file_name_regex = '', - file_identifiers = [ - '' - ] - ) - else: - return DataInUploadToExclude( - ) - """ - - def testDataInUploadToExclude(self): - """Test DataInUploadToExclude""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_in_upload_to_include.py b/src/visier_platform_sdk/test/test_data_in_upload_to_include.py deleted file mode 100644 index 7f8589e3b4..0000000000 --- a/src/visier_platform_sdk/test/test_data_in_upload_to_include.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_in_upload_to_include import DataInUploadToInclude - -class TestDataInUploadToInclude(unittest.TestCase): - """DataInUploadToInclude unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataInUploadToInclude: - """Test DataInUploadToInclude - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataInUploadToInclude` - """ - model = DataInUploadToInclude() - if include_optional: - return DataInUploadToInclude( - tenant_code = '', - include_all = True, - upload_times = [ - '' - ], - min_upload_time = '', - max_upload_time = '', - sources = [ - '' - ], - file_name_regex = '', - file_identifiers = [ - '' - ] - ) - else: - return DataInUploadToInclude( - ) - """ - - def testDataInUploadToInclude(self): - """Test DataInUploadToInclude""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_load_request.py b/src/visier_platform_sdk/test/test_data_load_request.py new file mode 100644 index 0000000000..5178684155 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_load_request.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_load_request import DataLoadRequest + +class TestDataLoadRequest(unittest.TestCase): + """DataLoadRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataLoadRequest: + """Test DataLoadRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataLoadRequest( + model = visier_platform_sdk.models.data_load_request_model.DataLoadRequestModel( + files = [ + '' + ], + skip_data_load = True, ) + ) + else: + return DataLoadRequest( + ) + + def testDataLoadRequest(self): + """Test DataLoadRequest""" + def validate_instance(instance): + DataLoadRequest.model_validate(inst_req_only) + instance_deserialized = DataLoadRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_load_request_model.py b/src/visier_platform_sdk/test/test_data_load_request_model.py new file mode 100644 index 0000000000..a75e9d390f --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_load_request_model.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_load_request_model import DataLoadRequestModel + +class TestDataLoadRequestModel(unittest.TestCase): + """DataLoadRequestModel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataLoadRequestModel: + """Test DataLoadRequestModel + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataLoadRequestModel( + files = [ + '' + ], + skip_data_load = True + ) + else: + return DataLoadRequestModel( + ) + + def testDataLoadRequestModel(self): + """Test DataLoadRequestModel""" + def validate_instance(instance): + DataLoadRequestModel.model_validate(inst_req_only) + instance_deserialized = DataLoadRequestModel.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_load_response.py b/src/visier_platform_sdk/test/test_data_load_response.py new file mode 100644 index 0000000000..81e93dece3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_load_response.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_load_response import DataLoadResponse + +class TestDataLoadResponse(unittest.TestCase): + """DataLoadResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataLoadResponse: + """Test DataLoadResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataLoadResponse( + job_id = '' + ) + else: + return DataLoadResponse( + ) + + def testDataLoadResponse(self): + """Test DataLoadResponse""" + def validate_instance(instance): + DataLoadResponse.model_validate(inst_req_only) + instance_deserialized = DataLoadResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_model_analytic_object_dto.py b/src/visier_platform_sdk/test/test_data_model_analytic_object_dto.py new file mode 100644 index 0000000000..ce58b7f7d7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_model_analytic_object_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_model_analytic_object_dto import DataModelAnalyticObjectDTO + +class TestDataModelAnalyticObjectDTO(unittest.TestCase): + """DataModelAnalyticObjectDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataModelAnalyticObjectDTO: + """Test DataModelAnalyticObjectDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataModelAnalyticObjectDTO( + id = '', + display_name = '', + description = '', + type = 'SUBJECT', + data_start_date = '', + data_end_date = '', + property_ids = [ + '' + ], + dimension_ids = [ + '' + ], + selection_concept_ids = [ + '' + ], + object_references = [ + visier_platform_sdk.models.object_reference_dto.ObjectReferenceDTO( + id = '', + display_name = '', + description = '', + from_object = '', + to_object = '', + type = 'SUBJECT_REFERENCE', + is_strong_reference = True, ) + ], + population_configuration = visier_platform_sdk.models.population_configuration_dto.PopulationConfigurationDTO( + distinguishing_properties = [ + visier_platform_sdk.models.property_reference_dto.PropertyReferenceDTO( + name = '', + qualifying_path = '', ) + ], + change_history_properties = [ + visier_platform_sdk.models.property_reference_dto.PropertyReferenceDTO( + name = '', + qualifying_path = '', ) + ], + grouping_dimensions = [ + visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ) + ], ) + ) + else: + return DataModelAnalyticObjectDTO( + ) + + def testDataModelAnalyticObjectDTO(self): + """Test DataModelAnalyticObjectDTO""" + def validate_instance(instance): + DataModelAnalyticObjectDTO.model_validate(inst_req_only) + instance_deserialized = DataModelAnalyticObjectDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_out_list_response.py b/src/visier_platform_sdk/test/test_data_out_list_response.py deleted file mode 100644 index 6665c0287e..0000000000 --- a/src/visier_platform_sdk/test/test_data_out_list_response.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.data_out_list_response import DataOutListResponse - -class TestDataOutListResponse(unittest.TestCase): - """DataOutListResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataOutListResponse: - """Test DataOutListResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataOutListResponse` - """ - model = DataOutListResponse() - if include_optional: - return DataOutListResponse( - header = { }, - rows = [ - { } - ] - ) - else: - return DataOutListResponse( - ) - """ - - def testDataOutListResponse(self): - """Test DataOutListResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_provider_auth_information_dto.py b/src/visier_platform_sdk/test/test_data_provider_auth_information_dto.py new file mode 100644 index 0000000000..73a6505881 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_provider_auth_information_dto.py @@ -0,0 +1,267 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_provider_auth_information_dto import DataProviderAuthInformationDTO + +class TestDataProviderAuthInformationDTO(unittest.TestCase): + """DataProviderAuthInformationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataProviderAuthInformationDTO: + """Test DataProviderAuthInformationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataProviderAuthInformationDTO( + data_provider_auth_params = visier_platform_sdk.models.data_provider_auth_params_dto.DataProviderAuthParamsDTO( + tenant_domain_name = '', + provider = 'Bamboo', + bamboo_auth_params = visier_platform_sdk.models.bamboo_auth_params_dto.BambooAuthParamsDTO( + access_key = '', + tenant_domain_name = '', ), + greenhouse_auth_params = visier_platform_sdk.models.greenhouse_auth_params_dto.GreenhouseAuthParamsDTO( + api_key = '', ), + google_sheets_auth_params = visier_platform_sdk.models.google_sheets_auth_params_dto.GoogleSheetsAuthParamsDTO( + auth_code = '', + configuration = '', + client_id = '', + client_secret = '', ), + jira_auth_params = visier_platform_sdk.models.jira_auth_params_dto.JiraAuthParamsDTO( + api_token = '', + host_name = '', + connect_params = visier_platform_sdk.models.jira_connect_params_dto.JiraConnectParamsDTO( + app_key = '', + client_key = '', + shared_secret = '', ), ), + lever_auth_params = visier_platform_sdk.models.lever_auth_params_dto.LeverAuthParamsDTO( + api_key = '', ), + namely_auth_params = visier_platform_sdk.models.namely_auth_params_dto.NamelyAuthParamsDTO( + auth_code = '', ), + qualtrics_auth_params = visier_platform_sdk.models.qualtrics_auth_params_dto.QualtricsAuthParamsDTO( + api_token = '', + data_center_id = '', ), + salesforce_auth_params = visier_platform_sdk.models.salesforce_auth_params_dto.SalesforceAuthParamsDTO( + refresh_token = '', + client_id = '', ), + ultimate_auth_params = visier_platform_sdk.models.ultimate_auth_params_dto.UltimateAuthParamsDTO( + host_domain_name = '', + api_key = '', + username = '', + password = '', + user_access_key = '', ), + workday_auth_params = visier_platform_sdk.models.workday_auth_params_dto.WorkdayAuthParamsDTO( + user_id = '', + domain_name = '', + implementation_name = '', + password = '', + o_auth = visier_platform_sdk.models.workday_o_auth_params_dto.WorkdayOAuthParamsDTO( + api_client_id = '', + public_x509_cert = '', + private_x509_key = '', ), + ref_token = visier_platform_sdk.models.workday_refresh_token_params_dto.WorkdayRefreshTokenParamsDTO( + api_client_id = '', + client_secret = '', + refresh_token = '', ), + integration_system_id = '', + additional_header_params = [ + visier_platform_sdk.models.pair_dto.PairDTO( + key = '', + value = '', ) + ], ), + icims_auth_params = visier_platform_sdk.models.icims_auth_params_dto.IcimsAuthParamsDTO( + customer_id = '', + username = '', + password = '', + client_id = '', + client_secret = '', + region = 'US', ), + service_now_auth_params = visier_platform_sdk.models.service_now_auth_params_dto.ServiceNowAuthParamsDTO( + host_domain_name = '', + username = '', + password = '', ), + jdbc_auth_params = visier_platform_sdk.models.jdbc_auth_params_dto.JdbcAuthParamsDTO( + jdbc_connect_string = '', + username = '', + password = '', ), + s3_auth_params = visier_platform_sdk.models.basic_s3_auth_params_dto.BasicS3AuthParamsDTO( + bucket_name = '', + bucket_region = '', + access_key = '', + secret_key = '', + path = '', ), + internal_s3_auth_params = visier_platform_sdk.models.internal_s3_auth_params_dto.InternalS3AuthParamsDTO( + bucket_name = '', + path = '', ), + copy_s3_auth_params = visier_platform_sdk.models.copy_s3_auth_params_dto.CopyS3AuthParamsDTO( + iam_role = '', ), + redshift_auth_params = visier_platform_sdk.models.redshift_auth_params_dto.RedshiftAuthParamsDTO( + endpoint = '', + port = '', + database = '', + username = '', + password = '', + table_prefix = '', + schema = '', ), + snowflake_auth_params = visier_platform_sdk.models.snowflake_auth_params_dto.SnowflakeAuthParamsDTO( + account_identifier = '', + database = '', + schema = '', + username = '', + password = '', + warehouse = '', + private_key = '', ), + big_query_auth_params = visier_platform_sdk.models.big_query_auth_params_dto.BigQueryAuthParamsDTO( + project_id = '', + dataset_location = '', + refresh_token = '', + client_id = '', + client_secret = '', + default_dataset = '', + service_account_params = visier_platform_sdk.models.big_query_service_account_params_dto.BigQueryServiceAccountParamsDTO( + service_account_email = '', + private_key = '', ), ), + sql_server_auth_params = visier_platform_sdk.models.sql_server_auth_params_dto.SqlServerAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + database = '', ), + dimensions_auth_params = visier_platform_sdk.models.dimensions_auth_params_dto.DimensionsAuthParamsDTO( + app_key = '', + client_id = '', + client_secret = '', + vanity_url = '', + username = '', + password = '', ), + willow_auth_params = visier_platform_sdk.models.willow_auth_params_dto.WillowAuthParamsDTO( + api_token = '', + host_name = '', ), + empty_auth_params = visier_platform_sdk.models.empty_auth_params_dto.EmptyAuthParamsDTO(), + success_factors_auth_params = visier_platform_sdk.models.success_factors_auth_params_dto.SuccessFactorsAuthParamsDTO( + host_domain_name = '', + company_id = '', + username = '', + password = '', ), + fusion_auth_params = visier_platform_sdk.models.fusion_auth_params_dto.FusionAuthParamsDTO( + username = '', + password = '', + host_domain_name = '', ), + adp_auth_params = visier_platform_sdk.models.adp_auth_params_dto.AdpAuthParamsDTO( + auth_code = '', ), + medallia_auth_params = visier_platform_sdk.models.medallia_auth_params_dto.MedalliaAuthParamsDTO( + tenant_domain_name = '', + instance_url = '', + client_id = '', + client_secret = '', ), + salesforce_v2_auth_params = visier_platform_sdk.models.salesforce_v2_auth_params_dto.SalesforceV2AuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', + login_host = '', ), + gong_auth_params = visier_platform_sdk.models.gong_auth_params_dto.GongAuthParamsDTO( + client_id = '', + client_secret = '', ), + zoom_auth_params = visier_platform_sdk.models.zoom_auth_params_dto.ZoomAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', ), + dayforce_v2_auth_params = visier_platform_sdk.models.dayforce_v2_auth_params_dto.DayforceV2AuthParamsDTO( + username = '', + password = '', + company_id = '', + token_host = '', + host_domain_name = '', ), + slack_auth_params = visier_platform_sdk.models.slack_auth_params_dto.SlackAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', ), + my_sql_auth_params = visier_platform_sdk.models.my_sql_auth_params_dto.MySqlAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + database = '', + ssl_mode = '', ), + workday_raas_auth_params = visier_platform_sdk.models.workday_raas_auth_params_dto.WorkdayRaasAuthParamsDTO( + user_id = '', + domain_name = '', + implementation_name = '', + password = '', + test_report_url = '', ), + ms365_auth_params = visier_platform_sdk.models.microsoft365_auth_params_dto.Microsoft365AuthParamsDTO( + o_auth_tenant_id = '', + client_id = '', + client_secret = '', + privacy_mode = '', ), + google_workspace_auth_params = visier_platform_sdk.models.google_workspace_auth_params_dto.GoogleWorkspaceAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', + service_account = '', + privacy_mode = '', ), + oracle_db_auth_params = visier_platform_sdk.models.oracle_db_auth_params_dto.OracleDbAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + service_name = '', ), + service_now_v2_auth_params = visier_platform_sdk.models.service_now_v2_auth_params_dto.ServiceNowV2AuthParamsDTO( + host_domain_name = '', + client_id = '', + client_secret = '', + auth_code = '', + alternate_domain = '', ), + databricks_auth_params = visier_platform_sdk.models.databricks_auth_params_dto.DatabricksAuthParamsDTO( + share_credentials_version = '', + bearer_token = '', + endpoint = '', + expiration_time = '', ), + has_updates = True, + auth_context = 'DefaultDataExtraction', ), + data_provider_basic_information = visier_platform_sdk.models.data_provider_basic_information_dto.DataProviderBasicInformationDTO( + display_name = '', + description = '', ), + data_provider_metadata = visier_platform_sdk.models.data_provider_basic_metadata_dto.DataProviderBasicMetadataDTO( + can_children_inherit = True, ) + ) + else: + return DataProviderAuthInformationDTO( + ) + + def testDataProviderAuthInformationDTO(self): + """Test DataProviderAuthInformationDTO""" + def validate_instance(instance): + DataProviderAuthInformationDTO.model_validate(inst_req_only) + instance_deserialized = DataProviderAuthInformationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_provider_auth_params_dto.py b/src/visier_platform_sdk/test/test_data_provider_auth_params_dto.py new file mode 100644 index 0000000000..c4c6f1355c --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_provider_auth_params_dto.py @@ -0,0 +1,265 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_provider_auth_params_dto import DataProviderAuthParamsDTO + +class TestDataProviderAuthParamsDTO(unittest.TestCase): + """DataProviderAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataProviderAuthParamsDTO: + """Test DataProviderAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataProviderAuthParamsDTO( + tenant_domain_name = '', + provider = 'Bamboo', + bamboo_auth_params = visier_platform_sdk.models.bamboo_auth_params_dto.BambooAuthParamsDTO( + access_key = '', + tenant_domain_name = '', ), + greenhouse_auth_params = visier_platform_sdk.models.greenhouse_auth_params_dto.GreenhouseAuthParamsDTO( + api_key = '', ), + google_sheets_auth_params = visier_platform_sdk.models.google_sheets_auth_params_dto.GoogleSheetsAuthParamsDTO( + auth_code = '', + configuration = '', + client_id = '', + client_secret = '', ), + jira_auth_params = visier_platform_sdk.models.jira_auth_params_dto.JiraAuthParamsDTO( + api_token = '', + host_name = '', + connect_params = visier_platform_sdk.models.jira_connect_params_dto.JiraConnectParamsDTO( + app_key = '', + client_key = '', + shared_secret = '', ), ), + lever_auth_params = visier_platform_sdk.models.lever_auth_params_dto.LeverAuthParamsDTO( + api_key = '', ), + namely_auth_params = visier_platform_sdk.models.namely_auth_params_dto.NamelyAuthParamsDTO( + auth_code = '', ), + qualtrics_auth_params = visier_platform_sdk.models.qualtrics_auth_params_dto.QualtricsAuthParamsDTO( + api_token = '', + data_center_id = '', ), + salesforce_auth_params = visier_platform_sdk.models.salesforce_auth_params_dto.SalesforceAuthParamsDTO( + refresh_token = '', + client_id = '', ), + ultimate_auth_params = visier_platform_sdk.models.ultimate_auth_params_dto.UltimateAuthParamsDTO( + host_domain_name = '', + api_key = '', + username = '', + password = '', + user_access_key = '', ), + workday_auth_params = visier_platform_sdk.models.workday_auth_params_dto.WorkdayAuthParamsDTO( + user_id = '', + domain_name = '', + implementation_name = '', + password = '', + o_auth = visier_platform_sdk.models.workday_o_auth_params_dto.WorkdayOAuthParamsDTO( + api_client_id = '', + public_x509_cert = '', + private_x509_key = '', ), + ref_token = visier_platform_sdk.models.workday_refresh_token_params_dto.WorkdayRefreshTokenParamsDTO( + api_client_id = '', + client_secret = '', + refresh_token = '', ), + integration_system_id = '', + additional_header_params = [ + visier_platform_sdk.models.pair_dto.PairDTO( + key = '', + value = '', ) + ], ), + icims_auth_params = visier_platform_sdk.models.icims_auth_params_dto.IcimsAuthParamsDTO( + customer_id = '', + username = '', + password = '', + client_id = '', + client_secret = '', + region = 'US', ), + service_now_auth_params = visier_platform_sdk.models.service_now_auth_params_dto.ServiceNowAuthParamsDTO( + host_domain_name = '', + username = '', + password = '', ), + jdbc_auth_params = visier_platform_sdk.models.jdbc_auth_params_dto.JdbcAuthParamsDTO( + jdbc_connect_string = '', + username = '', + password = '', ), + s3_auth_params = visier_platform_sdk.models.basic_s3_auth_params_dto.BasicS3AuthParamsDTO( + bucket_name = '', + bucket_region = '', + access_key = '', + secret_key = '', + path = '', ), + internal_s3_auth_params = visier_platform_sdk.models.internal_s3_auth_params_dto.InternalS3AuthParamsDTO( + bucket_name = '', + path = '', ), + copy_s3_auth_params = visier_platform_sdk.models.copy_s3_auth_params_dto.CopyS3AuthParamsDTO( + iam_role = '', ), + redshift_auth_params = visier_platform_sdk.models.redshift_auth_params_dto.RedshiftAuthParamsDTO( + endpoint = '', + port = '', + database = '', + username = '', + password = '', + table_prefix = '', + schema = '', ), + snowflake_auth_params = visier_platform_sdk.models.snowflake_auth_params_dto.SnowflakeAuthParamsDTO( + account_identifier = '', + database = '', + schema = '', + username = '', + password = '', + warehouse = '', + private_key = '', ), + big_query_auth_params = visier_platform_sdk.models.big_query_auth_params_dto.BigQueryAuthParamsDTO( + project_id = '', + dataset_location = '', + refresh_token = '', + client_id = '', + client_secret = '', + default_dataset = '', + service_account_params = visier_platform_sdk.models.big_query_service_account_params_dto.BigQueryServiceAccountParamsDTO( + service_account_email = '', + private_key = '', ), ), + sql_server_auth_params = visier_platform_sdk.models.sql_server_auth_params_dto.SqlServerAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + database = '', ), + dimensions_auth_params = visier_platform_sdk.models.dimensions_auth_params_dto.DimensionsAuthParamsDTO( + app_key = '', + client_id = '', + client_secret = '', + vanity_url = '', + username = '', + password = '', ), + willow_auth_params = visier_platform_sdk.models.willow_auth_params_dto.WillowAuthParamsDTO( + api_token = '', + host_name = '', ), + empty_auth_params = visier_platform_sdk.models.empty_auth_params_dto.EmptyAuthParamsDTO(), + success_factors_auth_params = visier_platform_sdk.models.success_factors_auth_params_dto.SuccessFactorsAuthParamsDTO( + host_domain_name = '', + company_id = '', + username = '', + password = '', + o_auth = visier_platform_sdk.models.success_factors_o_auth_params_dto.SuccessFactorsOAuthParamsDTO( + api_key = '', + private_x509_key = '', + public_x509_cert = '', ), ), + fusion_auth_params = visier_platform_sdk.models.fusion_auth_params_dto.FusionAuthParamsDTO( + username = '', + password = '', + host_domain_name = '', ), + adp_auth_params = visier_platform_sdk.models.adp_auth_params_dto.AdpAuthParamsDTO( + auth_code = '', ), + medallia_auth_params = visier_platform_sdk.models.medallia_auth_params_dto.MedalliaAuthParamsDTO( + tenant_domain_name = '', + instance_url = '', + client_id = '', + client_secret = '', ), + salesforce_v2_auth_params = visier_platform_sdk.models.salesforce_v2_auth_params_dto.SalesforceV2AuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', + login_host = '', ), + gong_auth_params = visier_platform_sdk.models.gong_auth_params_dto.GongAuthParamsDTO( + client_id = '', + client_secret = '', ), + zoom_auth_params = visier_platform_sdk.models.zoom_auth_params_dto.ZoomAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', ), + dayforce_v2_auth_params = visier_platform_sdk.models.dayforce_v2_auth_params_dto.DayforceV2AuthParamsDTO( + username = '', + password = '', + company_id = '', + token_host = '', + host_domain_name = '', ), + slack_auth_params = visier_platform_sdk.models.slack_auth_params_dto.SlackAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', ), + my_sql_auth_params = visier_platform_sdk.models.my_sql_auth_params_dto.MySqlAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + database = '', + ssl_mode = '', ), + workday_raas_auth_params = visier_platform_sdk.models.workday_raas_auth_params_dto.WorkdayRaasAuthParamsDTO( + user_id = '', + domain_name = '', + implementation_name = '', + password = '', + test_report_url = '', ), + ms365_auth_params = visier_platform_sdk.models.microsoft365_auth_params_dto.Microsoft365AuthParamsDTO( + o_auth_tenant_id = '', + client_id = '', + client_secret = '', + privacy_mode = '', ), + google_workspace_auth_params = visier_platform_sdk.models.google_workspace_auth_params_dto.GoogleWorkspaceAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', + service_account = '', + privacy_mode = '', ), + oracle_db_auth_params = visier_platform_sdk.models.oracle_db_auth_params_dto.OracleDbAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + service_name = '', ), + service_now_v2_auth_params = visier_platform_sdk.models.service_now_v2_auth_params_dto.ServiceNowV2AuthParamsDTO( + host_domain_name = '', + client_id = '', + client_secret = '', + auth_code = '', + alternate_domain = '', ), + databricks_auth_params = visier_platform_sdk.models.databricks_auth_params_dto.DatabricksAuthParamsDTO( + share_credentials_version = '', + bearer_token = '', + endpoint = '', + expiration_time = '', ), + has_updates = True, + auth_context = 'DefaultDataExtraction' + ) + else: + return DataProviderAuthParamsDTO( + ) + + def testDataProviderAuthParamsDTO(self): + """Test DataProviderAuthParamsDTO""" + def validate_instance(instance): + DataProviderAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = DataProviderAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_provider_basic_information_dto.py b/src/visier_platform_sdk/test/test_data_provider_basic_information_dto.py new file mode 100644 index 0000000000..7674a05388 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_provider_basic_information_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_provider_basic_information_dto import DataProviderBasicInformationDTO + +class TestDataProviderBasicInformationDTO(unittest.TestCase): + """DataProviderBasicInformationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataProviderBasicInformationDTO: + """Test DataProviderBasicInformationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataProviderBasicInformationDTO( + display_name = '', + description = '' + ) + else: + return DataProviderBasicInformationDTO( + ) + + def testDataProviderBasicInformationDTO(self): + """Test DataProviderBasicInformationDTO""" + def validate_instance(instance): + DataProviderBasicInformationDTO.model_validate(inst_req_only) + instance_deserialized = DataProviderBasicInformationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_provider_basic_metadata_dto.py b/src/visier_platform_sdk/test/test_data_provider_basic_metadata_dto.py new file mode 100644 index 0000000000..a37875a3aa --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_provider_basic_metadata_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_provider_basic_metadata_dto import DataProviderBasicMetadataDTO + +class TestDataProviderBasicMetadataDTO(unittest.TestCase): + """DataProviderBasicMetadataDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataProviderBasicMetadataDTO: + """Test DataProviderBasicMetadataDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataProviderBasicMetadataDTO( + can_children_inherit = True + ) + else: + return DataProviderBasicMetadataDTO( + ) + + def testDataProviderBasicMetadataDTO(self): + """Test DataProviderBasicMetadataDTO""" + def validate_instance(instance): + DataProviderBasicMetadataDTO.model_validate(inst_req_only) + instance_deserialized = DataProviderBasicMetadataDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_security_profile_dto.py b/src/visier_platform_sdk/test/test_data_security_profile_dto.py new file mode 100644 index 0000000000..6507a26b4e --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_security_profile_dto.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_security_profile_dto import DataSecurityProfileDTO + +class TestDataSecurityProfileDTO(unittest.TestCase): + """DataSecurityProfileDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataSecurityProfileDTO: + """Test DataSecurityProfileDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataSecurityProfileDTO( + analytic_object_id = '', + property_set_config = visier_platform_sdk.models.property_set_config_dto.PropertySetConfigDTO( + property_access_configs = [ + visier_platform_sdk.models.property_access_config_dto.PropertyAccessConfigDTO( + property_id = '', + analytic_object_id = '', + analytic_object_reference_paths = [ + '' + ], + access_level = 'None', + property_status = 'Unset', ) + ], + shareable_data_access_set = None, ), + all_data_point_access = True, + member_filter_configs = [ + visier_platform_sdk.models.member_filter_config_dto.MemberFilterConfigDTO( + dimension_filters = [ + visier_platform_sdk.models.dimension_filter_dto.DimensionFilterDTO( + static_dimension_filter = visier_platform_sdk.models.static_dimension_filter_dto.StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset', ), + dynamic_dimension_filter = visier_platform_sdk.models.dynamic_dimension_filter_dto.DynamicDimensionFilterDTO( + dimension_id = '', + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset', ), ) + ], ) + ], + inherited_access_configs = [ + visier_platform_sdk.models.inherited_access_config_dto.InheritedAccessConfigDTO( + analytic_object_id = '', + remove_access = True, + member_filter_configs = [ + visier_platform_sdk.models.member_filter_config_dto.MemberFilterConfigDTO( + dimension_filters = [ + visier_platform_sdk.models.dimension_filter_dto.DimensionFilterDTO( + static_dimension_filter = visier_platform_sdk.models.static_dimension_filter_dto.StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset', ), + dynamic_dimension_filter = visier_platform_sdk.models.dynamic_dimension_filter_dto.DynamicDimensionFilterDTO( + dimension_id = '', + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset', ), ) + ], ) + ], ) + ], + inherited_reference_member_filter_config = visier_platform_sdk.models.inherited_reference_member_filter_config_dto.InheritedReferenceMemberFilterConfigDTO( + target_analytic_object_id = '', + analytic_object_reference = '', ), + analytic_object_status = 'Unset' + ) + else: + return DataSecurityProfileDTO( + ) + + def testDataSecurityProfileDTO(self): + """Test DataSecurityProfileDTO""" + def validate_instance(instance): + DataSecurityProfileDTO.model_validate(inst_req_only) + instance_deserialized = DataSecurityProfileDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_transfer_result_detail.py b/src/visier_platform_sdk/test/test_data_transfer_result_detail.py new file mode 100644 index 0000000000..90e488bd11 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_transfer_result_detail.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_transfer_result_detail import DataTransferResultDetail + +class TestDataTransferResultDetail(unittest.TestCase): + """DataTransferResultDetail unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataTransferResultDetail: + """Test DataTransferResultDetail + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataTransferResultDetail( + tenant_code = '', + source_names = [ + '' + ], + data_size = '', + rows = '' + ) + else: + return DataTransferResultDetail( + ) + + def testDataTransferResultDetail(self): + """Test DataTransferResultDetail""" + def validate_instance(instance): + DataTransferResultDetail.model_validate(inst_req_only) + instance_deserialized = DataTransferResultDetail.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_and_date_dto.py b/src/visier_platform_sdk/test/test_data_version_and_date_dto.py new file mode 100644 index 0000000000..c05d66cee1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_and_date_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_and_date_dto import DataVersionAndDateDTO + +class TestDataVersionAndDateDTO(unittest.TestCase): + """DataVersionAndDateDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionAndDateDTO: + """Test DataVersionAndDateDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionAndDateDTO( + data_version = '', + data_version_date = '' + ) + else: + return DataVersionAndDateDTO( + ) + + def testDataVersionAndDateDTO(self): + """Test DataVersionAndDateDTO""" + def validate_instance(instance): + DataVersionAndDateDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionAndDateDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_column_dto.py b/src/visier_platform_sdk/test/test_data_version_export_column_dto.py new file mode 100644 index 0000000000..9ac28624c2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_column_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_column_dto import DataVersionExportColumnDTO + +class TestDataVersionExportColumnDTO(unittest.TestCase): + """DataVersionExportColumnDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportColumnDTO: + """Test DataVersionExportColumnDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportColumnDTO( + name = '', + data_type = '', + allows_null = True, + is_primary_key_component = True + ) + else: + return DataVersionExportColumnDTO( + ) + + def testDataVersionExportColumnDTO(self): + """Test DataVersionExportColumnDTO""" + def validate_instance(instance): + DataVersionExportColumnDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportColumnDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_data_version_summary_dto.py b/src/visier_platform_sdk/test/test_data_version_export_data_version_summary_dto.py new file mode 100644 index 0000000000..989d1e7fb2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_data_version_summary_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_data_version_summary_dto import DataVersionExportDataVersionSummaryDTO + +class TestDataVersionExportDataVersionSummaryDTO(unittest.TestCase): + """DataVersionExportDataVersionSummaryDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportDataVersionSummaryDTO: + """Test DataVersionExportDataVersionSummaryDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportDataVersionSummaryDTO( + data_version = '', + data_category = '', + created = '' + ) + else: + return DataVersionExportDataVersionSummaryDTO( + ) + + def testDataVersionExportDataVersionSummaryDTO(self): + """Test DataVersionExportDataVersionSummaryDTO""" + def validate_instance(instance): + DataVersionExportDataVersionSummaryDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportDataVersionSummaryDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_data_versions_dto.py b/src/visier_platform_sdk/test/test_data_version_export_data_versions_dto.py new file mode 100644 index 0000000000..02191a6359 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_data_versions_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_data_versions_dto import DataVersionExportDataVersionsDTO + +class TestDataVersionExportDataVersionsDTO(unittest.TestCase): + """DataVersionExportDataVersionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportDataVersionsDTO: + """Test DataVersionExportDataVersionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportDataVersionsDTO( + data_versions = [ + visier_platform_sdk.models.data_version_export_data_version_summary_dto.DataVersionExportDataVersionSummaryDTO( + data_version = '', + data_category = '', + created = '', ) + ] + ) + else: + return DataVersionExportDataVersionsDTO( + ) + + def testDataVersionExportDataVersionsDTO(self): + """Test DataVersionExportDataVersionsDTO""" + def validate_instance(instance): + DataVersionExportDataVersionsDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportDataVersionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_dto.py b/src/visier_platform_sdk/test/test_data_version_export_dto.py new file mode 100644 index 0000000000..b85fbca79c --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_dto.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_dto import DataVersionExportDTO + +class TestDataVersionExportDTO(unittest.TestCase): + """DataVersionExportDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportDTO: + """Test DataVersionExportDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportDTO( + uuid = '', + timestamp = '', + data_version_number = '', + base_data_version_number = '', + tables = [ + visier_platform_sdk.models.data_version_export_table_dto.DataVersionExportTableDTO( + name = '', + common_columns = None, + new_columns = None, + deleted_columns = [ + '' + ], ) + ], + new_tables = [ + '' + ], + deleted_tables = [ + '' + ] + ) + else: + return DataVersionExportDTO( + ) + + def testDataVersionExportDTO(self): + """Test DataVersionExportDTO""" + def validate_instance(instance): + DataVersionExportDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_file_dto.py b/src/visier_platform_sdk/test/test_data_version_export_file_dto.py new file mode 100644 index 0000000000..9137eca2d9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_file_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_file_dto import DataVersionExportFileDTO + +class TestDataVersionExportFileDTO(unittest.TestCase): + """DataVersionExportFileDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportFileDTO: + """Test DataVersionExportFileDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportFileDTO( + columns = [ + visier_platform_sdk.models.data_version_export_column_dto.DataVersionExportColumnDTO( + name = '', + data_type = '', + allows_null = True, + is_primary_key_component = True, ) + ], + files = [ + visier_platform_sdk.models.data_version_export_part_file_dto.DataVersionExportPartFileDTO( + file_id = 56, + filename = '', ) + ] + ) + else: + return DataVersionExportFileDTO( + ) + + def testDataVersionExportFileDTO(self): + """Test DataVersionExportFileDTO""" + def validate_instance(instance): + DataVersionExportFileDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportFileDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_job_status_dto.py b/src/visier_platform_sdk/test/test_data_version_export_job_status_dto.py new file mode 100644 index 0000000000..8c17ea87ad --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_job_status_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_job_status_dto import DataVersionExportJobStatusDTO + +class TestDataVersionExportJobStatusDTO(unittest.TestCase): + """DataVersionExportJobStatusDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportJobStatusDTO: + """Test DataVersionExportJobStatusDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportJobStatusDTO( + job_uuid = '', + completed = True, + failed = True, + export_uuid = '' + ) + else: + return DataVersionExportJobStatusDTO( + ) + + def testDataVersionExportJobStatusDTO(self): + """Test DataVersionExportJobStatusDTO""" + def validate_instance(instance): + DataVersionExportJobStatusDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportJobStatusDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_part_file_dto.py b/src/visier_platform_sdk/test/test_data_version_export_part_file_dto.py new file mode 100644 index 0000000000..2393e7e22b --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_part_file_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_part_file_dto import DataVersionExportPartFileDTO + +class TestDataVersionExportPartFileDTO(unittest.TestCase): + """DataVersionExportPartFileDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportPartFileDTO: + """Test DataVersionExportPartFileDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportPartFileDTO( + file_id = 56, + filename = '' + ) + else: + return DataVersionExportPartFileDTO( + ) + + def testDataVersionExportPartFileDTO(self): + """Test DataVersionExportPartFileDTO""" + def validate_instance(instance): + DataVersionExportPartFileDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportPartFileDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_schedule_job_request_dto.py b/src/visier_platform_sdk/test/test_data_version_export_schedule_job_request_dto.py new file mode 100644 index 0000000000..c38c6803bb --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_schedule_job_request_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_schedule_job_request_dto import DataVersionExportScheduleJobRequestDTO + +class TestDataVersionExportScheduleJobRequestDTO(unittest.TestCase): + """DataVersionExportScheduleJobRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportScheduleJobRequestDTO: + """Test DataVersionExportScheduleJobRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportScheduleJobRequestDTO( + data_version_number = '', + base_data_version_number = '' + ) + else: + return DataVersionExportScheduleJobRequestDTO( + ) + + def testDataVersionExportScheduleJobRequestDTO(self): + """Test DataVersionExportScheduleJobRequestDTO""" + def validate_instance(instance): + DataVersionExportScheduleJobRequestDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportScheduleJobRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_schedule_job_response_dto.py b/src/visier_platform_sdk/test/test_data_version_export_schedule_job_response_dto.py new file mode 100644 index 0000000000..3786c2df85 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_schedule_job_response_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_schedule_job_response_dto import DataVersionExportScheduleJobResponseDTO + +class TestDataVersionExportScheduleJobResponseDTO(unittest.TestCase): + """DataVersionExportScheduleJobResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportScheduleJobResponseDTO: + """Test DataVersionExportScheduleJobResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportScheduleJobResponseDTO( + job_uuid = '' + ) + else: + return DataVersionExportScheduleJobResponseDTO( + ) + + def testDataVersionExportScheduleJobResponseDTO(self): + """Test DataVersionExportScheduleJobResponseDTO""" + def validate_instance(instance): + DataVersionExportScheduleJobResponseDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportScheduleJobResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_export_table_dto.py b/src/visier_platform_sdk/test/test_data_version_export_table_dto.py new file mode 100644 index 0000000000..446e2d1980 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_export_table_dto.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_export_table_dto import DataVersionExportTableDTO + +class TestDataVersionExportTableDTO(unittest.TestCase): + """DataVersionExportTableDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportTableDTO: + """Test DataVersionExportTableDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportTableDTO( + name = '', + common_columns = visier_platform_sdk.models.data_version_export_file_dto.DataVersionExportFileDTO( + columns = [ + visier_platform_sdk.models.data_version_export_column_dto.DataVersionExportColumnDTO( + name = '', + data_type = '', + allows_null = True, + is_primary_key_component = True, ) + ], + files = [ + visier_platform_sdk.models.data_version_export_part_file_dto.DataVersionExportPartFileDTO( + file_id = 56, + filename = '', ) + ], ), + new_columns = visier_platform_sdk.models.data_version_export_file_dto.DataVersionExportFileDTO( + columns = [ + visier_platform_sdk.models.data_version_export_column_dto.DataVersionExportColumnDTO( + name = '', + data_type = '', + allows_null = True, + is_primary_key_component = True, ) + ], + files = [ + visier_platform_sdk.models.data_version_export_part_file_dto.DataVersionExportPartFileDTO( + file_id = 56, + filename = '', ) + ], ), + deleted_columns = [ + '' + ] + ) + else: + return DataVersionExportTableDTO( + ) + + def testDataVersionExportTableDTO(self): + """Test DataVersionExportTableDTO""" + def validate_instance(instance): + DataVersionExportTableDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportTableDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_exports_dto.py b/src/visier_platform_sdk/test/test_data_version_exports_dto.py new file mode 100644 index 0000000000..9b455cdb77 --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_exports_dto.py @@ -0,0 +1,79 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_exports_dto import DataVersionExportsDTO + +class TestDataVersionExportsDTO(unittest.TestCase): + """DataVersionExportsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionExportsDTO: + """Test DataVersionExportsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionExportsDTO( + data_version_exports = [ + visier_platform_sdk.models.data_version_export_dto.DataVersionExportDTO( + uuid = '', + timestamp = '', + data_version_number = '', + base_data_version_number = '', + tables = [ + visier_platform_sdk.models.data_version_export_table_dto.DataVersionExportTableDTO( + name = '', + common_columns = None, + new_columns = None, + deleted_columns = [ + '' + ], ) + ], + new_tables = [ + '' + ], + deleted_tables = [ + '' + ], ) + ] + ) + else: + return DataVersionExportsDTO( + ) + + def testDataVersionExportsDTO(self): + """Test DataVersionExportsDTO""" + def validate_instance(instance): + DataVersionExportsDTO.model_validate(inst_req_only) + instance_deserialized = DataVersionExportsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_data_version_object.py b/src/visier_platform_sdk/test/test_data_version_object.py new file mode 100644 index 0000000000..2a423e294f --- /dev/null +++ b/src/visier_platform_sdk/test/test_data_version_object.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.data_version_object import DataVersionObject + +class TestDataVersionObject(unittest.TestCase): + """DataVersionObject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DataVersionObject: + """Test DataVersionObject + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DataVersionObject( + tenant_code = '', + data_version = '' + ) + else: + return DataVersionObject( + ) + + def testDataVersionObject(self): + """Test DataVersionObject""" + def validate_instance(instance): + DataVersionObject.model_validate(inst_req_only) + instance_deserialized = DataVersionObject.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_databricks_auth_params_dto.py b/src/visier_platform_sdk/test/test_databricks_auth_params_dto.py new file mode 100644 index 0000000000..88461a76cd --- /dev/null +++ b/src/visier_platform_sdk/test/test_databricks_auth_params_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.databricks_auth_params_dto import DatabricksAuthParamsDTO + +class TestDatabricksAuthParamsDTO(unittest.TestCase): + """DatabricksAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DatabricksAuthParamsDTO: + """Test DatabricksAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DatabricksAuthParamsDTO( + share_credentials_version = '', + bearer_token = '', + endpoint = '', + expiration_time = '' + ) + else: + return DatabricksAuthParamsDTO( + ) + + def testDatabricksAuthParamsDTO(self): + """Test DatabricksAuthParamsDTO""" + def validate_instance(instance): + DatabricksAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = DatabricksAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_common_dimension_member_reference_dto.py b/src/visier_platform_sdk/test/test_dataservices_common_dimension_member_reference_dto.py deleted file mode 100644 index b927ef1aa0..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_common_dimension_member_reference_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_common_dimension_member_reference_dto import DataservicesCommonDimensionMemberReferenceDTO - -class TestDataservicesCommonDimensionMemberReferenceDTO(unittest.TestCase): - """DataservicesCommonDimensionMemberReferenceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesCommonDimensionMemberReferenceDTO: - """Test DataservicesCommonDimensionMemberReferenceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesCommonDimensionMemberReferenceDTO` - """ - model = DataservicesCommonDimensionMemberReferenceDTO() - if include_optional: - return DataservicesCommonDimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '' - ) - else: - return DataservicesCommonDimensionMemberReferenceDTO( - ) - """ - - def testDataservicesCommonDimensionMemberReferenceDTO(self): - """Test DataservicesCommonDimensionMemberReferenceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_common_member_values_dto.py b/src/visier_platform_sdk/test/test_dataservices_common_member_values_dto.py deleted file mode 100644 index 9aa10c29c4..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_common_member_values_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_common_member_values_dto import DataservicesCommonMemberValuesDTO - -class TestDataservicesCommonMemberValuesDTO(unittest.TestCase): - """DataservicesCommonMemberValuesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesCommonMemberValuesDTO: - """Test DataservicesCommonMemberValuesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesCommonMemberValuesDTO` - """ - model = DataservicesCommonMemberValuesDTO() - if include_optional: - return DataservicesCommonMemberValuesDTO( - included = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ], - excluded = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ] - ) - else: - return DataservicesCommonMemberValuesDTO( - ) - """ - - def testDataservicesCommonMemberValuesDTO(self): - """Test DataservicesCommonMemberValuesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_aggregation_type_option_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_aggregation_type_option_dto.py deleted file mode 100644 index f9f3ae3f83..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_aggregation_type_option_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_aggregation_type_option_dto import DataservicesDatamodelAggregationTypeOptionDTO - -class TestDataservicesDatamodelAggregationTypeOptionDTO(unittest.TestCase): - """DataservicesDatamodelAggregationTypeOptionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelAggregationTypeOptionDTO: - """Test DataservicesDatamodelAggregationTypeOptionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelAggregationTypeOptionDTO` - """ - model = DataservicesDatamodelAggregationTypeOptionDTO() - if include_optional: - return DataservicesDatamodelAggregationTypeOptionDTO( - id = '', - display_name = '', - property_name = '', - aggregation_function = '', - is_default = True - ) - else: - return DataservicesDatamodelAggregationTypeOptionDTO( - ) - """ - - def testDataservicesDatamodelAggregationTypeOptionDTO(self): - """Test DataservicesDatamodelAggregationTypeOptionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_aggregation_type_parameter_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_aggregation_type_parameter_dto.py deleted file mode 100644 index ca8351b92b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_aggregation_type_parameter_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_aggregation_type_parameter_dto import DataservicesDatamodelAggregationTypeParameterDTO - -class TestDataservicesDatamodelAggregationTypeParameterDTO(unittest.TestCase): - """DataservicesDatamodelAggregationTypeParameterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelAggregationTypeParameterDTO: - """Test DataservicesDatamodelAggregationTypeParameterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelAggregationTypeParameterDTO` - """ - model = DataservicesDatamodelAggregationTypeParameterDTO() - if include_optional: - return DataservicesDatamodelAggregationTypeParameterDTO( - id = '', - display_name = '', - description = '', - parameter_options = [ - visier_platform_sdk.models.dataservices/datamodel/aggregation_type_option_dto.dataservices.datamodel.AggregationTypeOptionDTO( - id = '', - display_name = '', - property_name = '', - aggregation_function = '', - is_default = True, ) - ] - ) - else: - return DataservicesDatamodelAggregationTypeParameterDTO( - ) - """ - - def testDataservicesDatamodelAggregationTypeParameterDTO(self): - """Test DataservicesDatamodelAggregationTypeParameterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_analytic_object_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_analytic_object_dto.py deleted file mode 100644 index 86a152b0ec..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_analytic_object_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_analytic_object_dto import DataservicesDatamodelAnalyticObjectDTO - -class TestDataservicesDatamodelAnalyticObjectDTO(unittest.TestCase): - """DataservicesDatamodelAnalyticObjectDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelAnalyticObjectDTO: - """Test DataservicesDatamodelAnalyticObjectDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelAnalyticObjectDTO` - """ - model = DataservicesDatamodelAnalyticObjectDTO() - if include_optional: - return DataservicesDatamodelAnalyticObjectDTO( - id = '', - display_name = '', - description = '', - type = 'SUBJECT', - data_start_date = '', - data_end_date = '', - property_ids = [ - '' - ], - dimension_ids = [ - '' - ], - selection_concept_ids = [ - '' - ], - object_references = [ - visier_platform_sdk.models.dataservices/datamodel/object_reference_dto.dataservices.datamodel.ObjectReferenceDTO( - id = '', - display_name = '', - description = '', - from_object = '', - to_object = '', - type = 'SUBJECT_REFERENCE', - is_strong_reference = True, ) - ], - population_configuration = visier_platform_sdk.models.dataservices/datamodel/population_configuration_dto.dataservices.datamodel.PopulationConfigurationDTO( - distinguishing_properties = [ - visier_platform_sdk.models.dataservices/datamodel/property_reference_dto.dataservices.datamodel.PropertyReferenceDTO( - name = '', - qualifying_path = '', ) - ], - change_history_properties = [ - visier_platform_sdk.models.dataservices/datamodel/property_reference_dto.dataservices.datamodel.PropertyReferenceDTO( - name = '', - qualifying_path = '', ) - ], - grouping_dimensions = [ - visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ) - ], ) - ) - else: - return DataservicesDatamodelAnalyticObjectDTO( - ) - """ - - def testDataservicesDatamodelAnalyticObjectDTO(self): - """Test DataservicesDatamodelAnalyticObjectDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_analytic_objects_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_analytic_objects_dto.py deleted file mode 100644 index 7c41a62c3d..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_analytic_objects_dto.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_analytic_objects_dto import DataservicesDatamodelAnalyticObjectsDTO - -class TestDataservicesDatamodelAnalyticObjectsDTO(unittest.TestCase): - """DataservicesDatamodelAnalyticObjectsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelAnalyticObjectsDTO: - """Test DataservicesDatamodelAnalyticObjectsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelAnalyticObjectsDTO` - """ - model = DataservicesDatamodelAnalyticObjectsDTO() - if include_optional: - return DataservicesDatamodelAnalyticObjectsDTO( - analytic_objects = [ - visier_platform_sdk.models.dataservices/datamodel/analytic_object_dto.dataservices.datamodel.AnalyticObjectDTO( - id = '', - display_name = '', - description = '', - type = 'SUBJECT', - data_start_date = '', - data_end_date = '', - property_ids = [ - '' - ], - dimension_ids = [ - '' - ], - selection_concept_ids = [ - '' - ], - object_references = [ - visier_platform_sdk.models.dataservices/datamodel/object_reference_dto.dataservices.datamodel.ObjectReferenceDTO( - id = '', - display_name = '', - description = '', - from_object = '', - to_object = '', - type = 'SUBJECT_REFERENCE', - is_strong_reference = True, ) - ], - population_configuration = None, ) - ] - ) - else: - return DataservicesDatamodelAnalyticObjectsDTO( - ) - """ - - def testDataservicesDatamodelAnalyticObjectsDTO(self): - """Test DataservicesDatamodelAnalyticObjectsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_currencies_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_currencies_dto.py deleted file mode 100644 index ed9c677438..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_currencies_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_currencies_dto import DataservicesDatamodelCurrenciesDTO - -class TestDataservicesDatamodelCurrenciesDTO(unittest.TestCase): - """DataservicesDatamodelCurrenciesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelCurrenciesDTO: - """Test DataservicesDatamodelCurrenciesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelCurrenciesDTO` - """ - model = DataservicesDatamodelCurrenciesDTO() - if include_optional: - return DataservicesDatamodelCurrenciesDTO( - currencies = [ - visier_platform_sdk.models.dataservices/datamodel/currency_dto.dataservices.datamodel.CurrencyDTO( - currency_code = '', - display_name = '', - symbol = '', - short_symbol = '', ) - ] - ) - else: - return DataservicesDatamodelCurrenciesDTO( - ) - """ - - def testDataservicesDatamodelCurrenciesDTO(self): - """Test DataservicesDatamodelCurrenciesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_dto.py deleted file mode 100644 index b6f1d5b0f7..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_currency_dto import DataservicesDatamodelCurrencyDTO - -class TestDataservicesDatamodelCurrencyDTO(unittest.TestCase): - """DataservicesDatamodelCurrencyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelCurrencyDTO: - """Test DataservicesDatamodelCurrencyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelCurrencyDTO` - """ - model = DataservicesDatamodelCurrencyDTO() - if include_optional: - return DataservicesDatamodelCurrencyDTO( - currency_code = '', - display_name = '', - symbol = '', - short_symbol = '' - ) - else: - return DataservicesDatamodelCurrencyDTO( - ) - """ - - def testDataservicesDatamodelCurrencyDTO(self): - """Test DataservicesDatamodelCurrencyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_rate_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_rate_dto.py deleted file mode 100644 index 7f3cf9ca92..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_rate_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_currency_rate_dto import DataservicesDatamodelCurrencyRateDTO - -class TestDataservicesDatamodelCurrencyRateDTO(unittest.TestCase): - """DataservicesDatamodelCurrencyRateDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelCurrencyRateDTO: - """Test DataservicesDatamodelCurrencyRateDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelCurrencyRateDTO` - """ - model = DataservicesDatamodelCurrencyRateDTO() - if include_optional: - return DataservicesDatamodelCurrencyRateDTO( - from_currency_code = '', - to_currency_code = '', - rate = 1.337, - start_time = '', - end_time = '' - ) - else: - return DataservicesDatamodelCurrencyRateDTO( - ) - """ - - def testDataservicesDatamodelCurrencyRateDTO(self): - """Test DataservicesDatamodelCurrencyRateDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_rates_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_rates_dto.py deleted file mode 100644 index 48d47986c5..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_currency_rates_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_currency_rates_dto import DataservicesDatamodelCurrencyRatesDTO - -class TestDataservicesDatamodelCurrencyRatesDTO(unittest.TestCase): - """DataservicesDatamodelCurrencyRatesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelCurrencyRatesDTO: - """Test DataservicesDatamodelCurrencyRatesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelCurrencyRatesDTO` - """ - model = DataservicesDatamodelCurrencyRatesDTO() - if include_optional: - return DataservicesDatamodelCurrencyRatesDTO( - currency_rates = [ - visier_platform_sdk.models.dataservices/datamodel/currency_rate_dto.dataservices.datamodel.CurrencyRateDTO( - from_currency_code = '', - to_currency_code = '', - rate = 1.337, - start_time = '', - end_time = '', ) - ] - ) - else: - return DataservicesDatamodelCurrencyRatesDTO( - ) - """ - - def testDataservicesDatamodelCurrencyRatesDTO(self): - """Test DataservicesDatamodelCurrencyRatesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_dto.py deleted file mode 100644 index 0d2516157c..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_dto.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_dimension_dto import DataservicesDatamodelDimensionDTO - -class TestDataservicesDatamodelDimensionDTO(unittest.TestCase): - """DataservicesDatamodelDimensionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelDimensionDTO: - """Test DataservicesDatamodelDimensionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelDimensionDTO` - """ - model = DataservicesDatamodelDimensionDTO() - if include_optional: - return DataservicesDatamodelDimensionDTO( - id = '', - display_name = '', - description = '', - levels = [ - visier_platform_sdk.models.dataservices/datamodel/level_dto.dataservices.datamodel.LevelDTO( - id = '', - display_name = '', - depth = 56, ) - ], - unknown_member = [ - '' - ], - member_count = 56, - visible_in_app = True, - tags = [ - visier_platform_sdk.models.dataservices/datamodel/tag_map_element_dto.dataservices.datamodel.TagMapElementDTO( - id = '', - display_name = '', ) - ], - explanation = '' - ) - else: - return DataservicesDatamodelDimensionDTO( - ) - """ - - def testDataservicesDatamodelDimensionDTO(self): - """Test DataservicesDatamodelDimensionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_mapping_validation_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_mapping_validation_dto.py deleted file mode 100644 index 761d30505b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_mapping_validation_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_dimension_mapping_validation_dto import DataservicesDatamodelDimensionMappingValidationDTO - -class TestDataservicesDatamodelDimensionMappingValidationDTO(unittest.TestCase): - """DataservicesDatamodelDimensionMappingValidationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelDimensionMappingValidationDTO: - """Test DataservicesDatamodelDimensionMappingValidationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelDimensionMappingValidationDTO` - """ - model = DataservicesDatamodelDimensionMappingValidationDTO() - if include_optional: - return DataservicesDatamodelDimensionMappingValidationDTO( - dimension_map_id = '', - dimension_id = '', - unmapped_members = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ], - failures = [ - '' - ] - ) - else: - return DataservicesDatamodelDimensionMappingValidationDTO( - ) - """ - - def testDataservicesDatamodelDimensionMappingValidationDTO(self): - """Test DataservicesDatamodelDimensionMappingValidationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_mapping_validation_execution_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_mapping_validation_execution_dto.py deleted file mode 100644 index 9974c13c1e..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_mapping_validation_execution_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_dimension_mapping_validation_execution_dto import DataservicesDatamodelDimensionMappingValidationExecutionDTO - -class TestDataservicesDatamodelDimensionMappingValidationExecutionDTO(unittest.TestCase): - """DataservicesDatamodelDimensionMappingValidationExecutionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelDimensionMappingValidationExecutionDTO: - """Test DataservicesDatamodelDimensionMappingValidationExecutionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelDimensionMappingValidationExecutionDTO` - """ - model = DataservicesDatamodelDimensionMappingValidationExecutionDTO() - if include_optional: - return DataservicesDatamodelDimensionMappingValidationExecutionDTO( - member_map_id = '', - analytic_object = '' - ) - else: - return DataservicesDatamodelDimensionMappingValidationExecutionDTO( - ) - """ - - def testDataservicesDatamodelDimensionMappingValidationExecutionDTO(self): - """Test DataservicesDatamodelDimensionMappingValidationExecutionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_reference_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_reference_dto.py deleted file mode 100644 index c70eb6fd3d..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimension_reference_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO - -class TestDataservicesDatamodelDimensionReferenceDTO(unittest.TestCase): - """DataservicesDatamodelDimensionReferenceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelDimensionReferenceDTO: - """Test DataservicesDatamodelDimensionReferenceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelDimensionReferenceDTO` - """ - model = DataservicesDatamodelDimensionReferenceDTO() - if include_optional: - return DataservicesDatamodelDimensionReferenceDTO( - name = '', - qualifying_path = '' - ) - else: - return DataservicesDatamodelDimensionReferenceDTO( - ) - """ - - def testDataservicesDatamodelDimensionReferenceDTO(self): - """Test DataservicesDatamodelDimensionReferenceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimensions_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_dimensions_dto.py deleted file mode 100644 index 18aba216bf..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_dimensions_dto.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_dimensions_dto import DataservicesDatamodelDimensionsDTO - -class TestDataservicesDatamodelDimensionsDTO(unittest.TestCase): - """DataservicesDatamodelDimensionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelDimensionsDTO: - """Test DataservicesDatamodelDimensionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelDimensionsDTO` - """ - model = DataservicesDatamodelDimensionsDTO() - if include_optional: - return DataservicesDatamodelDimensionsDTO( - dimensions = [ - visier_platform_sdk.models.dataservices/datamodel/dimension_dto.dataservices.datamodel.DimensionDTO( - id = '', - display_name = '', - description = '', - levels = [ - visier_platform_sdk.models.dataservices/datamodel/level_dto.dataservices.datamodel.LevelDTO( - id = '', - display_name = '', - depth = 56, ) - ], - unknown_member = [ - '' - ], - member_count = 56, - visible_in_app = True, - tags = [ - visier_platform_sdk.models.dataservices/datamodel/tag_map_element_dto.dataservices.datamodel.TagMapElementDTO( - id = '', - display_name = '', ) - ], - explanation = '', ) - ] - ) - else: - return DataservicesDatamodelDimensionsDTO( - ) - """ - - def testDataservicesDatamodelDimensionsDTO(self): - """Test DataservicesDatamodelDimensionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_level_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_level_dto.py deleted file mode 100644 index 141043231a..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_level_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_level_dto import DataservicesDatamodelLevelDTO - -class TestDataservicesDatamodelLevelDTO(unittest.TestCase): - """DataservicesDatamodelLevelDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelLevelDTO: - """Test DataservicesDatamodelLevelDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelLevelDTO` - """ - model = DataservicesDatamodelLevelDTO() - if include_optional: - return DataservicesDatamodelLevelDTO( - id = '', - display_name = '', - depth = 56 - ) - else: - return DataservicesDatamodelLevelDTO( - ) - """ - - def testDataservicesDatamodelLevelDTO(self): - """Test DataservicesDatamodelLevelDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_member_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_member_dto.py deleted file mode 100644 index 65a13e6e05..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_member_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_member_dto import DataservicesDatamodelMemberDTO - -class TestDataservicesDatamodelMemberDTO(unittest.TestCase): - """DataservicesDatamodelMemberDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelMemberDTO: - """Test DataservicesDatamodelMemberDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelMemberDTO` - """ - model = DataservicesDatamodelMemberDTO() - if include_optional: - return DataservicesDatamodelMemberDTO( - full_name = '', - display_name = '', - level = 56, - path = [ - '' - ], - validity_ranges = [ - visier_platform_sdk.models.dataservices/datamodel/validity_range_dto.dataservices.datamodel.ValidityRangeDTO( - start = '', - end = '', ) - ], - display_name_path = [ - '' - ] - ) - else: - return DataservicesDatamodelMemberDTO( - ) - """ - - def testDataservicesDatamodelMemberDTO(self): - """Test DataservicesDatamodelMemberDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_member_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_member_parameter_definition_dto.py deleted file mode 100644 index 3c8906ab6b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_member_parameter_definition_dto.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_member_parameter_definition_dto import DataservicesDatamodelMemberParameterDefinitionDTO - -class TestDataservicesDatamodelMemberParameterDefinitionDTO(unittest.TestCase): - """DataservicesDatamodelMemberParameterDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelMemberParameterDefinitionDTO: - """Test DataservicesDatamodelMemberParameterDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelMemberParameterDefinitionDTO` - """ - model = DataservicesDatamodelMemberParameterDefinitionDTO() - if include_optional: - return DataservicesDatamodelMemberParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - dimension_id = '', - reference_path = [ - '' - ], - default = visier_platform_sdk.models.dataservices/common/member_values_dto.dataservices.common.MemberValuesDTO( - included = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ], - excluded = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - member_id = '', ) - ], ) - ) - else: - return DataservicesDatamodelMemberParameterDefinitionDTO( - ) - """ - - def testDataservicesDatamodelMemberParameterDefinitionDTO(self): - """Test DataservicesDatamodelMemberParameterDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_members_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_members_dto.py deleted file mode 100644 index e5a3024255..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_members_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_members_dto import DataservicesDatamodelMembersDTO - -class TestDataservicesDatamodelMembersDTO(unittest.TestCase): - """DataservicesDatamodelMembersDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelMembersDTO: - """Test DataservicesDatamodelMembersDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelMembersDTO` - """ - model = DataservicesDatamodelMembersDTO() - if include_optional: - return DataservicesDatamodelMembersDTO( - members = [ - visier_platform_sdk.models.dataservices/datamodel/member_dto.dataservices.datamodel.MemberDTO( - full_name = '', - display_name = '', - level = 56, - path = [ - '' - ], - validity_ranges = [ - visier_platform_sdk.models.dataservices/datamodel/validity_range_dto.dataservices.datamodel.ValidityRangeDTO( - start = '', - end = '', ) - ], - display_name_path = [ - '' - ], ) - ] - ) - else: - return DataservicesDatamodelMembersDTO( - ) - """ - - def testDataservicesDatamodelMembersDTO(self): - """Test DataservicesDatamodelMembersDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_metric_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_metric_dto.py deleted file mode 100644 index 1b7fa94625..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_metric_dto.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_metric_dto import DataservicesDatamodelMetricDTO - -class TestDataservicesDatamodelMetricDTO(unittest.TestCase): - """DataservicesDatamodelMetricDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelMetricDTO: - """Test DataservicesDatamodelMetricDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelMetricDTO` - """ - model = DataservicesDatamodelMetricDTO() - if include_optional: - return DataservicesDatamodelMetricDTO( - id = '', - display_name = '', - description = '', - data_start_date = '', - data_end_date = '', - analytic_object_id = '', - parameters = [ - visier_platform_sdk.models.dataservices/datamodel/parameter_definition_dto.dataservices.datamodel.ParameterDefinitionDTO( - member_parameter = None, - numeric_parameter = None, - plan_parameter = None, - aggregation_type_parameter = None, ) - ], - category = 'REGULAR', - visible_in_app = True - ) - else: - return DataservicesDatamodelMetricDTO( - ) - """ - - def testDataservicesDatamodelMetricDTO(self): - """Test DataservicesDatamodelMetricDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_metrics_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_metrics_dto.py deleted file mode 100644 index e0810fadfb..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_metrics_dto.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_metrics_dto import DataservicesDatamodelMetricsDTO - -class TestDataservicesDatamodelMetricsDTO(unittest.TestCase): - """DataservicesDatamodelMetricsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelMetricsDTO: - """Test DataservicesDatamodelMetricsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelMetricsDTO` - """ - model = DataservicesDatamodelMetricsDTO() - if include_optional: - return DataservicesDatamodelMetricsDTO( - metrics = [ - visier_platform_sdk.models.dataservices/datamodel/metric_dto.dataservices.datamodel.MetricDTO( - id = '', - display_name = '', - description = '', - data_start_date = '', - data_end_date = '', - analytic_object_id = '', - parameters = [ - visier_platform_sdk.models.dataservices/datamodel/parameter_definition_dto.dataservices.datamodel.ParameterDefinitionDTO( - member_parameter = None, - numeric_parameter = None, - plan_parameter = None, - aggregation_type_parameter = None, ) - ], - category = 'REGULAR', - visible_in_app = True, ) - ] - ) - else: - return DataservicesDatamodelMetricsDTO( - ) - """ - - def testDataservicesDatamodelMetricsDTO(self): - """Test DataservicesDatamodelMetricsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_numeric_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_numeric_parameter_definition_dto.py deleted file mode 100644 index 9e8825e6e8..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_numeric_parameter_definition_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_numeric_parameter_definition_dto import DataservicesDatamodelNumericParameterDefinitionDTO - -class TestDataservicesDatamodelNumericParameterDefinitionDTO(unittest.TestCase): - """DataservicesDatamodelNumericParameterDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelNumericParameterDefinitionDTO: - """Test DataservicesDatamodelNumericParameterDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelNumericParameterDefinitionDTO` - """ - model = DataservicesDatamodelNumericParameterDefinitionDTO() - if include_optional: - return DataservicesDatamodelNumericParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - lower_bound = 1.337, - upper_bound = 1.337, - default = 1.337 - ) - else: - return DataservicesDatamodelNumericParameterDefinitionDTO( - ) - """ - - def testDataservicesDatamodelNumericParameterDefinitionDTO(self): - """Test DataservicesDatamodelNumericParameterDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_object_reference_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_object_reference_dto.py deleted file mode 100644 index 6ec5891f2f..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_object_reference_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_object_reference_dto import DataservicesDatamodelObjectReferenceDTO - -class TestDataservicesDatamodelObjectReferenceDTO(unittest.TestCase): - """DataservicesDatamodelObjectReferenceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelObjectReferenceDTO: - """Test DataservicesDatamodelObjectReferenceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelObjectReferenceDTO` - """ - model = DataservicesDatamodelObjectReferenceDTO() - if include_optional: - return DataservicesDatamodelObjectReferenceDTO( - id = '', - display_name = '', - description = '', - from_object = '', - to_object = '', - type = 'SUBJECT_REFERENCE', - is_strong_reference = True - ) - else: - return DataservicesDatamodelObjectReferenceDTO( - ) - """ - - def testDataservicesDatamodelObjectReferenceDTO(self): - """Test DataservicesDatamodelObjectReferenceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_parameter_definition_dto.py deleted file mode 100644 index 0bba0312a8..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_parameter_definition_dto.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_parameter_definition_dto import DataservicesDatamodelParameterDefinitionDTO - -class TestDataservicesDatamodelParameterDefinitionDTO(unittest.TestCase): - """DataservicesDatamodelParameterDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelParameterDefinitionDTO: - """Test DataservicesDatamodelParameterDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelParameterDefinitionDTO` - """ - model = DataservicesDatamodelParameterDefinitionDTO() - if include_optional: - return DataservicesDatamodelParameterDefinitionDTO( - member_parameter = visier_platform_sdk.models.dataservices/datamodel/member_parameter_definition_dto.dataservices.datamodel.MemberParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - dimension_id = '', - reference_path = [ - '' - ], - default = None, ), - numeric_parameter = visier_platform_sdk.models.dataservices/datamodel/numeric_parameter_definition_dto.dataservices.datamodel.NumericParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - lower_bound = 1.337, - upper_bound = 1.337, - default = 1.337, ), - plan_parameter = visier_platform_sdk.models.dataservices/datamodel/plan_parameter_definition_dto.dataservices.datamodel.PlanParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - model_name = '', ), - aggregation_type_parameter = visier_platform_sdk.models.dataservices/datamodel/aggregation_type_parameter_dto.dataservices.datamodel.AggregationTypeParameterDTO( - id = '', - display_name = '', - description = '', - parameter_options = [ - visier_platform_sdk.models.dataservices/datamodel/aggregation_type_option_dto.dataservices.datamodel.AggregationTypeOptionDTO( - id = '', - display_name = '', - property_name = '', - aggregation_function = '', - is_default = True, ) - ], ) - ) - else: - return DataservicesDatamodelParameterDefinitionDTO( - ) - """ - - def testDataservicesDatamodelParameterDefinitionDTO(self): - """Test DataservicesDatamodelParameterDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_plan_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_plan_parameter_definition_dto.py deleted file mode 100644 index b7a9d14afb..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_plan_parameter_definition_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_plan_parameter_definition_dto import DataservicesDatamodelPlanParameterDefinitionDTO - -class TestDataservicesDatamodelPlanParameterDefinitionDTO(unittest.TestCase): - """DataservicesDatamodelPlanParameterDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPlanParameterDefinitionDTO: - """Test DataservicesDatamodelPlanParameterDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPlanParameterDefinitionDTO` - """ - model = DataservicesDatamodelPlanParameterDefinitionDTO() - if include_optional: - return DataservicesDatamodelPlanParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - model_name = '' - ) - else: - return DataservicesDatamodelPlanParameterDefinitionDTO( - ) - """ - - def testDataservicesDatamodelPlanParameterDefinitionDTO(self): - """Test DataservicesDatamodelPlanParameterDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_concept_filter_context_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_concept_filter_context_dto.py deleted file mode 100644 index 1bcfc342ca..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_concept_filter_context_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_planning_concept_filter_context_dto import DataservicesDatamodelPlanningConceptFilterContextDTO - -class TestDataservicesDatamodelPlanningConceptFilterContextDTO(unittest.TestCase): - """DataservicesDatamodelPlanningConceptFilterContextDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPlanningConceptFilterContextDTO: - """Test DataservicesDatamodelPlanningConceptFilterContextDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPlanningConceptFilterContextDTO` - """ - model = DataservicesDatamodelPlanningConceptFilterContextDTO() - if include_optional: - return DataservicesDatamodelPlanningConceptFilterContextDTO( - name = '' - ) - else: - return DataservicesDatamodelPlanningConceptFilterContextDTO( - ) - """ - - def testDataservicesDatamodelPlanningConceptFilterContextDTO(self): - """Test DataservicesDatamodelPlanningConceptFilterContextDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_hierarchy_filter_context_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_hierarchy_filter_context_dto.py deleted file mode 100644 index 711eabc30c..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_hierarchy_filter_context_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_planning_hierarchy_filter_context_dto import DataservicesDatamodelPlanningHierarchyFilterContextDTO - -class TestDataservicesDatamodelPlanningHierarchyFilterContextDTO(unittest.TestCase): - """DataservicesDatamodelPlanningHierarchyFilterContextDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPlanningHierarchyFilterContextDTO: - """Test DataservicesDatamodelPlanningHierarchyFilterContextDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPlanningHierarchyFilterContextDTO` - """ - model = DataservicesDatamodelPlanningHierarchyFilterContextDTO() - if include_optional: - return DataservicesDatamodelPlanningHierarchyFilterContextDTO( - hierarchy_name = '', - included_members = [ - '' - ], - excluded_members = [ - '' - ] - ) - else: - return DataservicesDatamodelPlanningHierarchyFilterContextDTO( - ) - """ - - def testDataservicesDatamodelPlanningHierarchyFilterContextDTO(self): - """Test DataservicesDatamodelPlanningHierarchyFilterContextDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_model_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_model_dto.py deleted file mode 100644 index 3f0f2aff83..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_model_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_planning_model_dto import DataservicesDatamodelPlanningModelDTO - -class TestDataservicesDatamodelPlanningModelDTO(unittest.TestCase): - """DataservicesDatamodelPlanningModelDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPlanningModelDTO: - """Test DataservicesDatamodelPlanningModelDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPlanningModelDTO` - """ - model = DataservicesDatamodelPlanningModelDTO() - if include_optional: - return DataservicesDatamodelPlanningModelDTO( - id = '', - display_name = '', - description = '' - ) - else: - return DataservicesDatamodelPlanningModelDTO( - ) - """ - - def testDataservicesDatamodelPlanningModelDTO(self): - """Test DataservicesDatamodelPlanningModelDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_models_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_models_dto.py deleted file mode 100644 index 304273f9bc..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_models_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_planning_models_dto import DataservicesDatamodelPlanningModelsDTO - -class TestDataservicesDatamodelPlanningModelsDTO(unittest.TestCase): - """DataservicesDatamodelPlanningModelsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPlanningModelsDTO: - """Test DataservicesDatamodelPlanningModelsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPlanningModelsDTO` - """ - model = DataservicesDatamodelPlanningModelsDTO() - if include_optional: - return DataservicesDatamodelPlanningModelsDTO( - models = [ - visier_platform_sdk.models.dataservices/datamodel/planning_model_dto.dataservices.datamodel.PlanningModelDTO( - id = '', - display_name = '', - description = '', ) - ] - ) - else: - return DataservicesDatamodelPlanningModelsDTO( - ) - """ - - def testDataservicesDatamodelPlanningModelsDTO(self): - """Test DataservicesDatamodelPlanningModelsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plan_context_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plan_context_dto.py deleted file mode 100644 index 19b620a22d..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plan_context_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_context_dto import DataservicesDatamodelPlanningPlanContextDTO - -class TestDataservicesDatamodelPlanningPlanContextDTO(unittest.TestCase): - """DataservicesDatamodelPlanningPlanContextDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPlanningPlanContextDTO: - """Test DataservicesDatamodelPlanningPlanContextDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPlanningPlanContextDTO` - """ - model = DataservicesDatamodelPlanningPlanContextDTO() - if include_optional: - return DataservicesDatamodelPlanningPlanContextDTO( - hierarchy_filter_context = visier_platform_sdk.models.dataservices/datamodel/planning_hierarchy_filter_context_dto.dataservices.datamodel.PlanningHierarchyFilterContextDTO( - hierarchy_name = '', - included_members = [ - '' - ], - excluded_members = [ - '' - ], ), - concept_filter_context = visier_platform_sdk.models.dataservices/datamodel/planning_concept_filter_context_dto.dataservices.datamodel.PlanningConceptFilterContextDTO( - name = '', ) - ) - else: - return DataservicesDatamodelPlanningPlanContextDTO( - ) - """ - - def testDataservicesDatamodelPlanningPlanContextDTO(self): - """Test DataservicesDatamodelPlanningPlanContextDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plan_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plan_dto.py deleted file mode 100644 index 2416a45220..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plan_dto.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_dto import DataservicesDatamodelPlanningPlanDTO - -class TestDataservicesDatamodelPlanningPlanDTO(unittest.TestCase): - """DataservicesDatamodelPlanningPlanDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPlanningPlanDTO: - """Test DataservicesDatamodelPlanningPlanDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPlanningPlanDTO` - """ - model = DataservicesDatamodelPlanningPlanDTO() - if include_optional: - return DataservicesDatamodelPlanningPlanDTO( - id = '', - name = '', - subject_id = '', - default_contexts = [ - visier_platform_sdk.models.dataservices/datamodel/planning_plan_context_dto.dataservices.datamodel.PlanningPlanContextDTO( - hierarchy_filter_context = None, - concept_filter_context = None, ) - ], - plan_dimension_ids = [ - '' - ], - scenarios = [ - visier_platform_sdk.models.dataservices/datamodel/scenario_or_snapshot_dto.dataservices.datamodel.ScenarioOrSnapshotDTO( - id = '', - display_name = '', ) - ], - snapshots = [ - visier_platform_sdk.models.dataservices/datamodel/scenario_or_snapshot_dto.dataservices.datamodel.ScenarioOrSnapshotDTO( - id = '', - display_name = '', ) - ] - ) - else: - return DataservicesDatamodelPlanningPlanDTO( - ) - """ - - def testDataservicesDatamodelPlanningPlanDTO(self): - """Test DataservicesDatamodelPlanningPlanDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plans_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plans_dto.py deleted file mode 100644 index 6a1801e08c..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_planning_plans_dto.py +++ /dev/null @@ -1,75 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_planning_plans_dto import DataservicesDatamodelPlanningPlansDTO - -class TestDataservicesDatamodelPlanningPlansDTO(unittest.TestCase): - """DataservicesDatamodelPlanningPlansDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPlanningPlansDTO: - """Test DataservicesDatamodelPlanningPlansDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPlanningPlansDTO` - """ - model = DataservicesDatamodelPlanningPlansDTO() - if include_optional: - return DataservicesDatamodelPlanningPlansDTO( - plans = [ - visier_platform_sdk.models.dataservices/datamodel/planning_plan_dto.dataservices.datamodel.PlanningPlanDTO( - id = '', - name = '', - subject_id = '', - default_contexts = [ - visier_platform_sdk.models.dataservices/datamodel/planning_plan_context_dto.dataservices.datamodel.PlanningPlanContextDTO( - hierarchy_filter_context = None, - concept_filter_context = None, ) - ], - plan_dimension_ids = [ - '' - ], - scenarios = [ - visier_platform_sdk.models.dataservices/datamodel/scenario_or_snapshot_dto.dataservices.datamodel.ScenarioOrSnapshotDTO( - id = '', - display_name = '', ) - ], - snapshots = [ - visier_platform_sdk.models.dataservices/datamodel/scenario_or_snapshot_dto.dataservices.datamodel.ScenarioOrSnapshotDTO( - id = '', - display_name = '', ) - ], ) - ] - ) - else: - return DataservicesDatamodelPlanningPlansDTO( - ) - """ - - def testDataservicesDatamodelPlanningPlansDTO(self): - """Test DataservicesDatamodelPlanningPlansDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_population_configuration_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_population_configuration_dto.py deleted file mode 100644 index a55e00c309..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_population_configuration_dto.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_population_configuration_dto import DataservicesDatamodelPopulationConfigurationDTO - -class TestDataservicesDatamodelPopulationConfigurationDTO(unittest.TestCase): - """DataservicesDatamodelPopulationConfigurationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPopulationConfigurationDTO: - """Test DataservicesDatamodelPopulationConfigurationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPopulationConfigurationDTO` - """ - model = DataservicesDatamodelPopulationConfigurationDTO() - if include_optional: - return DataservicesDatamodelPopulationConfigurationDTO( - distinguishing_properties = [ - visier_platform_sdk.models.dataservices/datamodel/property_reference_dto.dataservices.datamodel.PropertyReferenceDTO( - name = '', - qualifying_path = '', ) - ], - change_history_properties = [ - visier_platform_sdk.models.dataservices/datamodel/property_reference_dto.dataservices.datamodel.PropertyReferenceDTO( - name = '', - qualifying_path = '', ) - ], - grouping_dimensions = [ - visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ) - ] - ) - else: - return DataservicesDatamodelPopulationConfigurationDTO( - ) - """ - - def testDataservicesDatamodelPopulationConfigurationDTO(self): - """Test DataservicesDatamodelPopulationConfigurationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_prediction_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_prediction_dto.py deleted file mode 100644 index d136b2e27b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_prediction_dto.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_prediction_dto import DataservicesDatamodelPredictionDTO - -class TestDataservicesDatamodelPredictionDTO(unittest.TestCase): - """DataservicesDatamodelPredictionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPredictionDTO: - """Test DataservicesDatamodelPredictionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPredictionDTO` - """ - model = DataservicesDatamodelPredictionDTO() - if include_optional: - return DataservicesDatamodelPredictionDTO( - id = '', - display_name = '', - description = '', - subject = '', - subject_key = '', - subject_parent_key = '', - subject_filter = '', - event = '', - event_filter = '', - label_property = '', - factor_properties = [ - '' - ], - factor_dimensions = [ - '' - ], - factor_concepts = [ - '' - ], - data_start_date = '', - data_end_date = '', - score_name = '', - factors_name = '', - minimum_training_months = '', - is_multi_tenant = True - ) - else: - return DataservicesDatamodelPredictionDTO( - ) - """ - - def testDataservicesDatamodelPredictionDTO(self): - """Test DataservicesDatamodelPredictionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_predictions_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_predictions_dto.py deleted file mode 100644 index e670225210..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_predictions_dto.py +++ /dev/null @@ -1,79 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_predictions_dto import DataservicesDatamodelPredictionsDTO - -class TestDataservicesDatamodelPredictionsDTO(unittest.TestCase): - """DataservicesDatamodelPredictionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPredictionsDTO: - """Test DataservicesDatamodelPredictionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPredictionsDTO` - """ - model = DataservicesDatamodelPredictionsDTO() - if include_optional: - return DataservicesDatamodelPredictionsDTO( - predictions = [ - visier_platform_sdk.models.dataservices/datamodel/prediction_dto.dataservices.datamodel.PredictionDTO( - id = '', - display_name = '', - description = '', - subject = '', - subject_key = '', - subject_parent_key = '', - subject_filter = '', - event = '', - event_filter = '', - label_property = '', - factor_properties = [ - '' - ], - factor_dimensions = [ - '' - ], - factor_concepts = [ - '' - ], - data_start_date = '', - data_end_date = '', - score_name = '', - factors_name = '', - minimum_training_months = '', - is_multi_tenant = True, ) - ] - ) - else: - return DataservicesDatamodelPredictionsDTO( - ) - """ - - def testDataservicesDatamodelPredictionsDTO(self): - """Test DataservicesDatamodelPredictionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_properties_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_properties_dto.py deleted file mode 100644 index 155f3374a3..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_properties_dto.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_properties_dto import DataservicesDatamodelPropertiesDTO - -class TestDataservicesDatamodelPropertiesDTO(unittest.TestCase): - """DataservicesDatamodelPropertiesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPropertiesDTO: - """Test DataservicesDatamodelPropertiesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPropertiesDTO` - """ - model = DataservicesDatamodelPropertiesDTO() - if include_optional: - return DataservicesDatamodelPropertiesDTO( - properties = [ - visier_platform_sdk.models.dataservices/datamodel/property_dto.dataservices.datamodel.PropertyDTO( - id = '', - display_name = '', - description = '', - data_type = '', - primitive_data_type = '', - parameters = [ - visier_platform_sdk.models.dataservices/datamodel/parameter_definition_dto.dataservices.datamodel.ParameterDefinitionDTO( - member_parameter = None, - numeric_parameter = None, - plan_parameter = None, - aggregation_type_parameter = None, ) - ], - tags = [ - visier_platform_sdk.models.dataservices/datamodel/tag_map_element_dto.dataservices.datamodel.TagMapElementDTO( - id = '', - display_name = '', ) - ], - explanation = '', ) - ] - ) - else: - return DataservicesDatamodelPropertiesDTO( - ) - """ - - def testDataservicesDatamodelPropertiesDTO(self): - """Test DataservicesDatamodelPropertiesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_property_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_property_dto.py deleted file mode 100644 index 2cdb90bbb9..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_property_dto.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_property_dto import DataservicesDatamodelPropertyDTO - -class TestDataservicesDatamodelPropertyDTO(unittest.TestCase): - """DataservicesDatamodelPropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPropertyDTO: - """Test DataservicesDatamodelPropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPropertyDTO` - """ - model = DataservicesDatamodelPropertyDTO() - if include_optional: - return DataservicesDatamodelPropertyDTO( - id = '', - display_name = '', - description = '', - data_type = '', - primitive_data_type = '', - parameters = [ - visier_platform_sdk.models.dataservices/datamodel/parameter_definition_dto.dataservices.datamodel.ParameterDefinitionDTO( - member_parameter = None, - numeric_parameter = None, - plan_parameter = None, - aggregation_type_parameter = None, ) - ], - tags = [ - visier_platform_sdk.models.dataservices/datamodel/tag_map_element_dto.dataservices.datamodel.TagMapElementDTO( - id = '', - display_name = '', ) - ], - explanation = '' - ) - else: - return DataservicesDatamodelPropertyDTO( - ) - """ - - def testDataservicesDatamodelPropertyDTO(self): - """Test DataservicesDatamodelPropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_property_reference_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_property_reference_dto.py deleted file mode 100644 index 30b793f4d1..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_property_reference_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_property_reference_dto import DataservicesDatamodelPropertyReferenceDTO - -class TestDataservicesDatamodelPropertyReferenceDTO(unittest.TestCase): - """DataservicesDatamodelPropertyReferenceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelPropertyReferenceDTO: - """Test DataservicesDatamodelPropertyReferenceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelPropertyReferenceDTO` - """ - model = DataservicesDatamodelPropertyReferenceDTO() - if include_optional: - return DataservicesDatamodelPropertyReferenceDTO( - name = '', - qualifying_path = '' - ) - else: - return DataservicesDatamodelPropertyReferenceDTO( - ) - """ - - def testDataservicesDatamodelPropertyReferenceDTO(self): - """Test DataservicesDatamodelPropertyReferenceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_scenario_or_snapshot_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_scenario_or_snapshot_dto.py deleted file mode 100644 index de5e741f81..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_scenario_or_snapshot_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_scenario_or_snapshot_dto import DataservicesDatamodelScenarioOrSnapshotDTO - -class TestDataservicesDatamodelScenarioOrSnapshotDTO(unittest.TestCase): - """DataservicesDatamodelScenarioOrSnapshotDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelScenarioOrSnapshotDTO: - """Test DataservicesDatamodelScenarioOrSnapshotDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelScenarioOrSnapshotDTO` - """ - model = DataservicesDatamodelScenarioOrSnapshotDTO() - if include_optional: - return DataservicesDatamodelScenarioOrSnapshotDTO( - id = '', - display_name = '' - ) - else: - return DataservicesDatamodelScenarioOrSnapshotDTO( - ) - """ - - def testDataservicesDatamodelScenarioOrSnapshotDTO(self): - """Test DataservicesDatamodelScenarioOrSnapshotDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concept_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concept_dto.py deleted file mode 100644 index 7a9c74ab1b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concept_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_dto import DataservicesDatamodelSelectionConceptDTO - -class TestDataservicesDatamodelSelectionConceptDTO(unittest.TestCase): - """DataservicesDatamodelSelectionConceptDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelSelectionConceptDTO: - """Test DataservicesDatamodelSelectionConceptDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelSelectionConceptDTO` - """ - model = DataservicesDatamodelSelectionConceptDTO() - if include_optional: - return DataservicesDatamodelSelectionConceptDTO( - id = '', - display_name = '', - description = '', - visible_in_app = True, - tags = [ - visier_platform_sdk.models.dataservices/datamodel/tag_map_element_dto.dataservices.datamodel.TagMapElementDTO( - id = '', - display_name = '', ) - ], - explanation = '' - ) - else: - return DataservicesDatamodelSelectionConceptDTO( - ) - """ - - def testDataservicesDatamodelSelectionConceptDTO(self): - """Test DataservicesDatamodelSelectionConceptDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concept_reference_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concept_reference_dto.py deleted file mode 100644 index 2abb5fe25e..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concept_reference_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_reference_dto import DataservicesDatamodelSelectionConceptReferenceDTO - -class TestDataservicesDatamodelSelectionConceptReferenceDTO(unittest.TestCase): - """DataservicesDatamodelSelectionConceptReferenceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelSelectionConceptReferenceDTO: - """Test DataservicesDatamodelSelectionConceptReferenceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelSelectionConceptReferenceDTO` - """ - model = DataservicesDatamodelSelectionConceptReferenceDTO() - if include_optional: - return DataservicesDatamodelSelectionConceptReferenceDTO( - name = '', - qualifying_path = '' - ) - else: - return DataservicesDatamodelSelectionConceptReferenceDTO( - ) - """ - - def testDataservicesDatamodelSelectionConceptReferenceDTO(self): - """Test DataservicesDatamodelSelectionConceptReferenceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concepts_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concepts_dto.py deleted file mode 100644 index 5260aa67e1..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_selection_concepts_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_selection_concepts_dto import DataservicesDatamodelSelectionConceptsDTO - -class TestDataservicesDatamodelSelectionConceptsDTO(unittest.TestCase): - """DataservicesDatamodelSelectionConceptsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelSelectionConceptsDTO: - """Test DataservicesDatamodelSelectionConceptsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelSelectionConceptsDTO` - """ - model = DataservicesDatamodelSelectionConceptsDTO() - if include_optional: - return DataservicesDatamodelSelectionConceptsDTO( - selection_concepts = [ - visier_platform_sdk.models.dataservices/datamodel/selection_concept_dto.dataservices.datamodel.SelectionConceptDTO( - id = '', - display_name = '', - description = '', - visible_in_app = True, - tags = [ - visier_platform_sdk.models.dataservices/datamodel/tag_map_element_dto.dataservices.datamodel.TagMapElementDTO( - id = '', - display_name = '', ) - ], - explanation = '', ) - ] - ) - else: - return DataservicesDatamodelSelectionConceptsDTO( - ) - """ - - def testDataservicesDatamodelSelectionConceptsDTO(self): - """Test DataservicesDatamodelSelectionConceptsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_tag_map_element_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_tag_map_element_dto.py deleted file mode 100644 index d08c3e6fe6..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_tag_map_element_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_tag_map_element_dto import DataservicesDatamodelTagMapElementDTO - -class TestDataservicesDatamodelTagMapElementDTO(unittest.TestCase): - """DataservicesDatamodelTagMapElementDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelTagMapElementDTO: - """Test DataservicesDatamodelTagMapElementDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelTagMapElementDTO` - """ - model = DataservicesDatamodelTagMapElementDTO() - if include_optional: - return DataservicesDatamodelTagMapElementDTO( - id = '', - display_name = '' - ) - else: - return DataservicesDatamodelTagMapElementDTO( - ) - """ - - def testDataservicesDatamodelTagMapElementDTO(self): - """Test DataservicesDatamodelTagMapElementDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_datamodel_validity_range_dto.py b/src/visier_platform_sdk/test/test_dataservices_datamodel_validity_range_dto.py deleted file mode 100644 index 28a15f2340..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_datamodel_validity_range_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_datamodel_validity_range_dto import DataservicesDatamodelValidityRangeDTO - -class TestDataservicesDatamodelValidityRangeDTO(unittest.TestCase): - """DataservicesDatamodelValidityRangeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesDatamodelValidityRangeDTO: - """Test DataservicesDatamodelValidityRangeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesDatamodelValidityRangeDTO` - """ - model = DataservicesDatamodelValidityRangeDTO() - if include_optional: - return DataservicesDatamodelValidityRangeDTO( - start = '', - end = '' - ) - else: - return DataservicesDatamodelValidityRangeDTO( - ) - """ - - def testDataservicesDatamodelValidityRangeDTO(self): - """Test DataservicesDatamodelValidityRangeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_dto.py deleted file mode 100644 index a8be514f6f..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_dto.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_aggregation_query_dto import DataservicesQueryAggregationQueryDTO - -class TestDataservicesQueryAggregationQueryDTO(unittest.TestCase): - """DataservicesQueryAggregationQueryDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryAggregationQueryDTO: - """Test DataservicesQueryAggregationQueryDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryAggregationQueryDTO` - """ - model = DataservicesQueryAggregationQueryDTO() - if include_optional: - return DataservicesQueryAggregationQueryDTO( - source = visier_platform_sdk.models.dataservices/query/aggregation_query_source_dto.dataservices.query.AggregationQuerySourceDTO( - formula = '', - metric = '', - metrics = None, ), - filters = [ - visier_platform_sdk.models.dataservices/query/query_filter_dto.dataservices.query.QueryFilterDTO( - formula = '', - selection_concept = None, - member_set = None, - cohort = None, ) - ], - axes = [ - visier_platform_sdk.models.dataservices/query/query_axis_dto.dataservices.query.QueryAxisDTO( - formula = '', - selection_concept = None, - dimension_member_selection = None, - member_map_selection = None, - numeric_ranges = None, - dimension_level_selection = None, - dimension_leaf_member_selection = None, - dimension_data_member_selection = None, - dimension_level_with_uncategorized_value_selection = None, - table_axis_options = None, ) - ], - time_intervals = visier_platform_sdk.models.dataservices/query/query_time_intervals_dto.dataservices.query.QueryTimeIntervalsDTO( - from_instant = '', - from_date_time = '', - dynamic_date_from = 'SOURCE', - interval_period_type = 'MONTH', - interval_period_count = 56, - interval_count = 56, - direction = 'BACKWARD', - shift = None, - trailing_period_type = 'MONTH', - trailing_period_count = 56, ), - parameter_values = [ - visier_platform_sdk.models.dataservices/query/query_parameter_value_dto.dataservices.query.QueryParameterValueDTO( - member_value = None, - numeric_value = None, - plan_value = None, - aggregation_type_value = None, ) - ] - ) - else: - return DataservicesQueryAggregationQueryDTO( - ) - """ - - def testDataservicesQueryAggregationQueryDTO(self): - """Test DataservicesQueryAggregationQueryDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_execution_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_execution_dto.py deleted file mode 100644 index 38c70534b1..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_execution_dto.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_aggregation_query_execution_dto import DataservicesQueryAggregationQueryExecutionDTO - -class TestDataservicesQueryAggregationQueryExecutionDTO(unittest.TestCase): - """DataservicesQueryAggregationQueryExecutionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryAggregationQueryExecutionDTO: - """Test DataservicesQueryAggregationQueryExecutionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryAggregationQueryExecutionDTO` - """ - model = DataservicesQueryAggregationQueryExecutionDTO() - if include_optional: - return DataservicesQueryAggregationQueryExecutionDTO( - query = visier_platform_sdk.models.dataservices/query/aggregation_query_dto.dataservices.query.AggregationQueryDTO( - source = None, - filters = [ - visier_platform_sdk.models.dataservices/query/query_filter_dto.dataservices.query.QueryFilterDTO( - formula = '', - selection_concept = None, - member_set = None, - cohort = None, ) - ], - axes = [ - visier_platform_sdk.models.dataservices/query/query_axis_dto.dataservices.query.QueryAxisDTO( - formula = '', - selection_concept = None, - dimension_member_selection = None, - member_map_selection = None, - numeric_ranges = None, - dimension_level_selection = None, - dimension_leaf_member_selection = None, - dimension_data_member_selection = None, - dimension_level_with_uncategorized_value_selection = None, - table_axis_options = None, ) - ], - time_intervals = None, - parameter_values = [ - visier_platform_sdk.models.dataservices/query/query_parameter_value_dto.dataservices.query.QueryParameterValueDTO( - member_value = None, - numeric_value = None, - plan_value = None, - aggregation_type_value = None, ) - ], ), - options = visier_platform_sdk.models.dataservices/query/query_execution_options_dto.dataservices.query.QueryExecutionOptionsDTO( - calendar_type = 'TENANT_CALENDAR', - currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', - currency_conversion_date = '', - lineage_depth = 56, - zero_visibility = 'SHOW', - null_visibility = 'SHOW', - cell_distribution_options = visier_platform_sdk.models.dataservices/query/cell_distribution_options_dto.dataservices.query.CellDistributionOptionsDTO( - bin_count = 56, ), - axis_visibility = 'SIMPLE', - enable_sparse_results = True, - internal = visier_platform_sdk.models.dataservices/query/internal_query_execution_options_dto.dataservices.query.InternalQueryExecutionOptionsDTO( - sparse_handling_mode = 'ALLOW', - align_time_axis_to_period_end = True, ), - enable_descending_space = True, - currency_conversion_code = '', - member_display_mode = 'DEFAULT', - axes_overall_value_mode = 'NONE', ) - ) - else: - return DataservicesQueryAggregationQueryExecutionDTO( - ) - """ - - def testDataservicesQueryAggregationQueryExecutionDTO(self): - """Test DataservicesQueryAggregationQueryExecutionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_dto.py deleted file mode 100644 index ad1dcee9f3..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_dto import DataservicesQueryAggregationQuerySourceDTO - -class TestDataservicesQueryAggregationQuerySourceDTO(unittest.TestCase): - """DataservicesQueryAggregationQuerySourceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryAggregationQuerySourceDTO: - """Test DataservicesQueryAggregationQuerySourceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryAggregationQuerySourceDTO` - """ - model = DataservicesQueryAggregationQuerySourceDTO() - if include_optional: - return DataservicesQueryAggregationQuerySourceDTO( - formula = '', - metric = '', - metrics = visier_platform_sdk.models.dataservices/query/aggregation_query_source_metrics_dto.dataservices.query.AggregationQuerySourceMetricsDTO( - columns = [ - visier_platform_sdk.models.dataservices/query/aggregation_query_source_metric_dto.dataservices.query.AggregationQuerySourceMetricDTO( - column_name = '', - id = '', - formula = '', - qualifying_path = '', ) - ], ) - ) - else: - return DataservicesQueryAggregationQuerySourceDTO( - ) - """ - - def testDataservicesQueryAggregationQuerySourceDTO(self): - """Test DataservicesQueryAggregationQuerySourceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_metric_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_metric_dto.py deleted file mode 100644 index 0199941391..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_metric_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_metric_dto import DataservicesQueryAggregationQuerySourceMetricDTO - -class TestDataservicesQueryAggregationQuerySourceMetricDTO(unittest.TestCase): - """DataservicesQueryAggregationQuerySourceMetricDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryAggregationQuerySourceMetricDTO: - """Test DataservicesQueryAggregationQuerySourceMetricDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryAggregationQuerySourceMetricDTO` - """ - model = DataservicesQueryAggregationQuerySourceMetricDTO() - if include_optional: - return DataservicesQueryAggregationQuerySourceMetricDTO( - column_name = '', - id = '', - formula = '', - qualifying_path = '' - ) - else: - return DataservicesQueryAggregationQuerySourceMetricDTO( - ) - """ - - def testDataservicesQueryAggregationQuerySourceMetricDTO(self): - """Test DataservicesQueryAggregationQuerySourceMetricDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_metrics_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_metrics_dto.py deleted file mode 100644 index 2a46738bed..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_query_source_metrics_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_metrics_dto import DataservicesQueryAggregationQuerySourceMetricsDTO - -class TestDataservicesQueryAggregationQuerySourceMetricsDTO(unittest.TestCase): - """DataservicesQueryAggregationQuerySourceMetricsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryAggregationQuerySourceMetricsDTO: - """Test DataservicesQueryAggregationQuerySourceMetricsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryAggregationQuerySourceMetricsDTO` - """ - model = DataservicesQueryAggregationQuerySourceMetricsDTO() - if include_optional: - return DataservicesQueryAggregationQuerySourceMetricsDTO( - columns = [ - visier_platform_sdk.models.dataservices/query/aggregation_query_source_metric_dto.dataservices.query.AggregationQuerySourceMetricDTO( - column_name = '', - id = '', - formula = '', - qualifying_path = '', ) - ] - ) - else: - return DataservicesQueryAggregationQuerySourceMetricsDTO( - ) - """ - - def testDataservicesQueryAggregationQuerySourceMetricsDTO(self): - """Test DataservicesQueryAggregationQuerySourceMetricsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_type_parameter_value_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_aggregation_type_parameter_value_dto.py deleted file mode 100644 index 1bb72f1435..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_aggregation_type_parameter_value_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_aggregation_type_parameter_value_dto import DataservicesQueryAggregationTypeParameterValueDTO - -class TestDataservicesQueryAggregationTypeParameterValueDTO(unittest.TestCase): - """DataservicesQueryAggregationTypeParameterValueDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryAggregationTypeParameterValueDTO: - """Test DataservicesQueryAggregationTypeParameterValueDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryAggregationTypeParameterValueDTO` - """ - model = DataservicesQueryAggregationTypeParameterValueDTO() - if include_optional: - return DataservicesQueryAggregationTypeParameterValueDTO( - parameter_id = '', - aggregation_option_id = '' - ) - else: - return DataservicesQueryAggregationTypeParameterValueDTO( - ) - """ - - def testDataservicesQueryAggregationTypeParameterValueDTO(self): - """Test DataservicesQueryAggregationTypeParameterValueDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_cell_distribution_bin_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_cell_distribution_bin_dto.py deleted file mode 100644 index ed6212122a..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_cell_distribution_bin_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_cell_distribution_bin_dto import DataservicesQueryCellDistributionBinDTO - -class TestDataservicesQueryCellDistributionBinDTO(unittest.TestCase): - """DataservicesQueryCellDistributionBinDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryCellDistributionBinDTO: - """Test DataservicesQueryCellDistributionBinDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryCellDistributionBinDTO` - """ - model = DataservicesQueryCellDistributionBinDTO() - if include_optional: - return DataservicesQueryCellDistributionBinDTO( - value = '', - support = '' - ) - else: - return DataservicesQueryCellDistributionBinDTO( - ) - """ - - def testDataservicesQueryCellDistributionBinDTO(self): - """Test DataservicesQueryCellDistributionBinDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_cell_distribution_options_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_cell_distribution_options_dto.py deleted file mode 100644 index c5b6009ef3..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_cell_distribution_options_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_cell_distribution_options_dto import DataservicesQueryCellDistributionOptionsDTO - -class TestDataservicesQueryCellDistributionOptionsDTO(unittest.TestCase): - """DataservicesQueryCellDistributionOptionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryCellDistributionOptionsDTO: - """Test DataservicesQueryCellDistributionOptionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryCellDistributionOptionsDTO` - """ - model = DataservicesQueryCellDistributionOptionsDTO() - if include_optional: - return DataservicesQueryCellDistributionOptionsDTO( - bin_count = 56 - ) - else: - return DataservicesQueryCellDistributionOptionsDTO( - ) - """ - - def testDataservicesQueryCellDistributionOptionsDTO(self): - """Test DataservicesQueryCellDistributionOptionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_cell_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_cell_dto.py deleted file mode 100644 index aaf71b5317..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_cell_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_cell_dto import DataservicesQueryCellDTO - -class TestDataservicesQueryCellDTO(unittest.TestCase): - """DataservicesQueryCellDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryCellDTO: - """Test DataservicesQueryCellDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryCellDTO` - """ - model = DataservicesQueryCellDTO() - if include_optional: - return DataservicesQueryCellDTO( - value = '', - support = '', - coordinates = [ - 56 - ], - distribution = [ - visier_platform_sdk.models.dataservices/query/cell_distribution_bin_dto.dataservices.query.CellDistributionBinDTO( - value = '', - support = '', ) - ] - ) - else: - return DataservicesQueryCellDTO( - ) - """ - - def testDataservicesQueryCellDTO(self): - """Test DataservicesQueryCellDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_cell_set_axis_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_cell_set_axis_dto.py deleted file mode 100644 index 53707b3e4f..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_cell_set_axis_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_cell_set_axis_dto import DataservicesQueryCellSetAxisDTO - -class TestDataservicesQueryCellSetAxisDTO(unittest.TestCase): - """DataservicesQueryCellSetAxisDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryCellSetAxisDTO: - """Test DataservicesQueryCellSetAxisDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryCellSetAxisDTO` - """ - model = DataservicesQueryCellSetAxisDTO() - if include_optional: - return DataservicesQueryCellSetAxisDTO( - dimension = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ), - positions = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_position_dto.dataservices.query.CellSetAxisPositionDTO( - path = [ - '' - ], - display_name = '', - display_name_path = [ - '' - ], ) - ] - ) - else: - return DataservicesQueryCellSetAxisDTO( - ) - """ - - def testDataservicesQueryCellSetAxisDTO(self): - """Test DataservicesQueryCellSetAxisDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_cell_set_axis_position_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_cell_set_axis_position_dto.py deleted file mode 100644 index ea51c0bc90..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_cell_set_axis_position_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_cell_set_axis_position_dto import DataservicesQueryCellSetAxisPositionDTO - -class TestDataservicesQueryCellSetAxisPositionDTO(unittest.TestCase): - """DataservicesQueryCellSetAxisPositionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryCellSetAxisPositionDTO: - """Test DataservicesQueryCellSetAxisPositionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryCellSetAxisPositionDTO` - """ - model = DataservicesQueryCellSetAxisPositionDTO() - if include_optional: - return DataservicesQueryCellSetAxisPositionDTO( - path = [ - '' - ], - display_name = '', - display_name_path = [ - '' - ] - ) - else: - return DataservicesQueryCellSetAxisPositionDTO( - ) - """ - - def testDataservicesQueryCellSetAxisPositionDTO(self): - """Test DataservicesQueryCellSetAxisPositionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_cell_set_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_cell_set_dto.py deleted file mode 100644 index 98604c0eae..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_cell_set_dto.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_cell_set_dto import DataservicesQueryCellSetDTO - -class TestDataservicesQueryCellSetDTO(unittest.TestCase): - """DataservicesQueryCellSetDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryCellSetDTO: - """Test DataservicesQueryCellSetDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryCellSetDTO` - """ - model = DataservicesQueryCellSetDTO() - if include_optional: - return DataservicesQueryCellSetDTO( - cells = [ - visier_platform_sdk.models.dataservices/query/cell_dto.dataservices.query.CellDTO( - value = '', - support = '', - coordinates = [ - 56 - ], - distribution = [ - visier_platform_sdk.models.dataservices/query/cell_distribution_bin_dto.dataservices.query.CellDistributionBinDTO( - value = '', - support = '', ) - ], ) - ], - axes = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_dto.dataservices.query.CellSetAxisDTO( - dimension = None, - positions = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_position_dto.dataservices.query.CellSetAxisPositionDTO( - path = [ - '' - ], - display_name = '', - display_name_path = [ - '' - ], ) - ], ) - ], - lineage = visier_platform_sdk.models.dataservices/query/lineage_dto.dataservices.query.LineageDTO( - cell_sets = [ - visier_platform_sdk.models.dataservices/query/cell_set_dto.dataservices.query.CellSetDTO( - cells = [ - visier_platform_sdk.models.dataservices/query/cell_dto.dataservices.query.CellDTO( - value = '', - support = '', - coordinates = [ - 56 - ], - distribution = [ - visier_platform_sdk.models.dataservices/query/cell_distribution_bin_dto.dataservices.query.CellDistributionBinDTO( - value = '', - support = '', ) - ], ) - ], - axes = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_dto.dataservices.query.CellSetAxisDTO( - dimension = None, - positions = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_position_dto.dataservices.query.CellSetAxisPositionDTO( - path = [ - '' - ], - display_name = '', - display_name_path = [ - '' - ], ) - ], ) - ], - lineage = None, ) - ], - op = '', ) - ) - else: - return DataservicesQueryCellSetDTO( - ) - """ - - def testDataservicesQueryCellSetDTO(self): - """Test DataservicesQueryCellSetDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_cell_set_or_error_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_cell_set_or_error_dto.py deleted file mode 100644 index a66b773611..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_cell_set_or_error_dto.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_cell_set_or_error_dto import DataservicesQueryCellSetOrErrorDTO - -class TestDataservicesQueryCellSetOrErrorDTO(unittest.TestCase): - """DataservicesQueryCellSetOrErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryCellSetOrErrorDTO: - """Test DataservicesQueryCellSetOrErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryCellSetOrErrorDTO` - """ - model = DataservicesQueryCellSetOrErrorDTO() - if include_optional: - return DataservicesQueryCellSetOrErrorDTO( - cell_set = visier_platform_sdk.models.dataservices/query/cell_set_dto.dataservices.query.CellSetDTO( - cells = [ - visier_platform_sdk.models.dataservices/query/cell_dto.dataservices.query.CellDTO( - value = '', - support = '', - coordinates = [ - 56 - ], - distribution = [ - visier_platform_sdk.models.dataservices/query/cell_distribution_bin_dto.dataservices.query.CellDistributionBinDTO( - value = '', - support = '', ) - ], ) - ], - axes = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_dto.dataservices.query.CellSetAxisDTO( - dimension = None, - positions = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_position_dto.dataservices.query.CellSetAxisPositionDTO( - path = [ - '' - ], - display_name = '', - display_name_path = [ - '' - ], ) - ], ) - ], - lineage = None, ), - error = visier_platform_sdk.models.dataservices/query/query_execution_error_dto.dataservices.query.QueryExecutionErrorDTO( - error_code = '', - message = '', - all_errors = [ - visier_platform_sdk.models.dataservices/query/query_execution_errors_dto.dataservices.query.QueryExecutionErrorsDTO( - error_code = '', - message = '', - all_error_details = [ - visier_platform_sdk.models.dataservices/query/query_execution_error_details_dto.dataservices.query.QueryExecutionErrorDetailsDTO( - object_type = '', - query_index = 56, - column_index = 56, - error = '', ) - ], ) - ], ) - ) - else: - return DataservicesQueryCellSetOrErrorDTO( - ) - """ - - def testDataservicesQueryCellSetOrErrorDTO(self): - """Test DataservicesQueryCellSetOrErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_cohort_filter_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_cohort_filter_dto.py deleted file mode 100644 index 7e615e1b45..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_cohort_filter_dto.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_cohort_filter_dto import DataservicesQueryCohortFilterDTO - -class TestDataservicesQueryCohortFilterDTO(unittest.TestCase): - """DataservicesQueryCohortFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryCohortFilterDTO: - """Test DataservicesQueryCohortFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryCohortFilterDTO` - """ - model = DataservicesQueryCohortFilterDTO() - if include_optional: - return DataservicesQueryCohortFilterDTO( - key_group = visier_platform_sdk.models.dataservices/query/key_group_filter_dto.dataservices.query.KeyGroupFilterDTO( - filters = [ - visier_platform_sdk.models.dataservices/query/key_group_filter_item_dto.dataservices.query.KeyGroupFilterItemDTO( - formula = '', - selection_concept = None, - member_set = None, ) - ], ), - exclude = True, - time_interval = visier_platform_sdk.models.dataservices/query/query_time_interval_dto.dataservices.query.QueryTimeIntervalDTO( - from_instant = '', - from_date_time = '', - dynamic_date_from = 'SOURCE', - interval_period_type = 'MONTH', - interval_period_count = 56, - direction = 'BACKWARD', - shift = None, ) - ) - else: - return DataservicesQueryCohortFilterDTO( - ) - """ - - def testDataservicesQueryCohortFilterDTO(self): - """Test DataservicesQueryCohortFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_internal_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_internal_query_execution_options_dto.py deleted file mode 100644 index 13bf352945..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_internal_query_execution_options_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_internal_query_execution_options_dto import DataservicesQueryInternalQueryExecutionOptionsDTO - -class TestDataservicesQueryInternalQueryExecutionOptionsDTO(unittest.TestCase): - """DataservicesQueryInternalQueryExecutionOptionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryInternalQueryExecutionOptionsDTO: - """Test DataservicesQueryInternalQueryExecutionOptionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryInternalQueryExecutionOptionsDTO` - """ - model = DataservicesQueryInternalQueryExecutionOptionsDTO() - if include_optional: - return DataservicesQueryInternalQueryExecutionOptionsDTO( - sparse_handling_mode = 'ALLOW', - align_time_axis_to_period_end = True - ) - else: - return DataservicesQueryInternalQueryExecutionOptionsDTO( - ) - """ - - def testDataservicesQueryInternalQueryExecutionOptionsDTO(self): - """Test DataservicesQueryInternalQueryExecutionOptionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_key_group_filter_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_key_group_filter_dto.py deleted file mode 100644 index dacde8c9a5..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_key_group_filter_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_key_group_filter_dto import DataservicesQueryKeyGroupFilterDTO - -class TestDataservicesQueryKeyGroupFilterDTO(unittest.TestCase): - """DataservicesQueryKeyGroupFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryKeyGroupFilterDTO: - """Test DataservicesQueryKeyGroupFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryKeyGroupFilterDTO` - """ - model = DataservicesQueryKeyGroupFilterDTO() - if include_optional: - return DataservicesQueryKeyGroupFilterDTO( - filters = [ - visier_platform_sdk.models.dataservices/query/key_group_filter_item_dto.dataservices.query.KeyGroupFilterItemDTO( - formula = '', - selection_concept = None, - member_set = None, ) - ] - ) - else: - return DataservicesQueryKeyGroupFilterDTO( - ) - """ - - def testDataservicesQueryKeyGroupFilterDTO(self): - """Test DataservicesQueryKeyGroupFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_key_group_filter_item_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_key_group_filter_item_dto.py deleted file mode 100644 index df120fc8c5..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_key_group_filter_item_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_key_group_filter_item_dto import DataservicesQueryKeyGroupFilterItemDTO - -class TestDataservicesQueryKeyGroupFilterItemDTO(unittest.TestCase): - """DataservicesQueryKeyGroupFilterItemDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryKeyGroupFilterItemDTO: - """Test DataservicesQueryKeyGroupFilterItemDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryKeyGroupFilterItemDTO` - """ - model = DataservicesQueryKeyGroupFilterItemDTO() - if include_optional: - return DataservicesQueryKeyGroupFilterItemDTO( - formula = '', - selection_concept = visier_platform_sdk.models.dataservices/datamodel/selection_concept_reference_dto.dataservices.datamodel.SelectionConceptReferenceDTO( - name = '', - qualifying_path = '', ), - member_set = visier_platform_sdk.models.dataservices/query/member_filter_dto.dataservices.query.MemberFilterDTO( - dimension = None, - values = None, ) - ) - else: - return DataservicesQueryKeyGroupFilterItemDTO( - ) - """ - - def testDataservicesQueryKeyGroupFilterItemDTO(self): - """Test DataservicesQueryKeyGroupFilterItemDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_lineage_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_lineage_dto.py deleted file mode 100644 index 83c86fa0a6..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_lineage_dto.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_lineage_dto import DataservicesQueryLineageDTO - -class TestDataservicesQueryLineageDTO(unittest.TestCase): - """DataservicesQueryLineageDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryLineageDTO: - """Test DataservicesQueryLineageDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryLineageDTO` - """ - model = DataservicesQueryLineageDTO() - if include_optional: - return DataservicesQueryLineageDTO( - cell_sets = [ - visier_platform_sdk.models.dataservices/query/cell_set_dto.dataservices.query.CellSetDTO( - cells = [ - visier_platform_sdk.models.dataservices/query/cell_dto.dataservices.query.CellDTO( - value = '', - support = '', - coordinates = [ - 56 - ], - distribution = [ - visier_platform_sdk.models.dataservices/query/cell_distribution_bin_dto.dataservices.query.CellDistributionBinDTO( - value = '', - support = '', ) - ], ) - ], - axes = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_dto.dataservices.query.CellSetAxisDTO( - dimension = None, - positions = [ - visier_platform_sdk.models.dataservices/query/cell_set_axis_position_dto.dataservices.query.CellSetAxisPositionDTO( - path = [ - '' - ], - display_name = '', - display_name_path = [ - '' - ], ) - ], ) - ], - lineage = None, ) - ], - op = '' - ) - else: - return DataservicesQueryLineageDTO( - ) - """ - - def testDataservicesQueryLineageDTO(self): - """Test DataservicesQueryLineageDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_list_query_execution_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_list_query_execution_dto.py deleted file mode 100644 index bc0d990f20..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_list_query_execution_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_list_query_execution_dto import DataservicesQueryListQueryExecutionDTO - -class TestDataservicesQueryListQueryExecutionDTO(unittest.TestCase): - """DataservicesQueryListQueryExecutionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryListQueryExecutionDTO: - """Test DataservicesQueryListQueryExecutionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryListQueryExecutionDTO` - """ - model = DataservicesQueryListQueryExecutionDTO() - if include_optional: - return DataservicesQueryListQueryExecutionDTO( - source = visier_platform_sdk.models.dataservices/query/list_query_source_dto.dataservices.query.ListQuerySourceDTO( - formula = '', - metric = '', - analytic_object = '', - text_concept = '', ), - columns = [ - visier_platform_sdk.models.dataservices/query/property_column_dto.dataservices.query.PropertyColumnDTO( - column_name = '', - column_definition = None, ) - ], - sort_options = [ - visier_platform_sdk.models.dataservices/query/sort_option_dto.dataservices.query.SortOptionDTO( - column_index = 56, - sort_direction = 'SORT_ASCENDING', ) - ], - filters = [ - visier_platform_sdk.models.dataservices/query/query_filter_dto.dataservices.query.QueryFilterDTO( - formula = '', - selection_concept = None, - member_set = None, - cohort = None, ) - ], - time_interval = visier_platform_sdk.models.dataservices/query/query_time_interval_dto.dataservices.query.QueryTimeIntervalDTO( - from_instant = '', - from_date_time = '', - dynamic_date_from = 'SOURCE', - interval_period_type = 'MONTH', - interval_period_count = 56, - direction = 'BACKWARD', - shift = None, ), - parameter_values = [ - visier_platform_sdk.models.dataservices/query/query_parameter_value_dto.dataservices.query.QueryParameterValueDTO( - member_value = None, - numeric_value = None, - plan_value = None, - aggregation_type_value = None, ) - ], - options = visier_platform_sdk.models.dataservices/query/list_query_execution_options_dto.dataservices.query.ListQueryExecutionOptionsDTO( - limit = 56, - query_mode = 'DEFAULT', - omit_header = True, - calendar_type = 'TENANT_CALENDAR', - currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', - currency_conversion_date = '', - page = 56, - multiple_tables = True, - currency_conversion_code = '', - record_mode = 'NORMAL', - date_time_display_mode = 'EPOCH', ) - ) - else: - return DataservicesQueryListQueryExecutionDTO( - ) - """ - - def testDataservicesQueryListQueryExecutionDTO(self): - """Test DataservicesQueryListQueryExecutionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_list_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_list_query_execution_options_dto.py deleted file mode 100644 index e0e4f2c682..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_list_query_execution_options_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_list_query_execution_options_dto import DataservicesQueryListQueryExecutionOptionsDTO - -class TestDataservicesQueryListQueryExecutionOptionsDTO(unittest.TestCase): - """DataservicesQueryListQueryExecutionOptionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryListQueryExecutionOptionsDTO: - """Test DataservicesQueryListQueryExecutionOptionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryListQueryExecutionOptionsDTO` - """ - model = DataservicesQueryListQueryExecutionOptionsDTO() - if include_optional: - return DataservicesQueryListQueryExecutionOptionsDTO( - limit = 56, - query_mode = 'DEFAULT', - omit_header = True, - calendar_type = 'TENANT_CALENDAR', - currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', - currency_conversion_date = '', - page = 56, - multiple_tables = True, - currency_conversion_code = '', - record_mode = 'NORMAL', - date_time_display_mode = 'EPOCH' - ) - else: - return DataservicesQueryListQueryExecutionOptionsDTO( - ) - """ - - def testDataservicesQueryListQueryExecutionOptionsDTO(self): - """Test DataservicesQueryListQueryExecutionOptionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_list_query_source_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_list_query_source_dto.py deleted file mode 100644 index 95f04b46a7..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_list_query_source_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_list_query_source_dto import DataservicesQueryListQuerySourceDTO - -class TestDataservicesQueryListQuerySourceDTO(unittest.TestCase): - """DataservicesQueryListQuerySourceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryListQuerySourceDTO: - """Test DataservicesQueryListQuerySourceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryListQuerySourceDTO` - """ - model = DataservicesQueryListQuerySourceDTO() - if include_optional: - return DataservicesQueryListQuerySourceDTO( - formula = '', - metric = '', - analytic_object = '', - text_concept = '' - ) - else: - return DataservicesQueryListQuerySourceDTO( - ) - """ - - def testDataservicesQueryListQuerySourceDTO(self): - """Test DataservicesQueryListQuerySourceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_member_filter_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_member_filter_dto.py deleted file mode 100644 index 8e68866d05..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_member_filter_dto.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_member_filter_dto import DataservicesQueryMemberFilterDTO - -class TestDataservicesQueryMemberFilterDTO(unittest.TestCase): - """DataservicesQueryMemberFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryMemberFilterDTO: - """Test DataservicesQueryMemberFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryMemberFilterDTO` - """ - model = DataservicesQueryMemberFilterDTO() - if include_optional: - return DataservicesQueryMemberFilterDTO( - dimension = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ), - values = visier_platform_sdk.models.dataservices/common/member_values_dto.dataservices.common.MemberValuesDTO( - included = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ], - excluded = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - member_id = '', ) - ], ) - ) - else: - return DataservicesQueryMemberFilterDTO( - ) - """ - - def testDataservicesQueryMemberFilterDTO(self): - """Test DataservicesQueryMemberFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_member_parameter_value_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_member_parameter_value_dto.py deleted file mode 100644 index a3543184b2..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_member_parameter_value_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_member_parameter_value_dto import DataservicesQueryMemberParameterValueDTO - -class TestDataservicesQueryMemberParameterValueDTO(unittest.TestCase): - """DataservicesQueryMemberParameterValueDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryMemberParameterValueDTO: - """Test DataservicesQueryMemberParameterValueDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryMemberParameterValueDTO` - """ - model = DataservicesQueryMemberParameterValueDTO() - if include_optional: - return DataservicesQueryMemberParameterValueDTO( - parameter_id = '', - dimension_id = '', - reference_path = [ - '' - ], - values = visier_platform_sdk.models.dataservices/common/member_values_dto.dataservices.common.MemberValuesDTO( - included = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ], - excluded = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - member_id = '', ) - ], ) - ) - else: - return DataservicesQueryMemberParameterValueDTO( - ) - """ - - def testDataservicesQueryMemberParameterValueDTO(self): - """Test DataservicesQueryMemberParameterValueDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_numeric_parameter_value_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_numeric_parameter_value_dto.py deleted file mode 100644 index ff603a6b3b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_numeric_parameter_value_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_numeric_parameter_value_dto import DataservicesQueryNumericParameterValueDTO - -class TestDataservicesQueryNumericParameterValueDTO(unittest.TestCase): - """DataservicesQueryNumericParameterValueDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryNumericParameterValueDTO: - """Test DataservicesQueryNumericParameterValueDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryNumericParameterValueDTO` - """ - model = DataservicesQueryNumericParameterValueDTO() - if include_optional: - return DataservicesQueryNumericParameterValueDTO( - parameter_id = '', - value = 1.337 - ) - else: - return DataservicesQueryNumericParameterValueDTO( - ) - """ - - def testDataservicesQueryNumericParameterValueDTO(self): - """Test DataservicesQueryNumericParameterValueDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_plan_parameter_value_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_plan_parameter_value_dto.py deleted file mode 100644 index f647bd505a..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_plan_parameter_value_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_plan_parameter_value_dto import DataservicesQueryPlanParameterValueDTO - -class TestDataservicesQueryPlanParameterValueDTO(unittest.TestCase): - """DataservicesQueryPlanParameterValueDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryPlanParameterValueDTO: - """Test DataservicesQueryPlanParameterValueDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryPlanParameterValueDTO` - """ - model = DataservicesQueryPlanParameterValueDTO() - if include_optional: - return DataservicesQueryPlanParameterValueDTO( - parameter_id = '', - plan_id = '', - scenario_id = '', - snapshot_id = '' - ) - else: - return DataservicesQueryPlanParameterValueDTO( - ) - """ - - def testDataservicesQueryPlanParameterValueDTO(self): - """Test DataservicesQueryPlanParameterValueDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_property_column_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_property_column_dto.py deleted file mode 100644 index 385ec7f101..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_property_column_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_property_column_dto import DataservicesQueryPropertyColumnDTO - -class TestDataservicesQueryPropertyColumnDTO(unittest.TestCase): - """DataservicesQueryPropertyColumnDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryPropertyColumnDTO: - """Test DataservicesQueryPropertyColumnDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryPropertyColumnDTO` - """ - model = DataservicesQueryPropertyColumnDTO() - if include_optional: - return DataservicesQueryPropertyColumnDTO( - column_name = '', - column_definition = visier_platform_sdk.models.dataservices/query/query_property_dto.dataservices.query.QueryPropertyDTO( - formula = '', - property = None, - selection_concept = None, - dimension = None, - member_map_property = None, - effective_date_property = None, - dimension_level_selection = None, ) - ) - else: - return DataservicesQueryPropertyColumnDTO( - ) - """ - - def testDataservicesQueryPropertyColumnDTO(self): - """Test DataservicesQueryPropertyColumnDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_axis_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_axis_dto.py deleted file mode 100644 index 7defdbe4aa..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_axis_dto.py +++ /dev/null @@ -1,103 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_axis_dto import DataservicesQueryQueryAxisDTO - -class TestDataservicesQueryQueryAxisDTO(unittest.TestCase): - """DataservicesQueryQueryAxisDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryAxisDTO: - """Test DataservicesQueryQueryAxisDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryAxisDTO` - """ - model = DataservicesQueryQueryAxisDTO() - if include_optional: - return DataservicesQueryQueryAxisDTO( - formula = '', - selection_concept = visier_platform_sdk.models.dataservices/datamodel/selection_concept_reference_dto.dataservices.datamodel.SelectionConceptReferenceDTO( - name = '', - qualifying_path = '', ), - dimension_member_selection = visier_platform_sdk.models.dataservices/query/query_dimension_member_selection_dto.dataservices.query.QueryDimensionMemberSelectionDTO( - dimension = None, - members = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ], ), - member_map_selection = visier_platform_sdk.models.dataservices/query/query_member_map_selection_dto.dataservices.query.QueryMemberMapSelectionDTO( - member_map = None, - target_dimension_name = '', - members = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ], ), - numeric_ranges = visier_platform_sdk.models.dataservices/query/query_numeric_ranges_dto.dataservices.query.QueryNumericRangesDTO( - property = None, - ranges = '', - include_negative = True, - include_independent_zero_range = True, - include_all_member = True, ), - dimension_level_selection = visier_platform_sdk.models.dataservices/query/query_dimension_level_selection_dto.dataservices.query.QueryDimensionLevelSelectionDTO( - dimension = None, - level_ids = [ - '' - ], - level_depths = [ - 56 - ], ), - dimension_leaf_member_selection = visier_platform_sdk.models.dataservices/query/query_dimension_leaf_selection_dto.dataservices.query.QueryDimensionLeafSelectionDTO( - dimension = None, ), - dimension_data_member_selection = visier_platform_sdk.models.dataservices/query/query_dimension_data_member_selection_dto.dataservices.query.QueryDimensionDataMemberSelectionDTO( - dimension = None, ), - dimension_level_with_uncategorized_value_selection = visier_platform_sdk.models.dataservices/query/query_dimension_level_selection_dto.dataservices.query.QueryDimensionLevelSelectionDTO( - dimension = None, - level_ids = [ - '' - ], - level_depths = [ - 56 - ], ), - table_axis_options = visier_platform_sdk.models.dataservices/query/query_axis_options_dto.dataservices.query.QueryAxisOptionsDTO( - member_display_mode = 'UNCHANGED', - column_name = '', ) - ) - else: - return DataservicesQueryQueryAxisDTO( - ) - """ - - def testDataservicesQueryQueryAxisDTO(self): - """Test DataservicesQueryQueryAxisDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_axis_options_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_axis_options_dto.py deleted file mode 100644 index 0d3e38b2c8..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_axis_options_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_axis_options_dto import DataservicesQueryQueryAxisOptionsDTO - -class TestDataservicesQueryQueryAxisOptionsDTO(unittest.TestCase): - """DataservicesQueryQueryAxisOptionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryAxisOptionsDTO: - """Test DataservicesQueryQueryAxisOptionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryAxisOptionsDTO` - """ - model = DataservicesQueryQueryAxisOptionsDTO() - if include_optional: - return DataservicesQueryQueryAxisOptionsDTO( - member_display_mode = 'UNCHANGED', - column_name = '' - ) - else: - return DataservicesQueryQueryAxisOptionsDTO( - ) - """ - - def testDataservicesQueryQueryAxisOptionsDTO(self): - """Test DataservicesQueryQueryAxisOptionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_data_member_selection_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_data_member_selection_dto.py deleted file mode 100644 index e82f050160..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_data_member_selection_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_dimension_data_member_selection_dto import DataservicesQueryQueryDimensionDataMemberSelectionDTO - -class TestDataservicesQueryQueryDimensionDataMemberSelectionDTO(unittest.TestCase): - """DataservicesQueryQueryDimensionDataMemberSelectionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryDimensionDataMemberSelectionDTO: - """Test DataservicesQueryQueryDimensionDataMemberSelectionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryDimensionDataMemberSelectionDTO` - """ - model = DataservicesQueryQueryDimensionDataMemberSelectionDTO() - if include_optional: - return DataservicesQueryQueryDimensionDataMemberSelectionDTO( - dimension = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ) - ) - else: - return DataservicesQueryQueryDimensionDataMemberSelectionDTO( - ) - """ - - def testDataservicesQueryQueryDimensionDataMemberSelectionDTO(self): - """Test DataservicesQueryQueryDimensionDataMemberSelectionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_leaf_selection_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_leaf_selection_dto.py deleted file mode 100644 index 954a78552b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_leaf_selection_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_dimension_leaf_selection_dto import DataservicesQueryQueryDimensionLeafSelectionDTO - -class TestDataservicesQueryQueryDimensionLeafSelectionDTO(unittest.TestCase): - """DataservicesQueryQueryDimensionLeafSelectionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryDimensionLeafSelectionDTO: - """Test DataservicesQueryQueryDimensionLeafSelectionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryDimensionLeafSelectionDTO` - """ - model = DataservicesQueryQueryDimensionLeafSelectionDTO() - if include_optional: - return DataservicesQueryQueryDimensionLeafSelectionDTO( - dimension = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ) - ) - else: - return DataservicesQueryQueryDimensionLeafSelectionDTO( - ) - """ - - def testDataservicesQueryQueryDimensionLeafSelectionDTO(self): - """Test DataservicesQueryQueryDimensionLeafSelectionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_level_property_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_level_property_dto.py deleted file mode 100644 index bcac4aa94c..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_level_property_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_dimension_level_property_dto import DataservicesQueryQueryDimensionLevelPropertyDTO - -class TestDataservicesQueryQueryDimensionLevelPropertyDTO(unittest.TestCase): - """DataservicesQueryQueryDimensionLevelPropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryDimensionLevelPropertyDTO: - """Test DataservicesQueryQueryDimensionLevelPropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryDimensionLevelPropertyDTO` - """ - model = DataservicesQueryQueryDimensionLevelPropertyDTO() - if include_optional: - return DataservicesQueryQueryDimensionLevelPropertyDTO( - dimension = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ), - member_value_mode = 'NAME', - level_id = '', - level_depth = 56 - ) - else: - return DataservicesQueryQueryDimensionLevelPropertyDTO( - ) - """ - - def testDataservicesQueryQueryDimensionLevelPropertyDTO(self): - """Test DataservicesQueryQueryDimensionLevelPropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_level_selection_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_level_selection_dto.py deleted file mode 100644 index 461e4690fd..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_level_selection_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_dimension_level_selection_dto import DataservicesQueryQueryDimensionLevelSelectionDTO - -class TestDataservicesQueryQueryDimensionLevelSelectionDTO(unittest.TestCase): - """DataservicesQueryQueryDimensionLevelSelectionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryDimensionLevelSelectionDTO: - """Test DataservicesQueryQueryDimensionLevelSelectionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryDimensionLevelSelectionDTO` - """ - model = DataservicesQueryQueryDimensionLevelSelectionDTO() - if include_optional: - return DataservicesQueryQueryDimensionLevelSelectionDTO( - dimension = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ), - level_ids = [ - '' - ], - level_depths = [ - 56 - ] - ) - else: - return DataservicesQueryQueryDimensionLevelSelectionDTO( - ) - """ - - def testDataservicesQueryQueryDimensionLevelSelectionDTO(self): - """Test DataservicesQueryQueryDimensionLevelSelectionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_member_selection_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_member_selection_dto.py deleted file mode 100644 index 78fbadd0f2..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_dimension_member_selection_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_dimension_member_selection_dto import DataservicesQueryQueryDimensionMemberSelectionDTO - -class TestDataservicesQueryQueryDimensionMemberSelectionDTO(unittest.TestCase): - """DataservicesQueryQueryDimensionMemberSelectionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryDimensionMemberSelectionDTO: - """Test DataservicesQueryQueryDimensionMemberSelectionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryDimensionMemberSelectionDTO` - """ - model = DataservicesQueryQueryDimensionMemberSelectionDTO() - if include_optional: - return DataservicesQueryQueryDimensionMemberSelectionDTO( - dimension = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ), - members = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ] - ) - else: - return DataservicesQueryQueryDimensionMemberSelectionDTO( - ) - """ - - def testDataservicesQueryQueryDimensionMemberSelectionDTO(self): - """Test DataservicesQueryQueryDimensionMemberSelectionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_execution_error_details_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_execution_error_details_dto.py deleted file mode 100644 index b6e13333cd..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_execution_error_details_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_execution_error_details_dto import DataservicesQueryQueryExecutionErrorDetailsDTO - -class TestDataservicesQueryQueryExecutionErrorDetailsDTO(unittest.TestCase): - """DataservicesQueryQueryExecutionErrorDetailsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryExecutionErrorDetailsDTO: - """Test DataservicesQueryQueryExecutionErrorDetailsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryExecutionErrorDetailsDTO` - """ - model = DataservicesQueryQueryExecutionErrorDetailsDTO() - if include_optional: - return DataservicesQueryQueryExecutionErrorDetailsDTO( - object_type = '', - query_index = 56, - column_index = 56, - error = '' - ) - else: - return DataservicesQueryQueryExecutionErrorDetailsDTO( - ) - """ - - def testDataservicesQueryQueryExecutionErrorDetailsDTO(self): - """Test DataservicesQueryQueryExecutionErrorDetailsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_execution_error_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_execution_error_dto.py deleted file mode 100644 index 1c8cb63452..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_execution_error_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_execution_error_dto import DataservicesQueryQueryExecutionErrorDTO - -class TestDataservicesQueryQueryExecutionErrorDTO(unittest.TestCase): - """DataservicesQueryQueryExecutionErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryExecutionErrorDTO: - """Test DataservicesQueryQueryExecutionErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryExecutionErrorDTO` - """ - model = DataservicesQueryQueryExecutionErrorDTO() - if include_optional: - return DataservicesQueryQueryExecutionErrorDTO( - error_code = '', - message = '', - all_errors = [ - visier_platform_sdk.models.dataservices/query/query_execution_errors_dto.dataservices.query.QueryExecutionErrorsDTO( - error_code = '', - message = '', - all_error_details = [ - visier_platform_sdk.models.dataservices/query/query_execution_error_details_dto.dataservices.query.QueryExecutionErrorDetailsDTO( - object_type = '', - query_index = 56, - column_index = 56, - error = '', ) - ], ) - ] - ) - else: - return DataservicesQueryQueryExecutionErrorDTO( - ) - """ - - def testDataservicesQueryQueryExecutionErrorDTO(self): - """Test DataservicesQueryQueryExecutionErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_execution_errors_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_execution_errors_dto.py deleted file mode 100644 index e655775e62..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_execution_errors_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_execution_errors_dto import DataservicesQueryQueryExecutionErrorsDTO - -class TestDataservicesQueryQueryExecutionErrorsDTO(unittest.TestCase): - """DataservicesQueryQueryExecutionErrorsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryExecutionErrorsDTO: - """Test DataservicesQueryQueryExecutionErrorsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryExecutionErrorsDTO` - """ - model = DataservicesQueryQueryExecutionErrorsDTO() - if include_optional: - return DataservicesQueryQueryExecutionErrorsDTO( - error_code = '', - message = '', - all_error_details = [ - visier_platform_sdk.models.dataservices/query/query_execution_error_details_dto.dataservices.query.QueryExecutionErrorDetailsDTO( - object_type = '', - query_index = 56, - column_index = 56, - error = '', ) - ] - ) - else: - return DataservicesQueryQueryExecutionErrorsDTO( - ) - """ - - def testDataservicesQueryQueryExecutionErrorsDTO(self): - """Test DataservicesQueryQueryExecutionErrorsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_execution_options_dto.py deleted file mode 100644 index 24b29816cc..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_execution_options_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_execution_options_dto import DataservicesQueryQueryExecutionOptionsDTO - -class TestDataservicesQueryQueryExecutionOptionsDTO(unittest.TestCase): - """DataservicesQueryQueryExecutionOptionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryExecutionOptionsDTO: - """Test DataservicesQueryQueryExecutionOptionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryExecutionOptionsDTO` - """ - model = DataservicesQueryQueryExecutionOptionsDTO() - if include_optional: - return DataservicesQueryQueryExecutionOptionsDTO( - calendar_type = 'TENANT_CALENDAR', - currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', - currency_conversion_date = '', - lineage_depth = 56, - zero_visibility = 'SHOW', - null_visibility = 'SHOW', - cell_distribution_options = visier_platform_sdk.models.dataservices/query/cell_distribution_options_dto.dataservices.query.CellDistributionOptionsDTO( - bin_count = 56, ), - axis_visibility = 'SIMPLE', - enable_sparse_results = True, - internal = visier_platform_sdk.models.dataservices/query/internal_query_execution_options_dto.dataservices.query.InternalQueryExecutionOptionsDTO( - sparse_handling_mode = 'ALLOW', - align_time_axis_to_period_end = True, ), - enable_descending_space = True, - currency_conversion_code = '', - member_display_mode = 'DEFAULT', - axes_overall_value_mode = 'NONE' - ) - else: - return DataservicesQueryQueryExecutionOptionsDTO( - ) - """ - - def testDataservicesQueryQueryExecutionOptionsDTO(self): - """Test DataservicesQueryQueryExecutionOptionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_filter_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_filter_dto.py deleted file mode 100644 index 0dbee0d805..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_filter_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_filter_dto import DataservicesQueryQueryFilterDTO - -class TestDataservicesQueryQueryFilterDTO(unittest.TestCase): - """DataservicesQueryQueryFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryFilterDTO: - """Test DataservicesQueryQueryFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryFilterDTO` - """ - model = DataservicesQueryQueryFilterDTO() - if include_optional: - return DataservicesQueryQueryFilterDTO( - formula = '', - selection_concept = visier_platform_sdk.models.dataservices/datamodel/selection_concept_reference_dto.dataservices.datamodel.SelectionConceptReferenceDTO( - name = '', - qualifying_path = '', ), - member_set = visier_platform_sdk.models.dataservices/query/member_filter_dto.dataservices.query.MemberFilterDTO( - dimension = None, - values = None, ), - cohort = visier_platform_sdk.models.dataservices/query/cohort_filter_dto.dataservices.query.CohortFilterDTO( - key_group = None, - exclude = True, - time_interval = None, ) - ) - else: - return DataservicesQueryQueryFilterDTO( - ) - """ - - def testDataservicesQueryQueryFilterDTO(self): - """Test DataservicesQueryQueryFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_member_map_property_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_member_map_property_dto.py deleted file mode 100644 index 6eb8c05a2c..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_member_map_property_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_member_map_property_dto import DataservicesQueryQueryMemberMapPropertyDTO - -class TestDataservicesQueryQueryMemberMapPropertyDTO(unittest.TestCase): - """DataservicesQueryQueryMemberMapPropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryMemberMapPropertyDTO: - """Test DataservicesQueryQueryMemberMapPropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryMemberMapPropertyDTO` - """ - model = DataservicesQueryQueryMemberMapPropertyDTO() - if include_optional: - return DataservicesQueryQueryMemberMapPropertyDTO( - member_map = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ), - target_dimension_name = '' - ) - else: - return DataservicesQueryQueryMemberMapPropertyDTO( - ) - """ - - def testDataservicesQueryQueryMemberMapPropertyDTO(self): - """Test DataservicesQueryQueryMemberMapPropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_member_map_selection_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_member_map_selection_dto.py deleted file mode 100644 index 9f336b721c..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_member_map_selection_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_member_map_selection_dto import DataservicesQueryQueryMemberMapSelectionDTO - -class TestDataservicesQueryQueryMemberMapSelectionDTO(unittest.TestCase): - """DataservicesQueryQueryMemberMapSelectionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryMemberMapSelectionDTO: - """Test DataservicesQueryQueryMemberMapSelectionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryMemberMapSelectionDTO` - """ - model = DataservicesQueryQueryMemberMapSelectionDTO() - if include_optional: - return DataservicesQueryQueryMemberMapSelectionDTO( - member_map = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ), - target_dimension_name = '', - members = [ - visier_platform_sdk.models.dataservices/common/dimension_member_reference_dto.dataservices.common.DimensionMemberReferenceDTO( - path = [ - '' - ], - member_id = '', ) - ] - ) - else: - return DataservicesQueryQueryMemberMapSelectionDTO( - ) - """ - - def testDataservicesQueryQueryMemberMapSelectionDTO(self): - """Test DataservicesQueryQueryMemberMapSelectionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_numeric_ranges_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_numeric_ranges_dto.py deleted file mode 100644 index 3cd5ac1c1d..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_numeric_ranges_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_numeric_ranges_dto import DataservicesQueryQueryNumericRangesDTO - -class TestDataservicesQueryQueryNumericRangesDTO(unittest.TestCase): - """DataservicesQueryQueryNumericRangesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryNumericRangesDTO: - """Test DataservicesQueryQueryNumericRangesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryNumericRangesDTO` - """ - model = DataservicesQueryQueryNumericRangesDTO() - if include_optional: - return DataservicesQueryQueryNumericRangesDTO( - var_property = visier_platform_sdk.models.dataservices/query/query_property_dto.dataservices.query.QueryPropertyDTO( - formula = '', - property = None, - selection_concept = None, - dimension = None, - member_map_property = None, - effective_date_property = None, - dimension_level_selection = None, ), - ranges = '', - include_negative = True, - include_independent_zero_range = True, - include_all_member = True - ) - else: - return DataservicesQueryQueryNumericRangesDTO( - ) - """ - - def testDataservicesQueryQueryNumericRangesDTO(self): - """Test DataservicesQueryQueryNumericRangesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_parameter_value_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_parameter_value_dto.py deleted file mode 100644 index bff46a7cf2..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_parameter_value_dto.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_parameter_value_dto import DataservicesQueryQueryParameterValueDTO - -class TestDataservicesQueryQueryParameterValueDTO(unittest.TestCase): - """DataservicesQueryQueryParameterValueDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryParameterValueDTO: - """Test DataservicesQueryQueryParameterValueDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryParameterValueDTO` - """ - model = DataservicesQueryQueryParameterValueDTO() - if include_optional: - return DataservicesQueryQueryParameterValueDTO( - member_value = visier_platform_sdk.models.dataservices/query/member_parameter_value_dto.dataservices.query.MemberParameterValueDTO( - parameter_id = '', - dimension_id = '', - reference_path = [ - '' - ], - values = None, ), - numeric_value = visier_platform_sdk.models.dataservices/query/numeric_parameter_value_dto.dataservices.query.NumericParameterValueDTO( - parameter_id = '', - value = 1.337, ), - plan_value = visier_platform_sdk.models.dataservices/query/plan_parameter_value_dto.dataservices.query.PlanParameterValueDTO( - parameter_id = '', - plan_id = '', - scenario_id = '', - snapshot_id = '', ), - aggregation_type_value = visier_platform_sdk.models.dataservices/query/aggregation_type_parameter_value_dto.dataservices.query.AggregationTypeParameterValueDTO( - parameter_id = '', - aggregation_option_id = '', ) - ) - else: - return DataservicesQueryQueryParameterValueDTO( - ) - """ - - def testDataservicesQueryQueryParameterValueDTO(self): - """Test DataservicesQueryQueryParameterValueDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_property_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_property_dto.py deleted file mode 100644 index 498f874927..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_property_dto.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_property_dto import DataservicesQueryQueryPropertyDTO - -class TestDataservicesQueryQueryPropertyDTO(unittest.TestCase): - """DataservicesQueryQueryPropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryPropertyDTO: - """Test DataservicesQueryQueryPropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryPropertyDTO` - """ - model = DataservicesQueryQueryPropertyDTO() - if include_optional: - return DataservicesQueryQueryPropertyDTO( - formula = '', - var_property = visier_platform_sdk.models.dataservices/datamodel/property_reference_dto.dataservices.datamodel.PropertyReferenceDTO( - name = '', - qualifying_path = '', ), - selection_concept = visier_platform_sdk.models.dataservices/datamodel/selection_concept_reference_dto.dataservices.datamodel.SelectionConceptReferenceDTO( - name = '', - qualifying_path = '', ), - dimension = visier_platform_sdk.models.dataservices/datamodel/dimension_reference_dto.dataservices.datamodel.DimensionReferenceDTO( - name = '', - qualifying_path = '', ), - member_map_property = visier_platform_sdk.models.dataservices/query/query_member_map_property_dto.dataservices.query.QueryMemberMapPropertyDTO( - member_map = None, - target_dimension_name = '', ), - effective_date_property = None, - dimension_level_selection = visier_platform_sdk.models.dataservices/query/query_dimension_level_property_dto.dataservices.query.QueryDimensionLevelPropertyDTO( - dimension = None, - member_value_mode = 'NAME', - level_id = '', - level_depth = 56, ) - ) - else: - return DataservicesQueryQueryPropertyDTO( - ) - """ - - def testDataservicesQueryQueryPropertyDTO(self): - """Test DataservicesQueryQueryPropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_time_interval_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_time_interval_dto.py deleted file mode 100644 index 963761e7f8..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_time_interval_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_time_interval_dto import DataservicesQueryQueryTimeIntervalDTO - -class TestDataservicesQueryQueryTimeIntervalDTO(unittest.TestCase): - """DataservicesQueryQueryTimeIntervalDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryTimeIntervalDTO: - """Test DataservicesQueryQueryTimeIntervalDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryTimeIntervalDTO` - """ - model = DataservicesQueryQueryTimeIntervalDTO() - if include_optional: - return DataservicesQueryQueryTimeIntervalDTO( - from_instant = '', - from_date_time = '', - dynamic_date_from = 'SOURCE', - interval_period_type = 'MONTH', - interval_period_count = 56, - direction = 'BACKWARD', - shift = visier_platform_sdk.models.dataservices/query/time_shift_dto.dataservices.query.TimeShiftDTO( - period_type = 'MONTH', - period_count = 56, - direction = 'BACKWARD', ) - ) - else: - return DataservicesQueryQueryTimeIntervalDTO( - ) - """ - - def testDataservicesQueryQueryTimeIntervalDTO(self): - """Test DataservicesQueryQueryTimeIntervalDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_query_time_intervals_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_query_time_intervals_dto.py deleted file mode 100644 index b879b8614b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_query_time_intervals_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_query_time_intervals_dto import DataservicesQueryQueryTimeIntervalsDTO - -class TestDataservicesQueryQueryTimeIntervalsDTO(unittest.TestCase): - """DataservicesQueryQueryTimeIntervalsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryQueryTimeIntervalsDTO: - """Test DataservicesQueryQueryTimeIntervalsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryQueryTimeIntervalsDTO` - """ - model = DataservicesQueryQueryTimeIntervalsDTO() - if include_optional: - return DataservicesQueryQueryTimeIntervalsDTO( - from_instant = '', - from_date_time = '', - dynamic_date_from = 'SOURCE', - interval_period_type = 'MONTH', - interval_period_count = 56, - interval_count = 56, - direction = 'BACKWARD', - shift = visier_platform_sdk.models.dataservices/query/time_shift_dto.dataservices.query.TimeShiftDTO( - period_type = 'MONTH', - period_count = 56, - direction = 'BACKWARD', ), - trailing_period_type = 'MONTH', - trailing_period_count = 56 - ) - else: - return DataservicesQueryQueryTimeIntervalsDTO( - ) - """ - - def testDataservicesQueryQueryTimeIntervalsDTO(self): - """Test DataservicesQueryQueryTimeIntervalsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_snapshot_query_execution_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_snapshot_query_execution_dto.py deleted file mode 100644 index 24ac4a82ea..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_snapshot_query_execution_dto.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_snapshot_query_execution_dto import DataservicesQuerySnapshotQueryExecutionDTO - -class TestDataservicesQuerySnapshotQueryExecutionDTO(unittest.TestCase): - """DataservicesQuerySnapshotQueryExecutionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQuerySnapshotQueryExecutionDTO: - """Test DataservicesQuerySnapshotQueryExecutionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQuerySnapshotQueryExecutionDTO` - """ - model = DataservicesQuerySnapshotQueryExecutionDTO() - if include_optional: - return DataservicesQuerySnapshotQueryExecutionDTO( - source = visier_platform_sdk.models.dataservices/query/list_query_source_dto.dataservices.query.ListQuerySourceDTO( - formula = '', - metric = '', - analytic_object = '', - text_concept = '', ), - columns = [ - visier_platform_sdk.models.dataservices/query/property_column_dto.dataservices.query.PropertyColumnDTO( - column_name = '', - column_definition = None, ) - ], - sort_options = [ - visier_platform_sdk.models.dataservices/query/sort_option_dto.dataservices.query.SortOptionDTO( - column_index = 56, - sort_direction = 'SORT_ASCENDING', ) - ], - filters = [ - visier_platform_sdk.models.dataservices/query/query_filter_dto.dataservices.query.QueryFilterDTO( - formula = '', - selection_concept = None, - member_set = None, - cohort = None, ) - ], - time_intervals = visier_platform_sdk.models.dataservices/query/query_time_intervals_dto.dataservices.query.QueryTimeIntervalsDTO( - from_instant = '', - from_date_time = '', - dynamic_date_from = 'SOURCE', - interval_period_type = 'MONTH', - interval_period_count = 56, - interval_count = 56, - direction = 'BACKWARD', - shift = None, - trailing_period_type = 'MONTH', - trailing_period_count = 56, ), - parameter_values = [ - visier_platform_sdk.models.dataservices/query/query_parameter_value_dto.dataservices.query.QueryParameterValueDTO( - member_value = None, - numeric_value = None, - plan_value = None, - aggregation_type_value = None, ) - ], - options = visier_platform_sdk.models.dataservices/query/snapshot_query_execution_options_dto.dataservices.query.SnapshotQueryExecutionOptionsDTO( - limit = 56, - query_mode = 'DEFAULT', - omit_header = True, - calendar_type = 'TENANT_CALENDAR', - currency_conversion_date = '', - page = 56, - multiple_tables = True, - currency_conversion_code = '', - date_time_display_mode = 'EPOCH', ) - ) - else: - return DataservicesQuerySnapshotQueryExecutionDTO( - ) - """ - - def testDataservicesQuerySnapshotQueryExecutionDTO(self): - """Test DataservicesQuerySnapshotQueryExecutionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_snapshot_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_snapshot_query_execution_options_dto.py deleted file mode 100644 index b2017fee0b..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_snapshot_query_execution_options_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_snapshot_query_execution_options_dto import DataservicesQuerySnapshotQueryExecutionOptionsDTO - -class TestDataservicesQuerySnapshotQueryExecutionOptionsDTO(unittest.TestCase): - """DataservicesQuerySnapshotQueryExecutionOptionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQuerySnapshotQueryExecutionOptionsDTO: - """Test DataservicesQuerySnapshotQueryExecutionOptionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQuerySnapshotQueryExecutionOptionsDTO` - """ - model = DataservicesQuerySnapshotQueryExecutionOptionsDTO() - if include_optional: - return DataservicesQuerySnapshotQueryExecutionOptionsDTO( - limit = 56, - query_mode = 'DEFAULT', - omit_header = True, - calendar_type = 'TENANT_CALENDAR', - currency_conversion_date = '', - page = 56, - multiple_tables = True, - currency_conversion_code = '', - date_time_display_mode = 'EPOCH' - ) - else: - return DataservicesQuerySnapshotQueryExecutionOptionsDTO( - ) - """ - - def testDataservicesQuerySnapshotQueryExecutionOptionsDTO(self): - """Test DataservicesQuerySnapshotQueryExecutionOptionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_sort_option_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_sort_option_dto.py deleted file mode 100644 index 32a0f1bda1..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_sort_option_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_sort_option_dto import DataservicesQuerySortOptionDTO - -class TestDataservicesQuerySortOptionDTO(unittest.TestCase): - """DataservicesQuerySortOptionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQuerySortOptionDTO: - """Test DataservicesQuerySortOptionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQuerySortOptionDTO` - """ - model = DataservicesQuerySortOptionDTO() - if include_optional: - return DataservicesQuerySortOptionDTO( - column_index = 56, - sort_direction = 'SORT_ASCENDING' - ) - else: - return DataservicesQuerySortOptionDTO( - ) - """ - - def testDataservicesQuerySortOptionDTO(self): - """Test DataservicesQuerySortOptionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_sql_like_query_execution_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_sql_like_query_execution_dto.py deleted file mode 100644 index b2a7b67fb0..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_sql_like_query_execution_dto.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_sql_like_query_execution_dto import DataservicesQuerySqlLikeQueryExecutionDTO - -class TestDataservicesQuerySqlLikeQueryExecutionDTO(unittest.TestCase): - """DataservicesQuerySqlLikeQueryExecutionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQuerySqlLikeQueryExecutionDTO: - """Test DataservicesQuerySqlLikeQueryExecutionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQuerySqlLikeQueryExecutionDTO` - """ - model = DataservicesQuerySqlLikeQueryExecutionDTO() - if include_optional: - return DataservicesQuerySqlLikeQueryExecutionDTO( - query = '', - options = visier_platform_sdk.models.dataservices/query/query_execution_options_dto.dataservices.query.QueryExecutionOptionsDTO( - calendar_type = 'TENANT_CALENDAR', - currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', - currency_conversion_date = '', - lineage_depth = 56, - zero_visibility = 'SHOW', - null_visibility = 'SHOW', - cell_distribution_options = visier_platform_sdk.models.dataservices/query/cell_distribution_options_dto.dataservices.query.CellDistributionOptionsDTO( - bin_count = 56, ), - axis_visibility = 'SIMPLE', - enable_sparse_results = True, - internal = visier_platform_sdk.models.dataservices/query/internal_query_execution_options_dto.dataservices.query.InternalQueryExecutionOptionsDTO( - sparse_handling_mode = 'ALLOW', - align_time_axis_to_period_end = True, ), - enable_descending_space = True, - currency_conversion_code = '', - member_display_mode = 'DEFAULT', - axes_overall_value_mode = 'NONE', ) - ) - else: - return DataservicesQuerySqlLikeQueryExecutionDTO( - ) - """ - - def testDataservicesQuerySqlLikeQueryExecutionDTO(self): - """Test DataservicesQuerySqlLikeQueryExecutionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dataservices_query_time_shift_dto.py b/src/visier_platform_sdk/test/test_dataservices_query_time_shift_dto.py deleted file mode 100644 index 76fd897349..0000000000 --- a/src/visier_platform_sdk/test/test_dataservices_query_time_shift_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dataservices_query_time_shift_dto import DataservicesQueryTimeShiftDTO - -class TestDataservicesQueryTimeShiftDTO(unittest.TestCase): - """DataservicesQueryTimeShiftDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DataservicesQueryTimeShiftDTO: - """Test DataservicesQueryTimeShiftDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DataservicesQueryTimeShiftDTO` - """ - model = DataservicesQueryTimeShiftDTO() - if include_optional: - return DataservicesQueryTimeShiftDTO( - period_type = 'MONTH', - period_count = 56, - direction = 'BACKWARD' - ) - else: - return DataservicesQueryTimeShiftDTO( - ) - """ - - def testDataservicesQueryTimeShiftDTO(self): - """Test DataservicesQueryTimeShiftDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_date_range_dto.py b/src/visier_platform_sdk/test/test_date_range_dto.py new file mode 100644 index 0000000000..804975a899 --- /dev/null +++ b/src/visier_platform_sdk/test/test_date_range_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.date_range_dto import DateRangeDTO + +class TestDateRangeDTO(unittest.TestCase): + """DateRangeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DateRangeDTO: + """Test DateRangeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DateRangeDTO( + start = '', + end = '' + ) + else: + return DateRangeDTO( + ) + + def testDateRangeDTO(self): + """Test DateRangeDTO""" + def validate_instance(instance): + DateRangeDTO.model_validate(inst_req_only) + instance_deserialized = DateRangeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dayforce_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_dayforce_v2_auth_params_dto.py new file mode 100644 index 0000000000..2f75588a1a --- /dev/null +++ b/src/visier_platform_sdk/test/test_dayforce_v2_auth_params_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dayforce_v2_auth_params_dto import DayforceV2AuthParamsDTO + +class TestDayforceV2AuthParamsDTO(unittest.TestCase): + """DayforceV2AuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DayforceV2AuthParamsDTO: + """Test DayforceV2AuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DayforceV2AuthParamsDTO( + username = '', + password = '', + company_id = '', + token_host = '', + host_domain_name = '' + ) + else: + return DayforceV2AuthParamsDTO( + ) + + def testDayforceV2AuthParamsDTO(self): + """Test DayforceV2AuthParamsDTO""" + def validate_instance(instance): + DayforceV2AuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = DayforceV2AuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_delete_permissions_request_dto.py b/src/visier_platform_sdk/test/test_delete_permissions_request_dto.py new file mode 100644 index 0000000000..f6d61a7269 --- /dev/null +++ b/src/visier_platform_sdk/test/test_delete_permissions_request_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.delete_permissions_request_dto import DeletePermissionsRequestDTO + +class TestDeletePermissionsRequestDTO(unittest.TestCase): + """DeletePermissionsRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DeletePermissionsRequestDTO: + """Test DeletePermissionsRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DeletePermissionsRequestDTO( + permission_ids = [ + '' + ] + ) + else: + return DeletePermissionsRequestDTO( + ) + + def testDeletePermissionsRequestDTO(self): + """Test DeletePermissionsRequestDTO""" + def validate_instance(instance): + DeletePermissionsRequestDTO.model_validate(inst_req_only) + instance_deserialized = DeletePermissionsRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_delete_user_group_v2_request.py b/src/visier_platform_sdk/test/test_delete_user_group_v2_request.py new file mode 100644 index 0000000000..4e4cf04ba0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_delete_user_group_v2_request.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.delete_user_group_v2_request import DeleteUserGroupV2Request + +class TestDeleteUserGroupV2Request(unittest.TestCase): + """DeleteUserGroupV2Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DeleteUserGroupV2Request: + """Test DeleteUserGroupV2Request + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DeleteUserGroupV2Request( + user_group_id = '' + ) + else: + return DeleteUserGroupV2Request( + ) + + def testDeleteUserGroupV2Request(self): + """Test DeleteUserGroupV2Request""" + def validate_instance(instance): + DeleteUserGroupV2Request.model_validate(inst_req_only) + instance_deserialized = DeleteUserGroupV2Request.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dependent_dto.py b/src/visier_platform_sdk/test/test_dependent_dto.py new file mode 100644 index 0000000000..ec351f010f --- /dev/null +++ b/src/visier_platform_sdk/test/test_dependent_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dependent_dto import DependentDTO + +class TestDependentDTO(unittest.TestCase): + """DependentDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DependentDTO: + """Test DependentDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DependentDTO( + id = '', + display_name = '', + object_type = '' + ) + else: + return DependentDTO( + ) + + def testDependentDTO(self): + """Test DependentDTO""" + def validate_instance(instance): + DependentDTO.model_validate(inst_req_only) + instance_deserialized = DependentDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_description_entry.py b/src/visier_platform_sdk/test/test_description_entry.py index 6a2cc89a13..4b643cc22a 100644 --- a/src/visier_platform_sdk/test/test_description_entry.py +++ b/src/visier_platform_sdk/test/test_description_entry.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.description_entry import DescriptionEntry class TestDescriptionEntry(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> DescriptionEntry: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `DescriptionEntry` - """ - model = DescriptionEntry() + if include_optional: return DescriptionEntry( label = '', @@ -42,12 +41,19 @@ def make_instance(self, include_optional) -> DescriptionEntry: else: return DescriptionEntry( ) - """ def testDescriptionEntry(self): """Test DescriptionEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + DescriptionEntry.model_validate(inst_req_only) + instance_deserialized = DescriptionEntry.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_adp_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_adp_auth_params_dto.py deleted file mode 100644 index 75674960a5..0000000000 --- a/src/visier_platform_sdk/test/test_designer_adp_auth_params_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_adp_auth_params_dto import DesignerAdpAuthParamsDTO - -class TestDesignerAdpAuthParamsDTO(unittest.TestCase): - """DesignerAdpAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerAdpAuthParamsDTO: - """Test DesignerAdpAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerAdpAuthParamsDTO` - """ - model = DesignerAdpAuthParamsDTO() - if include_optional: - return DesignerAdpAuthParamsDTO( - auth_code = '' - ) - else: - return DesignerAdpAuthParamsDTO( - ) - """ - - def testDesignerAdpAuthParamsDTO(self): - """Test DesignerAdpAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_analytic_object_filter_dto.py b/src/visier_platform_sdk/test/test_designer_api_analytic_object_filter_dto.py deleted file mode 100644 index d52f7ace91..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_analytic_object_filter_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_analytic_object_filter_dto import DesignerApiAnalyticObjectFilterDTO - -class TestDesignerApiAnalyticObjectFilterDTO(unittest.TestCase): - """DesignerApiAnalyticObjectFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiAnalyticObjectFilterDTO: - """Test DesignerApiAnalyticObjectFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiAnalyticObjectFilterDTO` - """ - model = DesignerApiAnalyticObjectFilterDTO() - if include_optional: - return DesignerApiAnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ] - ) - else: - return DesignerApiAnalyticObjectFilterDTO( - ) - """ - - def testDesignerApiAnalyticObjectFilterDTO(self): - """Test DesignerApiAnalyticObjectFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_calculation_concept_configuration_dto.py b/src/visier_platform_sdk/test/test_designer_api_calculation_concept_configuration_dto.py deleted file mode 100644 index 38e854cda0..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_calculation_concept_configuration_dto.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_calculation_concept_configuration_dto import DesignerApiCalculationConceptConfigurationDTO - -class TestDesignerApiCalculationConceptConfigurationDTO(unittest.TestCase): - """DesignerApiCalculationConceptConfigurationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiCalculationConceptConfigurationDTO: - """Test DesignerApiCalculationConceptConfigurationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiCalculationConceptConfigurationDTO` - """ - model = DesignerApiCalculationConceptConfigurationDTO() - if include_optional: - return DesignerApiCalculationConceptConfigurationDTO( - perspectives = [ - visier_platform_sdk.models.designer/api/perspective_configuration_dto.designer.api.PerspectiveConfigurationDTO( - perspective_id = '', - perspective_name = '', - perspective_nodes = [ - visier_platform_sdk.models.designer/api/perspective_node_dto.designer.api.PerspectiveNodeDTO( - selection_concept_uuid = '', - symbol_name = '', - analytic_object_filters = [ - visier_platform_sdk.models.designer/api/analytic_object_filter_dto.designer.api.AnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ], ) - ], ) - ], ) - ] - ) - else: - return DesignerApiCalculationConceptConfigurationDTO( - ) - """ - - def testDesignerApiCalculationConceptConfigurationDTO(self): - """Test DesignerApiCalculationConceptConfigurationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_calculation_concept_configuration_map_dto.py b/src/visier_platform_sdk/test/test_designer_api_calculation_concept_configuration_map_dto.py deleted file mode 100644 index 34c4880b76..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_calculation_concept_configuration_map_dto.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_calculation_concept_configuration_map_dto import DesignerApiCalculationConceptConfigurationMapDTO - -class TestDesignerApiCalculationConceptConfigurationMapDTO(unittest.TestCase): - """DesignerApiCalculationConceptConfigurationMapDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiCalculationConceptConfigurationMapDTO: - """Test DesignerApiCalculationConceptConfigurationMapDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiCalculationConceptConfigurationMapDTO` - """ - model = DesignerApiCalculationConceptConfigurationMapDTO() - if include_optional: - return DesignerApiCalculationConceptConfigurationMapDTO( - perspectives_to_map = [ - visier_platform_sdk.models.designer/api/perspective_configuration_dto.designer.api.PerspectiveConfigurationDTO( - perspective_id = '', - perspective_name = '', - perspective_nodes = [ - visier_platform_sdk.models.designer/api/perspective_node_dto.designer.api.PerspectiveNodeDTO( - selection_concept_uuid = '', - symbol_name = '', - analytic_object_filters = [ - visier_platform_sdk.models.designer/api/analytic_object_filter_dto.designer.api.AnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ], ) - ], ) - ], ) - ] - ) - else: - return DesignerApiCalculationConceptConfigurationMapDTO( - ) - """ - - def testDesignerApiCalculationConceptConfigurationMapDTO(self): - """Test DesignerApiCalculationConceptConfigurationMapDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_calculation_concept_dto.py b/src/visier_platform_sdk/test/test_designer_api_calculation_concept_dto.py deleted file mode 100644 index 648403dde0..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_calculation_concept_dto.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_calculation_concept_dto import DesignerApiCalculationConceptDTO - -class TestDesignerApiCalculationConceptDTO(unittest.TestCase): - """DesignerApiCalculationConceptDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiCalculationConceptDTO: - """Test DesignerApiCalculationConceptDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiCalculationConceptDTO` - """ - model = DesignerApiCalculationConceptDTO() - if include_optional: - return DesignerApiCalculationConceptDTO( - uuid = '', - name = '', - configuration = visier_platform_sdk.models.designer/api/calculation_concept_configuration_dto.designer.api.CalculationConceptConfigurationDTO( - perspectives = [ - visier_platform_sdk.models.designer/api/perspective_configuration_dto.designer.api.PerspectiveConfigurationDTO( - perspective_id = '', - perspective_name = '', - perspective_nodes = [ - visier_platform_sdk.models.designer/api/perspective_node_dto.designer.api.PerspectiveNodeDTO( - selection_concept_uuid = '', - symbol_name = '', - analytic_object_filters = [ - visier_platform_sdk.models.designer/api/analytic_object_filter_dto.designer.api.AnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ], ) - ], ) - ], ) - ], ) - ) - else: - return DesignerApiCalculationConceptDTO( - ) - """ - - def testDesignerApiCalculationConceptDTO(self): - """Test DesignerApiCalculationConceptDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_calculation_concept_list_dto.py b/src/visier_platform_sdk/test/test_designer_api_calculation_concept_list_dto.py deleted file mode 100644 index e7391e31c2..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_calculation_concept_list_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_calculation_concept_list_dto import DesignerApiCalculationConceptListDTO - -class TestDesignerApiCalculationConceptListDTO(unittest.TestCase): - """DesignerApiCalculationConceptListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiCalculationConceptListDTO: - """Test DesignerApiCalculationConceptListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiCalculationConceptListDTO` - """ - model = DesignerApiCalculationConceptListDTO() - if include_optional: - return DesignerApiCalculationConceptListDTO( - concepts = [ - visier_platform_sdk.models.designer/api/calculation_concept_dto.designer.api.CalculationConceptDTO( - uuid = '', - name = '', - configuration = None, ) - ] - ) - else: - return DesignerApiCalculationConceptListDTO( - ) - """ - - def testDesignerApiCalculationConceptListDTO(self): - """Test DesignerApiCalculationConceptListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_concept_configuration_result_dto.py b/src/visier_platform_sdk/test/test_designer_api_concept_configuration_result_dto.py deleted file mode 100644 index 4f0e3a217d..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_concept_configuration_result_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_concept_configuration_result_dto import DesignerApiConceptConfigurationResultDTO - -class TestDesignerApiConceptConfigurationResultDTO(unittest.TestCase): - """DesignerApiConceptConfigurationResultDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiConceptConfigurationResultDTO: - """Test DesignerApiConceptConfigurationResultDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiConceptConfigurationResultDTO` - """ - model = DesignerApiConceptConfigurationResultDTO() - if include_optional: - return DesignerApiConceptConfigurationResultDTO( - concept_id = '', - project_id = '', - message = '' - ) - else: - return DesignerApiConceptConfigurationResultDTO( - ) - """ - - def testDesignerApiConceptConfigurationResultDTO(self): - """Test DesignerApiConceptConfigurationResultDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_designer_api_dimension_filter_dto.py deleted file mode 100644 index 2940257471..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_dimension_filter_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_dimension_filter_dto import DesignerApiDimensionFilterDTO - -class TestDesignerApiDimensionFilterDTO(unittest.TestCase): - """DesignerApiDimensionFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiDimensionFilterDTO: - """Test DesignerApiDimensionFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiDimensionFilterDTO` - """ - model = DesignerApiDimensionFilterDTO() - if include_optional: - return DesignerApiDimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ] - ) - else: - return DesignerApiDimensionFilterDTO( - ) - """ - - def testDesignerApiDimensionFilterDTO(self): - """Test DesignerApiDimensionFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_dimension_member_dto.py b/src/visier_platform_sdk/test/test_designer_api_dimension_member_dto.py deleted file mode 100644 index 6bad07949b..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_dimension_member_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_dimension_member_dto import DesignerApiDimensionMemberDTO - -class TestDesignerApiDimensionMemberDTO(unittest.TestCase): - """DesignerApiDimensionMemberDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiDimensionMemberDTO: - """Test DesignerApiDimensionMemberDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiDimensionMemberDTO` - """ - model = DesignerApiDimensionMemberDTO() - if include_optional: - return DesignerApiDimensionMemberDTO( - dimension_member = [ - '' - ] - ) - else: - return DesignerApiDimensionMemberDTO( - ) - """ - - def testDesignerApiDimensionMemberDTO(self): - """Test DesignerApiDimensionMemberDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_perspective_configuration_dto.py b/src/visier_platform_sdk/test/test_designer_api_perspective_configuration_dto.py deleted file mode 100644 index 2219cba6c0..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_perspective_configuration_dto.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_perspective_configuration_dto import DesignerApiPerspectiveConfigurationDTO - -class TestDesignerApiPerspectiveConfigurationDTO(unittest.TestCase): - """DesignerApiPerspectiveConfigurationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiPerspectiveConfigurationDTO: - """Test DesignerApiPerspectiveConfigurationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiPerspectiveConfigurationDTO` - """ - model = DesignerApiPerspectiveConfigurationDTO() - if include_optional: - return DesignerApiPerspectiveConfigurationDTO( - perspective_id = '', - perspective_name = '', - perspective_nodes = [ - visier_platform_sdk.models.designer/api/perspective_node_dto.designer.api.PerspectiveNodeDTO( - selection_concept_uuid = '', - symbol_name = '', - analytic_object_filters = [ - visier_platform_sdk.models.designer/api/analytic_object_filter_dto.designer.api.AnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ], ) - ], ) - ] - ) - else: - return DesignerApiPerspectiveConfigurationDTO( - ) - """ - - def testDesignerApiPerspectiveConfigurationDTO(self): - """Test DesignerApiPerspectiveConfigurationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_perspective_node_dto.py b/src/visier_platform_sdk/test/test_designer_api_perspective_node_dto.py deleted file mode 100644 index 33e1acf3b8..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_perspective_node_dto.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_perspective_node_dto import DesignerApiPerspectiveNodeDTO - -class TestDesignerApiPerspectiveNodeDTO(unittest.TestCase): - """DesignerApiPerspectiveNodeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiPerspectiveNodeDTO: - """Test DesignerApiPerspectiveNodeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiPerspectiveNodeDTO` - """ - model = DesignerApiPerspectiveNodeDTO() - if include_optional: - return DesignerApiPerspectiveNodeDTO( - selection_concept_uuid = '', - symbol_name = '', - analytic_object_filters = [ - visier_platform_sdk.models.designer/api/analytic_object_filter_dto.designer.api.AnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ], ) - ] - ) - else: - return DesignerApiPerspectiveNodeDTO( - ) - """ - - def testDesignerApiPerspectiveNodeDTO(self): - """Test DesignerApiPerspectiveNodeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_selection_concept_configuration_dto.py b/src/visier_platform_sdk/test/test_designer_api_selection_concept_configuration_dto.py deleted file mode 100644 index 95a40976e0..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_selection_concept_configuration_dto.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_selection_concept_configuration_dto import DesignerApiSelectionConceptConfigurationDTO - -class TestDesignerApiSelectionConceptConfigurationDTO(unittest.TestCase): - """DesignerApiSelectionConceptConfigurationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiSelectionConceptConfigurationDTO: - """Test DesignerApiSelectionConceptConfigurationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiSelectionConceptConfigurationDTO` - """ - model = DesignerApiSelectionConceptConfigurationDTO() - if include_optional: - return DesignerApiSelectionConceptConfigurationDTO( - analytic_object_filters = [ - visier_platform_sdk.models.designer/api/analytic_object_filter_dto.designer.api.AnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ], ) - ] - ) - else: - return DesignerApiSelectionConceptConfigurationDTO( - ) - """ - - def testDesignerApiSelectionConceptConfigurationDTO(self): - """Test DesignerApiSelectionConceptConfigurationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_selection_concept_configuration_map_dto.py b/src/visier_platform_sdk/test/test_designer_api_selection_concept_configuration_map_dto.py deleted file mode 100644 index 0cf9a15ccc..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_selection_concept_configuration_map_dto.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_selection_concept_configuration_map_dto import DesignerApiSelectionConceptConfigurationMapDTO - -class TestDesignerApiSelectionConceptConfigurationMapDTO(unittest.TestCase): - """DesignerApiSelectionConceptConfigurationMapDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiSelectionConceptConfigurationMapDTO: - """Test DesignerApiSelectionConceptConfigurationMapDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiSelectionConceptConfigurationMapDTO` - """ - model = DesignerApiSelectionConceptConfigurationMapDTO() - if include_optional: - return DesignerApiSelectionConceptConfigurationMapDTO( - analytic_object_filters_to_map = [ - visier_platform_sdk.models.designer/api/analytic_object_filter_dto.designer.api.AnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ], ) - ] - ) - else: - return DesignerApiSelectionConceptConfigurationMapDTO( - ) - """ - - def testDesignerApiSelectionConceptConfigurationMapDTO(self): - """Test DesignerApiSelectionConceptConfigurationMapDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_selection_concept_dto.py b/src/visier_platform_sdk/test/test_designer_api_selection_concept_dto.py deleted file mode 100644 index b1649f6d66..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_selection_concept_dto.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_selection_concept_dto import DesignerApiSelectionConceptDTO - -class TestDesignerApiSelectionConceptDTO(unittest.TestCase): - """DesignerApiSelectionConceptDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiSelectionConceptDTO: - """Test DesignerApiSelectionConceptDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiSelectionConceptDTO` - """ - model = DesignerApiSelectionConceptDTO() - if include_optional: - return DesignerApiSelectionConceptDTO( - uuid = '', - name = '', - configuration = visier_platform_sdk.models.designer/api/selection_concept_configuration_dto.designer.api.SelectionConceptConfigurationDTO( - analytic_object_filters = [ - visier_platform_sdk.models.designer/api/analytic_object_filter_dto.designer.api.AnalyticObjectFilterDTO( - analytic_object_uuid = '', - symbol_name = '', - dimensions = [ - visier_platform_sdk.models.designer/api/dimension_filter_dto.designer.api.DimensionFilterDTO( - dimension_id = '', - symbol_name = '', - dimension_members = [ - visier_platform_sdk.models.designer/api/dimension_member_dto.designer.api.DimensionMemberDTO( - dimension_member = [ - '' - ], ) - ], ) - ], ) - ], ) - ) - else: - return DesignerApiSelectionConceptDTO( - ) - """ - - def testDesignerApiSelectionConceptDTO(self): - """Test DesignerApiSelectionConceptDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_api_selection_concept_list_dto.py b/src/visier_platform_sdk/test/test_designer_api_selection_concept_list_dto.py deleted file mode 100644 index a46f9c5e8d..0000000000 --- a/src/visier_platform_sdk/test/test_designer_api_selection_concept_list_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_api_selection_concept_list_dto import DesignerApiSelectionConceptListDTO - -class TestDesignerApiSelectionConceptListDTO(unittest.TestCase): - """DesignerApiSelectionConceptListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerApiSelectionConceptListDTO: - """Test DesignerApiSelectionConceptListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerApiSelectionConceptListDTO` - """ - model = DesignerApiSelectionConceptListDTO() - if include_optional: - return DesignerApiSelectionConceptListDTO( - concepts = [ - visier_platform_sdk.models.designer/api/selection_concept_dto.designer.api.SelectionConceptDTO( - uuid = '', - name = '', - configuration = None, ) - ] - ) - else: - return DesignerApiSelectionConceptListDTO( - ) - """ - - def testDesignerApiSelectionConceptListDTO(self): - """Test DesignerApiSelectionConceptListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_bamboo_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_bamboo_auth_params_dto.py deleted file mode 100644 index de723fc6b1..0000000000 --- a/src/visier_platform_sdk/test/test_designer_bamboo_auth_params_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_bamboo_auth_params_dto import DesignerBambooAuthParamsDTO - -class TestDesignerBambooAuthParamsDTO(unittest.TestCase): - """DesignerBambooAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerBambooAuthParamsDTO: - """Test DesignerBambooAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerBambooAuthParamsDTO` - """ - model = DesignerBambooAuthParamsDTO() - if include_optional: - return DesignerBambooAuthParamsDTO( - access_key = '', - tenant_domain_name = '' - ) - else: - return DesignerBambooAuthParamsDTO( - ) - """ - - def testDesignerBambooAuthParamsDTO(self): - """Test DesignerBambooAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_basic_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_basic_s3_auth_params_dto.py deleted file mode 100644 index 6501d662f1..0000000000 --- a/src/visier_platform_sdk/test/test_designer_basic_s3_auth_params_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_basic_s3_auth_params_dto import DesignerBasicS3AuthParamsDTO - -class TestDesignerBasicS3AuthParamsDTO(unittest.TestCase): - """DesignerBasicS3AuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerBasicS3AuthParamsDTO: - """Test DesignerBasicS3AuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerBasicS3AuthParamsDTO` - """ - model = DesignerBasicS3AuthParamsDTO() - if include_optional: - return DesignerBasicS3AuthParamsDTO( - bucket_name = '', - bucket_region = '', - access_key = '', - secret_key = '', - path = '' - ) - else: - return DesignerBasicS3AuthParamsDTO( - ) - """ - - def testDesignerBasicS3AuthParamsDTO(self): - """Test DesignerBasicS3AuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_big_query_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_big_query_auth_params_dto.py deleted file mode 100644 index bdf2cf1d64..0000000000 --- a/src/visier_platform_sdk/test/test_designer_big_query_auth_params_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_big_query_auth_params_dto import DesignerBigQueryAuthParamsDTO - -class TestDesignerBigQueryAuthParamsDTO(unittest.TestCase): - """DesignerBigQueryAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerBigQueryAuthParamsDTO: - """Test DesignerBigQueryAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerBigQueryAuthParamsDTO` - """ - model = DesignerBigQueryAuthParamsDTO() - if include_optional: - return DesignerBigQueryAuthParamsDTO( - project_id = '', - dataset_location = '', - refresh_token = '', - client_id = '', - client_secret = '', - default_dataset = '', - service_account_params = visier_platform_sdk.models.designer/big_query_service_account_params_dto.designer.BigQueryServiceAccountParamsDTO( - service_account_email = '', - private_key = '', ) - ) - else: - return DesignerBigQueryAuthParamsDTO( - ) - """ - - def testDesignerBigQueryAuthParamsDTO(self): - """Test DesignerBigQueryAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_big_query_service_account_params_dto.py b/src/visier_platform_sdk/test/test_designer_big_query_service_account_params_dto.py deleted file mode 100644 index fe2afbaf6c..0000000000 --- a/src/visier_platform_sdk/test/test_designer_big_query_service_account_params_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_big_query_service_account_params_dto import DesignerBigQueryServiceAccountParamsDTO - -class TestDesignerBigQueryServiceAccountParamsDTO(unittest.TestCase): - """DesignerBigQueryServiceAccountParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerBigQueryServiceAccountParamsDTO: - """Test DesignerBigQueryServiceAccountParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerBigQueryServiceAccountParamsDTO` - """ - model = DesignerBigQueryServiceAccountParamsDTO() - if include_optional: - return DesignerBigQueryServiceAccountParamsDTO( - service_account_email = '', - private_key = '' - ) - else: - return DesignerBigQueryServiceAccountParamsDTO( - ) - """ - - def testDesignerBigQueryServiceAccountParamsDTO(self): - """Test DesignerBigQueryServiceAccountParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_copy_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_copy_s3_auth_params_dto.py deleted file mode 100644 index f796dd0c21..0000000000 --- a/src/visier_platform_sdk/test/test_designer_copy_s3_auth_params_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_copy_s3_auth_params_dto import DesignerCopyS3AuthParamsDTO - -class TestDesignerCopyS3AuthParamsDTO(unittest.TestCase): - """DesignerCopyS3AuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCopyS3AuthParamsDTO: - """Test DesignerCopyS3AuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCopyS3AuthParamsDTO` - """ - model = DesignerCopyS3AuthParamsDTO() - if include_optional: - return DesignerCopyS3AuthParamsDTO( - iam_role = '' - ) - else: - return DesignerCopyS3AuthParamsDTO( - ) - """ - - def testDesignerCopyS3AuthParamsDTO(self): - """Test DesignerCopyS3AuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_credential_creation_api_response_dto.py b/src/visier_platform_sdk/test/test_designer_credential_creation_api_response_dto.py deleted file mode 100644 index dd87c6ec4c..0000000000 --- a/src/visier_platform_sdk/test/test_designer_credential_creation_api_response_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_credential_creation_api_response_dto import DesignerCredentialCreationAPIResponseDTO - -class TestDesignerCredentialCreationAPIResponseDTO(unittest.TestCase): - """DesignerCredentialCreationAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCredentialCreationAPIResponseDTO: - """Test DesignerCredentialCreationAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCredentialCreationAPIResponseDTO` - """ - model = DesignerCredentialCreationAPIResponseDTO() - if include_optional: - return DesignerCredentialCreationAPIResponseDTO( - uuid = '', - symbol_name = '', - object_name = '', - missing_connection_properties = [ - visier_platform_sdk.models.designer/subject_missing_access_dto.designer.SubjectMissingAccessDTO( - subject = 'Employee', - attributes = [ - '' - ], - error_message = '', ) - ] - ) - else: - return DesignerCredentialCreationAPIResponseDTO( - ) - """ - - def testDesignerCredentialCreationAPIResponseDTO(self): - """Test DesignerCredentialCreationAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_crypto_generate_key_request_dto.py b/src/visier_platform_sdk/test/test_designer_crypto_generate_key_request_dto.py deleted file mode 100644 index 476722f3c2..0000000000 --- a/src/visier_platform_sdk/test/test_designer_crypto_generate_key_request_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_crypto_generate_key_request_dto import DesignerCryptoGenerateKeyRequestDTO - -class TestDesignerCryptoGenerateKeyRequestDTO(unittest.TestCase): - """DesignerCryptoGenerateKeyRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCryptoGenerateKeyRequestDTO: - """Test DesignerCryptoGenerateKeyRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCryptoGenerateKeyRequestDTO` - """ - model = DesignerCryptoGenerateKeyRequestDTO() - if include_optional: - return DesignerCryptoGenerateKeyRequestDTO( - key_name = '', - expiry_date = '', - algorithm = '' - ) - else: - return DesignerCryptoGenerateKeyRequestDTO( - ) - """ - - def testDesignerCryptoGenerateKeyRequestDTO(self): - """Test DesignerCryptoGenerateKeyRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_crypto_key_pair_delete_response_dto.py b/src/visier_platform_sdk/test/test_designer_crypto_key_pair_delete_response_dto.py deleted file mode 100644 index c3f722a0f8..0000000000 --- a/src/visier_platform_sdk/test/test_designer_crypto_key_pair_delete_response_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_crypto_key_pair_delete_response_dto import DesignerCryptoKeyPairDeleteResponseDTO - -class TestDesignerCryptoKeyPairDeleteResponseDTO(unittest.TestCase): - """DesignerCryptoKeyPairDeleteResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCryptoKeyPairDeleteResponseDTO: - """Test DesignerCryptoKeyPairDeleteResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCryptoKeyPairDeleteResponseDTO` - """ - model = DesignerCryptoKeyPairDeleteResponseDTO() - if include_optional: - return DesignerCryptoKeyPairDeleteResponseDTO( - key_id = '' - ) - else: - return DesignerCryptoKeyPairDeleteResponseDTO( - ) - """ - - def testDesignerCryptoKeyPairDeleteResponseDTO(self): - """Test DesignerCryptoKeyPairDeleteResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_crypto_key_pair_generate_request_dto.py b/src/visier_platform_sdk/test/test_designer_crypto_key_pair_generate_request_dto.py deleted file mode 100644 index 1608bdcc56..0000000000 --- a/src/visier_platform_sdk/test/test_designer_crypto_key_pair_generate_request_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_crypto_key_pair_generate_request_dto import DesignerCryptoKeyPairGenerateRequestDTO - -class TestDesignerCryptoKeyPairGenerateRequestDTO(unittest.TestCase): - """DesignerCryptoKeyPairGenerateRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCryptoKeyPairGenerateRequestDTO: - """Test DesignerCryptoKeyPairGenerateRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCryptoKeyPairGenerateRequestDTO` - """ - model = DesignerCryptoKeyPairGenerateRequestDTO() - if include_optional: - return DesignerCryptoKeyPairGenerateRequestDTO( - expiration_date = '' - ) - else: - return DesignerCryptoKeyPairGenerateRequestDTO( - ) - """ - - def testDesignerCryptoKeyPairGenerateRequestDTO(self): - """Test DesignerCryptoKeyPairGenerateRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_crypto_public_key_dto.py b/src/visier_platform_sdk/test/test_designer_crypto_public_key_dto.py deleted file mode 100644 index 15811a9c0e..0000000000 --- a/src/visier_platform_sdk/test/test_designer_crypto_public_key_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_crypto_public_key_dto import DesignerCryptoPublicKeyDTO - -class TestDesignerCryptoPublicKeyDTO(unittest.TestCase): - """DesignerCryptoPublicKeyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCryptoPublicKeyDTO: - """Test DesignerCryptoPublicKeyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCryptoPublicKeyDTO` - """ - model = DesignerCryptoPublicKeyDTO() - if include_optional: - return DesignerCryptoPublicKeyDTO( - key_id = '', - date_generated = '', - expiry_date = '', - recipient = '', - public_key = '' - ) - else: - return DesignerCryptoPublicKeyDTO( - ) - """ - - def testDesignerCryptoPublicKeyDTO(self): - """Test DesignerCryptoPublicKeyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_crypto_public_keys_dto.py b/src/visier_platform_sdk/test/test_designer_crypto_public_keys_dto.py deleted file mode 100644 index ea7d4fd135..0000000000 --- a/src/visier_platform_sdk/test/test_designer_crypto_public_keys_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_crypto_public_keys_dto import DesignerCryptoPublicKeysDTO - -class TestDesignerCryptoPublicKeysDTO(unittest.TestCase): - """DesignerCryptoPublicKeysDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCryptoPublicKeysDTO: - """Test DesignerCryptoPublicKeysDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCryptoPublicKeysDTO` - """ - model = DesignerCryptoPublicKeysDTO() - if include_optional: - return DesignerCryptoPublicKeysDTO( - keys = [ - visier_platform_sdk.models.designer/crypto/public_key_dto.designer.crypto.PublicKeyDTO( - key_id = '', - date_generated = '', - expiry_date = '', - recipient = '', - public_key = '', ) - ] - ) - else: - return DesignerCryptoPublicKeysDTO( - ) - """ - - def testDesignerCryptoPublicKeysDTO(self): - """Test DesignerCryptoPublicKeysDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_crypto_tenant_encryption_key_details_dto.py b/src/visier_platform_sdk/test/test_designer_crypto_tenant_encryption_key_details_dto.py deleted file mode 100644 index 5126988ae2..0000000000 --- a/src/visier_platform_sdk/test/test_designer_crypto_tenant_encryption_key_details_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_details_dto import DesignerCryptoTenantEncryptionKeyDetailsDTO - -class TestDesignerCryptoTenantEncryptionKeyDetailsDTO(unittest.TestCase): - """DesignerCryptoTenantEncryptionKeyDetailsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCryptoTenantEncryptionKeyDetailsDTO: - """Test DesignerCryptoTenantEncryptionKeyDetailsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCryptoTenantEncryptionKeyDetailsDTO` - """ - model = DesignerCryptoTenantEncryptionKeyDetailsDTO() - if include_optional: - return DesignerCryptoTenantEncryptionKeyDetailsDTO( - key_name = '', - algorithm = '', - generated_by = '', - date_generated = '', - expiry_date = '' - ) - else: - return DesignerCryptoTenantEncryptionKeyDetailsDTO( - ) - """ - - def testDesignerCryptoTenantEncryptionKeyDetailsDTO(self): - """Test DesignerCryptoTenantEncryptionKeyDetailsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_crypto_tenant_encryption_key_dto.py b/src/visier_platform_sdk/test/test_designer_crypto_tenant_encryption_key_dto.py deleted file mode 100644 index 1d947451e8..0000000000 --- a/src/visier_platform_sdk/test/test_designer_crypto_tenant_encryption_key_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_dto import DesignerCryptoTenantEncryptionKeyDTO - -class TestDesignerCryptoTenantEncryptionKeyDTO(unittest.TestCase): - """DesignerCryptoTenantEncryptionKeyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerCryptoTenantEncryptionKeyDTO: - """Test DesignerCryptoTenantEncryptionKeyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerCryptoTenantEncryptionKeyDTO` - """ - model = DesignerCryptoTenantEncryptionKeyDTO() - if include_optional: - return DesignerCryptoTenantEncryptionKeyDTO( - detail = visier_platform_sdk.models.designer/crypto/tenant_encryption_key_details_dto.designer.crypto.TenantEncryptionKeyDetailsDTO( - key_name = '', - algorithm = '', - generated_by = '', - date_generated = '', - expiry_date = '', ), - key = '' - ) - else: - return DesignerCryptoTenantEncryptionKeyDTO( - ) - """ - - def testDesignerCryptoTenantEncryptionKeyDTO(self): - """Test DesignerCryptoTenantEncryptionKeyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_provider_auth_information_dto.py b/src/visier_platform_sdk/test/test_designer_data_provider_auth_information_dto.py deleted file mode 100644 index b7a99f70f6..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_provider_auth_information_dto.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_provider_auth_information_dto import DesignerDataProviderAuthInformationDTO - -class TestDesignerDataProviderAuthInformationDTO(unittest.TestCase): - """DesignerDataProviderAuthInformationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataProviderAuthInformationDTO: - """Test DesignerDataProviderAuthInformationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataProviderAuthInformationDTO` - """ - model = DesignerDataProviderAuthInformationDTO() - if include_optional: - return DesignerDataProviderAuthInformationDTO( - data_provider_auth_params = visier_platform_sdk.models.designer/data_provider_auth_params_dto.designer.DataProviderAuthParamsDTO( - tenant_domain_name = '', - provider = 'Bamboo', - bamboo_auth_params = visier_platform_sdk.models.designer/bamboo_auth_params_dto.designer.BambooAuthParamsDTO( - access_key = '', - tenant_domain_name = '', ), - greenhouse_auth_params = visier_platform_sdk.models.designer/greenhouse_auth_params_dto.designer.GreenhouseAuthParamsDTO( - api_key = '', ), - google_sheets_auth_params = visier_platform_sdk.models.designer/google_sheets_auth_params_dto.designer.GoogleSheetsAuthParamsDTO( - auth_code = '', - configuration = '', - client_id = '', - client_secret = '', ), - jira_auth_params = visier_platform_sdk.models.designer/jira_auth_params_dto.designer.JiraAuthParamsDTO( - api_token = '', - host_name = '', - connect_params = visier_platform_sdk.models.designer/jira_connect_params_dto.designer.JiraConnectParamsDTO( - app_key = '', - client_key = '', - shared_secret = '', ), ), - lever_auth_params = visier_platform_sdk.models.designer/lever_auth_params_dto.designer.LeverAuthParamsDTO( - api_key = '', ), - namely_auth_params = visier_platform_sdk.models.designer/namely_auth_params_dto.designer.NamelyAuthParamsDTO( - auth_code = '', ), - qualtrics_auth_params = visier_platform_sdk.models.designer/qualtrics_auth_params_dto.designer.QualtricsAuthParamsDTO( - api_token = '', - data_center_id = '', ), - salesforce_auth_params = visier_platform_sdk.models.designer/salesforce_auth_params_dto.designer.SalesforceAuthParamsDTO( - refresh_token = '', - client_id = '', ), - ultimate_auth_params = visier_platform_sdk.models.designer/ultimate_auth_params_dto.designer.UltimateAuthParamsDTO( - host_domain_name = '', - api_key = '', - username = '', - password = '', - user_access_key = '', ), - workday_auth_params = visier_platform_sdk.models.designer/workday_auth_params_dto.designer.WorkdayAuthParamsDTO( - user_id = '', - domain_name = '', - implementation_name = '', - password = '', - o_auth = visier_platform_sdk.models.designer/workday_o_auth_params_dto.designer.WorkdayOAuthParamsDTO( - api_client_id = '', - public_x509_cert = '', - private_x509_key = '', ), - ref_token = visier_platform_sdk.models.designer/workday_refresh_token_params_dto.designer.WorkdayRefreshTokenParamsDTO( - api_client_id = '', - client_secret = '', - refresh_token = '', ), - integration_system_id = '', - additional_header_params = [ - visier_platform_sdk.models.designer/pair_dto.designer.PairDTO( - key = '', - value = '', ) - ], ), - icims_auth_params = visier_platform_sdk.models.designer/icims_auth_params_dto.designer.IcimsAuthParamsDTO( - customer_id = '', - username = '', - password = '', - client_id = '', - client_secret = '', - region = 'US', ), - service_now_auth_params = visier_platform_sdk.models.designer/service_now_auth_params_dto.designer.ServiceNowAuthParamsDTO( - host_domain_name = '', - username = '', - password = '', ), - jdbc_auth_params = visier_platform_sdk.models.designer/jdbc_auth_params_dto.designer.JdbcAuthParamsDTO( - jdbc_connect_string = '', - username = '', - password = '', ), - s3_auth_params = visier_platform_sdk.models.designer/basic_s3_auth_params_dto.designer.BasicS3AuthParamsDTO( - bucket_name = '', - bucket_region = '', - access_key = '', - secret_key = '', - path = '', ), - internal_s3_auth_params = visier_platform_sdk.models.designer/internal_s3_auth_params_dto.designer.InternalS3AuthParamsDTO( - bucket_name = '', - path = '', ), - copy_s3_auth_params = visier_platform_sdk.models.designer/copy_s3_auth_params_dto.designer.CopyS3AuthParamsDTO( - iam_role = '', ), - redshift_auth_params = visier_platform_sdk.models.designer/redshift_auth_params_dto.designer.RedshiftAuthParamsDTO( - endpoint = '', - port = '', - database = '', - username = '', - password = '', - table_prefix = '', - schema = '', ), - snowflake_auth_params = visier_platform_sdk.models.designer/snowflake_auth_params_dto.designer.SnowflakeAuthParamsDTO( - account_identifier = '', - database = '', - schema = '', - username = '', - password = '', - warehouse = '', - private_key = '', ), - big_query_auth_params = visier_platform_sdk.models.designer/big_query_auth_params_dto.designer.BigQueryAuthParamsDTO( - project_id = '', - dataset_location = '', - refresh_token = '', - client_id = '', - client_secret = '', - default_dataset = '', - service_account_params = visier_platform_sdk.models.designer/big_query_service_account_params_dto.designer.BigQueryServiceAccountParamsDTO( - service_account_email = '', - private_key = '', ), ), - sql_server_auth_params = visier_platform_sdk.models.designer/sql_server_auth_params_dto.designer.SqlServerAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - database = '', ), - dimensions_auth_params = visier_platform_sdk.models.designer/dimensions_auth_params_dto.designer.DimensionsAuthParamsDTO( - app_key = '', - client_id = '', - client_secret = '', - vanity_url = '', - username = '', - password = '', ), - willow_auth_params = visier_platform_sdk.models.designer/willow_auth_params_dto.designer.WillowAuthParamsDTO( - api_token = '', - host_name = '', ), - empty_auth_params = visier_platform_sdk.models.designer/empty_auth_params_dto.designer.EmptyAuthParamsDTO(), - success_factors_auth_params = visier_platform_sdk.models.designer/success_factors_auth_params_dto.designer.SuccessFactorsAuthParamsDTO( - host_domain_name = '', - company_id = '', - username = '', - password = '', ), - fusion_auth_params = visier_platform_sdk.models.designer/fusion_auth_params_dto.designer.FusionAuthParamsDTO( - username = '', - password = '', - host_domain_name = '', ), - adp_auth_params = visier_platform_sdk.models.designer/adp_auth_params_dto.designer.AdpAuthParamsDTO( - auth_code = '', ), - medallia_auth_params = visier_platform_sdk.models.designer/medallia_auth_params_dto.designer.MedalliaAuthParamsDTO( - tenant_domain_name = '', - instance_url = '', - client_id = '', - client_secret = '', ), - salesforce_v2_auth_params = visier_platform_sdk.models.designer/salesforce_v2_auth_params_dto.designer.SalesforceV2AuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', - login_host = '', ), - gong_auth_params = visier_platform_sdk.models.designer/gong_auth_params_dto.designer.GongAuthParamsDTO( - client_id = '', - client_secret = '', ), - zoom_auth_params = visier_platform_sdk.models.designer/zoom_auth_params_dto.designer.ZoomAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', ), - dayforce_v2_auth_params = visier_platform_sdk.models.designer/dayforce_v2_auth_params_dto.designer.DayforceV2AuthParamsDTO( - username = '', - password = '', - company_id = '', - token_host = '', - host_domain_name = '', ), - slack_auth_params = visier_platform_sdk.models.designer/slack_auth_params_dto.designer.SlackAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', ), - my_sql_auth_params = visier_platform_sdk.models.designer/my_sql_auth_params_dto.designer.MySqlAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - database = '', - ssl_mode = '', ), - workday_raas_auth_params = visier_platform_sdk.models.designer/workday_raas_auth_params_dto.designer.WorkdayRaasAuthParamsDTO( - user_id = '', - domain_name = '', - implementation_name = '', - password = '', - test_report_url = '', ), - ms365_auth_params = visier_platform_sdk.models.designer/microsoft365_auth_params_dto.designer.Microsoft365AuthParamsDTO( - o_auth_tenant_id = '', - client_id = '', - client_secret = '', - privacy_mode = '', ), - google_workspace_auth_params = visier_platform_sdk.models.designer/google_workspace_auth_params_dto.designer.GoogleWorkspaceAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', - service_account = '', - privacy_mode = '', ), - oracle_db_auth_params = visier_platform_sdk.models.designer/oracle_db_auth_params_dto.designer.OracleDbAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - service_name = '', ), - service_now_v2_auth_params = visier_platform_sdk.models.designer/service_now_v2_auth_params_dto.designer.ServiceNowV2AuthParamsDTO( - host_domain_name = '', - client_id = '', - client_secret = '', - auth_code = '', - alternate_domain = '', ), - databricks_auth_params = visier_platform_sdk.models.designer/databricks_auth_params_dto.designer.DatabricksAuthParamsDTO( - share_credentials_version = '', - bearer_token = '', - endpoint = '', - expiration_time = '', ), - has_updates = True, - auth_context = 'DefaultDataExtraction', ), - data_provider_basic_information = visier_platform_sdk.models.designer/data_provider_basic_information_dto.designer.DataProviderBasicInformationDTO( - display_name = '', - description = '', ), - data_provider_metadata = visier_platform_sdk.models.designer/data_provider_basic_metadata_dto.designer.DataProviderBasicMetadataDTO( - can_children_inherit = True, ) - ) - else: - return DesignerDataProviderAuthInformationDTO( - ) - """ - - def testDesignerDataProviderAuthInformationDTO(self): - """Test DesignerDataProviderAuthInformationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_provider_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_data_provider_auth_params_dto.py deleted file mode 100644 index 9358b05890..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_provider_auth_params_dto.py +++ /dev/null @@ -1,259 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_provider_auth_params_dto import DesignerDataProviderAuthParamsDTO - -class TestDesignerDataProviderAuthParamsDTO(unittest.TestCase): - """DesignerDataProviderAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataProviderAuthParamsDTO: - """Test DesignerDataProviderAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataProviderAuthParamsDTO` - """ - model = DesignerDataProviderAuthParamsDTO() - if include_optional: - return DesignerDataProviderAuthParamsDTO( - tenant_domain_name = '', - provider = 'Bamboo', - bamboo_auth_params = visier_platform_sdk.models.designer/bamboo_auth_params_dto.designer.BambooAuthParamsDTO( - access_key = '', - tenant_domain_name = '', ), - greenhouse_auth_params = visier_platform_sdk.models.designer/greenhouse_auth_params_dto.designer.GreenhouseAuthParamsDTO( - api_key = '', ), - google_sheets_auth_params = visier_platform_sdk.models.designer/google_sheets_auth_params_dto.designer.GoogleSheetsAuthParamsDTO( - auth_code = '', - configuration = '', - client_id = '', - client_secret = '', ), - jira_auth_params = visier_platform_sdk.models.designer/jira_auth_params_dto.designer.JiraAuthParamsDTO( - api_token = '', - host_name = '', - connect_params = visier_platform_sdk.models.designer/jira_connect_params_dto.designer.JiraConnectParamsDTO( - app_key = '', - client_key = '', - shared_secret = '', ), ), - lever_auth_params = visier_platform_sdk.models.designer/lever_auth_params_dto.designer.LeverAuthParamsDTO( - api_key = '', ), - namely_auth_params = visier_platform_sdk.models.designer/namely_auth_params_dto.designer.NamelyAuthParamsDTO( - auth_code = '', ), - qualtrics_auth_params = visier_platform_sdk.models.designer/qualtrics_auth_params_dto.designer.QualtricsAuthParamsDTO( - api_token = '', - data_center_id = '', ), - salesforce_auth_params = visier_platform_sdk.models.designer/salesforce_auth_params_dto.designer.SalesforceAuthParamsDTO( - refresh_token = '', - client_id = '', ), - ultimate_auth_params = visier_platform_sdk.models.designer/ultimate_auth_params_dto.designer.UltimateAuthParamsDTO( - host_domain_name = '', - api_key = '', - username = '', - password = '', - user_access_key = '', ), - workday_auth_params = visier_platform_sdk.models.designer/workday_auth_params_dto.designer.WorkdayAuthParamsDTO( - user_id = '', - domain_name = '', - implementation_name = '', - password = '', - o_auth = visier_platform_sdk.models.designer/workday_o_auth_params_dto.designer.WorkdayOAuthParamsDTO( - api_client_id = '', - public_x509_cert = '', - private_x509_key = '', ), - ref_token = visier_platform_sdk.models.designer/workday_refresh_token_params_dto.designer.WorkdayRefreshTokenParamsDTO( - api_client_id = '', - client_secret = '', - refresh_token = '', ), - integration_system_id = '', - additional_header_params = [ - visier_platform_sdk.models.designer/pair_dto.designer.PairDTO( - key = '', - value = '', ) - ], ), - icims_auth_params = visier_platform_sdk.models.designer/icims_auth_params_dto.designer.IcimsAuthParamsDTO( - customer_id = '', - username = '', - password = '', - client_id = '', - client_secret = '', - region = 'US', ), - service_now_auth_params = visier_platform_sdk.models.designer/service_now_auth_params_dto.designer.ServiceNowAuthParamsDTO( - host_domain_name = '', - username = '', - password = '', ), - jdbc_auth_params = visier_platform_sdk.models.designer/jdbc_auth_params_dto.designer.JdbcAuthParamsDTO( - jdbc_connect_string = '', - username = '', - password = '', ), - s3_auth_params = visier_platform_sdk.models.designer/basic_s3_auth_params_dto.designer.BasicS3AuthParamsDTO( - bucket_name = '', - bucket_region = '', - access_key = '', - secret_key = '', - path = '', ), - internal_s3_auth_params = visier_platform_sdk.models.designer/internal_s3_auth_params_dto.designer.InternalS3AuthParamsDTO( - bucket_name = '', - path = '', ), - copy_s3_auth_params = visier_platform_sdk.models.designer/copy_s3_auth_params_dto.designer.CopyS3AuthParamsDTO( - iam_role = '', ), - redshift_auth_params = visier_platform_sdk.models.designer/redshift_auth_params_dto.designer.RedshiftAuthParamsDTO( - endpoint = '', - port = '', - database = '', - username = '', - password = '', - table_prefix = '', - schema = '', ), - snowflake_auth_params = visier_platform_sdk.models.designer/snowflake_auth_params_dto.designer.SnowflakeAuthParamsDTO( - account_identifier = '', - database = '', - schema = '', - username = '', - password = '', - warehouse = '', - private_key = '', ), - big_query_auth_params = visier_platform_sdk.models.designer/big_query_auth_params_dto.designer.BigQueryAuthParamsDTO( - project_id = '', - dataset_location = '', - refresh_token = '', - client_id = '', - client_secret = '', - default_dataset = '', - service_account_params = visier_platform_sdk.models.designer/big_query_service_account_params_dto.designer.BigQueryServiceAccountParamsDTO( - service_account_email = '', - private_key = '', ), ), - sql_server_auth_params = visier_platform_sdk.models.designer/sql_server_auth_params_dto.designer.SqlServerAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - database = '', ), - dimensions_auth_params = visier_platform_sdk.models.designer/dimensions_auth_params_dto.designer.DimensionsAuthParamsDTO( - app_key = '', - client_id = '', - client_secret = '', - vanity_url = '', - username = '', - password = '', ), - willow_auth_params = visier_platform_sdk.models.designer/willow_auth_params_dto.designer.WillowAuthParamsDTO( - api_token = '', - host_name = '', ), - empty_auth_params = visier_platform_sdk.models.designer/empty_auth_params_dto.designer.EmptyAuthParamsDTO(), - success_factors_auth_params = visier_platform_sdk.models.designer/success_factors_auth_params_dto.designer.SuccessFactorsAuthParamsDTO( - host_domain_name = '', - company_id = '', - username = '', - password = '', - o_auth = visier_platform_sdk.models.designer/success_factors_o_auth_params_dto.designer.SuccessFactorsOAuthParamsDTO( - api_key = '', - private_x509_key = '', - public_x509_cert = '', ), ), - fusion_auth_params = visier_platform_sdk.models.designer/fusion_auth_params_dto.designer.FusionAuthParamsDTO( - username = '', - password = '', - host_domain_name = '', ), - adp_auth_params = visier_platform_sdk.models.designer/adp_auth_params_dto.designer.AdpAuthParamsDTO( - auth_code = '', ), - medallia_auth_params = visier_platform_sdk.models.designer/medallia_auth_params_dto.designer.MedalliaAuthParamsDTO( - tenant_domain_name = '', - instance_url = '', - client_id = '', - client_secret = '', ), - salesforce_v2_auth_params = visier_platform_sdk.models.designer/salesforce_v2_auth_params_dto.designer.SalesforceV2AuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', - login_host = '', ), - gong_auth_params = visier_platform_sdk.models.designer/gong_auth_params_dto.designer.GongAuthParamsDTO( - client_id = '', - client_secret = '', ), - zoom_auth_params = visier_platform_sdk.models.designer/zoom_auth_params_dto.designer.ZoomAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', ), - dayforce_v2_auth_params = visier_platform_sdk.models.designer/dayforce_v2_auth_params_dto.designer.DayforceV2AuthParamsDTO( - username = '', - password = '', - company_id = '', - token_host = '', - host_domain_name = '', ), - slack_auth_params = visier_platform_sdk.models.designer/slack_auth_params_dto.designer.SlackAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', ), - my_sql_auth_params = visier_platform_sdk.models.designer/my_sql_auth_params_dto.designer.MySqlAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - database = '', - ssl_mode = '', ), - workday_raas_auth_params = visier_platform_sdk.models.designer/workday_raas_auth_params_dto.designer.WorkdayRaasAuthParamsDTO( - user_id = '', - domain_name = '', - implementation_name = '', - password = '', - test_report_url = '', ), - ms365_auth_params = visier_platform_sdk.models.designer/microsoft365_auth_params_dto.designer.Microsoft365AuthParamsDTO( - o_auth_tenant_id = '', - client_id = '', - client_secret = '', - privacy_mode = '', ), - google_workspace_auth_params = visier_platform_sdk.models.designer/google_workspace_auth_params_dto.designer.GoogleWorkspaceAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', - service_account = '', - privacy_mode = '', ), - oracle_db_auth_params = visier_platform_sdk.models.designer/oracle_db_auth_params_dto.designer.OracleDbAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - service_name = '', ), - service_now_v2_auth_params = visier_platform_sdk.models.designer/service_now_v2_auth_params_dto.designer.ServiceNowV2AuthParamsDTO( - host_domain_name = '', - client_id = '', - client_secret = '', - auth_code = '', - alternate_domain = '', ), - databricks_auth_params = visier_platform_sdk.models.designer/databricks_auth_params_dto.designer.DatabricksAuthParamsDTO( - share_credentials_version = '', - bearer_token = '', - endpoint = '', - expiration_time = '', ), - has_updates = True, - auth_context = 'DefaultDataExtraction' - ) - else: - return DesignerDataProviderAuthParamsDTO( - ) - """ - - def testDesignerDataProviderAuthParamsDTO(self): - """Test DesignerDataProviderAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_provider_basic_information_dto.py b/src/visier_platform_sdk/test/test_designer_data_provider_basic_information_dto.py deleted file mode 100644 index daa8103c69..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_provider_basic_information_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_provider_basic_information_dto import DesignerDataProviderBasicInformationDTO - -class TestDesignerDataProviderBasicInformationDTO(unittest.TestCase): - """DesignerDataProviderBasicInformationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataProviderBasicInformationDTO: - """Test DesignerDataProviderBasicInformationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataProviderBasicInformationDTO` - """ - model = DesignerDataProviderBasicInformationDTO() - if include_optional: - return DesignerDataProviderBasicInformationDTO( - display_name = '', - description = '' - ) - else: - return DesignerDataProviderBasicInformationDTO( - ) - """ - - def testDesignerDataProviderBasicInformationDTO(self): - """Test DesignerDataProviderBasicInformationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_provider_basic_metadata_dto.py b/src/visier_platform_sdk/test/test_designer_data_provider_basic_metadata_dto.py deleted file mode 100644 index f111fc7d64..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_provider_basic_metadata_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_provider_basic_metadata_dto import DesignerDataProviderBasicMetadataDTO - -class TestDesignerDataProviderBasicMetadataDTO(unittest.TestCase): - """DesignerDataProviderBasicMetadataDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataProviderBasicMetadataDTO: - """Test DesignerDataProviderBasicMetadataDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataProviderBasicMetadataDTO` - """ - model = DesignerDataProviderBasicMetadataDTO() - if include_optional: - return DesignerDataProviderBasicMetadataDTO( - can_children_inherit = True - ) - else: - return DesignerDataProviderBasicMetadataDTO( - ) - """ - - def testDesignerDataProviderBasicMetadataDTO(self): - """Test DesignerDataProviderBasicMetadataDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_column_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_column_dto.py deleted file mode 100644 index b5bcdb83a5..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_column_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_column_dto import DesignerDataVersionExportColumnDTO - -class TestDesignerDataVersionExportColumnDTO(unittest.TestCase): - """DesignerDataVersionExportColumnDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportColumnDTO: - """Test DesignerDataVersionExportColumnDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportColumnDTO` - """ - model = DesignerDataVersionExportColumnDTO() - if include_optional: - return DesignerDataVersionExportColumnDTO( - name = '', - data_type = '', - allows_null = True, - is_primary_key_component = True - ) - else: - return DesignerDataVersionExportColumnDTO( - ) - """ - - def testDesignerDataVersionExportColumnDTO(self): - """Test DesignerDataVersionExportColumnDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_data_version_summary_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_data_version_summary_dto.py deleted file mode 100644 index 410c30c851..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_data_version_summary_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_data_version_summary_dto import DesignerDataVersionExportDataVersionSummaryDTO - -class TestDesignerDataVersionExportDataVersionSummaryDTO(unittest.TestCase): - """DesignerDataVersionExportDataVersionSummaryDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportDataVersionSummaryDTO: - """Test DesignerDataVersionExportDataVersionSummaryDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportDataVersionSummaryDTO` - """ - model = DesignerDataVersionExportDataVersionSummaryDTO() - if include_optional: - return DesignerDataVersionExportDataVersionSummaryDTO( - data_version = '', - data_category = '', - created = '' - ) - else: - return DesignerDataVersionExportDataVersionSummaryDTO( - ) - """ - - def testDesignerDataVersionExportDataVersionSummaryDTO(self): - """Test DesignerDataVersionExportDataVersionSummaryDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_data_versions_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_data_versions_dto.py deleted file mode 100644 index 93d2d9276f..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_data_versions_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_data_versions_dto import DesignerDataVersionExportDataVersionsDTO - -class TestDesignerDataVersionExportDataVersionsDTO(unittest.TestCase): - """DesignerDataVersionExportDataVersionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportDataVersionsDTO: - """Test DesignerDataVersionExportDataVersionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportDataVersionsDTO` - """ - model = DesignerDataVersionExportDataVersionsDTO() - if include_optional: - return DesignerDataVersionExportDataVersionsDTO( - data_versions = [ - visier_platform_sdk.models.designer/data_version_export_data_version_summary_dto.designer.DataVersionExportDataVersionSummaryDTO( - data_version = '', - data_category = '', - created = '', ) - ] - ) - else: - return DesignerDataVersionExportDataVersionsDTO( - ) - """ - - def testDesignerDataVersionExportDataVersionsDTO(self): - """Test DesignerDataVersionExportDataVersionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_dto.py deleted file mode 100644 index 1f0e99cd82..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_dto.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_dto import DesignerDataVersionExportDTO - -class TestDesignerDataVersionExportDTO(unittest.TestCase): - """DesignerDataVersionExportDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportDTO: - """Test DesignerDataVersionExportDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportDTO` - """ - model = DesignerDataVersionExportDTO() - if include_optional: - return DesignerDataVersionExportDTO( - uuid = '', - timestamp = '', - data_version_number = '', - base_data_version_number = '', - tables = [ - visier_platform_sdk.models.designer/data_version_export_table_dto.designer.DataVersionExportTableDTO( - name = '', - common_columns = None, - new_columns = None, - deleted_columns = [ - '' - ], ) - ], - new_tables = [ - '' - ], - deleted_tables = [ - '' - ] - ) - else: - return DesignerDataVersionExportDTO( - ) - """ - - def testDesignerDataVersionExportDTO(self): - """Test DesignerDataVersionExportDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_file_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_file_dto.py deleted file mode 100644 index d65e361257..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_file_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_file_dto import DesignerDataVersionExportFileDTO - -class TestDesignerDataVersionExportFileDTO(unittest.TestCase): - """DesignerDataVersionExportFileDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportFileDTO: - """Test DesignerDataVersionExportFileDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportFileDTO` - """ - model = DesignerDataVersionExportFileDTO() - if include_optional: - return DesignerDataVersionExportFileDTO( - columns = [ - visier_platform_sdk.models.designer/data_version_export_column_dto.designer.DataVersionExportColumnDTO( - name = '', - data_type = '', - allows_null = True, - is_primary_key_component = True, ) - ], - files = [ - visier_platform_sdk.models.designer/data_version_export_part_file_dto.designer.DataVersionExportPartFileDTO( - file_id = 56, - filename = '', ) - ] - ) - else: - return DesignerDataVersionExportFileDTO( - ) - """ - - def testDesignerDataVersionExportFileDTO(self): - """Test DesignerDataVersionExportFileDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_job_status_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_job_status_dto.py deleted file mode 100644 index fef8439361..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_job_status_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_job_status_dto import DesignerDataVersionExportJobStatusDTO - -class TestDesignerDataVersionExportJobStatusDTO(unittest.TestCase): - """DesignerDataVersionExportJobStatusDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportJobStatusDTO: - """Test DesignerDataVersionExportJobStatusDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportJobStatusDTO` - """ - model = DesignerDataVersionExportJobStatusDTO() - if include_optional: - return DesignerDataVersionExportJobStatusDTO( - job_uuid = '', - completed = True, - failed = True, - export_uuid = '' - ) - else: - return DesignerDataVersionExportJobStatusDTO( - ) - """ - - def testDesignerDataVersionExportJobStatusDTO(self): - """Test DesignerDataVersionExportJobStatusDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_part_file_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_part_file_dto.py deleted file mode 100644 index 12be61d299..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_part_file_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_part_file_dto import DesignerDataVersionExportPartFileDTO - -class TestDesignerDataVersionExportPartFileDTO(unittest.TestCase): - """DesignerDataVersionExportPartFileDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportPartFileDTO: - """Test DesignerDataVersionExportPartFileDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportPartFileDTO` - """ - model = DesignerDataVersionExportPartFileDTO() - if include_optional: - return DesignerDataVersionExportPartFileDTO( - file_id = 56, - filename = '' - ) - else: - return DesignerDataVersionExportPartFileDTO( - ) - """ - - def testDesignerDataVersionExportPartFileDTO(self): - """Test DesignerDataVersionExportPartFileDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_schedule_job_request_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_schedule_job_request_dto.py deleted file mode 100644 index 176bf250d5..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_schedule_job_request_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_schedule_job_request_dto import DesignerDataVersionExportScheduleJobRequestDTO - -class TestDesignerDataVersionExportScheduleJobRequestDTO(unittest.TestCase): - """DesignerDataVersionExportScheduleJobRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportScheduleJobRequestDTO: - """Test DesignerDataVersionExportScheduleJobRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportScheduleJobRequestDTO` - """ - model = DesignerDataVersionExportScheduleJobRequestDTO() - if include_optional: - return DesignerDataVersionExportScheduleJobRequestDTO( - data_version_number = '', - base_data_version_number = '' - ) - else: - return DesignerDataVersionExportScheduleJobRequestDTO( - ) - """ - - def testDesignerDataVersionExportScheduleJobRequestDTO(self): - """Test DesignerDataVersionExportScheduleJobRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_schedule_job_response_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_schedule_job_response_dto.py deleted file mode 100644 index fbd369b121..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_schedule_job_response_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_schedule_job_response_dto import DesignerDataVersionExportScheduleJobResponseDTO - -class TestDesignerDataVersionExportScheduleJobResponseDTO(unittest.TestCase): - """DesignerDataVersionExportScheduleJobResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportScheduleJobResponseDTO: - """Test DesignerDataVersionExportScheduleJobResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportScheduleJobResponseDTO` - """ - model = DesignerDataVersionExportScheduleJobResponseDTO() - if include_optional: - return DesignerDataVersionExportScheduleJobResponseDTO( - job_uuid = '' - ) - else: - return DesignerDataVersionExportScheduleJobResponseDTO( - ) - """ - - def testDesignerDataVersionExportScheduleJobResponseDTO(self): - """Test DesignerDataVersionExportScheduleJobResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_export_table_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_export_table_dto.py deleted file mode 100644 index 6628306e6a..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_export_table_dto.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_export_table_dto import DesignerDataVersionExportTableDTO - -class TestDesignerDataVersionExportTableDTO(unittest.TestCase): - """DesignerDataVersionExportTableDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportTableDTO: - """Test DesignerDataVersionExportTableDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportTableDTO` - """ - model = DesignerDataVersionExportTableDTO() - if include_optional: - return DesignerDataVersionExportTableDTO( - name = '', - common_columns = visier_platform_sdk.models.designer/data_version_export_file_dto.designer.DataVersionExportFileDTO( - columns = [ - visier_platform_sdk.models.designer/data_version_export_column_dto.designer.DataVersionExportColumnDTO( - name = '', - data_type = '', - allows_null = True, - is_primary_key_component = True, ) - ], - files = [ - visier_platform_sdk.models.designer/data_version_export_part_file_dto.designer.DataVersionExportPartFileDTO( - file_id = 56, - filename = '', ) - ], ), - new_columns = visier_platform_sdk.models.designer/data_version_export_file_dto.designer.DataVersionExportFileDTO( - columns = [ - visier_platform_sdk.models.designer/data_version_export_column_dto.designer.DataVersionExportColumnDTO( - name = '', - data_type = '', - allows_null = True, - is_primary_key_component = True, ) - ], - files = [ - visier_platform_sdk.models.designer/data_version_export_part_file_dto.designer.DataVersionExportPartFileDTO( - file_id = 56, - filename = '', ) - ], ), - deleted_columns = [ - '' - ] - ) - else: - return DesignerDataVersionExportTableDTO( - ) - """ - - def testDesignerDataVersionExportTableDTO(self): - """Test DesignerDataVersionExportTableDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_data_version_exports_dto.py b/src/visier_platform_sdk/test/test_designer_data_version_exports_dto.py deleted file mode 100644 index eab2947a82..0000000000 --- a/src/visier_platform_sdk/test/test_designer_data_version_exports_dto.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_data_version_exports_dto import DesignerDataVersionExportsDTO - -class TestDesignerDataVersionExportsDTO(unittest.TestCase): - """DesignerDataVersionExportsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDataVersionExportsDTO: - """Test DesignerDataVersionExportsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDataVersionExportsDTO` - """ - model = DesignerDataVersionExportsDTO() - if include_optional: - return DesignerDataVersionExportsDTO( - data_version_exports = [ - visier_platform_sdk.models.designer/data_version_export_dto.designer.DataVersionExportDTO( - uuid = '', - timestamp = '', - data_version_number = '', - base_data_version_number = '', - tables = [ - visier_platform_sdk.models.designer/data_version_export_table_dto.designer.DataVersionExportTableDTO( - name = '', - common_columns = None, - new_columns = None, - deleted_columns = [ - '' - ], ) - ], - new_tables = [ - '' - ], - deleted_tables = [ - '' - ], ) - ] - ) - else: - return DesignerDataVersionExportsDTO( - ) - """ - - def testDesignerDataVersionExportsDTO(self): - """Test DesignerDataVersionExportsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_databricks_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_databricks_auth_params_dto.py deleted file mode 100644 index 28a4632cb2..0000000000 --- a/src/visier_platform_sdk/test/test_designer_databricks_auth_params_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_databricks_auth_params_dto import DesignerDatabricksAuthParamsDTO - -class TestDesignerDatabricksAuthParamsDTO(unittest.TestCase): - """DesignerDatabricksAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDatabricksAuthParamsDTO: - """Test DesignerDatabricksAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDatabricksAuthParamsDTO` - """ - model = DesignerDatabricksAuthParamsDTO() - if include_optional: - return DesignerDatabricksAuthParamsDTO( - share_credentials_version = '', - bearer_token = '', - endpoint = '', - expiration_time = '' - ) - else: - return DesignerDatabricksAuthParamsDTO( - ) - """ - - def testDesignerDatabricksAuthParamsDTO(self): - """Test DesignerDatabricksAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_dayforce_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_dayforce_v2_auth_params_dto.py deleted file mode 100644 index 2d10f4be82..0000000000 --- a/src/visier_platform_sdk/test/test_designer_dayforce_v2_auth_params_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_dayforce_v2_auth_params_dto import DesignerDayforceV2AuthParamsDTO - -class TestDesignerDayforceV2AuthParamsDTO(unittest.TestCase): - """DesignerDayforceV2AuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDayforceV2AuthParamsDTO: - """Test DesignerDayforceV2AuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDayforceV2AuthParamsDTO` - """ - model = DesignerDayforceV2AuthParamsDTO() - if include_optional: - return DesignerDayforceV2AuthParamsDTO( - username = '', - password = '', - company_id = '', - token_host = '', - host_domain_name = '' - ) - else: - return DesignerDayforceV2AuthParamsDTO( - ) - """ - - def testDesignerDayforceV2AuthParamsDTO(self): - """Test DesignerDayforceV2AuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_designer_dimension_filter_dto.py new file mode 100644 index 0000000000..4de1437b4f --- /dev/null +++ b/src/visier_platform_sdk/test/test_designer_dimension_filter_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.designer_dimension_filter_dto import DesignerDimensionFilterDTO + +class TestDesignerDimensionFilterDTO(unittest.TestCase): + """DesignerDimensionFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DesignerDimensionFilterDTO: + """Test DesignerDimensionFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ] + ) + else: + return DesignerDimensionFilterDTO( + ) + + def testDesignerDimensionFilterDTO(self): + """Test DesignerDimensionFilterDTO""" + def validate_instance(instance): + DesignerDimensionFilterDTO.model_validate(inst_req_only) + instance_deserialized = DesignerDimensionFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_dimensions_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_dimensions_auth_params_dto.py deleted file mode 100644 index 7b09140035..0000000000 --- a/src/visier_platform_sdk/test/test_designer_dimensions_auth_params_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_dimensions_auth_params_dto import DesignerDimensionsAuthParamsDTO - -class TestDesignerDimensionsAuthParamsDTO(unittest.TestCase): - """DesignerDimensionsAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDimensionsAuthParamsDTO: - """Test DesignerDimensionsAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDimensionsAuthParamsDTO` - """ - model = DesignerDimensionsAuthParamsDTO() - if include_optional: - return DesignerDimensionsAuthParamsDTO( - app_key = '', - client_id = '', - client_secret = '', - vanity_url = '', - username = '', - password = '' - ) - else: - return DesignerDimensionsAuthParamsDTO( - ) - """ - - def testDesignerDimensionsAuthParamsDTO(self): - """Test DesignerDimensionsAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_download_source_files_dto.py b/src/visier_platform_sdk/test/test_designer_download_source_files_dto.py deleted file mode 100644 index e0fa054535..0000000000 --- a/src/visier_platform_sdk/test/test_designer_download_source_files_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_download_source_files_dto import DesignerDownloadSourceFilesDTO - -class TestDesignerDownloadSourceFilesDTO(unittest.TestCase): - """DesignerDownloadSourceFilesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDownloadSourceFilesDTO: - """Test DesignerDownloadSourceFilesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDownloadSourceFilesDTO` - """ - model = DesignerDownloadSourceFilesDTO() - if include_optional: - return DesignerDownloadSourceFilesDTO( - download_all = True, - sources = [ - '' - ], - source_ids = [ - '' - ], - min_timestamp = '', - max_timestamp = '', - min_snapshot_timestamp = '', - max_snapshot_timestamp = '', - include_non_active_files = True - ) - else: - return DesignerDownloadSourceFilesDTO( - ) - """ - - def testDesignerDownloadSourceFilesDTO(self): - """Test DesignerDownloadSourceFilesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_download_source_files_response_dto.py b/src/visier_platform_sdk/test/test_designer_download_source_files_response_dto.py deleted file mode 100644 index 6eadf515eb..0000000000 --- a/src/visier_platform_sdk/test/test_designer_download_source_files_response_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_download_source_files_response_dto import DesignerDownloadSourceFilesResponseDTO - -class TestDesignerDownloadSourceFilesResponseDTO(unittest.TestCase): - """DesignerDownloadSourceFilesResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerDownloadSourceFilesResponseDTO: - """Test DesignerDownloadSourceFilesResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerDownloadSourceFilesResponseDTO` - """ - model = DesignerDownloadSourceFilesResponseDTO() - if include_optional: - return DesignerDownloadSourceFilesResponseDTO( - status = '', - messages = '' - ) - else: - return DesignerDownloadSourceFilesResponseDTO( - ) - """ - - def testDesignerDownloadSourceFilesResponseDTO(self): - """Test DesignerDownloadSourceFilesResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_extractor_credential_apidto.py b/src/visier_platform_sdk/test/test_designer_extractor_credential_apidto.py deleted file mode 100644 index d6529b0f50..0000000000 --- a/src/visier_platform_sdk/test/test_designer_extractor_credential_apidto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_extractor_credential_apidto import DesignerExtractorCredentialAPIDTO - -class TestDesignerExtractorCredentialAPIDTO(unittest.TestCase): - """DesignerExtractorCredentialAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerExtractorCredentialAPIDTO: - """Test DesignerExtractorCredentialAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerExtractorCredentialAPIDTO` - """ - model = DesignerExtractorCredentialAPIDTO() - if include_optional: - return DesignerExtractorCredentialAPIDTO( - credential_id = '', - display_name = '', - data_provider = '', - is_inherited = True, - auth_context = '' - ) - else: - return DesignerExtractorCredentialAPIDTO( - ) - """ - - def testDesignerExtractorCredentialAPIDTO(self): - """Test DesignerExtractorCredentialAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_extractor_credentials_apidto.py b/src/visier_platform_sdk/test/test_designer_extractor_credentials_apidto.py deleted file mode 100644 index 9f8f3d10c7..0000000000 --- a/src/visier_platform_sdk/test/test_designer_extractor_credentials_apidto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_extractor_credentials_apidto import DesignerExtractorCredentialsAPIDTO - -class TestDesignerExtractorCredentialsAPIDTO(unittest.TestCase): - """DesignerExtractorCredentialsAPIDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerExtractorCredentialsAPIDTO: - """Test DesignerExtractorCredentialsAPIDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerExtractorCredentialsAPIDTO` - """ - model = DesignerExtractorCredentialsAPIDTO() - if include_optional: - return DesignerExtractorCredentialsAPIDTO( - connector_credentials = [ - visier_platform_sdk.models.designer/extractor_credential_apidto.designer.ExtractorCredentialAPIDTO( - credential_id = '', - display_name = '', - data_provider = '', - is_inherited = True, - auth_context = '', ) - ], - limit = 56, - start = 56 - ) - else: - return DesignerExtractorCredentialsAPIDTO( - ) - """ - - def testDesignerExtractorCredentialsAPIDTO(self): - """Test DesignerExtractorCredentialsAPIDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_fusion_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_fusion_auth_params_dto.py deleted file mode 100644 index fa2de783eb..0000000000 --- a/src/visier_platform_sdk/test/test_designer_fusion_auth_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_fusion_auth_params_dto import DesignerFusionAuthParamsDTO - -class TestDesignerFusionAuthParamsDTO(unittest.TestCase): - """DesignerFusionAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerFusionAuthParamsDTO: - """Test DesignerFusionAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerFusionAuthParamsDTO` - """ - model = DesignerFusionAuthParamsDTO() - if include_optional: - return DesignerFusionAuthParamsDTO( - username = '', - password = '', - host_domain_name = '' - ) - else: - return DesignerFusionAuthParamsDTO( - ) - """ - - def testDesignerFusionAuthParamsDTO(self): - """Test DesignerFusionAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_gong_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_gong_auth_params_dto.py deleted file mode 100644 index f48cde6599..0000000000 --- a/src/visier_platform_sdk/test/test_designer_gong_auth_params_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_gong_auth_params_dto import DesignerGongAuthParamsDTO - -class TestDesignerGongAuthParamsDTO(unittest.TestCase): - """DesignerGongAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerGongAuthParamsDTO: - """Test DesignerGongAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerGongAuthParamsDTO` - """ - model = DesignerGongAuthParamsDTO() - if include_optional: - return DesignerGongAuthParamsDTO( - client_id = '', - client_secret = '' - ) - else: - return DesignerGongAuthParamsDTO( - ) - """ - - def testDesignerGongAuthParamsDTO(self): - """Test DesignerGongAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_google_sheets_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_google_sheets_auth_params_dto.py deleted file mode 100644 index b81a03446d..0000000000 --- a/src/visier_platform_sdk/test/test_designer_google_sheets_auth_params_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_google_sheets_auth_params_dto import DesignerGoogleSheetsAuthParamsDTO - -class TestDesignerGoogleSheetsAuthParamsDTO(unittest.TestCase): - """DesignerGoogleSheetsAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerGoogleSheetsAuthParamsDTO: - """Test DesignerGoogleSheetsAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerGoogleSheetsAuthParamsDTO` - """ - model = DesignerGoogleSheetsAuthParamsDTO() - if include_optional: - return DesignerGoogleSheetsAuthParamsDTO( - auth_code = '', - configuration = '', - client_id = '', - client_secret = '' - ) - else: - return DesignerGoogleSheetsAuthParamsDTO( - ) - """ - - def testDesignerGoogleSheetsAuthParamsDTO(self): - """Test DesignerGoogleSheetsAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_google_workspace_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_google_workspace_auth_params_dto.py deleted file mode 100644 index 81378f172f..0000000000 --- a/src/visier_platform_sdk/test/test_designer_google_workspace_auth_params_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_google_workspace_auth_params_dto import DesignerGoogleWorkspaceAuthParamsDTO - -class TestDesignerGoogleWorkspaceAuthParamsDTO(unittest.TestCase): - """DesignerGoogleWorkspaceAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerGoogleWorkspaceAuthParamsDTO: - """Test DesignerGoogleWorkspaceAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerGoogleWorkspaceAuthParamsDTO` - """ - model = DesignerGoogleWorkspaceAuthParamsDTO() - if include_optional: - return DesignerGoogleWorkspaceAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', - service_account = '', - privacy_mode = '' - ) - else: - return DesignerGoogleWorkspaceAuthParamsDTO( - ) - """ - - def testDesignerGoogleWorkspaceAuthParamsDTO(self): - """Test DesignerGoogleWorkspaceAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_greenhouse_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_greenhouse_auth_params_dto.py deleted file mode 100644 index 1826c53ce6..0000000000 --- a/src/visier_platform_sdk/test/test_designer_greenhouse_auth_params_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_greenhouse_auth_params_dto import DesignerGreenhouseAuthParamsDTO - -class TestDesignerGreenhouseAuthParamsDTO(unittest.TestCase): - """DesignerGreenhouseAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerGreenhouseAuthParamsDTO: - """Test DesignerGreenhouseAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerGreenhouseAuthParamsDTO` - """ - model = DesignerGreenhouseAuthParamsDTO() - if include_optional: - return DesignerGreenhouseAuthParamsDTO( - api_key = '' - ) - else: - return DesignerGreenhouseAuthParamsDTO( - ) - """ - - def testDesignerGreenhouseAuthParamsDTO(self): - """Test DesignerGreenhouseAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_icims_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_icims_auth_params_dto.py deleted file mode 100644 index 9ec62e975e..0000000000 --- a/src/visier_platform_sdk/test/test_designer_icims_auth_params_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_icims_auth_params_dto import DesignerIcimsAuthParamsDTO - -class TestDesignerIcimsAuthParamsDTO(unittest.TestCase): - """DesignerIcimsAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerIcimsAuthParamsDTO: - """Test DesignerIcimsAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerIcimsAuthParamsDTO` - """ - model = DesignerIcimsAuthParamsDTO() - if include_optional: - return DesignerIcimsAuthParamsDTO( - customer_id = '', - username = '', - password = '', - client_id = '', - client_secret = '', - region = 'US' - ) - else: - return DesignerIcimsAuthParamsDTO( - ) - """ - - def testDesignerIcimsAuthParamsDTO(self): - """Test DesignerIcimsAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_internal_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_internal_s3_auth_params_dto.py deleted file mode 100644 index 0741397539..0000000000 --- a/src/visier_platform_sdk/test/test_designer_internal_s3_auth_params_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_internal_s3_auth_params_dto import DesignerInternalS3AuthParamsDTO - -class TestDesignerInternalS3AuthParamsDTO(unittest.TestCase): - """DesignerInternalS3AuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerInternalS3AuthParamsDTO: - """Test DesignerInternalS3AuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerInternalS3AuthParamsDTO` - """ - model = DesignerInternalS3AuthParamsDTO() - if include_optional: - return DesignerInternalS3AuthParamsDTO( - bucket_name = '', - path = '' - ) - else: - return DesignerInternalS3AuthParamsDTO( - ) - """ - - def testDesignerInternalS3AuthParamsDTO(self): - """Test DesignerInternalS3AuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_jdbc_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_jdbc_auth_params_dto.py deleted file mode 100644 index 020ad8d348..0000000000 --- a/src/visier_platform_sdk/test/test_designer_jdbc_auth_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_jdbc_auth_params_dto import DesignerJdbcAuthParamsDTO - -class TestDesignerJdbcAuthParamsDTO(unittest.TestCase): - """DesignerJdbcAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerJdbcAuthParamsDTO: - """Test DesignerJdbcAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerJdbcAuthParamsDTO` - """ - model = DesignerJdbcAuthParamsDTO() - if include_optional: - return DesignerJdbcAuthParamsDTO( - jdbc_connect_string = '', - username = '', - password = '' - ) - else: - return DesignerJdbcAuthParamsDTO( - ) - """ - - def testDesignerJdbcAuthParamsDTO(self): - """Test DesignerJdbcAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_jira_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_jira_auth_params_dto.py deleted file mode 100644 index 8c778700fa..0000000000 --- a/src/visier_platform_sdk/test/test_designer_jira_auth_params_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_jira_auth_params_dto import DesignerJiraAuthParamsDTO - -class TestDesignerJiraAuthParamsDTO(unittest.TestCase): - """DesignerJiraAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerJiraAuthParamsDTO: - """Test DesignerJiraAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerJiraAuthParamsDTO` - """ - model = DesignerJiraAuthParamsDTO() - if include_optional: - return DesignerJiraAuthParamsDTO( - api_token = '', - host_name = '', - connect_params = visier_platform_sdk.models.designer/jira_connect_params_dto.designer.JiraConnectParamsDTO( - app_key = '', - client_key = '', - shared_secret = '', ) - ) - else: - return DesignerJiraAuthParamsDTO( - ) - """ - - def testDesignerJiraAuthParamsDTO(self): - """Test DesignerJiraAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_jira_connect_params_dto.py b/src/visier_platform_sdk/test/test_designer_jira_connect_params_dto.py deleted file mode 100644 index 59eeeb1110..0000000000 --- a/src/visier_platform_sdk/test/test_designer_jira_connect_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_jira_connect_params_dto import DesignerJiraConnectParamsDTO - -class TestDesignerJiraConnectParamsDTO(unittest.TestCase): - """DesignerJiraConnectParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerJiraConnectParamsDTO: - """Test DesignerJiraConnectParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerJiraConnectParamsDTO` - """ - model = DesignerJiraConnectParamsDTO() - if include_optional: - return DesignerJiraConnectParamsDTO( - app_key = '', - client_key = '', - shared_secret = '' - ) - else: - return DesignerJiraConnectParamsDTO( - ) - """ - - def testDesignerJiraConnectParamsDTO(self): - """Test DesignerJiraConnectParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_lever_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_lever_auth_params_dto.py deleted file mode 100644 index f4082f01e5..0000000000 --- a/src/visier_platform_sdk/test/test_designer_lever_auth_params_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_lever_auth_params_dto import DesignerLeverAuthParamsDTO - -class TestDesignerLeverAuthParamsDTO(unittest.TestCase): - """DesignerLeverAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerLeverAuthParamsDTO: - """Test DesignerLeverAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerLeverAuthParamsDTO` - """ - model = DesignerLeverAuthParamsDTO() - if include_optional: - return DesignerLeverAuthParamsDTO( - api_key = '' - ) - else: - return DesignerLeverAuthParamsDTO( - ) - """ - - def testDesignerLeverAuthParamsDTO(self): - """Test DesignerLeverAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_medallia_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_medallia_auth_params_dto.py deleted file mode 100644 index 4f3f51b208..0000000000 --- a/src/visier_platform_sdk/test/test_designer_medallia_auth_params_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_medallia_auth_params_dto import DesignerMedalliaAuthParamsDTO - -class TestDesignerMedalliaAuthParamsDTO(unittest.TestCase): - """DesignerMedalliaAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerMedalliaAuthParamsDTO: - """Test DesignerMedalliaAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerMedalliaAuthParamsDTO` - """ - model = DesignerMedalliaAuthParamsDTO() - if include_optional: - return DesignerMedalliaAuthParamsDTO( - tenant_domain_name = '', - instance_url = '', - client_id = '', - client_secret = '' - ) - else: - return DesignerMedalliaAuthParamsDTO( - ) - """ - - def testDesignerMedalliaAuthParamsDTO(self): - """Test DesignerMedalliaAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_microsoft365_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_microsoft365_auth_params_dto.py deleted file mode 100644 index aae77eb1f8..0000000000 --- a/src/visier_platform_sdk/test/test_designer_microsoft365_auth_params_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_microsoft365_auth_params_dto import DesignerMicrosoft365AuthParamsDTO - -class TestDesignerMicrosoft365AuthParamsDTO(unittest.TestCase): - """DesignerMicrosoft365AuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerMicrosoft365AuthParamsDTO: - """Test DesignerMicrosoft365AuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerMicrosoft365AuthParamsDTO` - """ - model = DesignerMicrosoft365AuthParamsDTO() - if include_optional: - return DesignerMicrosoft365AuthParamsDTO( - o_auth_tenant_id = '', - client_id = '', - client_secret = '', - privacy_mode = '' - ) - else: - return DesignerMicrosoft365AuthParamsDTO( - ) - """ - - def testDesignerMicrosoft365AuthParamsDTO(self): - """Test DesignerMicrosoft365AuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_module_settings_dto.py b/src/visier_platform_sdk/test/test_designer_module_settings_dto.py deleted file mode 100644 index bb5f47aa15..0000000000 --- a/src/visier_platform_sdk/test/test_designer_module_settings_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_module_settings_dto import DesignerModuleSettingsDTO - -class TestDesignerModuleSettingsDTO(unittest.TestCase): - """DesignerModuleSettingsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerModuleSettingsDTO: - """Test DesignerModuleSettingsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerModuleSettingsDTO` - """ - model = DesignerModuleSettingsDTO() - if include_optional: - return DesignerModuleSettingsDTO( - unavailable_for_assignment = True, - special_handling_instruction = '', - locale = '' - ) - else: - return DesignerModuleSettingsDTO( - ) - """ - - def testDesignerModuleSettingsDTO(self): - """Test DesignerModuleSettingsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_my_sql_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_my_sql_auth_params_dto.py deleted file mode 100644 index 0be39361cf..0000000000 --- a/src/visier_platform_sdk/test/test_designer_my_sql_auth_params_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_my_sql_auth_params_dto import DesignerMySqlAuthParamsDTO - -class TestDesignerMySqlAuthParamsDTO(unittest.TestCase): - """DesignerMySqlAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerMySqlAuthParamsDTO: - """Test DesignerMySqlAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerMySqlAuthParamsDTO` - """ - model = DesignerMySqlAuthParamsDTO() - if include_optional: - return DesignerMySqlAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - database = '', - ssl_mode = '' - ) - else: - return DesignerMySqlAuthParamsDTO( - ) - """ - - def testDesignerMySqlAuthParamsDTO(self): - """Test DesignerMySqlAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_namely_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_namely_auth_params_dto.py deleted file mode 100644 index af21a9a8ba..0000000000 --- a/src/visier_platform_sdk/test/test_designer_namely_auth_params_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_namely_auth_params_dto import DesignerNamelyAuthParamsDTO - -class TestDesignerNamelyAuthParamsDTO(unittest.TestCase): - """DesignerNamelyAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerNamelyAuthParamsDTO: - """Test DesignerNamelyAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerNamelyAuthParamsDTO` - """ - model = DesignerNamelyAuthParamsDTO() - if include_optional: - return DesignerNamelyAuthParamsDTO( - auth_code = '' - ) - else: - return DesignerNamelyAuthParamsDTO( - ) - """ - - def testDesignerNamelyAuthParamsDTO(self): - """Test DesignerNamelyAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_oracle_db_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_oracle_db_auth_params_dto.py deleted file mode 100644 index 6fc1c07615..0000000000 --- a/src/visier_platform_sdk/test/test_designer_oracle_db_auth_params_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_oracle_db_auth_params_dto import DesignerOracleDbAuthParamsDTO - -class TestDesignerOracleDbAuthParamsDTO(unittest.TestCase): - """DesignerOracleDbAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerOracleDbAuthParamsDTO: - """Test DesignerOracleDbAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerOracleDbAuthParamsDTO` - """ - model = DesignerOracleDbAuthParamsDTO() - if include_optional: - return DesignerOracleDbAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - service_name = '' - ) - else: - return DesignerOracleDbAuthParamsDTO( - ) - """ - - def testDesignerOracleDbAuthParamsDTO(self): - """Test DesignerOracleDbAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_pair_dto.py b/src/visier_platform_sdk/test/test_designer_pair_dto.py deleted file mode 100644 index e402f153f3..0000000000 --- a/src/visier_platform_sdk/test/test_designer_pair_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_pair_dto import DesignerPairDTO - -class TestDesignerPairDTO(unittest.TestCase): - """DesignerPairDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerPairDTO: - """Test DesignerPairDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerPairDTO` - """ - model = DesignerPairDTO() - if include_optional: - return DesignerPairDTO( - key = '', - value = '' - ) - else: - return DesignerPairDTO( - ) - """ - - def testDesignerPairDTO(self): - """Test DesignerPairDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_push_data_column_definition_dto.py b/src/visier_platform_sdk/test/test_designer_push_data_column_definition_dto.py deleted file mode 100644 index 2b3801a705..0000000000 --- a/src/visier_platform_sdk/test/test_designer_push_data_column_definition_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_push_data_column_definition_dto import DesignerPushDataColumnDefinitionDTO - -class TestDesignerPushDataColumnDefinitionDTO(unittest.TestCase): - """DesignerPushDataColumnDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerPushDataColumnDefinitionDTO: - """Test DesignerPushDataColumnDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerPushDataColumnDefinitionDTO` - """ - model = DesignerPushDataColumnDefinitionDTO() - if include_optional: - return DesignerPushDataColumnDefinitionDTO( - column_name = '', - data_type = '', - data_formats = [ - '' - ], - is_mandatory = True, - allow_empty = True, - default_value = '' - ) - else: - return DesignerPushDataColumnDefinitionDTO( - ) - """ - - def testDesignerPushDataColumnDefinitionDTO(self): - """Test DesignerPushDataColumnDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_push_data_source_definition_dto.py b/src/visier_platform_sdk/test/test_designer_push_data_source_definition_dto.py deleted file mode 100644 index 43cbd2b88a..0000000000 --- a/src/visier_platform_sdk/test/test_designer_push_data_source_definition_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_push_data_source_definition_dto import DesignerPushDataSourceDefinitionDTO - -class TestDesignerPushDataSourceDefinitionDTO(unittest.TestCase): - """DesignerPushDataSourceDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerPushDataSourceDefinitionDTO: - """Test DesignerPushDataSourceDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerPushDataSourceDefinitionDTO` - """ - model = DesignerPushDataSourceDefinitionDTO() - if include_optional: - return DesignerPushDataSourceDefinitionDTO( - source_id = '', - name = '', - columns = [ - visier_platform_sdk.models.designer/push_data_column_definition_dto.designer.PushDataColumnDefinitionDTO( - column_name = '', - data_type = '', - data_formats = [ - '' - ], - is_mandatory = True, - allow_empty = True, - default_value = '', ) - ], - is_inherited = True - ) - else: - return DesignerPushDataSourceDefinitionDTO( - ) - """ - - def testDesignerPushDataSourceDefinitionDTO(self): - """Test DesignerPushDataSourceDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_push_data_source_definitions_dto.py b/src/visier_platform_sdk/test/test_designer_push_data_source_definitions_dto.py deleted file mode 100644 index 498f5d4261..0000000000 --- a/src/visier_platform_sdk/test/test_designer_push_data_source_definitions_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_push_data_source_definitions_dto import DesignerPushDataSourceDefinitionsDTO - -class TestDesignerPushDataSourceDefinitionsDTO(unittest.TestCase): - """DesignerPushDataSourceDefinitionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerPushDataSourceDefinitionsDTO: - """Test DesignerPushDataSourceDefinitionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerPushDataSourceDefinitionsDTO` - """ - model = DesignerPushDataSourceDefinitionsDTO() - if include_optional: - return DesignerPushDataSourceDefinitionsDTO( - sources = [ - visier_platform_sdk.models.designer/push_data_source_definition_dto.designer.PushDataSourceDefinitionDTO( - source_id = '', - name = '', - columns = [ - visier_platform_sdk.models.designer/push_data_column_definition_dto.designer.PushDataColumnDefinitionDTO( - column_name = '', - data_type = '', - data_formats = [ - '' - ], - is_mandatory = True, - allow_empty = True, - default_value = '', ) - ], - is_inherited = True, ) - ] - ) - else: - return DesignerPushDataSourceDefinitionsDTO( - ) - """ - - def testDesignerPushDataSourceDefinitionsDTO(self): - """Test DesignerPushDataSourceDefinitionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_qualtrics_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_qualtrics_auth_params_dto.py deleted file mode 100644 index 3ee149a8b9..0000000000 --- a/src/visier_platform_sdk/test/test_designer_qualtrics_auth_params_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_qualtrics_auth_params_dto import DesignerQualtricsAuthParamsDTO - -class TestDesignerQualtricsAuthParamsDTO(unittest.TestCase): - """DesignerQualtricsAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerQualtricsAuthParamsDTO: - """Test DesignerQualtricsAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerQualtricsAuthParamsDTO` - """ - model = DesignerQualtricsAuthParamsDTO() - if include_optional: - return DesignerQualtricsAuthParamsDTO( - api_token = '', - data_center_id = '' - ) - else: - return DesignerQualtricsAuthParamsDTO( - ) - """ - - def testDesignerQualtricsAuthParamsDTO(self): - """Test DesignerQualtricsAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_redshift_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_redshift_auth_params_dto.py deleted file mode 100644 index 1a8ffa208c..0000000000 --- a/src/visier_platform_sdk/test/test_designer_redshift_auth_params_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_redshift_auth_params_dto import DesignerRedshiftAuthParamsDTO - -class TestDesignerRedshiftAuthParamsDTO(unittest.TestCase): - """DesignerRedshiftAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerRedshiftAuthParamsDTO: - """Test DesignerRedshiftAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerRedshiftAuthParamsDTO` - """ - model = DesignerRedshiftAuthParamsDTO() - if include_optional: - return DesignerRedshiftAuthParamsDTO( - endpoint = '', - port = '', - database = '', - username = '', - password = '', - table_prefix = '', - var_schema = '' - ) - else: - return DesignerRedshiftAuthParamsDTO( - ) - """ - - def testDesignerRedshiftAuthParamsDTO(self): - """Test DesignerRedshiftAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_salesforce_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_salesforce_auth_params_dto.py deleted file mode 100644 index 75f20c57a7..0000000000 --- a/src/visier_platform_sdk/test/test_designer_salesforce_auth_params_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_salesforce_auth_params_dto import DesignerSalesforceAuthParamsDTO - -class TestDesignerSalesforceAuthParamsDTO(unittest.TestCase): - """DesignerSalesforceAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerSalesforceAuthParamsDTO: - """Test DesignerSalesforceAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerSalesforceAuthParamsDTO` - """ - model = DesignerSalesforceAuthParamsDTO() - if include_optional: - return DesignerSalesforceAuthParamsDTO( - refresh_token = '', - client_id = '' - ) - else: - return DesignerSalesforceAuthParamsDTO( - ) - """ - - def testDesignerSalesforceAuthParamsDTO(self): - """Test DesignerSalesforceAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_salesforce_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_salesforce_v2_auth_params_dto.py deleted file mode 100644 index 6489e832c9..0000000000 --- a/src/visier_platform_sdk/test/test_designer_salesforce_v2_auth_params_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_salesforce_v2_auth_params_dto import DesignerSalesforceV2AuthParamsDTO - -class TestDesignerSalesforceV2AuthParamsDTO(unittest.TestCase): - """DesignerSalesforceV2AuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerSalesforceV2AuthParamsDTO: - """Test DesignerSalesforceV2AuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerSalesforceV2AuthParamsDTO` - """ - model = DesignerSalesforceV2AuthParamsDTO() - if include_optional: - return DesignerSalesforceV2AuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '', - login_host = '' - ) - else: - return DesignerSalesforceV2AuthParamsDTO( - ) - """ - - def testDesignerSalesforceV2AuthParamsDTO(self): - """Test DesignerSalesforceV2AuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_selection_concept_dto.py b/src/visier_platform_sdk/test/test_designer_selection_concept_dto.py new file mode 100644 index 0000000000..f100cb2c67 --- /dev/null +++ b/src/visier_platform_sdk/test/test_designer_selection_concept_dto.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.designer_selection_concept_dto import DesignerSelectionConceptDTO + +class TestDesignerSelectionConceptDTO(unittest.TestCase): + """DesignerSelectionConceptDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DesignerSelectionConceptDTO: + """Test DesignerSelectionConceptDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DesignerSelectionConceptDTO( + uuid = '', + name = '', + configuration = visier_platform_sdk.models.selection_concept_configuration_dto.SelectionConceptConfigurationDTO( + analytic_object_filters = [ + visier_platform_sdk.models.analytic_object_filter_dto.AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ], ) + ], ) + ) + else: + return DesignerSelectionConceptDTO( + ) + + def testDesignerSelectionConceptDTO(self): + """Test DesignerSelectionConceptDTO""" + def validate_instance(instance): + DesignerSelectionConceptDTO.model_validate(inst_req_only) + instance_deserialized = DesignerSelectionConceptDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_service_now_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_service_now_auth_params_dto.py deleted file mode 100644 index 60fd5dd3e6..0000000000 --- a/src/visier_platform_sdk/test/test_designer_service_now_auth_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_service_now_auth_params_dto import DesignerServiceNowAuthParamsDTO - -class TestDesignerServiceNowAuthParamsDTO(unittest.TestCase): - """DesignerServiceNowAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerServiceNowAuthParamsDTO: - """Test DesignerServiceNowAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerServiceNowAuthParamsDTO` - """ - model = DesignerServiceNowAuthParamsDTO() - if include_optional: - return DesignerServiceNowAuthParamsDTO( - host_domain_name = '', - username = '', - password = '' - ) - else: - return DesignerServiceNowAuthParamsDTO( - ) - """ - - def testDesignerServiceNowAuthParamsDTO(self): - """Test DesignerServiceNowAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_service_now_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_service_now_v2_auth_params_dto.py deleted file mode 100644 index cfe8833bf3..0000000000 --- a/src/visier_platform_sdk/test/test_designer_service_now_v2_auth_params_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_service_now_v2_auth_params_dto import DesignerServiceNowV2AuthParamsDTO - -class TestDesignerServiceNowV2AuthParamsDTO(unittest.TestCase): - """DesignerServiceNowV2AuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerServiceNowV2AuthParamsDTO: - """Test DesignerServiceNowV2AuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerServiceNowV2AuthParamsDTO` - """ - model = DesignerServiceNowV2AuthParamsDTO() - if include_optional: - return DesignerServiceNowV2AuthParamsDTO( - host_domain_name = '', - client_id = '', - client_secret = '', - auth_code = '', - alternate_domain = '' - ) - else: - return DesignerServiceNowV2AuthParamsDTO( - ) - """ - - def testDesignerServiceNowV2AuthParamsDTO(self): - """Test DesignerServiceNowV2AuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_slack_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_slack_auth_params_dto.py deleted file mode 100644 index 80064f7e61..0000000000 --- a/src/visier_platform_sdk/test/test_designer_slack_auth_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_slack_auth_params_dto import DesignerSlackAuthParamsDTO - -class TestDesignerSlackAuthParamsDTO(unittest.TestCase): - """DesignerSlackAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerSlackAuthParamsDTO: - """Test DesignerSlackAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerSlackAuthParamsDTO` - """ - model = DesignerSlackAuthParamsDTO() - if include_optional: - return DesignerSlackAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '' - ) - else: - return DesignerSlackAuthParamsDTO( - ) - """ - - def testDesignerSlackAuthParamsDTO(self): - """Test DesignerSlackAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_snowflake_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_snowflake_auth_params_dto.py deleted file mode 100644 index f7d078debc..0000000000 --- a/src/visier_platform_sdk/test/test_designer_snowflake_auth_params_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_snowflake_auth_params_dto import DesignerSnowflakeAuthParamsDTO - -class TestDesignerSnowflakeAuthParamsDTO(unittest.TestCase): - """DesignerSnowflakeAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerSnowflakeAuthParamsDTO: - """Test DesignerSnowflakeAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerSnowflakeAuthParamsDTO` - """ - model = DesignerSnowflakeAuthParamsDTO() - if include_optional: - return DesignerSnowflakeAuthParamsDTO( - account_identifier = '', - database = '', - var_schema = '', - username = '', - password = '', - warehouse = '', - private_key = '' - ) - else: - return DesignerSnowflakeAuthParamsDTO( - ) - """ - - def testDesignerSnowflakeAuthParamsDTO(self): - """Test DesignerSnowflakeAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_sql_server_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_sql_server_auth_params_dto.py deleted file mode 100644 index 7cda74507e..0000000000 --- a/src/visier_platform_sdk/test/test_designer_sql_server_auth_params_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_sql_server_auth_params_dto import DesignerSqlServerAuthParamsDTO - -class TestDesignerSqlServerAuthParamsDTO(unittest.TestCase): - """DesignerSqlServerAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerSqlServerAuthParamsDTO: - """Test DesignerSqlServerAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerSqlServerAuthParamsDTO` - """ - model = DesignerSqlServerAuthParamsDTO() - if include_optional: - return DesignerSqlServerAuthParamsDTO( - host = '', - port = '', - username = '', - password = '', - database = '' - ) - else: - return DesignerSqlServerAuthParamsDTO( - ) - """ - - def testDesignerSqlServerAuthParamsDTO(self): - """Test DesignerSqlServerAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_subject_missing_access_dto.py b/src/visier_platform_sdk/test/test_designer_subject_missing_access_dto.py deleted file mode 100644 index d1f5b56033..0000000000 --- a/src/visier_platform_sdk/test/test_designer_subject_missing_access_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_subject_missing_access_dto import DesignerSubjectMissingAccessDTO - -class TestDesignerSubjectMissingAccessDTO(unittest.TestCase): - """DesignerSubjectMissingAccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerSubjectMissingAccessDTO: - """Test DesignerSubjectMissingAccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerSubjectMissingAccessDTO` - """ - model = DesignerSubjectMissingAccessDTO() - if include_optional: - return DesignerSubjectMissingAccessDTO( - subject = 'Employee', - attributes = [ - '' - ], - error_message = '' - ) - else: - return DesignerSubjectMissingAccessDTO( - ) - """ - - def testDesignerSubjectMissingAccessDTO(self): - """Test DesignerSubjectMissingAccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_success_factors_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_success_factors_auth_params_dto.py deleted file mode 100644 index 5b54fe0f19..0000000000 --- a/src/visier_platform_sdk/test/test_designer_success_factors_auth_params_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_success_factors_auth_params_dto import DesignerSuccessFactorsAuthParamsDTO - -class TestDesignerSuccessFactorsAuthParamsDTO(unittest.TestCase): - """DesignerSuccessFactorsAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerSuccessFactorsAuthParamsDTO: - """Test DesignerSuccessFactorsAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerSuccessFactorsAuthParamsDTO` - """ - model = DesignerSuccessFactorsAuthParamsDTO() - if include_optional: - return DesignerSuccessFactorsAuthParamsDTO( - host_domain_name = '', - company_id = '', - username = '', - password = '', - o_auth = visier_platform_sdk.models.designer/success_factors_o_auth_params_dto.designer.SuccessFactorsOAuthParamsDTO( - api_key = '', - private_x509_key = '', - public_x509_cert = '', ) - ) - else: - return DesignerSuccessFactorsAuthParamsDTO( - ) - """ - - def testDesignerSuccessFactorsAuthParamsDTO(self): - """Test DesignerSuccessFactorsAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_success_factors_o_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_success_factors_o_auth_params_dto.py deleted file mode 100644 index ccf57b94f9..0000000000 --- a/src/visier_platform_sdk/test/test_designer_success_factors_o_auth_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_success_factors_o_auth_params_dto import DesignerSuccessFactorsOAuthParamsDTO - -class TestDesignerSuccessFactorsOAuthParamsDTO(unittest.TestCase): - """DesignerSuccessFactorsOAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerSuccessFactorsOAuthParamsDTO: - """Test DesignerSuccessFactorsOAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerSuccessFactorsOAuthParamsDTO` - """ - model = DesignerSuccessFactorsOAuthParamsDTO() - if include_optional: - return DesignerSuccessFactorsOAuthParamsDTO( - api_key = '', - private_x509_key = '', - public_x509_cert = '' - ) - else: - return DesignerSuccessFactorsOAuthParamsDTO( - ) - """ - - def testDesignerSuccessFactorsOAuthParamsDTO(self): - """Test DesignerSuccessFactorsOAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_tenant_module_dto.py b/src/visier_platform_sdk/test/test_designer_tenant_module_dto.py deleted file mode 100644 index f232040978..0000000000 --- a/src/visier_platform_sdk/test/test_designer_tenant_module_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_tenant_module_dto import DesignerTenantModuleDTO - -class TestDesignerTenantModuleDTO(unittest.TestCase): - """DesignerTenantModuleDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerTenantModuleDTO: - """Test DesignerTenantModuleDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerTenantModuleDTO` - """ - model = DesignerTenantModuleDTO() - if include_optional: - return DesignerTenantModuleDTO( - display_name = '', - symbol_name = '', - module_settings = visier_platform_sdk.models.designer/module_settings_dto.designer.ModuleSettingsDTO( - unavailable_for_assignment = True, - special_handling_instruction = '', - locale = '', ) - ) - else: - return DesignerTenantModuleDTO( - ) - """ - - def testDesignerTenantModuleDTO(self): - """Test DesignerTenantModuleDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_ultimate_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_ultimate_auth_params_dto.py deleted file mode 100644 index d61a670099..0000000000 --- a/src/visier_platform_sdk/test/test_designer_ultimate_auth_params_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_ultimate_auth_params_dto import DesignerUltimateAuthParamsDTO - -class TestDesignerUltimateAuthParamsDTO(unittest.TestCase): - """DesignerUltimateAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerUltimateAuthParamsDTO: - """Test DesignerUltimateAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerUltimateAuthParamsDTO` - """ - model = DesignerUltimateAuthParamsDTO() - if include_optional: - return DesignerUltimateAuthParamsDTO( - host_domain_name = '', - api_key = '', - username = '', - password = '', - user_access_key = '' - ) - else: - return DesignerUltimateAuthParamsDTO( - ) - """ - - def testDesignerUltimateAuthParamsDTO(self): - """Test DesignerUltimateAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_webhook_webhook_basic_auth_credential_dto.py b/src/visier_platform_sdk/test/test_designer_webhook_webhook_basic_auth_credential_dto.py deleted file mode 100644 index e7f204be66..0000000000 --- a/src/visier_platform_sdk/test/test_designer_webhook_webhook_basic_auth_credential_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_webhook_webhook_basic_auth_credential_dto import DesignerWebhookWebhookBasicAuthCredentialDTO - -class TestDesignerWebhookWebhookBasicAuthCredentialDTO(unittest.TestCase): - """DesignerWebhookWebhookBasicAuthCredentialDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWebhookWebhookBasicAuthCredentialDTO: - """Test DesignerWebhookWebhookBasicAuthCredentialDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWebhookWebhookBasicAuthCredentialDTO` - """ - model = DesignerWebhookWebhookBasicAuthCredentialDTO() - if include_optional: - return DesignerWebhookWebhookBasicAuthCredentialDTO( - username = '', - password = '' - ) - else: - return DesignerWebhookWebhookBasicAuthCredentialDTO( - ) - """ - - def testDesignerWebhookWebhookBasicAuthCredentialDTO(self): - """Test DesignerWebhookWebhookBasicAuthCredentialDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_webhook_webhook_credentials_dto.py b/src/visier_platform_sdk/test/test_designer_webhook_webhook_credentials_dto.py deleted file mode 100644 index d5c59780de..0000000000 --- a/src/visier_platform_sdk/test/test_designer_webhook_webhook_credentials_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_webhook_webhook_credentials_dto import DesignerWebhookWebhookCredentialsDTO - -class TestDesignerWebhookWebhookCredentialsDTO(unittest.TestCase): - """DesignerWebhookWebhookCredentialsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWebhookWebhookCredentialsDTO: - """Test DesignerWebhookWebhookCredentialsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWebhookWebhookCredentialsDTO` - """ - model = DesignerWebhookWebhookCredentialsDTO() - if include_optional: - return DesignerWebhookWebhookCredentialsDTO( - basic_auth = visier_platform_sdk.models.designer/webhook/webhook_basic_auth_credential_dto.designer.webhook.WebhookBasicAuthCredentialDTO( - username = '', - password = '', ), - access_token = '' - ) - else: - return DesignerWebhookWebhookCredentialsDTO( - ) - """ - - def testDesignerWebhookWebhookCredentialsDTO(self): - """Test DesignerWebhookWebhookCredentialsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_webhook_webhook_details_dto.py b/src/visier_platform_sdk/test/test_designer_webhook_webhook_details_dto.py deleted file mode 100644 index 73ec617075..0000000000 --- a/src/visier_platform_sdk/test/test_designer_webhook_webhook_details_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_webhook_webhook_details_dto import DesignerWebhookWebhookDetailsDTO - -class TestDesignerWebhookWebhookDetailsDTO(unittest.TestCase): - """DesignerWebhookWebhookDetailsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWebhookWebhookDetailsDTO: - """Test DesignerWebhookWebhookDetailsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWebhookWebhookDetailsDTO` - """ - model = DesignerWebhookWebhookDetailsDTO() - if include_optional: - return DesignerWebhookWebhookDetailsDTO( - target_url = '', - is_active = True, - events = [ - visier_platform_sdk.models.designer/webhook/webhook_event_type_dto.designer.webhook.WebhookEventTypeDTO( - event_type = '', ) - ], - key_name = '', - display_name = '' - ) - else: - return DesignerWebhookWebhookDetailsDTO( - ) - """ - - def testDesignerWebhookWebhookDetailsDTO(self): - """Test DesignerWebhookWebhookDetailsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_webhook_webhook_dto.py b/src/visier_platform_sdk/test/test_designer_webhook_webhook_dto.py deleted file mode 100644 index ce0af6cff5..0000000000 --- a/src/visier_platform_sdk/test/test_designer_webhook_webhook_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_webhook_webhook_dto import DesignerWebhookWebhookDTO - -class TestDesignerWebhookWebhookDTO(unittest.TestCase): - """DesignerWebhookWebhookDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWebhookWebhookDTO: - """Test DesignerWebhookWebhookDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWebhookWebhookDTO` - """ - model = DesignerWebhookWebhookDTO() - if include_optional: - return DesignerWebhookWebhookDTO( - webhook_id = '', - details = visier_platform_sdk.models.designer/webhook/webhook_details_dto.designer.webhook.WebhookDetailsDTO( - target_url = '', - is_active = True, - events = [ - visier_platform_sdk.models.designer/webhook/webhook_event_type_dto.designer.webhook.WebhookEventTypeDTO( - event_type = '', ) - ], - key_name = '', - display_name = '', ), - credential_reference = '' - ) - else: - return DesignerWebhookWebhookDTO( - ) - """ - - def testDesignerWebhookWebhookDTO(self): - """Test DesignerWebhookWebhookDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_webhook_webhook_event_type_dto.py b/src/visier_platform_sdk/test/test_designer_webhook_webhook_event_type_dto.py deleted file mode 100644 index 74954a07f5..0000000000 --- a/src/visier_platform_sdk/test/test_designer_webhook_webhook_event_type_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_webhook_webhook_event_type_dto import DesignerWebhookWebhookEventTypeDTO - -class TestDesignerWebhookWebhookEventTypeDTO(unittest.TestCase): - """DesignerWebhookWebhookEventTypeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWebhookWebhookEventTypeDTO: - """Test DesignerWebhookWebhookEventTypeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWebhookWebhookEventTypeDTO` - """ - model = DesignerWebhookWebhookEventTypeDTO() - if include_optional: - return DesignerWebhookWebhookEventTypeDTO( - event_type = '' - ) - else: - return DesignerWebhookWebhookEventTypeDTO( - ) - """ - - def testDesignerWebhookWebhookEventTypeDTO(self): - """Test DesignerWebhookWebhookEventTypeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_webhook_webhook_message_response_dto.py b/src/visier_platform_sdk/test/test_designer_webhook_webhook_message_response_dto.py deleted file mode 100644 index 80de0bb854..0000000000 --- a/src/visier_platform_sdk/test/test_designer_webhook_webhook_message_response_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_webhook_webhook_message_response_dto import DesignerWebhookWebhookMessageResponseDTO - -class TestDesignerWebhookWebhookMessageResponseDTO(unittest.TestCase): - """DesignerWebhookWebhookMessageResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWebhookWebhookMessageResponseDTO: - """Test DesignerWebhookWebhookMessageResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWebhookWebhookMessageResponseDTO` - """ - model = DesignerWebhookWebhookMessageResponseDTO() - if include_optional: - return DesignerWebhookWebhookMessageResponseDTO( - status_code = 56, - message = '', - message_id = '', - event_id = '' - ) - else: - return DesignerWebhookWebhookMessageResponseDTO( - ) - """ - - def testDesignerWebhookWebhookMessageResponseDTO(self): - """Test DesignerWebhookWebhookMessageResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_webhook_webhook_request_dto.py b/src/visier_platform_sdk/test/test_designer_webhook_webhook_request_dto.py deleted file mode 100644 index da529196a8..0000000000 --- a/src/visier_platform_sdk/test/test_designer_webhook_webhook_request_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_webhook_webhook_request_dto import DesignerWebhookWebhookRequestDTO - -class TestDesignerWebhookWebhookRequestDTO(unittest.TestCase): - """DesignerWebhookWebhookRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWebhookWebhookRequestDTO: - """Test DesignerWebhookWebhookRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWebhookWebhookRequestDTO` - """ - model = DesignerWebhookWebhookRequestDTO() - if include_optional: - return DesignerWebhookWebhookRequestDTO( - details = visier_platform_sdk.models.designer/webhook/webhook_details_dto.designer.webhook.WebhookDetailsDTO( - target_url = '', - is_active = True, - events = [ - visier_platform_sdk.models.designer/webhook/webhook_event_type_dto.designer.webhook.WebhookEventTypeDTO( - event_type = '', ) - ], - key_name = '', - display_name = '', ), - credentials = visier_platform_sdk.models.designer/webhook/webhook_credentials_dto.designer.webhook.WebhookCredentialsDTO( - basic_auth = None, - access_token = '', ) - ) - else: - return DesignerWebhookWebhookRequestDTO( - ) - """ - - def testDesignerWebhookWebhookRequestDTO(self): - """Test DesignerWebhookWebhookRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_webhook_webhooks_dto.py b/src/visier_platform_sdk/test/test_designer_webhook_webhooks_dto.py deleted file mode 100644 index b83bac08d1..0000000000 --- a/src/visier_platform_sdk/test/test_designer_webhook_webhooks_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_webhook_webhooks_dto import DesignerWebhookWebhooksDTO - -class TestDesignerWebhookWebhooksDTO(unittest.TestCase): - """DesignerWebhookWebhooksDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWebhookWebhooksDTO: - """Test DesignerWebhookWebhooksDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWebhookWebhooksDTO` - """ - model = DesignerWebhookWebhooksDTO() - if include_optional: - return DesignerWebhookWebhooksDTO( - webhooks = [ - visier_platform_sdk.models.designer/webhook/webhook_dto.designer.webhook.WebhookDTO( - webhook_id = '', - details = None, - credential_reference = '', ) - ] - ) - else: - return DesignerWebhookWebhooksDTO( - ) - """ - - def testDesignerWebhookWebhooksDTO(self): - """Test DesignerWebhookWebhooksDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_willow_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_willow_auth_params_dto.py deleted file mode 100644 index f85defaf25..0000000000 --- a/src/visier_platform_sdk/test/test_designer_willow_auth_params_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_willow_auth_params_dto import DesignerWillowAuthParamsDTO - -class TestDesignerWillowAuthParamsDTO(unittest.TestCase): - """DesignerWillowAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWillowAuthParamsDTO: - """Test DesignerWillowAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWillowAuthParamsDTO` - """ - model = DesignerWillowAuthParamsDTO() - if include_optional: - return DesignerWillowAuthParamsDTO( - api_token = '', - host_name = '' - ) - else: - return DesignerWillowAuthParamsDTO( - ) - """ - - def testDesignerWillowAuthParamsDTO(self): - """Test DesignerWillowAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_workday_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_workday_auth_params_dto.py deleted file mode 100644 index eddfcd9c68..0000000000 --- a/src/visier_platform_sdk/test/test_designer_workday_auth_params_dto.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_workday_auth_params_dto import DesignerWorkdayAuthParamsDTO - -class TestDesignerWorkdayAuthParamsDTO(unittest.TestCase): - """DesignerWorkdayAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWorkdayAuthParamsDTO: - """Test DesignerWorkdayAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWorkdayAuthParamsDTO` - """ - model = DesignerWorkdayAuthParamsDTO() - if include_optional: - return DesignerWorkdayAuthParamsDTO( - user_id = '', - domain_name = '', - implementation_name = '', - password = '', - o_auth = visier_platform_sdk.models.designer/workday_o_auth_params_dto.designer.WorkdayOAuthParamsDTO( - api_client_id = '', - public_x509_cert = '', - private_x509_key = '', ), - ref_token = visier_platform_sdk.models.designer/workday_refresh_token_params_dto.designer.WorkdayRefreshTokenParamsDTO( - api_client_id = '', - client_secret = '', - refresh_token = '', ), - integration_system_id = '', - additional_header_params = [ - visier_platform_sdk.models.designer/pair_dto.designer.PairDTO( - key = '', - value = '', ) - ] - ) - else: - return DesignerWorkdayAuthParamsDTO( - ) - """ - - def testDesignerWorkdayAuthParamsDTO(self): - """Test DesignerWorkdayAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_workday_o_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_workday_o_auth_params_dto.py deleted file mode 100644 index c99888d1cf..0000000000 --- a/src/visier_platform_sdk/test/test_designer_workday_o_auth_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_workday_o_auth_params_dto import DesignerWorkdayOAuthParamsDTO - -class TestDesignerWorkdayOAuthParamsDTO(unittest.TestCase): - """DesignerWorkdayOAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWorkdayOAuthParamsDTO: - """Test DesignerWorkdayOAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWorkdayOAuthParamsDTO` - """ - model = DesignerWorkdayOAuthParamsDTO() - if include_optional: - return DesignerWorkdayOAuthParamsDTO( - api_client_id = '', - public_x509_cert = '', - private_x509_key = '' - ) - else: - return DesignerWorkdayOAuthParamsDTO( - ) - """ - - def testDesignerWorkdayOAuthParamsDTO(self): - """Test DesignerWorkdayOAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_workday_raas_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_workday_raas_auth_params_dto.py deleted file mode 100644 index 04bbe58b95..0000000000 --- a/src/visier_platform_sdk/test/test_designer_workday_raas_auth_params_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_workday_raas_auth_params_dto import DesignerWorkdayRaasAuthParamsDTO - -class TestDesignerWorkdayRaasAuthParamsDTO(unittest.TestCase): - """DesignerWorkdayRaasAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWorkdayRaasAuthParamsDTO: - """Test DesignerWorkdayRaasAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWorkdayRaasAuthParamsDTO` - """ - model = DesignerWorkdayRaasAuthParamsDTO() - if include_optional: - return DesignerWorkdayRaasAuthParamsDTO( - user_id = '', - domain_name = '', - implementation_name = '', - password = '', - test_report_url = '' - ) - else: - return DesignerWorkdayRaasAuthParamsDTO( - ) - """ - - def testDesignerWorkdayRaasAuthParamsDTO(self): - """Test DesignerWorkdayRaasAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_workday_refresh_token_params_dto.py b/src/visier_platform_sdk/test/test_designer_workday_refresh_token_params_dto.py deleted file mode 100644 index 72ab851015..0000000000 --- a/src/visier_platform_sdk/test/test_designer_workday_refresh_token_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_workday_refresh_token_params_dto import DesignerWorkdayRefreshTokenParamsDTO - -class TestDesignerWorkdayRefreshTokenParamsDTO(unittest.TestCase): - """DesignerWorkdayRefreshTokenParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerWorkdayRefreshTokenParamsDTO: - """Test DesignerWorkdayRefreshTokenParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerWorkdayRefreshTokenParamsDTO` - """ - model = DesignerWorkdayRefreshTokenParamsDTO() - if include_optional: - return DesignerWorkdayRefreshTokenParamsDTO( - api_client_id = '', - client_secret = '', - refresh_token = '' - ) - else: - return DesignerWorkdayRefreshTokenParamsDTO( - ) - """ - - def testDesignerWorkdayRefreshTokenParamsDTO(self): - """Test DesignerWorkdayRefreshTokenParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_designer_zoom_auth_params_dto.py b/src/visier_platform_sdk/test/test_designer_zoom_auth_params_dto.py deleted file mode 100644 index 3322e7405c..0000000000 --- a/src/visier_platform_sdk/test/test_designer_zoom_auth_params_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.designer_zoom_auth_params_dto import DesignerZoomAuthParamsDTO - -class TestDesignerZoomAuthParamsDTO(unittest.TestCase): - """DesignerZoomAuthParamsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DesignerZoomAuthParamsDTO: - """Test DesignerZoomAuthParamsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DesignerZoomAuthParamsDTO` - """ - model = DesignerZoomAuthParamsDTO() - if include_optional: - return DesignerZoomAuthParamsDTO( - auth_code = '', - client_id = '', - client_secret = '' - ) - else: - return DesignerZoomAuthParamsDTO( - ) - """ - - def testDesignerZoomAuthParamsDTO(self): - """Test DesignerZoomAuthParamsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_change_definition_dto.py b/src/visier_platform_sdk/test/test_dimension_change_definition_dto.py new file mode 100644 index 0000000000..84b24ab2c3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_change_definition_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_change_definition_dto import DimensionChangeDefinitionDTO + +class TestDimensionChangeDefinitionDTO(unittest.TestCase): + """DimensionChangeDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionChangeDefinitionDTO: + """Test DimensionChangeDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionChangeDefinitionDTO( + id = '', + display_name = '', + short_display_name = '', + description = '' + ) + else: + return DimensionChangeDefinitionDTO( + ) + + def testDimensionChangeDefinitionDTO(self): + """Test DimensionChangeDefinitionDTO""" + def validate_instance(instance): + DimensionChangeDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = DimensionChangeDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_dimension_change_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..069f6388cb --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_change_definitions_by_tenant_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_change_definitions_by_tenant_dto import DimensionChangeDefinitionsByTenantDTO + +class TestDimensionChangeDefinitionsByTenantDTO(unittest.TestCase): + """DimensionChangeDefinitionsByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionChangeDefinitionsByTenantDTO: + """Test DimensionChangeDefinitionsByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionChangeDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + dimensions = [ + visier_platform_sdk.models.dimension_change_definition_dto.DimensionChangeDefinitionDTO( + id = '', + display_name = '', + short_display_name = '', + description = '', ) + ] + ) + else: + return DimensionChangeDefinitionsByTenantDTO( + ) + + def testDimensionChangeDefinitionsByTenantDTO(self): + """Test DimensionChangeDefinitionsByTenantDTO""" + def validate_instance(instance): + DimensionChangeDefinitionsByTenantDTO.model_validate(inst_req_only) + instance_deserialized = DimensionChangeDefinitionsByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_dto.py b/src/visier_platform_sdk/test/test_dimension_dto.py new file mode 100644 index 0000000000..ef47771b3c --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_dto.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_dto import DimensionDTO + +class TestDimensionDTO(unittest.TestCase): + """DimensionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionDTO: + """Test DimensionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionDTO( + id = '', + display_name = '', + description = '', + levels = [ + visier_platform_sdk.models.level_dto.LevelDTO( + id = '', + display_name = '', + depth = 56, ) + ], + unknown_member = [ + '' + ], + member_count = 56, + visible_in_app = True, + tags = [ + visier_platform_sdk.models.tag_map_element_dto.TagMapElementDTO( + id = '', + display_name = '', ) + ], + explanation = '' + ) + else: + return DimensionDTO( + ) + + def testDimensionDTO(self): + """Test DimensionDTO""" + def validate_instance(instance): + DimensionDTO.model_validate(inst_req_only) + instance_deserialized = DimensionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_dimension_filter_dto.py new file mode 100644 index 0000000000..331a0dc2cd --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_filter_dto.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_filter_dto import DimensionFilterDTO + +class TestDimensionFilterDTO(unittest.TestCase): + """DimensionFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionFilterDTO: + """Test DimensionFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionFilterDTO( + static_dimension_filter = visier_platform_sdk.models.static_dimension_filter_dto.StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset', ), + dynamic_dimension_filter = visier_platform_sdk.models.dynamic_dimension_filter_dto.DynamicDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset', ) + ) + else: + return DimensionFilterDTO( + ) + + def testDimensionFilterDTO(self): + """Test DimensionFilterDTO""" + def validate_instance(instance): + DimensionFilterDTO.model_validate(inst_req_only) + instance_deserialized = DimensionFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_mapping_validation_dto.py b/src/visier_platform_sdk/test/test_dimension_mapping_validation_dto.py new file mode 100644 index 0000000000..cc1fce2748 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_mapping_validation_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_mapping_validation_dto import DimensionMappingValidationDTO + +class TestDimensionMappingValidationDTO(unittest.TestCase): + """DimensionMappingValidationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionMappingValidationDTO: + """Test DimensionMappingValidationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionMappingValidationDTO( + dimension_map_id = '', + dimension_id = '', + unmapped_members = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ], + failures = [ + '' + ] + ) + else: + return DimensionMappingValidationDTO( + ) + + def testDimensionMappingValidationDTO(self): + """Test DimensionMappingValidationDTO""" + def validate_instance(instance): + DimensionMappingValidationDTO.model_validate(inst_req_only) + instance_deserialized = DimensionMappingValidationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_mapping_validation_execution_dto.py b/src/visier_platform_sdk/test/test_dimension_mapping_validation_execution_dto.py new file mode 100644 index 0000000000..02017effa6 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_mapping_validation_execution_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_mapping_validation_execution_dto import DimensionMappingValidationExecutionDTO + +class TestDimensionMappingValidationExecutionDTO(unittest.TestCase): + """DimensionMappingValidationExecutionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionMappingValidationExecutionDTO: + """Test DimensionMappingValidationExecutionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionMappingValidationExecutionDTO( + member_map_id = '', + analytic_object = '' + ) + else: + return DimensionMappingValidationExecutionDTO( + ) + + def testDimensionMappingValidationExecutionDTO(self): + """Test DimensionMappingValidationExecutionDTO""" + def validate_instance(instance): + DimensionMappingValidationExecutionDTO.model_validate(inst_req_only) + instance_deserialized = DimensionMappingValidationExecutionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_member.py b/src/visier_platform_sdk/test/test_dimension_member.py index 7a16622de4..ca873bab35 100644 --- a/src/visier_platform_sdk/test/test_dimension_member.py +++ b/src/visier_platform_sdk/test/test_dimension_member.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.dimension_member import DimensionMember class TestDimensionMember(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> DimensionMember: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `DimensionMember` - """ - model = DimensionMember() + if include_optional: return DimensionMember( id = '', @@ -73,12 +72,19 @@ def make_instance(self, include_optional) -> DimensionMember: has_children = True, status = 'active', ) - """ def testDimensionMember(self): """Test DimensionMember""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + DimensionMember.model_validate(inst_req_only) + instance_deserialized = DimensionMember.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_member_dto.py b/src/visier_platform_sdk/test/test_dimension_member_dto.py new file mode 100644 index 0000000000..e3ef997ce1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_member_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_member_dto import DimensionMemberDTO + +class TestDimensionMemberDTO(unittest.TestCase): + """DimensionMemberDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionMemberDTO: + """Test DimensionMemberDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionMemberDTO( + dimension_member = [ + '' + ] + ) + else: + return DimensionMemberDTO( + ) + + def testDimensionMemberDTO(self): + """Test DimensionMemberDTO""" + def validate_instance(instance): + DimensionMemberDTO.model_validate(inst_req_only) + instance_deserialized = DimensionMemberDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_member_reference_dto.py b/src/visier_platform_sdk/test/test_dimension_member_reference_dto.py new file mode 100644 index 0000000000..0193fb8d11 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_member_reference_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_member_reference_dto import DimensionMemberReferenceDTO + +class TestDimensionMemberReferenceDTO(unittest.TestCase): + """DimensionMemberReferenceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionMemberReferenceDTO: + """Test DimensionMemberReferenceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '' + ) + else: + return DimensionMemberReferenceDTO( + ) + + def testDimensionMemberReferenceDTO(self): + """Test DimensionMemberReferenceDTO""" + def validate_instance(instance): + DimensionMemberReferenceDTO.model_validate(inst_req_only) + instance_deserialized = DimensionMemberReferenceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimension_reference_dto.py b/src/visier_platform_sdk/test/test_dimension_reference_dto.py new file mode 100644 index 0000000000..3fc1af5064 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimension_reference_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO + +class TestDimensionReferenceDTO(unittest.TestCase): + """DimensionReferenceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionReferenceDTO: + """Test DimensionReferenceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionReferenceDTO( + name = '', + qualifying_path = '' + ) + else: + return DimensionReferenceDTO( + ) + + def testDimensionReferenceDTO(self): + """Test DimensionReferenceDTO""" + def validate_instance(instance): + DimensionReferenceDTO.model_validate(inst_req_only) + instance_deserialized = DimensionReferenceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimensions_auth_params_dto.py b/src/visier_platform_sdk/test/test_dimensions_auth_params_dto.py new file mode 100644 index 0000000000..343d744e67 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimensions_auth_params_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimensions_auth_params_dto import DimensionsAuthParamsDTO + +class TestDimensionsAuthParamsDTO(unittest.TestCase): + """DimensionsAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionsAuthParamsDTO: + """Test DimensionsAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionsAuthParamsDTO( + app_key = '', + client_id = '', + client_secret = '', + vanity_url = '', + username = '', + password = '' + ) + else: + return DimensionsAuthParamsDTO( + ) + + def testDimensionsAuthParamsDTO(self): + """Test DimensionsAuthParamsDTO""" + def validate_instance(instance): + DimensionsAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = DimensionsAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimensions_change_definitions_dto.py b/src/visier_platform_sdk/test/test_dimensions_change_definitions_dto.py new file mode 100644 index 0000000000..a0466f87a1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimensions_change_definitions_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimensions_change_definitions_dto import DimensionsChangeDefinitionsDTO + +class TestDimensionsChangeDefinitionsDTO(unittest.TestCase): + """DimensionsChangeDefinitionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionsChangeDefinitionsDTO: + """Test DimensionsChangeDefinitionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionsChangeDefinitionsDTO( + dimensions_by_tenant = [ + visier_platform_sdk.models.dimension_change_definitions_by_tenant_dto.DimensionChangeDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + dimensions = [ + visier_platform_sdk.models.dimension_change_definition_dto.DimensionChangeDefinitionDTO( + id = '', + display_name = '', + short_display_name = '', + description = '', ) + ], ) + ] + ) + else: + return DimensionsChangeDefinitionsDTO( + ) + + def testDimensionsChangeDefinitionsDTO(self): + """Test DimensionsChangeDefinitionsDTO""" + def validate_instance(instance): + DimensionsChangeDefinitionsDTO.model_validate(inst_req_only) + instance_deserialized = DimensionsChangeDefinitionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dimensions_dto.py b/src/visier_platform_sdk/test/test_dimensions_dto.py new file mode 100644 index 0000000000..9b28c95a55 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dimensions_dto.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dimensions_dto import DimensionsDTO + +class TestDimensionsDTO(unittest.TestCase): + """DimensionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DimensionsDTO: + """Test DimensionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DimensionsDTO( + dimensions = [ + visier_platform_sdk.models.dimension_dto.DimensionDTO( + id = '', + display_name = '', + description = '', + levels = [ + visier_platform_sdk.models.level_dto.LevelDTO( + id = '', + display_name = '', + depth = 56, ) + ], + unknown_member = [ + '' + ], + member_count = 56, + visible_in_app = True, + tags = [ + visier_platform_sdk.models.tag_map_element_dto.TagMapElementDTO( + id = '', + display_name = '', ) + ], + explanation = '', ) + ] + ) + else: + return DimensionsDTO( + ) + + def testDimensionsDTO(self): + """Test DimensionsDTO""" + def validate_instance(instance): + DimensionsDTO.model_validate(inst_req_only) + instance_deserialized = DimensionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_job_config_dto.py b/src/visier_platform_sdk/test/test_direct_data_job_config_dto.py new file mode 100644 index 0000000000..94f161c954 --- /dev/null +++ b/src/visier_platform_sdk/test/test_direct_data_job_config_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.direct_data_job_config_dto import DirectDataJobConfigDTO + +class TestDirectDataJobConfigDTO(unittest.TestCase): + """DirectDataJobConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DirectDataJobConfigDTO: + """Test DirectDataJobConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DirectDataJobConfigDTO( + supplemental_mode = 'UNCHANGED', + extend_objects = [ + '' + ] + ) + else: + return DirectDataJobConfigDTO( + ) + + def testDirectDataJobConfigDTO(self): + """Test DirectDataJobConfigDTO""" + def validate_instance(instance): + DirectDataJobConfigDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataJobConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_job_status_response_dto.py b/src/visier_platform_sdk/test/test_direct_data_job_status_response_dto.py new file mode 100644 index 0000000000..f021dc170c --- /dev/null +++ b/src/visier_platform_sdk/test/test_direct_data_job_status_response_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.direct_data_job_status_response_dto import DirectDataJobStatusResponseDTO + +class TestDirectDataJobStatusResponseDTO(unittest.TestCase): + """DirectDataJobStatusResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DirectDataJobStatusResponseDTO: + """Test DirectDataJobStatusResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DirectDataJobStatusResponseDTO( + tenant_code = '', + transaction_id = '', + job_id = '', + status = '', + message = '' + ) + else: + return DirectDataJobStatusResponseDTO( + ) + + def testDirectDataJobStatusResponseDTO(self): + """Test DirectDataJobStatusResponseDTO""" + def validate_instance(instance): + DirectDataJobStatusResponseDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataJobStatusResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_list_transactions_response_dto.py b/src/visier_platform_sdk/test/test_direct_data_list_transactions_response_dto.py new file mode 100644 index 0000000000..b002608917 --- /dev/null +++ b/src/visier_platform_sdk/test/test_direct_data_list_transactions_response_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.direct_data_list_transactions_response_dto import DirectDataListTransactionsResponseDTO + +class TestDirectDataListTransactionsResponseDTO(unittest.TestCase): + """DirectDataListTransactionsResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DirectDataListTransactionsResponseDTO: + """Test DirectDataListTransactionsResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DirectDataListTransactionsResponseDTO( + transactions = [ + visier_platform_sdk.models.direct_data_transaction_dto.DirectDataTransactionDTO( + tenant_code = '', + transaction_id = '', + created = '', + updated = '', + status = '', ) + ] + ) + else: + return DirectDataListTransactionsResponseDTO( + ) + + def testDirectDataListTransactionsResponseDTO(self): + """Test DirectDataListTransactionsResponseDTO""" + def validate_instance(instance): + DirectDataListTransactionsResponseDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataListTransactionsResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_load_config_dto.py b/src/visier_platform_sdk/test/test_direct_data_load_config_dto.py new file mode 100644 index 0000000000..bc9d0abbda --- /dev/null +++ b/src/visier_platform_sdk/test/test_direct_data_load_config_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.direct_data_load_config_dto import DirectDataLoadConfigDTO + +class TestDirectDataLoadConfigDTO(unittest.TestCase): + """DirectDataLoadConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DirectDataLoadConfigDTO: + """Test DirectDataLoadConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DirectDataLoadConfigDTO( + job = visier_platform_sdk.models.direct_data_job_config_dto.DirectDataJobConfigDTO( + supplemental_mode = 'UNCHANGED', + extend_objects = [ + '' + ], ) + ) + else: + return DirectDataLoadConfigDTO( + ) + + def testDirectDataLoadConfigDTO(self): + """Test DirectDataLoadConfigDTO""" + def validate_instance(instance): + DirectDataLoadConfigDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataLoadConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_schema_dto.py b/src/visier_platform_sdk/test/test_direct_data_schema_dto.py new file mode 100644 index 0000000000..aa46d6cf9e --- /dev/null +++ b/src/visier_platform_sdk/test/test_direct_data_schema_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.direct_data_schema_dto import DirectDataSchemaDTO + +class TestDirectDataSchemaDTO(unittest.TestCase): + """DirectDataSchemaDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DirectDataSchemaDTO: + """Test DirectDataSchemaDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DirectDataSchemaDTO( + var_schema = [ + visier_platform_sdk.models.direct_data_schema_field_dto.DirectDataSchemaFieldDTO( + name = '', + data_type = '', + formats = [ + '' + ], + is_mandatory = True, + empty_values_allowed = True, ) + ] + ) + else: + return DirectDataSchemaDTO( + ) + + def testDirectDataSchemaDTO(self): + """Test DirectDataSchemaDTO""" + def validate_instance(instance): + DirectDataSchemaDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataSchemaDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_schema_field_dto.py b/src/visier_platform_sdk/test/test_direct_data_schema_field_dto.py new file mode 100644 index 0000000000..1275fefa8e --- /dev/null +++ b/src/visier_platform_sdk/test/test_direct_data_schema_field_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.direct_data_schema_field_dto import DirectDataSchemaFieldDTO + +class TestDirectDataSchemaFieldDTO(unittest.TestCase): + """DirectDataSchemaFieldDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DirectDataSchemaFieldDTO: + """Test DirectDataSchemaFieldDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DirectDataSchemaFieldDTO( + name = '', + data_type = '', + formats = [ + '' + ], + is_mandatory = True, + empty_values_allowed = True + ) + else: + return DirectDataSchemaFieldDTO( + ) + + def testDirectDataSchemaFieldDTO(self): + """Test DirectDataSchemaFieldDTO""" + def validate_instance(instance): + DirectDataSchemaFieldDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataSchemaFieldDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_transaction_dto.py b/src/visier_platform_sdk/test/test_direct_data_transaction_dto.py new file mode 100644 index 0000000000..959906e75b --- /dev/null +++ b/src/visier_platform_sdk/test/test_direct_data_transaction_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.direct_data_transaction_dto import DirectDataTransactionDTO + +class TestDirectDataTransactionDTO(unittest.TestCase): + """DirectDataTransactionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DirectDataTransactionDTO: + """Test DirectDataTransactionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DirectDataTransactionDTO( + tenant_code = '', + transaction_id = '', + created = '', + updated = '', + status = '' + ) + else: + return DirectDataTransactionDTO( + ) + + def testDirectDataTransactionDTO(self): + """Test DirectDataTransactionDTO""" + def validate_instance(instance): + DirectDataTransactionDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataTransactionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_transaction_start_response_dto.py b/src/visier_platform_sdk/test/test_direct_data_transaction_start_response_dto.py new file mode 100644 index 0000000000..14668212bb --- /dev/null +++ b/src/visier_platform_sdk/test/test_direct_data_transaction_start_response_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.direct_data_transaction_start_response_dto import DirectDataTransactionStartResponseDTO + +class TestDirectDataTransactionStartResponseDTO(unittest.TestCase): + """DirectDataTransactionStartResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DirectDataTransactionStartResponseDTO: + """Test DirectDataTransactionStartResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DirectDataTransactionStartResponseDTO( + transaction_id = '' + ) + else: + return DirectDataTransactionStartResponseDTO( + ) + + def testDirectDataTransactionStartResponseDTO(self): + """Test DirectDataTransactionStartResponseDTO""" + def validate_instance(instance): + DirectDataTransactionStartResponseDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataTransactionStartResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_direct_data_upload_file_response_dto.py b/src/visier_platform_sdk/test/test_direct_data_upload_file_response_dto.py index 0d7fb4bf69..b8eb17864d 100644 --- a/src/visier_platform_sdk/test/test_direct_data_upload_file_response_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_upload_file_response_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.direct_data_upload_file_response_dto import DirectDataUploadFileResponseDTO class TestDirectDataUploadFileResponseDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> DirectDataUploadFileResponseDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `DirectDataUploadFileResponseDTO` - """ - model = DirectDataUploadFileResponseDTO() + if include_optional: return DirectDataUploadFileResponseDTO( transaction_id = '', @@ -43,12 +42,19 @@ def make_instance(self, include_optional) -> DirectDataUploadFileResponseDTO: else: return DirectDataUploadFileResponseDTO( ) - """ def testDirectDataUploadFileResponseDTO(self): """Test DirectDataUploadFileResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + DirectDataUploadFileResponseDTO.model_validate(inst_req_only) + instance_deserialized = DirectDataUploadFileResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_disable_dv_model.py b/src/visier_platform_sdk/test/test_disable_dv_model.py new file mode 100644 index 0000000000..f16edd5433 --- /dev/null +++ b/src/visier_platform_sdk/test/test_disable_dv_model.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.disable_dv_model import DisableDVModel + +class TestDisableDVModel(unittest.TestCase): + """DisableDVModel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DisableDVModel: + """Test DisableDVModel + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DisableDVModel( + data_version_objects = [ + visier_platform_sdk.models.data_version_object.DataVersionObject( + tenant_code = '', + data_version = '', ) + ] + ) + else: + return DisableDVModel( + ) + + def testDisableDVModel(self): + """Test DisableDVModel""" + def validate_instance(instance): + DisableDVModel.model_validate(inst_req_only) + instance_deserialized = DisableDVModel.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_disable_dv_request.py b/src/visier_platform_sdk/test/test_disable_dv_request.py new file mode 100644 index 0000000000..ee05f16693 --- /dev/null +++ b/src/visier_platform_sdk/test/test_disable_dv_request.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.disable_dv_request import DisableDVRequest + +class TestDisableDVRequest(unittest.TestCase): + """DisableDVRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DisableDVRequest: + """Test DisableDVRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DisableDVRequest( + model = visier_platform_sdk.models.disable_dv_model.DisableDVModel( + data_version_objects = [ + visier_platform_sdk.models.data_version_object.DataVersionObject( + tenant_code = '', + data_version = '', ) + ], ) + ) + else: + return DisableDVRequest( + ) + + def testDisableDVRequest(self): + """Test DisableDVRequest""" + def validate_instance(instance): + DisableDVRequest.model_validate(inst_req_only) + instance_deserialized = DisableDVRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_disable_dv_response.py b/src/visier_platform_sdk/test/test_disable_dv_response.py new file mode 100644 index 0000000000..e9e7091fed --- /dev/null +++ b/src/visier_platform_sdk/test/test_disable_dv_response.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.disable_dv_response import DisableDVResponse + +class TestDisableDVResponse(unittest.TestCase): + """DisableDVResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DisableDVResponse: + """Test DisableDVResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DisableDVResponse( + total_failures = 56, + total_success = 56, + results = [ + visier_platform_sdk.models.result.Result( + job_id = '', + data_version = '', + tenant_code = '', + status = '', + message = '', ) + ] + ) + else: + return DisableDVResponse( + ) + + def testDisableDVResponse(self): + """Test DisableDVResponse""" + def validate_instance(instance): + DisableDVResponse.model_validate(inst_req_only) + instance_deserialized = DisableDVResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dispatching_job_status_response.py b/src/visier_platform_sdk/test/test_dispatching_job_status_response.py new file mode 100644 index 0000000000..dd40785a9f --- /dev/null +++ b/src/visier_platform_sdk/test/test_dispatching_job_status_response.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dispatching_job_status_response import DispatchingJobStatusResponse + +class TestDispatchingJobStatusResponse(unittest.TestCase): + """DispatchingJobStatusResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DispatchingJobStatusResponse: + """Test DispatchingJobStatusResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DispatchingJobStatusResponse( + job_id = '', + tenant_code = '', + status = '', + total_jobs_dispatched = 56 + ) + else: + return DispatchingJobStatusResponse( + ) + + def testDispatchingJobStatusResponse(self): + """Test DispatchingJobStatusResponse""" + def validate_instance(instance): + DispatchingJobStatusResponse.model_validate(inst_req_only) + instance_deserialized = DispatchingJobStatusResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_document_search_link_dto.py b/src/visier_platform_sdk/test/test_document_search_link_dto.py new file mode 100644 index 0000000000..258b163fc1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_document_search_link_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.document_search_link_dto import DocumentSearchLinkDTO + +class TestDocumentSearchLinkDTO(unittest.TestCase): + """DocumentSearchLinkDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DocumentSearchLinkDTO: + """Test DocumentSearchLinkDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DocumentSearchLinkDTO( + href = '', + verb = '' + ) + else: + return DocumentSearchLinkDTO( + ) + + def testDocumentSearchLinkDTO(self): + """Test DocumentSearchLinkDTO""" + def validate_instance(instance): + DocumentSearchLinkDTO.model_validate(inst_req_only) + instance_deserialized = DocumentSearchLinkDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_download_source_files_dto.py b/src/visier_platform_sdk/test/test_download_source_files_dto.py new file mode 100644 index 0000000000..5b1ec8c43e --- /dev/null +++ b/src/visier_platform_sdk/test/test_download_source_files_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.download_source_files_dto import DownloadSourceFilesDTO + +class TestDownloadSourceFilesDTO(unittest.TestCase): + """DownloadSourceFilesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DownloadSourceFilesDTO: + """Test DownloadSourceFilesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DownloadSourceFilesDTO( + download_all = True, + sources = [ + '' + ], + source_ids = [ + '' + ], + min_timestamp = '', + max_timestamp = '', + min_snapshot_timestamp = '', + max_snapshot_timestamp = '', + include_non_active_files = True + ) + else: + return DownloadSourceFilesDTO( + ) + + def testDownloadSourceFilesDTO(self): + """Test DownloadSourceFilesDTO""" + def validate_instance(instance): + DownloadSourceFilesDTO.model_validate(inst_req_only) + instance_deserialized = DownloadSourceFilesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_download_source_files_response_dto.py b/src/visier_platform_sdk/test/test_download_source_files_response_dto.py new file mode 100644 index 0000000000..e706db1427 --- /dev/null +++ b/src/visier_platform_sdk/test/test_download_source_files_response_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.download_source_files_response_dto import DownloadSourceFilesResponseDTO + +class TestDownloadSourceFilesResponseDTO(unittest.TestCase): + """DownloadSourceFilesResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DownloadSourceFilesResponseDTO: + """Test DownloadSourceFilesResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DownloadSourceFilesResponseDTO( + status = '', + messages = '' + ) + else: + return DownloadSourceFilesResponseDTO( + ) + + def testDownloadSourceFilesResponseDTO(self): + """Test DownloadSourceFilesResponseDTO""" + def validate_instance(instance): + DownloadSourceFilesResponseDTO.model_validate(inst_req_only) + instance_deserialized = DownloadSourceFilesResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dp_automation_metric_validation_summary_dto.py b/src/visier_platform_sdk/test/test_dp_automation_metric_validation_summary_dto.py deleted file mode 100644 index a3b366a0b4..0000000000 --- a/src/visier_platform_sdk/test/test_dp_automation_metric_validation_summary_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dp_automation_metric_validation_summary_dto import DpAutomationMetricValidationSummaryDTO - -class TestDpAutomationMetricValidationSummaryDTO(unittest.TestCase): - """DpAutomationMetricValidationSummaryDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DpAutomationMetricValidationSummaryDTO: - """Test DpAutomationMetricValidationSummaryDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DpAutomationMetricValidationSummaryDTO` - """ - model = DpAutomationMetricValidationSummaryDTO() - if include_optional: - return DpAutomationMetricValidationSummaryDTO( - symbol_name = '', - display_name = '', - value = 1.337 - ) - else: - return DpAutomationMetricValidationSummaryDTO( - ) - """ - - def testDpAutomationMetricValidationSummaryDTO(self): - """Test DpAutomationMetricValidationSummaryDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dp_automation_tenant_preview_entries_summary_dto.py b/src/visier_platform_sdk/test/test_dp_automation_tenant_preview_entries_summary_dto.py deleted file mode 100644 index f71b381fc3..0000000000 --- a/src/visier_platform_sdk/test/test_dp_automation_tenant_preview_entries_summary_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_dto import DpAutomationTenantPreviewEntriesSummaryDTO - -class TestDpAutomationTenantPreviewEntriesSummaryDTO(unittest.TestCase): - """DpAutomationTenantPreviewEntriesSummaryDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DpAutomationTenantPreviewEntriesSummaryDTO: - """Test DpAutomationTenantPreviewEntriesSummaryDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DpAutomationTenantPreviewEntriesSummaryDTO` - """ - model = DpAutomationTenantPreviewEntriesSummaryDTO() - if include_optional: - return DpAutomationTenantPreviewEntriesSummaryDTO( - tenant_code = '', - data_version = '', - data_version_date = '', - metrics = [ - visier_platform_sdk.models.dp_automation/metric_validation_summary_dto.dp_automation.MetricValidationSummaryDTO( - symbol_name = '', - display_name = '', - value = 1.337, ) - ] - ) - else: - return DpAutomationTenantPreviewEntriesSummaryDTO( - ) - """ - - def testDpAutomationTenantPreviewEntriesSummaryDTO(self): - """Test DpAutomationTenantPreviewEntriesSummaryDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dp_automation_tenant_preview_entries_summary_list_dto.py b/src/visier_platform_sdk/test/test_dp_automation_tenant_preview_entries_summary_list_dto.py deleted file mode 100644 index 6ec05a5f40..0000000000 --- a/src/visier_platform_sdk/test/test_dp_automation_tenant_preview_entries_summary_list_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_list_dto import DpAutomationTenantPreviewEntriesSummaryListDTO - -class TestDpAutomationTenantPreviewEntriesSummaryListDTO(unittest.TestCase): - """DpAutomationTenantPreviewEntriesSummaryListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DpAutomationTenantPreviewEntriesSummaryListDTO: - """Test DpAutomationTenantPreviewEntriesSummaryListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DpAutomationTenantPreviewEntriesSummaryListDTO` - """ - model = DpAutomationTenantPreviewEntriesSummaryListDTO() - if include_optional: - return DpAutomationTenantPreviewEntriesSummaryListDTO( - tenants = [ - visier_platform_sdk.models.dp_automation/tenant_preview_entries_summary_dto.dp_automation.TenantPreviewEntriesSummaryDTO( - tenant_code = '', - data_version = '', - data_version_date = '', - metrics = [ - visier_platform_sdk.models.dp_automation/metric_validation_summary_dto.dp_automation.MetricValidationSummaryDTO( - symbol_name = '', - display_name = '', - value = 1.337, ) - ], ) - ], - limit = 56, - start = 56 - ) - else: - return DpAutomationTenantPreviewEntriesSummaryListDTO( - ) - """ - - def testDpAutomationTenantPreviewEntriesSummaryListDTO(self): - """Test DpAutomationTenantPreviewEntriesSummaryListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dp_cancel_job_batch_from_job_id_dto.py b/src/visier_platform_sdk/test/test_dp_cancel_job_batch_from_job_id_dto.py deleted file mode 100644 index df448ee2ce..0000000000 --- a/src/visier_platform_sdk/test/test_dp_cancel_job_batch_from_job_id_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dp_cancel_job_batch_from_job_id_dto import DpCancelJobBatchFromJobIdDTO - -class TestDpCancelJobBatchFromJobIdDTO(unittest.TestCase): - """DpCancelJobBatchFromJobIdDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DpCancelJobBatchFromJobIdDTO: - """Test DpCancelJobBatchFromJobIdDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DpCancelJobBatchFromJobIdDTO` - """ - model = DpCancelJobBatchFromJobIdDTO() - if include_optional: - return DpCancelJobBatchFromJobIdDTO( - job_ids = [ - '' - ] - ) - else: - return DpCancelJobBatchFromJobIdDTO( - ) - """ - - def testDpCancelJobBatchFromJobIdDTO(self): - """Test DpCancelJobBatchFromJobIdDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dp_job_cancellation_result_dto.py b/src/visier_platform_sdk/test/test_dp_job_cancellation_result_dto.py deleted file mode 100644 index 9e85766abd..0000000000 --- a/src/visier_platform_sdk/test/test_dp_job_cancellation_result_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dp_job_cancellation_result_dto import DpJobCancellationResultDTO - -class TestDpJobCancellationResultDTO(unittest.TestCase): - """DpJobCancellationResultDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DpJobCancellationResultDTO: - """Test DpJobCancellationResultDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DpJobCancellationResultDTO` - """ - model = DpJobCancellationResultDTO() - if include_optional: - return DpJobCancellationResultDTO( - tenant_code = '', - job_id = '', - job_type = '', - parent_job_id = '', - cancel_status = 'CANCEL_FAILED', - job_status = '', - message = '' - ) - else: - return DpJobCancellationResultDTO( - ) - """ - - def testDpJobCancellationResultDTO(self): - """Test DpJobCancellationResultDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dp_job_cancellation_results_dto.py b/src/visier_platform_sdk/test/test_dp_job_cancellation_results_dto.py deleted file mode 100644 index 67b7923065..0000000000 --- a/src/visier_platform_sdk/test/test_dp_job_cancellation_results_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.dp_job_cancellation_results_dto import DpJobCancellationResultsDTO - -class TestDpJobCancellationResultsDTO(unittest.TestCase): - """DpJobCancellationResultsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DpJobCancellationResultsDTO: - """Test DpJobCancellationResultsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `DpJobCancellationResultsDTO` - """ - model = DpJobCancellationResultsDTO() - if include_optional: - return DpJobCancellationResultsDTO( - job_cancellation_results = [ - visier_platform_sdk.models.dp/job_cancellation_result_dto.dp.JobCancellationResultDTO( - tenant_code = '', - job_id = '', - job_type = '', - parent_job_id = '', - cancel_status = 'CANCEL_FAILED', - job_status = '', - message = '', ) - ] - ) - else: - return DpJobCancellationResultsDTO( - ) - """ - - def testDpJobCancellationResultsDTO(self): - """Test DpJobCancellationResultsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_dv_export_status.py b/src/visier_platform_sdk/test/test_dv_export_status.py index 5efd8fd3a9..b7f7303325 100644 --- a/src/visier_platform_sdk/test/test_dv_export_status.py +++ b/src/visier_platform_sdk/test/test_dv_export_status.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.dv_export_status import DvExportStatus class TestDvExportStatus(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> DvExportStatus: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `DvExportStatus` - """ - model = DvExportStatus() + if include_optional: return DvExportStatus( localized_message = '', @@ -45,12 +44,19 @@ def make_instance(self, include_optional) -> DvExportStatus: else: return DvExportStatus( ) - """ def testDvExportStatus(self): """Test DvExportStatus""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + DvExportStatus.model_validate(inst_req_only) + instance_deserialized = DvExportStatus.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_dynamic_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_dynamic_dimension_filter_dto.py new file mode 100644 index 0000000000..4e21a0baaf --- /dev/null +++ b/src/visier_platform_sdk/test/test_dynamic_dimension_filter_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dynamic_dimension_filter_dto import DynamicDimensionFilterDTO + +class TestDynamicDimensionFilterDTO(unittest.TestCase): + """DynamicDimensionFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DynamicDimensionFilterDTO: + """Test DynamicDimensionFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DynamicDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset' + ) + else: + return DynamicDimensionFilterDTO( + ) + + def testDynamicDimensionFilterDTO(self): + """Test DynamicDimensionFilterDTO""" + def validate_instance(instance): + DynamicDimensionFilterDTO.model_validate(inst_req_only) + instance_deserialized = DynamicDimensionFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_dynamic_property_mapping_dto.py b/src/visier_platform_sdk/test/test_dynamic_property_mapping_dto.py new file mode 100644 index 0000000000..d123389314 --- /dev/null +++ b/src/visier_platform_sdk/test/test_dynamic_property_mapping_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.dynamic_property_mapping_dto import DynamicPropertyMappingDTO + +class TestDynamicPropertyMappingDTO(unittest.TestCase): + """DynamicPropertyMappingDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DynamicPropertyMappingDTO: + """Test DynamicPropertyMappingDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = visier_platform_sdk.models.user_property_dto.UserPropertyDTO( + name = '', ), + hierarchy_property_status = 'Unset' + ) + else: + return DynamicPropertyMappingDTO( + ) + + def testDynamicPropertyMappingDTO(self): + """Test DynamicPropertyMappingDTO""" + def validate_instance(instance): + DynamicPropertyMappingDTO.model_validate(inst_req_only) + instance_deserialized = DynamicPropertyMappingDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_element_ids_dto.py b/src/visier_platform_sdk/test/test_element_ids_dto.py new file mode 100644 index 0000000000..7b65518f3d --- /dev/null +++ b/src/visier_platform_sdk/test/test_element_ids_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO + +class TestElementIDsDTO(unittest.TestCase): + """ElementIDsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElementIDsDTO: + """Test ElementIDsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ElementIDsDTO( + ids = [ + '' + ] + ) + else: + return ElementIDsDTO( + ) + + def testElementIDsDTO(self): + """Test ElementIDsDTO""" + def validate_instance(instance): + ElementIDsDTO.model_validate(inst_req_only) + instance_deserialized = ElementIDsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_email_domains_dto.py b/src/visier_platform_sdk/test/test_email_domains_dto.py new file mode 100644 index 0000000000..feb996c8e2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_email_domains_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.email_domains_dto import EmailDomainsDTO + +class TestEmailDomainsDTO(unittest.TestCase): + """EmailDomainsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EmailDomainsDTO: + """Test EmailDomainsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return EmailDomainsDTO( + domains = [ + '' + ], + confirm_not_allowed_domain = True + ) + else: + return EmailDomainsDTO( + ) + + def testEmailDomainsDTO(self): + """Test EmailDomainsDTO""" + def validate_instance(instance): + EmailDomainsDTO.model_validate(inst_req_only) + instance_deserialized = EmailDomainsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_error_dto.py b/src/visier_platform_sdk/test/test_error_dto.py new file mode 100644 index 0000000000..efed24ce82 --- /dev/null +++ b/src/visier_platform_sdk/test/test_error_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.error_dto import ErrorDTO + +class TestErrorDTO(unittest.TestCase): + """ErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ErrorDTO: + """Test ErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ErrorDTO( + root_cause_id = '', + error_code = '', + error_message = '' + ) + else: + return ErrorDTO( + ) + + def testErrorDTO(self): + """Test ErrorDTO""" + def validate_instance(instance): + ErrorDTO.model_validate(inst_req_only) + instance_deserialized = ErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_exclude_data_uploads_request.py b/src/visier_platform_sdk/test/test_exclude_data_uploads_request.py new file mode 100644 index 0000000000..e51bc663d1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_exclude_data_uploads_request.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.exclude_data_uploads_request import ExcludeDataUploadsRequest + +class TestExcludeDataUploadsRequest(unittest.TestCase): + """ExcludeDataUploadsRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExcludeDataUploadsRequest: + """Test ExcludeDataUploadsRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExcludeDataUploadsRequest( + uploads = [ + visier_platform_sdk.models.upload_to_exclude.UploadToExclude( + tenant_code = '', + exclude_all = True, + upload_times = [ + '' + ], + min_upload_time = '', + max_upload_time = '', + sources = [ + '' + ], + file_name_regex = '', + file_identifiers = [ + '' + ], ) + ] + ) + else: + return ExcludeDataUploadsRequest( + ) + + def testExcludeDataUploadsRequest(self): + """Test ExcludeDataUploadsRequest""" + def validate_instance(instance): + ExcludeDataUploadsRequest.model_validate(inst_req_only) + instance_deserialized = ExcludeDataUploadsRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_excluded_sources_body.py b/src/visier_platform_sdk/test/test_excluded_sources_body.py new file mode 100644 index 0000000000..72277f389e --- /dev/null +++ b/src/visier_platform_sdk/test/test_excluded_sources_body.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.excluded_sources_body import ExcludedSourcesBody + +class TestExcludedSourcesBody(unittest.TestCase): + """ExcludedSourcesBody unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExcludedSourcesBody: + """Test ExcludedSourcesBody + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExcludedSourcesBody( + excluded_sources = [ + '' + ] + ) + else: + return ExcludedSourcesBody( + ) + + def testExcludedSourcesBody(self): + """Test ExcludedSourcesBody""" + def validate_instance(instance): + ExcludedSourcesBody.model_validate(inst_req_only) + instance_deserialized = ExcludedSourcesBody.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_execution_context_dto.py b/src/visier_platform_sdk/test/test_execution_context_dto.py new file mode 100644 index 0000000000..aa3e65a49d --- /dev/null +++ b/src/visier_platform_sdk/test/test_execution_context_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO + +class TestExecutionContextDTO(unittest.TestCase): + """ExecutionContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExecutionContextDTO: + """Test ExecutionContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExecutionContextDTO( + tenant_code = '', + project_id = '' + ) + else: + return ExecutionContextDTO( + ) + + def testExecutionContextDTO(self): + """Test ExecutionContextDTO""" + def validate_instance(instance): + ExecutionContextDTO.model_validate(inst_req_only) + instance_deserialized = ExecutionContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_export_production_versions_api_operation_parameters_dto.py b/src/visier_platform_sdk/test/test_export_production_versions_api_operation_parameters_dto.py new file mode 100644 index 0000000000..a07acb4237 --- /dev/null +++ b/src/visier_platform_sdk/test/test_export_production_versions_api_operation_parameters_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.export_production_versions_api_operation_parameters_dto import ExportProductionVersionsAPIOperationParametersDTO + +class TestExportProductionVersionsAPIOperationParametersDTO(unittest.TestCase): + """ExportProductionVersionsAPIOperationParametersDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExportProductionVersionsAPIOperationParametersDTO: + """Test ExportProductionVersionsAPIOperationParametersDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExportProductionVersionsAPIOperationParametersDTO( + start_version = '', + end_version = '', + excluded_versions = [ + '' + ] + ) + else: + return ExportProductionVersionsAPIOperationParametersDTO( + ) + + def testExportProductionVersionsAPIOperationParametersDTO(self): + """Test ExportProductionVersionsAPIOperationParametersDTO""" + def validate_instance(instance): + ExportProductionVersionsAPIOperationParametersDTO.model_validate(inst_req_only) + instance_deserialized = ExportProductionVersionsAPIOperationParametersDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_extract_data_and_load_dto.py b/src/visier_platform_sdk/test/test_extract_data_and_load_dto.py new file mode 100644 index 0000000000..ea3e43f718 --- /dev/null +++ b/src/visier_platform_sdk/test/test_extract_data_and_load_dto.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.extract_data_and_load_dto import ExtractDataAndLoadDTO + +class TestExtractDataAndLoadDTO(unittest.TestCase): + """ExtractDataAndLoadDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExtractDataAndLoadDTO: + """Test ExtractDataAndLoadDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExtractDataAndLoadDTO( + tenants = [ + '' + ], + all_tenants = True, + override_last_extraction_timestamp = '', + publish_data_load_artifacts = True, + run_processing_job = True, + data_category_id = '', + disable_artifact_generation = True, + connector_ids = [ + '' + ], + last_extraction_time_offset_weeks = 56, + months_to_extract = 56, + extract_to_time_override = '', + batch_size_override = 56, + sql_batch_size = 56, + force_update_existing_artifacts = True, + excluded_tenants = [ + '' + ], + spill_debug_info_partitions_dto = 'spillNone', + spill_debug_info_detail_level_dto = 'fileAndLine', + last_extraction_time_offset_months = 56, + last_extraction_time_offset_mode = '', + offset_week_option = '', + offset_month_option = '', + credential_id = '' + ) + else: + return ExtractDataAndLoadDTO( + ) + + def testExtractDataAndLoadDTO(self): + """Test ExtractDataAndLoadDTO""" + def validate_instance(instance): + ExtractDataAndLoadDTO.model_validate(inst_req_only) + instance_deserialized = ExtractDataAndLoadDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_extracted_skill.py b/src/visier_platform_sdk/test/test_extracted_skill.py index 05aa4998c4..fb8792c02f 100644 --- a/src/visier_platform_sdk/test/test_extracted_skill.py +++ b/src/visier_platform_sdk/test/test_extracted_skill.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.extracted_skill import ExtractedSkill class TestExtractedSkill(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> ExtractedSkill: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `ExtractedSkill` - """ - model = ExtractedSkill() + if include_optional: return ExtractedSkill( id = '', @@ -48,12 +47,19 @@ def make_instance(self, include_optional) -> ExtractedSkill: description = '', score = 56, ) - """ def testExtractedSkill(self): """Test ExtractedSkill""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + ExtractedSkill.model_validate(inst_req_only) + instance_deserialized = ExtractedSkill.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_extraction_job.py b/src/visier_platform_sdk/test/test_extraction_job.py new file mode 100644 index 0000000000..14ca71bd8a --- /dev/null +++ b/src/visier_platform_sdk/test/test_extraction_job.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.extraction_job import ExtractionJob + +class TestExtractionJob(unittest.TestCase): + """ExtractionJob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExtractionJob: + """Test ExtractionJob + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExtractionJob( + extraction_job_id = '', + tenant_code = '', + status = '', + current_stage = '' + ) + else: + return ExtractionJob( + ) + + def testExtractionJob(self): + """Test ExtractionJob""" + def validate_instance(instance): + ExtractionJob.model_validate(inst_req_only) + instance_deserialized = ExtractionJob.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_extraction_job_and_status_response.py b/src/visier_platform_sdk/test/test_extraction_job_and_status_response.py new file mode 100644 index 0000000000..a14db1a346 --- /dev/null +++ b/src/visier_platform_sdk/test/test_extraction_job_and_status_response.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.extraction_job_and_status_response import ExtractionJobAndStatusResponse + +class TestExtractionJobAndStatusResponse(unittest.TestCase): + """ExtractionJobAndStatusResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExtractionJobAndStatusResponse: + """Test ExtractionJobAndStatusResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExtractionJobAndStatusResponse( + parent_job_id = '', + parent_tenant_code = '', + limit = 56, + start = 56, + extraction_jobs = [ + visier_platform_sdk.models.extraction_job.ExtractionJob( + extraction_job_id = '', + tenant_code = '', + status = '', + current_stage = '', ) + ] + ) + else: + return ExtractionJobAndStatusResponse( + ) + + def testExtractionJobAndStatusResponse(self): + """Test ExtractionJobAndStatusResponse""" + def validate_instance(instance): + ExtractionJobAndStatusResponse.model_validate(inst_req_only) + instance_deserialized = ExtractionJobAndStatusResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_extractor_credential_apidto.py b/src/visier_platform_sdk/test/test_extractor_credential_apidto.py new file mode 100644 index 0000000000..f49e299050 --- /dev/null +++ b/src/visier_platform_sdk/test/test_extractor_credential_apidto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.extractor_credential_apidto import ExtractorCredentialAPIDTO + +class TestExtractorCredentialAPIDTO(unittest.TestCase): + """ExtractorCredentialAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExtractorCredentialAPIDTO: + """Test ExtractorCredentialAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExtractorCredentialAPIDTO( + credential_id = '', + display_name = '', + data_provider = '', + is_inherited = True, + auth_context = '' + ) + else: + return ExtractorCredentialAPIDTO( + ) + + def testExtractorCredentialAPIDTO(self): + """Test ExtractorCredentialAPIDTO""" + def validate_instance(instance): + ExtractorCredentialAPIDTO.model_validate(inst_req_only) + instance_deserialized = ExtractorCredentialAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_extractor_credentials_apidto.py b/src/visier_platform_sdk/test/test_extractor_credentials_apidto.py new file mode 100644 index 0000000000..49e3df7bb3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_extractor_credentials_apidto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.extractor_credentials_apidto import ExtractorCredentialsAPIDTO + +class TestExtractorCredentialsAPIDTO(unittest.TestCase): + """ExtractorCredentialsAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExtractorCredentialsAPIDTO: + """Test ExtractorCredentialsAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExtractorCredentialsAPIDTO( + connector_credentials = [ + visier_platform_sdk.models.extractor_credential_apidto.ExtractorCredentialAPIDTO( + credential_id = '', + display_name = '', + data_provider = '', + is_inherited = True, + auth_context = '', ) + ], + limit = 56, + start = 56 + ) + else: + return ExtractorCredentialsAPIDTO( + ) + + def testExtractorCredentialsAPIDTO(self): + """Test ExtractorCredentialsAPIDTO""" + def validate_instance(instance): + ExtractorCredentialsAPIDTO.model_validate(inst_req_only) + instance_deserialized = ExtractorCredentialsAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_extractor_setting_apidto.py b/src/visier_platform_sdk/test/test_extractor_setting_apidto.py new file mode 100644 index 0000000000..ddef0ea2c5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_extractor_setting_apidto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.extractor_setting_apidto import ExtractorSettingAPIDTO + +class TestExtractorSettingAPIDTO(unittest.TestCase): + """ExtractorSettingAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExtractorSettingAPIDTO: + """Test ExtractorSettingAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExtractorSettingAPIDTO( + connector_id = '', + display_name = '', + connector_settings = [ + visier_platform_sdk.models.extractor_setting_key_value_apidto.ExtractorSettingKeyValueAPIDTO( + setting_key = '', + value = '', ) + ] + ) + else: + return ExtractorSettingAPIDTO( + ) + + def testExtractorSettingAPIDTO(self): + """Test ExtractorSettingAPIDTO""" + def validate_instance(instance): + ExtractorSettingAPIDTO.model_validate(inst_req_only) + instance_deserialized = ExtractorSettingAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_extractor_setting_key_value_apidto.py b/src/visier_platform_sdk/test/test_extractor_setting_key_value_apidto.py new file mode 100644 index 0000000000..7acbe33eda --- /dev/null +++ b/src/visier_platform_sdk/test/test_extractor_setting_key_value_apidto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.extractor_setting_key_value_apidto import ExtractorSettingKeyValueAPIDTO + +class TestExtractorSettingKeyValueAPIDTO(unittest.TestCase): + """ExtractorSettingKeyValueAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExtractorSettingKeyValueAPIDTO: + """Test ExtractorSettingKeyValueAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExtractorSettingKeyValueAPIDTO( + setting_key = '', + value = '' + ) + else: + return ExtractorSettingKeyValueAPIDTO( + ) + + def testExtractorSettingKeyValueAPIDTO(self): + """Test ExtractorSettingKeyValueAPIDTO""" + def validate_instance(instance): + ExtractorSettingKeyValueAPIDTO.model_validate(inst_req_only) + instance_deserialized = ExtractorSettingKeyValueAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_extractor_settings_apidto.py b/src/visier_platform_sdk/test/test_extractor_settings_apidto.py new file mode 100644 index 0000000000..78f5bddfaf --- /dev/null +++ b/src/visier_platform_sdk/test/test_extractor_settings_apidto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.extractor_settings_apidto import ExtractorSettingsAPIDTO + +class TestExtractorSettingsAPIDTO(unittest.TestCase): + """ExtractorSettingsAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ExtractorSettingsAPIDTO: + """Test ExtractorSettingsAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ExtractorSettingsAPIDTO( + connectors = [ + visier_platform_sdk.models.extractor_setting_apidto.ExtractorSettingAPIDTO( + connector_id = '', + display_name = '', + connector_settings = [ + visier_platform_sdk.models.extractor_setting_key_value_apidto.ExtractorSettingKeyValueAPIDTO( + setting_key = '', + value = '', ) + ], ) + ] + ) + else: + return ExtractorSettingsAPIDTO( + ) + + def testExtractorSettingsAPIDTO(self): + """Test ExtractorSettingsAPIDTO""" + def validate_instance(instance): + ExtractorSettingsAPIDTO.model_validate(inst_req_only) + instance_deserialized = ExtractorSettingsAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_failed_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_failed_accessible_tenant_profile_assignment_dto.py new file mode 100644 index 0000000000..1fa85e9892 --- /dev/null +++ b/src/visier_platform_sdk/test/test_failed_accessible_tenant_profile_assignment_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.failed_accessible_tenant_profile_assignment_dto import FailedAccessibleTenantProfileAssignmentDTO + +class TestFailedAccessibleTenantProfileAssignmentDTO(unittest.TestCase): + """FailedAccessibleTenantProfileAssignmentDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> FailedAccessibleTenantProfileAssignmentDTO: + """Test FailedAccessibleTenantProfileAssignmentDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return FailedAccessibleTenantProfileAssignmentDTO( + user_id = '', + tenant_code = '', + for_all_children = True, + error = visier_platform_sdk.models.error_dto.ErrorDTO( + root_cause_id = '', + error_code = '', + error_message = '', ) + ) + else: + return FailedAccessibleTenantProfileAssignmentDTO( + ) + + def testFailedAccessibleTenantProfileAssignmentDTO(self): + """Test FailedAccessibleTenantProfileAssignmentDTO""" + def validate_instance(instance): + FailedAccessibleTenantProfileAssignmentDTO.model_validate(inst_req_only) + instance_deserialized = FailedAccessibleTenantProfileAssignmentDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_failed_change_dto.py b/src/visier_platform_sdk/test/test_failed_change_dto.py new file mode 100644 index 0000000000..749d92c71e --- /dev/null +++ b/src/visier_platform_sdk/test/test_failed_change_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.failed_change_dto import FailedChangeDTO + +class TestFailedChangeDTO(unittest.TestCase): + """FailedChangeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> FailedChangeDTO: + """Test FailedChangeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return FailedChangeDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + object_name = '', + uuid = '', + display_name = '', + messages = [ + '' + ] + ) + else: + return FailedChangeDTO( + ) + + def testFailedChangeDTO(self): + """Test FailedChangeDTO""" + def validate_instance(instance): + FailedChangeDTO.model_validate(inst_req_only) + instance_deserialized = FailedChangeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_failed_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_failed_local_tenant_profile_assignment_dto.py new file mode 100644 index 0000000000..bc2e025af2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_failed_local_tenant_profile_assignment_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.failed_local_tenant_profile_assignment_dto import FailedLocalTenantProfileAssignmentDTO + +class TestFailedLocalTenantProfileAssignmentDTO(unittest.TestCase): + """FailedLocalTenantProfileAssignmentDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> FailedLocalTenantProfileAssignmentDTO: + """Test FailedLocalTenantProfileAssignmentDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return FailedLocalTenantProfileAssignmentDTO( + user_id = '', + error = visier_platform_sdk.models.error_dto.ErrorDTO( + root_cause_id = '', + error_code = '', + error_message = '', ) + ) + else: + return FailedLocalTenantProfileAssignmentDTO( + ) + + def testFailedLocalTenantProfileAssignmentDTO(self): + """Test FailedLocalTenantProfileAssignmentDTO""" + def validate_instance(instance): + FailedLocalTenantProfileAssignmentDTO.model_validate(inst_req_only) + instance_deserialized = FailedLocalTenantProfileAssignmentDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_failed_local_tenant_profile_revoke_dto.py b/src/visier_platform_sdk/test/test_failed_local_tenant_profile_revoke_dto.py new file mode 100644 index 0000000000..22816cb6ef --- /dev/null +++ b/src/visier_platform_sdk/test/test_failed_local_tenant_profile_revoke_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.failed_local_tenant_profile_revoke_dto import FailedLocalTenantProfileRevokeDTO + +class TestFailedLocalTenantProfileRevokeDTO(unittest.TestCase): + """FailedLocalTenantProfileRevokeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> FailedLocalTenantProfileRevokeDTO: + """Test FailedLocalTenantProfileRevokeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return FailedLocalTenantProfileRevokeDTO( + user_id = '', + message = '' + ) + else: + return FailedLocalTenantProfileRevokeDTO( + ) + + def testFailedLocalTenantProfileRevokeDTO(self): + """Test FailedLocalTenantProfileRevokeDTO""" + def validate_instance(instance): + FailedLocalTenantProfileRevokeDTO.model_validate(inst_req_only) + instance_deserialized = FailedLocalTenantProfileRevokeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_fusion_auth_params_dto.py b/src/visier_platform_sdk/test/test_fusion_auth_params_dto.py new file mode 100644 index 0000000000..c92f137f33 --- /dev/null +++ b/src/visier_platform_sdk/test/test_fusion_auth_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.fusion_auth_params_dto import FusionAuthParamsDTO + +class TestFusionAuthParamsDTO(unittest.TestCase): + """FusionAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> FusionAuthParamsDTO: + """Test FusionAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return FusionAuthParamsDTO( + username = '', + password = '', + host_domain_name = '' + ) + else: + return FusionAuthParamsDTO( + ) + + def testFusionAuthParamsDTO(self): + """Test FusionAuthParamsDTO""" + def validate_instance(instance): + FusionAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = FusionAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_generate_impersonation_token_request.py b/src/visier_platform_sdk/test/test_generate_impersonation_token_request.py index 9021779d83..f468cd4f5d 100644 --- a/src/visier_platform_sdk/test/test_generate_impersonation_token_request.py +++ b/src/visier_platform_sdk/test/test_generate_impersonation_token_request.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.generate_impersonation_token_request import GenerateImpersonationTokenRequest class TestGenerateImpersonationTokenRequest(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> GenerateImpersonationTokenRequest: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `GenerateImpersonationTokenRequest` - """ - model = GenerateImpersonationTokenRequest() + if include_optional: return GenerateImpersonationTokenRequest( target_username = '' @@ -41,12 +40,19 @@ def make_instance(self, include_optional) -> GenerateImpersonationTokenRequest: else: return GenerateImpersonationTokenRequest( ) - """ def testGenerateImpersonationTokenRequest(self): """Test GenerateImpersonationTokenRequest""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + GenerateImpersonationTokenRequest.model_validate(inst_req_only) + instance_deserialized = GenerateImpersonationTokenRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_generate_key_request_dto.py b/src/visier_platform_sdk/test/test_generate_key_request_dto.py new file mode 100644 index 0000000000..d974956c10 --- /dev/null +++ b/src/visier_platform_sdk/test/test_generate_key_request_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.generate_key_request_dto import GenerateKeyRequestDTO + +class TestGenerateKeyRequestDTO(unittest.TestCase): + """GenerateKeyRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GenerateKeyRequestDTO: + """Test GenerateKeyRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GenerateKeyRequestDTO( + key_name = '', + expiry_date = '', + algorithm = '' + ) + else: + return GenerateKeyRequestDTO( + ) + + def testGenerateKeyRequestDTO(self): + """Test GenerateKeyRequestDTO""" + def validate_instance(instance): + GenerateKeyRequestDTO.model_validate(inst_req_only) + instance_deserialized = GenerateKeyRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_capabilities_api_response_dto.py b/src/visier_platform_sdk/test/test_get_capabilities_api_response_dto.py new file mode 100644 index 0000000000..9c30a15025 --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_capabilities_api_response_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_capabilities_api_response_dto import GetCapabilitiesAPIResponseDTO + +class TestGetCapabilitiesAPIResponseDTO(unittest.TestCase): + """GetCapabilitiesAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetCapabilitiesAPIResponseDTO: + """Test GetCapabilitiesAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetCapabilitiesAPIResponseDTO( + capabilities = [ + visier_platform_sdk.models.capability_dto.CapabilityDTO( + name = '', + display_name = '', + description = '', ) + ] + ) + else: + return GetCapabilitiesAPIResponseDTO( + ) + + def testGetCapabilitiesAPIResponseDTO(self): + """Test GetCapabilitiesAPIResponseDTO""" + def validate_instance(instance): + GetCapabilitiesAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetCapabilitiesAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_content_packages_api_response_dto.py b/src/visier_platform_sdk/test/test_get_content_packages_api_response_dto.py new file mode 100644 index 0000000000..ed332cfd2a --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_content_packages_api_response_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_content_packages_api_response_dto import GetContentPackagesAPIResponseDTO + +class TestGetContentPackagesAPIResponseDTO(unittest.TestCase): + """GetContentPackagesAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetContentPackagesAPIResponseDTO: + """Test GetContentPackagesAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetContentPackagesAPIResponseDTO( + content_packages = [ + visier_platform_sdk.models.content_package_dto.ContentPackageDTO( + content_package_id = '', + display_name = '', + description = '', ) + ] + ) + else: + return GetContentPackagesAPIResponseDTO( + ) + + def testGetContentPackagesAPIResponseDTO(self): + """Test GetContentPackagesAPIResponseDTO""" + def validate_instance(instance): + GetContentPackagesAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetContentPackagesAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_data_access_sets_api_response_dto.py b/src/visier_platform_sdk/test/test_get_data_access_sets_api_response_dto.py new file mode 100644 index 0000000000..61eb75894b --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_data_access_sets_api_response_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_data_access_sets_api_response_dto import GetDataAccessSetsAPIResponseDTO + +class TestGetDataAccessSetsAPIResponseDTO(unittest.TestCase): + """GetDataAccessSetsAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetDataAccessSetsAPIResponseDTO: + """Test GetDataAccessSetsAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetDataAccessSetsAPIResponseDTO( + data_access_sets = [ + visier_platform_sdk.models.data_access_set_dto.DataAccessSetDTO( + id = '', + display_name = '', + description = '', + analytic_object_id = '', + property_access_configs = [ + visier_platform_sdk.models.property_access_config_dto.PropertyAccessConfigDTO( + property_id = '', + analytic_object_id = '', + analytic_object_reference_paths = [ + '' + ], + access_level = 'None', + property_status = 'Unset', ) + ], ) + ] + ) + else: + return GetDataAccessSetsAPIResponseDTO( + ) + + def testGetDataAccessSetsAPIResponseDTO(self): + """Test GetDataAccessSetsAPIResponseDTO""" + def validate_instance(instance): + GetDataAccessSetsAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetDataAccessSetsAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_data_security_objects_api_response_dto.py b/src/visier_platform_sdk/test/test_get_data_security_objects_api_response_dto.py new file mode 100644 index 0000000000..117930e899 --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_data_security_objects_api_response_dto.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_data_security_objects_api_response_dto import GetDataSecurityObjectsAPIResponseDTO + +class TestGetDataSecurityObjectsAPIResponseDTO(unittest.TestCase): + """GetDataSecurityObjectsAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetDataSecurityObjectsAPIResponseDTO: + """Test GetDataSecurityObjectsAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetDataSecurityObjectsAPIResponseDTO( + analytic_objects = [ + visier_platform_sdk.models.analytic_object_dto.AnalyticObjectDTO( + analytic_object_id = '', + display_name = '', + object_type = 'Event', + related_objects = [ + visier_platform_sdk.models.related_analytic_object_dto.RelatedAnalyticObjectDTO( + analytic_object_id = '', + display_name = '', ) + ], + securable_properties = [ + visier_platform_sdk.models.securable_property_dto.SecurablePropertyDTO( + property_id = '', + display_name = '', + analytic_object_id = '', + is_primary_key = True, + reference_symbol_name = '', ) + ], + securable_dimensions = [ + visier_platform_sdk.models.securable_dimension_dto.SecurableDimensionDTO( + dimension_id = '', + display_name = '', + analytic_object_ids = [ + '' + ], + hierarchy_properties = [ + visier_platform_sdk.models.hierarchy_property_dto.HierarchyPropertyDTO( + hierarchy_property_id = '', + display_name = '', ) + ], ) + ], ) + ] + ) + else: + return GetDataSecurityObjectsAPIResponseDTO( + ) + + def testGetDataSecurityObjectsAPIResponseDTO(self): + """Test GetDataSecurityObjectsAPIResponseDTO""" + def validate_instance(instance): + GetDataSecurityObjectsAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetDataSecurityObjectsAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_permissions_api_response_dto.py b/src/visier_platform_sdk/test/test_get_permissions_api_response_dto.py new file mode 100644 index 0000000000..ce40c7973e --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_permissions_api_response_dto.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_permissions_api_response_dto import GetPermissionsAPIResponseDTO + +class TestGetPermissionsAPIResponseDTO(unittest.TestCase): + """GetPermissionsAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetPermissionsAPIResponseDTO: + """Test GetPermissionsAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetPermissionsAPIResponseDTO( + permissions = [ + visier_platform_sdk.models.permission_dto.PermissionDTO( + permission_id = '', + display_name = '', + description = '', + data_security_profiles = [ + visier_platform_sdk.models.data_security_profile_dto.DataSecurityProfileDTO( + analytic_object_id = '', + property_set_config = None, + all_data_point_access = True, + member_filter_configs = [ + visier_platform_sdk.models.member_filter_config_dto.MemberFilterConfigDTO( + dimension_filters = [ + visier_platform_sdk.models.dimension_filter_dto.DimensionFilterDTO( + static_dimension_filter = visier_platform_sdk.models.static_dimension_filter_dto.StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset', ), + dynamic_dimension_filter = visier_platform_sdk.models.dynamic_dimension_filter_dto.DynamicDimensionFilterDTO( + dimension_id = '', + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset', ), ) + ], ) + ], + inherited_access_configs = [ + visier_platform_sdk.models.inherited_access_config_dto.InheritedAccessConfigDTO( + analytic_object_id = '', + remove_access = True, ) + ], + inherited_reference_member_filter_config = None, + analytic_object_status = 'Unset', ) + ], + admin_capability_config = None, + role_modules_config = None, ) + ] + ) + else: + return GetPermissionsAPIResponseDTO( + ) + + def testGetPermissionsAPIResponseDTO(self): + """Test GetPermissionsAPIResponseDTO""" + def validate_instance(instance): + GetPermissionsAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetPermissionsAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_plan_list_response_dto.py b/src/visier_platform_sdk/test/test_get_plan_list_response_dto.py new file mode 100644 index 0000000000..e609054319 --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_plan_list_response_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_plan_list_response_dto import GetPlanListResponseDTO + +class TestGetPlanListResponseDTO(unittest.TestCase): + """GetPlanListResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetPlanListResponseDTO: + """Test GetPlanListResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetPlanListResponseDTO( + plans = [ + visier_platform_sdk.models.plan_info_dto.PlanInfoDTO( + uuid = '', + display_name = '', + model_id = '', + scenarios = [ + visier_platform_sdk.models.scenario_info_dto.ScenarioInfoDTO( + uuid = '', + display_name = '', + versioned_scenario_id = '', ) + ], + parent_plan_uuid = '', + currency_code = '', ) + ], + page = 56 + ) + else: + return GetPlanListResponseDTO( + ) + + def testGetPlanListResponseDTO(self): + """Test GetPlanListResponseDTO""" + def validate_instance(instance): + GetPlanListResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetPlanListResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_production_versions_api_response_dto.py b/src/visier_platform_sdk/test/test_get_production_versions_api_response_dto.py new file mode 100644 index 0000000000..77fc4442d0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_production_versions_api_response_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_production_versions_api_response_dto import GetProductionVersionsAPIResponseDTO + +class TestGetProductionVersionsAPIResponseDTO(unittest.TestCase): + """GetProductionVersionsAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetProductionVersionsAPIResponseDTO: + """Test GetProductionVersionsAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetProductionVersionsAPIResponseDTO( + published_versions = [ + visier_platform_sdk.models.project_dto.ProjectDTO( + id = '', + name = '', + description = '', + release_version = '', + ticket_number = '', + version_number = 56, + capabilities = [ + 'canRead' + ], ) + ] + ) + else: + return GetProductionVersionsAPIResponseDTO( + ) + + def testGetProductionVersionsAPIResponseDTO(self): + """Test GetProductionVersionsAPIResponseDTO""" + def validate_instance(instance): + GetProductionVersionsAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetProductionVersionsAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_projects_api_response_dto.py b/src/visier_platform_sdk/test/test_get_projects_api_response_dto.py new file mode 100644 index 0000000000..571ca648a6 --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_projects_api_response_dto.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_projects_api_response_dto import GetProjectsAPIResponseDTO + +class TestGetProjectsAPIResponseDTO(unittest.TestCase): + """GetProjectsAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetProjectsAPIResponseDTO: + """Test GetProjectsAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetProjectsAPIResponseDTO( + open_projects = [ + visier_platform_sdk.models.project_dto.ProjectDTO( + id = '', + name = '', + description = '', + release_version = '', + ticket_number = '', + version_number = 56, + capabilities = [ + 'canRead' + ], ) + ], + approval_projects = [ + visier_platform_sdk.models.project_dto.ProjectDTO( + id = '', + name = '', + description = '', + release_version = '', + ticket_number = '', + version_number = 56, + capabilities = [ + 'canRead' + ], ) + ], + rejected_projects = [ + visier_platform_sdk.models.project_dto.ProjectDTO( + id = '', + name = '', + description = '', + release_version = '', + ticket_number = '', + version_number = 56, + capabilities = [ + 'canRead' + ], ) + ], + archived_projects = [ + visier_platform_sdk.models.project_dto.ProjectDTO( + id = '', + name = '', + description = '', + release_version = '', + ticket_number = '', + version_number = 56, + capabilities = [ + 'canRead' + ], ) + ] + ) + else: + return GetProjectsAPIResponseDTO( + ) + + def testGetProjectsAPIResponseDTO(self): + """Test GetProjectsAPIResponseDTO""" + def validate_instance(instance): + GetProjectsAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetProjectsAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_gong_auth_params_dto.py b/src/visier_platform_sdk/test/test_gong_auth_params_dto.py new file mode 100644 index 0000000000..c7b69253d3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_gong_auth_params_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.gong_auth_params_dto import GongAuthParamsDTO + +class TestGongAuthParamsDTO(unittest.TestCase): + """GongAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GongAuthParamsDTO: + """Test GongAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GongAuthParamsDTO( + client_id = '', + client_secret = '' + ) + else: + return GongAuthParamsDTO( + ) + + def testGongAuthParamsDTO(self): + """Test GongAuthParamsDTO""" + def validate_instance(instance): + GongAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = GongAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_google_protobuf_any.py b/src/visier_platform_sdk/test/test_google_protobuf_any.py deleted file mode 100644 index 1e7b608c81..0000000000 --- a/src/visier_platform_sdk/test/test_google_protobuf_any.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.google_protobuf_any import GoogleProtobufAny - -class TestGoogleProtobufAny(unittest.TestCase): - """GoogleProtobufAny unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> GoogleProtobufAny: - """Test GoogleProtobufAny - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `GoogleProtobufAny` - """ - model = GoogleProtobufAny() - if include_optional: - return GoogleProtobufAny( - type = '' - ) - else: - return GoogleProtobufAny( - ) - """ - - def testGoogleProtobufAny(self): - """Test GoogleProtobufAny""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_google_sheets_auth_params_dto.py b/src/visier_platform_sdk/test/test_google_sheets_auth_params_dto.py new file mode 100644 index 0000000000..e58257fb77 --- /dev/null +++ b/src/visier_platform_sdk/test/test_google_sheets_auth_params_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.google_sheets_auth_params_dto import GoogleSheetsAuthParamsDTO + +class TestGoogleSheetsAuthParamsDTO(unittest.TestCase): + """GoogleSheetsAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GoogleSheetsAuthParamsDTO: + """Test GoogleSheetsAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GoogleSheetsAuthParamsDTO( + auth_code = '', + configuration = '', + client_id = '', + client_secret = '' + ) + else: + return GoogleSheetsAuthParamsDTO( + ) + + def testGoogleSheetsAuthParamsDTO(self): + """Test GoogleSheetsAuthParamsDTO""" + def validate_instance(instance): + GoogleSheetsAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = GoogleSheetsAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_google_workspace_auth_params_dto.py b/src/visier_platform_sdk/test/test_google_workspace_auth_params_dto.py new file mode 100644 index 0000000000..9eff4c5ace --- /dev/null +++ b/src/visier_platform_sdk/test/test_google_workspace_auth_params_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.google_workspace_auth_params_dto import GoogleWorkspaceAuthParamsDTO + +class TestGoogleWorkspaceAuthParamsDTO(unittest.TestCase): + """GoogleWorkspaceAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GoogleWorkspaceAuthParamsDTO: + """Test GoogleWorkspaceAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GoogleWorkspaceAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', + service_account = '', + privacy_mode = '' + ) + else: + return GoogleWorkspaceAuthParamsDTO( + ) + + def testGoogleWorkspaceAuthParamsDTO(self): + """Test GoogleWorkspaceAuthParamsDTO""" + def validate_instance(instance): + GoogleWorkspaceAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = GoogleWorkspaceAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_greenhouse_auth_params_dto.py b/src/visier_platform_sdk/test/test_greenhouse_auth_params_dto.py new file mode 100644 index 0000000000..97eec8eb9a --- /dev/null +++ b/src/visier_platform_sdk/test/test_greenhouse_auth_params_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.greenhouse_auth_params_dto import GreenhouseAuthParamsDTO + +class TestGreenhouseAuthParamsDTO(unittest.TestCase): + """GreenhouseAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GreenhouseAuthParamsDTO: + """Test GreenhouseAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GreenhouseAuthParamsDTO( + api_key = '' + ) + else: + return GreenhouseAuthParamsDTO( + ) + + def testGreenhouseAuthParamsDTO(self): + """Test GreenhouseAuthParamsDTO""" + def validate_instance(instance): + GreenhouseAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = GreenhouseAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_hierarchy.py b/src/visier_platform_sdk/test/test_hierarchy.py index 45e84275c2..4fd2e230c9 100644 --- a/src/visier_platform_sdk/test/test_hierarchy.py +++ b/src/visier_platform_sdk/test/test_hierarchy.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.hierarchy import Hierarchy class TestHierarchy(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> Hierarchy: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `Hierarchy` - """ - model = Hierarchy() + if include_optional: return Hierarchy( id = '', @@ -45,12 +44,19 @@ def make_instance(self, include_optional) -> Hierarchy: id = '', name = '', ) - """ def testHierarchy(self): """Test Hierarchy""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + Hierarchy.model_validate(inst_req_only) + instance_deserialized = Hierarchy.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_hierarchy_property_dto.py b/src/visier_platform_sdk/test/test_hierarchy_property_dto.py new file mode 100644 index 0000000000..ec2658a507 --- /dev/null +++ b/src/visier_platform_sdk/test/test_hierarchy_property_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.hierarchy_property_dto import HierarchyPropertyDTO + +class TestHierarchyPropertyDTO(unittest.TestCase): + """HierarchyPropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> HierarchyPropertyDTO: + """Test HierarchyPropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return HierarchyPropertyDTO( + hierarchy_property_id = '', + display_name = '' + ) + else: + return HierarchyPropertyDTO( + ) + + def testHierarchyPropertyDTO(self): + """Test HierarchyPropertyDTO""" + def validate_instance(instance): + HierarchyPropertyDTO.model_validate(inst_req_only) + instance_deserialized = HierarchyPropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_home_analysis_by_user_group_dto.py b/src/visier_platform_sdk/test/test_home_analysis_by_user_group_dto.py new file mode 100644 index 0000000000..61d92f094d --- /dev/null +++ b/src/visier_platform_sdk/test/test_home_analysis_by_user_group_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.home_analysis_by_user_group_dto import HomeAnalysisByUserGroupDTO + +class TestHomeAnalysisByUserGroupDTO(unittest.TestCase): + """HomeAnalysisByUserGroupDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> HomeAnalysisByUserGroupDTO: + """Test HomeAnalysisByUserGroupDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return HomeAnalysisByUserGroupDTO( + user_group_id = '', + home_analysis_id = '' + ) + else: + return HomeAnalysisByUserGroupDTO( + ) + + def testHomeAnalysisByUserGroupDTO(self): + """Test HomeAnalysisByUserGroupDTO""" + def validate_instance(instance): + HomeAnalysisByUserGroupDTO.model_validate(inst_req_only) + instance_deserialized = HomeAnalysisByUserGroupDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_icims_auth_params_dto.py b/src/visier_platform_sdk/test/test_icims_auth_params_dto.py new file mode 100644 index 0000000000..8bd7682b29 --- /dev/null +++ b/src/visier_platform_sdk/test/test_icims_auth_params_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.icims_auth_params_dto import IcimsAuthParamsDTO + +class TestIcimsAuthParamsDTO(unittest.TestCase): + """IcimsAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> IcimsAuthParamsDTO: + """Test IcimsAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return IcimsAuthParamsDTO( + customer_id = '', + username = '', + password = '', + client_id = '', + client_secret = '', + region = 'US' + ) + else: + return IcimsAuthParamsDTO( + ) + + def testIcimsAuthParamsDTO(self): + """Test IcimsAuthParamsDTO""" + def validate_instance(instance): + IcimsAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = IcimsAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_import_definition_apidto.py b/src/visier_platform_sdk/test/test_import_definition_apidto.py new file mode 100644 index 0000000000..a1fc306021 --- /dev/null +++ b/src/visier_platform_sdk/test/test_import_definition_apidto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.import_definition_apidto import ImportDefinitionAPIDTO + +class TestImportDefinitionAPIDTO(unittest.TestCase): + """ImportDefinitionAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ImportDefinitionAPIDTO: + """Test ImportDefinitionAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ImportDefinitionAPIDTO( + connector_id = '', + display_name = '', + credential_id = '' + ) + else: + return ImportDefinitionAPIDTO( + ) + + def testImportDefinitionAPIDTO(self): + """Test ImportDefinitionAPIDTO""" + def validate_instance(instance): + ImportDefinitionAPIDTO.model_validate(inst_req_only) + instance_deserialized = ImportDefinitionAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_import_definitions_apidto.py b/src/visier_platform_sdk/test/test_import_definitions_apidto.py new file mode 100644 index 0000000000..f88dccb5be --- /dev/null +++ b/src/visier_platform_sdk/test/test_import_definitions_apidto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.import_definitions_apidto import ImportDefinitionsAPIDTO + +class TestImportDefinitionsAPIDTO(unittest.TestCase): + """ImportDefinitionsAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ImportDefinitionsAPIDTO: + """Test ImportDefinitionsAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ImportDefinitionsAPIDTO( + data_connectors = [ + visier_platform_sdk.models.import_definition_apidto.ImportDefinitionAPIDTO( + connector_id = '', + display_name = '', + credential_id = '', ) + ], + limit = 56, + start = 56 + ) + else: + return ImportDefinitionsAPIDTO( + ) + + def testImportDefinitionsAPIDTO(self): + """Test ImportDefinitionsAPIDTO""" + def validate_instance(instance): + ImportDefinitionsAPIDTO.model_validate(inst_req_only) + instance_deserialized = ImportDefinitionsAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_include_data_uploads_request.py b/src/visier_platform_sdk/test/test_include_data_uploads_request.py new file mode 100644 index 0000000000..4b1e5565bd --- /dev/null +++ b/src/visier_platform_sdk/test/test_include_data_uploads_request.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.include_data_uploads_request import IncludeDataUploadsRequest + +class TestIncludeDataUploadsRequest(unittest.TestCase): + """IncludeDataUploadsRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> IncludeDataUploadsRequest: + """Test IncludeDataUploadsRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return IncludeDataUploadsRequest( + uploads = [ + visier_platform_sdk.models.upload_to_include.UploadToInclude( + tenant_code = '', + include_all = True, + upload_times = [ + '' + ], + min_upload_time = '', + max_upload_time = '', + sources = [ + '' + ], + file_name_regex = '', + file_identifiers = [ + '' + ], ) + ] + ) + else: + return IncludeDataUploadsRequest( + ) + + def testIncludeDataUploadsRequest(self): + """Test IncludeDataUploadsRequest""" + def validate_instance(instance): + IncludeDataUploadsRequest.model_validate(inst_req_only) + instance_deserialized = IncludeDataUploadsRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_inherited_access_config_dto.py b/src/visier_platform_sdk/test/test_inherited_access_config_dto.py new file mode 100644 index 0000000000..e08d024603 --- /dev/null +++ b/src/visier_platform_sdk/test/test_inherited_access_config_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.inherited_access_config_dto import InheritedAccessConfigDTO + +class TestInheritedAccessConfigDTO(unittest.TestCase): + """InheritedAccessConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InheritedAccessConfigDTO: + """Test InheritedAccessConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return InheritedAccessConfigDTO( + analytic_object_id = '', + remove_access = True, + member_filter_configs = [ + visier_platform_sdk.models.member_filter_config_dto.MemberFilterConfigDTO( + dimension_filters = [ + visier_platform_sdk.models.dimension_filter_dto.DimensionFilterDTO( + static_dimension_filter = visier_platform_sdk.models.static_dimension_filter_dto.StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset', ), + dynamic_dimension_filter = visier_platform_sdk.models.dynamic_dimension_filter_dto.DynamicDimensionFilterDTO( + dimension_id = '', + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset', ), ) + ], ) + ] + ) + else: + return InheritedAccessConfigDTO( + ) + + def testInheritedAccessConfigDTO(self): + """Test InheritedAccessConfigDTO""" + def validate_instance(instance): + InheritedAccessConfigDTO.model_validate(inst_req_only) + instance_deserialized = InheritedAccessConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_inherited_reference_member_filter_config_dto.py b/src/visier_platform_sdk/test/test_inherited_reference_member_filter_config_dto.py new file mode 100644 index 0000000000..9bdf8eab51 --- /dev/null +++ b/src/visier_platform_sdk/test/test_inherited_reference_member_filter_config_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.inherited_reference_member_filter_config_dto import InheritedReferenceMemberFilterConfigDTO + +class TestInheritedReferenceMemberFilterConfigDTO(unittest.TestCase): + """InheritedReferenceMemberFilterConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InheritedReferenceMemberFilterConfigDTO: + """Test InheritedReferenceMemberFilterConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return InheritedReferenceMemberFilterConfigDTO( + target_analytic_object_id = '', + analytic_object_reference = '' + ) + else: + return InheritedReferenceMemberFilterConfigDTO( + ) + + def testInheritedReferenceMemberFilterConfigDTO(self): + """Test InheritedReferenceMemberFilterConfigDTO""" + def validate_instance(instance): + InheritedReferenceMemberFilterConfigDTO.model_validate(inst_req_only) + instance_deserialized = InheritedReferenceMemberFilterConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_internal_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_internal_query_execution_options_dto.py new file mode 100644 index 0000000000..f60a5694b2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_internal_query_execution_options_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.internal_query_execution_options_dto import InternalQueryExecutionOptionsDTO + +class TestInternalQueryExecutionOptionsDTO(unittest.TestCase): + """InternalQueryExecutionOptionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InternalQueryExecutionOptionsDTO: + """Test InternalQueryExecutionOptionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return InternalQueryExecutionOptionsDTO( + sparse_handling_mode = 'ALLOW', + align_time_axis_to_period_end = True + ) + else: + return InternalQueryExecutionOptionsDTO( + ) + + def testInternalQueryExecutionOptionsDTO(self): + """Test InternalQueryExecutionOptionsDTO""" + def validate_instance(instance): + InternalQueryExecutionOptionsDTO.model_validate(inst_req_only) + instance_deserialized = InternalQueryExecutionOptionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_internal_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_internal_s3_auth_params_dto.py new file mode 100644 index 0000000000..9957216837 --- /dev/null +++ b/src/visier_platform_sdk/test/test_internal_s3_auth_params_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.internal_s3_auth_params_dto import InternalS3AuthParamsDTO + +class TestInternalS3AuthParamsDTO(unittest.TestCase): + """InternalS3AuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InternalS3AuthParamsDTO: + """Test InternalS3AuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return InternalS3AuthParamsDTO( + bucket_name = '', + path = '' + ) + else: + return InternalS3AuthParamsDTO( + ) + + def testInternalS3AuthParamsDTO(self): + """Test InternalS3AuthParamsDTO""" + def validate_instance(instance): + InternalS3AuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = InternalS3AuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_jdbc_auth_params_dto.py b/src/visier_platform_sdk/test/test_jdbc_auth_params_dto.py new file mode 100644 index 0000000000..0379e83d41 --- /dev/null +++ b/src/visier_platform_sdk/test/test_jdbc_auth_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.jdbc_auth_params_dto import JdbcAuthParamsDTO + +class TestJdbcAuthParamsDTO(unittest.TestCase): + """JdbcAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> JdbcAuthParamsDTO: + """Test JdbcAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return JdbcAuthParamsDTO( + jdbc_connect_string = '', + username = '', + password = '' + ) + else: + return JdbcAuthParamsDTO( + ) + + def testJdbcAuthParamsDTO(self): + """Test JdbcAuthParamsDTO""" + def validate_instance(instance): + JdbcAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = JdbcAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_jira_auth_params_dto.py b/src/visier_platform_sdk/test/test_jira_auth_params_dto.py new file mode 100644 index 0000000000..2ae8ad07d6 --- /dev/null +++ b/src/visier_platform_sdk/test/test_jira_auth_params_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.jira_auth_params_dto import JiraAuthParamsDTO + +class TestJiraAuthParamsDTO(unittest.TestCase): + """JiraAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> JiraAuthParamsDTO: + """Test JiraAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return JiraAuthParamsDTO( + api_token = '', + host_name = '', + connect_params = visier_platform_sdk.models.jira_connect_params_dto.JiraConnectParamsDTO( + app_key = '', + client_key = '', + shared_secret = '', ) + ) + else: + return JiraAuthParamsDTO( + ) + + def testJiraAuthParamsDTO(self): + """Test JiraAuthParamsDTO""" + def validate_instance(instance): + JiraAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = JiraAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_jira_connect_params_dto.py b/src/visier_platform_sdk/test/test_jira_connect_params_dto.py new file mode 100644 index 0000000000..415eb54817 --- /dev/null +++ b/src/visier_platform_sdk/test/test_jira_connect_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.jira_connect_params_dto import JiraConnectParamsDTO + +class TestJiraConnectParamsDTO(unittest.TestCase): + """JiraConnectParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> JiraConnectParamsDTO: + """Test JiraConnectParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return JiraConnectParamsDTO( + app_key = '', + client_key = '', + shared_secret = '' + ) + else: + return JiraConnectParamsDTO( + ) + + def testJiraConnectParamsDTO(self): + """Test JiraConnectParamsDTO""" + def validate_instance(instance): + JiraConnectParamsDTO.model_validate(inst_req_only) + instance_deserialized = JiraConnectParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_job.py b/src/visier_platform_sdk/test/test_job.py index 10a1cb3996..5b63e18f2d 100644 --- a/src/visier_platform_sdk/test/test_job.py +++ b/src/visier_platform_sdk/test/test_job.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.job import Job class TestJob(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> Job: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `Job` - """ - model = Job() + if include_optional: return Job( id = '', @@ -116,12 +115,19 @@ def make_instance(self, include_optional) -> Job: automation_index = 56, ) ], ) - """ def testJob(self): """Test Job""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + Job.model_validate(inst_req_only) + instance_deserialized = Job.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_cancellation_result_dto.py b/src/visier_platform_sdk/test/test_job_cancellation_result_dto.py new file mode 100644 index 0000000000..eb5a9a5f7f --- /dev/null +++ b/src/visier_platform_sdk/test/test_job_cancellation_result_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.job_cancellation_result_dto import JobCancellationResultDTO + +class TestJobCancellationResultDTO(unittest.TestCase): + """JobCancellationResultDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> JobCancellationResultDTO: + """Test JobCancellationResultDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return JobCancellationResultDTO( + tenant_code = '', + job_id = '', + job_type = '', + parent_job_id = '', + cancel_status = 'CANCEL_FAILED', + job_status = '', + message = '' + ) + else: + return JobCancellationResultDTO( + ) + + def testJobCancellationResultDTO(self): + """Test JobCancellationResultDTO""" + def validate_instance(instance): + JobCancellationResultDTO.model_validate(inst_req_only) + instance_deserialized = JobCancellationResultDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_cancellation_results_dto.py b/src/visier_platform_sdk/test/test_job_cancellation_results_dto.py new file mode 100644 index 0000000000..cd3d45c8ab --- /dev/null +++ b/src/visier_platform_sdk/test/test_job_cancellation_results_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.job_cancellation_results_dto import JobCancellationResultsDTO + +class TestJobCancellationResultsDTO(unittest.TestCase): + """JobCancellationResultsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> JobCancellationResultsDTO: + """Test JobCancellationResultsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return JobCancellationResultsDTO( + job_cancellation_results = [ + visier_platform_sdk.models.job_cancellation_result_dto.JobCancellationResultDTO( + tenant_code = '', + job_id = '', + job_type = '', + parent_job_id = '', + cancel_status = 'CANCEL_FAILED', + job_status = '', + message = '', ) + ] + ) + else: + return JobCancellationResultsDTO( + ) + + def testJobCancellationResultsDTO(self): + """Test JobCancellationResultsDTO""" + def validate_instance(instance): + JobCancellationResultsDTO.model_validate(inst_req_only) + instance_deserialized = JobCancellationResultsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_entry.py b/src/visier_platform_sdk/test/test_job_entry.py index 7d7c3a53d9..e026e37544 100644 --- a/src/visier_platform_sdk/test/test_job_entry.py +++ b/src/visier_platform_sdk/test/test_job_entry.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.job_entry import JobEntry class TestJobEntry(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> JobEntry: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `JobEntry` - """ - model = JobEntry() + if include_optional: return JobEntry( id = '', @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> JobEntry: name = '', description = '', ) - """ def testJobEntry(self): """Test JobEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + JobEntry.model_validate(inst_req_only) + instance_deserialized = JobEntry.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_feedback_input.py b/src/visier_platform_sdk/test/test_job_feedback_input.py index 16058b4f26..e5abd72f3b 100644 --- a/src/visier_platform_sdk/test/test_job_feedback_input.py +++ b/src/visier_platform_sdk/test/test_job_feedback_input.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.job_feedback_input import JobFeedbackInput class TestJobFeedbackInput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> JobFeedbackInput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `JobFeedbackInput` - """ - model = JobFeedbackInput() + if include_optional: return JobFeedbackInput( term = '', @@ -44,12 +43,19 @@ def make_instance(self, include_optional) -> JobFeedbackInput: return JobFeedbackInput( term = '', ) - """ def testJobFeedbackInput(self): """Test JobFeedbackInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + JobFeedbackInput.model_validate(inst_req_only) + instance_deserialized = JobFeedbackInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_id_response.py b/src/visier_platform_sdk/test/test_job_id_response.py new file mode 100644 index 0000000000..91a57633ef --- /dev/null +++ b/src/visier_platform_sdk/test/test_job_id_response.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.job_id_response import JobIdResponse + +class TestJobIdResponse(unittest.TestCase): + """JobIdResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> JobIdResponse: + """Test JobIdResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return JobIdResponse( + job_id = '' + ) + else: + return JobIdResponse( + ) + + def testJobIdResponse(self): + """Test JobIdResponse""" + def validate_instance(instance): + JobIdResponse.model_validate(inst_req_only) + instance_deserialized = JobIdResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_search_failure_output.py b/src/visier_platform_sdk/test/test_job_search_failure_output.py index b66e1da25d..fae8285ed6 100644 --- a/src/visier_platform_sdk/test/test_job_search_failure_output.py +++ b/src/visier_platform_sdk/test/test_job_search_failure_output.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.job_search_failure_output import JobSearchFailureOutput class TestJobSearchFailureOutput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> JobSearchFailureOutput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `JobSearchFailureOutput` - """ - model = JobSearchFailureOutput() + if include_optional: return JobSearchFailureOutput( http_status = '', @@ -48,12 +47,19 @@ def make_instance(self, include_optional) -> JobSearchFailureOutput: rci = '', error_code = '', ) - """ def testJobSearchFailureOutput(self): """Test JobSearchFailureOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + JobSearchFailureOutput.model_validate(inst_req_only) + instance_deserialized = JobSearchFailureOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_search_input.py b/src/visier_platform_sdk/test/test_job_search_input.py index 31e7b4bec1..f9e6117e62 100644 --- a/src/visier_platform_sdk/test/test_job_search_input.py +++ b/src/visier_platform_sdk/test/test_job_search_input.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.job_search_input import JobSearchInput class TestJobSearchInput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> JobSearchInput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `JobSearchInput` - """ - model = JobSearchInput() + if include_optional: return JobSearchInput( job_ids = [ @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> JobSearchInput: '' ], ) - """ def testJobSearchInput(self): """Test JobSearchInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + JobSearchInput.model_validate(inst_req_only) + instance_deserialized = JobSearchInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_search_output.py b/src/visier_platform_sdk/test/test_job_search_output.py index 6d40bd748e..40a2887f4d 100644 --- a/src/visier_platform_sdk/test/test_job_search_output.py +++ b/src/visier_platform_sdk/test/test_job_search_output.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.job_search_output import JobSearchOutput class TestJobSearchOutput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> JobSearchOutput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `JobSearchOutput` - """ - model = JobSearchOutput() + if include_optional: return JobSearchOutput( successes = [ @@ -114,12 +113,19 @@ def make_instance(self, include_optional) -> JobSearchOutput: error_code = '', ) ], ) - """ def testJobSearchOutput(self): """Test JobSearchOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + JobSearchOutput.model_validate(inst_req_only) + instance_deserialized = JobSearchOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_standardization_input.py b/src/visier_platform_sdk/test/test_job_standardization_input.py index 4ba66123f0..1ec373470c 100644 --- a/src/visier_platform_sdk/test/test_job_standardization_input.py +++ b/src/visier_platform_sdk/test/test_job_standardization_input.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.job_standardization_input import JobStandardizationInput class TestJobStandardizationInput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> JobStandardizationInput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `JobStandardizationInput` - """ - model = JobStandardizationInput() + if include_optional: return JobStandardizationInput( terms = [ @@ -51,12 +50,19 @@ def make_instance(self, include_optional) -> JobStandardizationInput: '' ], ) - """ def testJobStandardizationInput(self): """Test JobStandardizationInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + JobStandardizationInput.model_validate(inst_req_only) + instance_deserialized = JobStandardizationInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_standardization_input_skills.py b/src/visier_platform_sdk/test/test_job_standardization_input_skills.py index b36f970715..d317f2d9d6 100644 --- a/src/visier_platform_sdk/test/test_job_standardization_input_skills.py +++ b/src/visier_platform_sdk/test/test_job_standardization_input_skills.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.job_standardization_input_skills import JobStandardizationInputSkills class TestJobStandardizationInputSkills(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> JobStandardizationInputSkills: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `JobStandardizationInputSkills` - """ - model = JobStandardizationInputSkills() + if include_optional: return JobStandardizationInputSkills( jobs = [ @@ -47,12 +46,19 @@ def make_instance(self, include_optional) -> JobStandardizationInputSkills: '' ], ) - """ def testJobStandardizationInputSkills(self): """Test JobStandardizationInputSkills""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + JobStandardizationInputSkills.model_validate(inst_req_only) + instance_deserialized = JobStandardizationInputSkills.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_status_list_response.py b/src/visier_platform_sdk/test/test_job_status_list_response.py new file mode 100644 index 0000000000..64500f04ed --- /dev/null +++ b/src/visier_platform_sdk/test/test_job_status_list_response.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.job_status_list_response import JobStatusListResponse + +class TestJobStatusListResponse(unittest.TestCase): + """JobStatusListResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> JobStatusListResponse: + """Test JobStatusListResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return JobStatusListResponse( + query_start_time = '', + query_end_time = '', + job_status = [ + visier_platform_sdk.models.job_status_with_start_time.JobStatusWithStartTime( + job_id = '', + tenant = '', + status = '', + job_type = '', + start_time = '', ) + ] + ) + else: + return JobStatusListResponse( + ) + + def testJobStatusListResponse(self): + """Test JobStatusListResponse""" + def validate_instance(instance): + JobStatusListResponse.model_validate(inst_req_only) + instance_deserialized = JobStatusListResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_job_status_with_start_time.py b/src/visier_platform_sdk/test/test_job_status_with_start_time.py new file mode 100644 index 0000000000..9ea9bf2fb9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_job_status_with_start_time.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.job_status_with_start_time import JobStatusWithStartTime + +class TestJobStatusWithStartTime(unittest.TestCase): + """JobStatusWithStartTime unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> JobStatusWithStartTime: + """Test JobStatusWithStartTime + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return JobStatusWithStartTime( + job_id = '', + tenant = '', + status = '', + job_type = '', + start_time = '' + ) + else: + return JobStatusWithStartTime( + ) + + def testJobStatusWithStartTime(self): + """Test JobStatusWithStartTime""" + def validate_instance(instance): + JobStatusWithStartTime.model_validate(inst_req_only) + instance_deserialized = JobStatusWithStartTime.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_key_group_filter_dto.py b/src/visier_platform_sdk/test/test_key_group_filter_dto.py new file mode 100644 index 0000000000..586973e93f --- /dev/null +++ b/src/visier_platform_sdk/test/test_key_group_filter_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.key_group_filter_dto import KeyGroupFilterDTO + +class TestKeyGroupFilterDTO(unittest.TestCase): + """KeyGroupFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> KeyGroupFilterDTO: + """Test KeyGroupFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return KeyGroupFilterDTO( + filters = [ + visier_platform_sdk.models.key_group_filter_item_dto.KeyGroupFilterItemDTO( + formula = '', + selection_concept = None, + member_set = None, ) + ] + ) + else: + return KeyGroupFilterDTO( + ) + + def testKeyGroupFilterDTO(self): + """Test KeyGroupFilterDTO""" + def validate_instance(instance): + KeyGroupFilterDTO.model_validate(inst_req_only) + instance_deserialized = KeyGroupFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_key_group_filter_item_dto.py b/src/visier_platform_sdk/test/test_key_group_filter_item_dto.py new file mode 100644 index 0000000000..8b3b6979b4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_key_group_filter_item_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.key_group_filter_item_dto import KeyGroupFilterItemDTO + +class TestKeyGroupFilterItemDTO(unittest.TestCase): + """KeyGroupFilterItemDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> KeyGroupFilterItemDTO: + """Test KeyGroupFilterItemDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return KeyGroupFilterItemDTO( + formula = '', + selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( + name = '', + qualifying_path = '', ), + member_set = visier_platform_sdk.models.member_filter_dto.MemberFilterDTO( + dimension = None, + values = None, ) + ) + else: + return KeyGroupFilterItemDTO( + ) + + def testKeyGroupFilterItemDTO(self): + """Test KeyGroupFilterItemDTO""" + def validate_instance(instance): + KeyGroupFilterItemDTO.model_validate(inst_req_only) + instance_deserialized = KeyGroupFilterItemDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_key_name.py b/src/visier_platform_sdk/test/test_key_name.py new file mode 100644 index 0000000000..e08aeccf41 --- /dev/null +++ b/src/visier_platform_sdk/test/test_key_name.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.key_name import KeyName + +class TestKeyName(unittest.TestCase): + """KeyName unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> KeyName: + """Test KeyName + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return KeyName( + key_name = '' + ) + else: + return KeyName( + ) + + def testKeyName(self): + """Test KeyName""" + def validate_instance(instance): + KeyName.model_validate(inst_req_only) + instance_deserialized = KeyName.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_key_pair_delete_response_dto.py b/src/visier_platform_sdk/test/test_key_pair_delete_response_dto.py new file mode 100644 index 0000000000..7ae7196987 --- /dev/null +++ b/src/visier_platform_sdk/test/test_key_pair_delete_response_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.key_pair_delete_response_dto import KeyPairDeleteResponseDTO + +class TestKeyPairDeleteResponseDTO(unittest.TestCase): + """KeyPairDeleteResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> KeyPairDeleteResponseDTO: + """Test KeyPairDeleteResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return KeyPairDeleteResponseDTO( + key_id = '' + ) + else: + return KeyPairDeleteResponseDTO( + ) + + def testKeyPairDeleteResponseDTO(self): + """Test KeyPairDeleteResponseDTO""" + def validate_instance(instance): + KeyPairDeleteResponseDTO.model_validate(inst_req_only) + instance_deserialized = KeyPairDeleteResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_key_pair_generate_request_dto.py b/src/visier_platform_sdk/test/test_key_pair_generate_request_dto.py new file mode 100644 index 0000000000..07129c26e3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_key_pair_generate_request_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.key_pair_generate_request_dto import KeyPairGenerateRequestDTO + +class TestKeyPairGenerateRequestDTO(unittest.TestCase): + """KeyPairGenerateRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> KeyPairGenerateRequestDTO: + """Test KeyPairGenerateRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return KeyPairGenerateRequestDTO( + expiration_date = '' + ) + else: + return KeyPairGenerateRequestDTO( + ) + + def testKeyPairGenerateRequestDTO(self): + """Test KeyPairGenerateRequestDTO""" + def validate_instance(instance): + KeyPairGenerateRequestDTO.model_validate(inst_req_only) + instance_deserialized = KeyPairGenerateRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_last_login_dto.py b/src/visier_platform_sdk/test/test_last_login_dto.py new file mode 100644 index 0000000000..b5768e45cd --- /dev/null +++ b/src/visier_platform_sdk/test/test_last_login_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.last_login_dto import LastLoginDTO + +class TestLastLoginDTO(unittest.TestCase): + """LastLoginDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LastLoginDTO: + """Test LastLoginDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return LastLoginDTO( + timestamp = '' + ) + else: + return LastLoginDTO( + ) + + def testLastLoginDTO(self): + """Test LastLoginDTO""" + def validate_instance(instance): + LastLoginDTO.model_validate(inst_req_only) + instance_deserialized = LastLoginDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_level_dto.py b/src/visier_platform_sdk/test/test_level_dto.py new file mode 100644 index 0000000000..98e7e3b651 --- /dev/null +++ b/src/visier_platform_sdk/test/test_level_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.level_dto import LevelDTO + +class TestLevelDTO(unittest.TestCase): + """LevelDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LevelDTO: + """Test LevelDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return LevelDTO( + id = '', + display_name = '', + depth = 56 + ) + else: + return LevelDTO( + ) + + def testLevelDTO(self): + """Test LevelDTO""" + def validate_instance(instance): + LevelDTO.model_validate(inst_req_only) + instance_deserialized = LevelDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_lever_auth_params_dto.py b/src/visier_platform_sdk/test/test_lever_auth_params_dto.py new file mode 100644 index 0000000000..85a69cad6e --- /dev/null +++ b/src/visier_platform_sdk/test/test_lever_auth_params_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.lever_auth_params_dto import LeverAuthParamsDTO + +class TestLeverAuthParamsDTO(unittest.TestCase): + """LeverAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LeverAuthParamsDTO: + """Test LeverAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return LeverAuthParamsDTO( + api_key = '' + ) + else: + return LeverAuthParamsDTO( + ) + + def testLeverAuthParamsDTO(self): + """Test LeverAuthParamsDTO""" + def validate_instance(instance): + LeverAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = LeverAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_lineage_dto.py b/src/visier_platform_sdk/test/test_lineage_dto.py new file mode 100644 index 0000000000..976818a768 --- /dev/null +++ b/src/visier_platform_sdk/test/test_lineage_dto.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.lineage_dto import LineageDTO + +class TestLineageDTO(unittest.TestCase): + """LineageDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LineageDTO: + """Test LineageDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return LineageDTO( + cell_sets = [ + visier_platform_sdk.models.cell_set_dto.CellSetDTO( + cells = [ + visier_platform_sdk.models.cell_dto.CellDTO( + value = '', + support = '', + coordinates = [ + 56 + ], + distribution = [ + visier_platform_sdk.models.cell_distribution_bin_dto.CellDistributionBinDTO( + value = '', + support = '', ) + ], ) + ], + axes = [ + visier_platform_sdk.models.cell_set_axis_dto.CellSetAxisDTO( + dimension = None, + positions = [ + visier_platform_sdk.models.cell_set_axis_position_dto.CellSetAxisPositionDTO( + path = [ + '' + ], + display_name = '', + display_name_path = [ + '' + ], ) + ], ) + ], + lineage = None, ) + ], + op = '' + ) + else: + return LineageDTO( + ) + + def testLineageDTO(self): + """Test LineageDTO""" + def validate_instance(instance): + LineageDTO.model_validate(inst_req_only) + instance_deserialized = LineageDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_list_query_execution_dto.py b/src/visier_platform_sdk/test/test_list_query_execution_dto.py new file mode 100644 index 0000000000..8d96efcb63 --- /dev/null +++ b/src/visier_platform_sdk/test/test_list_query_execution_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.list_query_execution_dto import ListQueryExecutionDTO + +class TestListQueryExecutionDTO(unittest.TestCase): + """ListQueryExecutionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ListQueryExecutionDTO: + """Test ListQueryExecutionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ListQueryExecutionDTO( + source = visier_platform_sdk.models.list_query_source_dto.ListQuerySourceDTO( + formula = '', + metric = '', + analytic_object = '', + text_concept = '', ), + columns = [ + visier_platform_sdk.models.property_column_dto.PropertyColumnDTO( + column_name = '', + column_definition = None, ) + ], + sort_options = [ + visier_platform_sdk.models.sort_option_dto.SortOptionDTO( + column_index = 56, + sort_direction = 'SORT_ASCENDING', ) + ], + filters = [ + visier_platform_sdk.models.query_filter_dto.QueryFilterDTO( + formula = '', + selection_concept = None, + member_set = None, + cohort = None, ) + ], + time_interval = visier_platform_sdk.models.query_time_interval_dto.QueryTimeIntervalDTO( + from_instant = '', + from_date_time = '', + dynamic_date_from = 'SOURCE', + interval_period_type = 'MONTH', + interval_period_count = 56, + direction = 'BACKWARD', + shift = None, ), + parameter_values = [ + visier_platform_sdk.models.query_parameter_value_dto.QueryParameterValueDTO( + member_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) + ], + options = visier_platform_sdk.models.list_query_execution_options_dto.ListQueryExecutionOptionsDTO( + limit = 56, + query_mode = 'DEFAULT', + omit_header = True, + calendar_type = 'TENANT_CALENDAR', + currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', + currency_conversion_date = '', + page = 56, + multiple_tables = True, + currency_conversion_code = '', + record_mode = 'NORMAL', + date_time_display_mode = 'EPOCH', ) + ) + else: + return ListQueryExecutionDTO( + ) + + def testListQueryExecutionDTO(self): + """Test ListQueryExecutionDTO""" + def validate_instance(instance): + ListQueryExecutionDTO.model_validate(inst_req_only) + instance_deserialized = ListQueryExecutionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_list_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_list_query_execution_options_dto.py new file mode 100644 index 0000000000..4dbe415c6d --- /dev/null +++ b/src/visier_platform_sdk/test/test_list_query_execution_options_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.list_query_execution_options_dto import ListQueryExecutionOptionsDTO + +class TestListQueryExecutionOptionsDTO(unittest.TestCase): + """ListQueryExecutionOptionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ListQueryExecutionOptionsDTO: + """Test ListQueryExecutionOptionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ListQueryExecutionOptionsDTO( + limit = 56, + query_mode = 'DEFAULT', + omit_header = True, + calendar_type = 'TENANT_CALENDAR', + currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', + currency_conversion_date = '', + page = 56, + multiple_tables = True, + currency_conversion_code = '', + record_mode = 'NORMAL', + date_time_display_mode = 'EPOCH' + ) + else: + return ListQueryExecutionOptionsDTO( + ) + + def testListQueryExecutionOptionsDTO(self): + """Test ListQueryExecutionOptionsDTO""" + def validate_instance(instance): + ListQueryExecutionOptionsDTO.model_validate(inst_req_only) + instance_deserialized = ListQueryExecutionOptionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_list_query_source_dto.py b/src/visier_platform_sdk/test/test_list_query_source_dto.py new file mode 100644 index 0000000000..001d27b593 --- /dev/null +++ b/src/visier_platform_sdk/test/test_list_query_source_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.list_query_source_dto import ListQuerySourceDTO + +class TestListQuerySourceDTO(unittest.TestCase): + """ListQuerySourceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ListQuerySourceDTO: + """Test ListQuerySourceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ListQuerySourceDTO( + formula = '', + metric = '', + analytic_object = '', + text_concept = '' + ) + else: + return ListQuerySourceDTO( + ) + + def testListQuerySourceDTO(self): + """Test ListQuerySourceDTO""" + def validate_instance(instance): + ListQuerySourceDTO.model_validate(inst_req_only) + instance_deserialized = ListQuerySourceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_list_response.py b/src/visier_platform_sdk/test/test_list_response.py new file mode 100644 index 0000000000..2f6356f455 --- /dev/null +++ b/src/visier_platform_sdk/test/test_list_response.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.list_response import ListResponse + +class TestListResponse(unittest.TestCase): + """ListResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ListResponse: + """Test ListResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ListResponse( + header = { }, + rows = [ + { } + ] + ) + else: + return ListResponse( + ) + + def testListResponse(self): + """Test ListResponse""" + def validate_instance(instance): + ListResponse.model_validate(inst_req_only) + instance_deserialized = ListResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_request_dto.py new file mode 100644 index 0000000000..a4c1702f54 --- /dev/null +++ b/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.local_tenant_profile_assignment_request_dto import LocalTenantProfileAssignmentRequestDTO + +class TestLocalTenantProfileAssignmentRequestDTO(unittest.TestCase): + """LocalTenantProfileAssignmentRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LocalTenantProfileAssignmentRequestDTO: + """Test LocalTenantProfileAssignmentRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return LocalTenantProfileAssignmentRequestDTO( + target_user_ids = [ + '' + ], + validity_start_time = '', + validity_end_time = '' + ) + else: + return LocalTenantProfileAssignmentRequestDTO( + ) + + def testLocalTenantProfileAssignmentRequestDTO(self): + """Test LocalTenantProfileAssignmentRequestDTO""" + def validate_instance(instance): + LocalTenantProfileAssignmentRequestDTO.model_validate(inst_req_only) + instance_deserialized = LocalTenantProfileAssignmentRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_response_dto.py new file mode 100644 index 0000000000..617c1c5a8e --- /dev/null +++ b/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_response_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.local_tenant_profile_assignment_response_dto import LocalTenantProfileAssignmentResponseDTO + +class TestLocalTenantProfileAssignmentResponseDTO(unittest.TestCase): + """LocalTenantProfileAssignmentResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LocalTenantProfileAssignmentResponseDTO: + """Test LocalTenantProfileAssignmentResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return LocalTenantProfileAssignmentResponseDTO( + errors = True, + bad_user_ids = [ + visier_platform_sdk.models.user_id_error_dto.UserIdErrorDTO( + user_id = '', + error = None, ) + ], + failed_assignments = [ + visier_platform_sdk.models.failed_local_tenant_profile_assignment_dto.FailedLocalTenantProfileAssignmentDTO( + user_id = '', + error = None, ) + ], + successful_assignments = [ + visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto.SuccessfulLocalTenantProfileAssignmentDTO( + user_id = '', ) + ] + ) + else: + return LocalTenantProfileAssignmentResponseDTO( + ) + + def testLocalTenantProfileAssignmentResponseDTO(self): + """Test LocalTenantProfileAssignmentResponseDTO""" + def validate_instance(instance): + LocalTenantProfileAssignmentResponseDTO.model_validate(inst_req_only) + instance_deserialized = LocalTenantProfileAssignmentResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_request_dto.py new file mode 100644 index 0000000000..1e40cdd1c7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_request_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.local_tenant_profile_revoke_request_dto import LocalTenantProfileRevokeRequestDTO + +class TestLocalTenantProfileRevokeRequestDTO(unittest.TestCase): + """LocalTenantProfileRevokeRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LocalTenantProfileRevokeRequestDTO: + """Test LocalTenantProfileRevokeRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return LocalTenantProfileRevokeRequestDTO( + target_user_ids = [ + '' + ] + ) + else: + return LocalTenantProfileRevokeRequestDTO( + ) + + def testLocalTenantProfileRevokeRequestDTO(self): + """Test LocalTenantProfileRevokeRequestDTO""" + def validate_instance(instance): + LocalTenantProfileRevokeRequestDTO.model_validate(inst_req_only) + instance_deserialized = LocalTenantProfileRevokeRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_response_dto.py new file mode 100644 index 0000000000..3569d48092 --- /dev/null +++ b/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_response_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.local_tenant_profile_revoke_response_dto import LocalTenantProfileRevokeResponseDTO + +class TestLocalTenantProfileRevokeResponseDTO(unittest.TestCase): + """LocalTenantProfileRevokeResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> LocalTenantProfileRevokeResponseDTO: + """Test LocalTenantProfileRevokeResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return LocalTenantProfileRevokeResponseDTO( + failed = [ + visier_platform_sdk.models.failed_local_tenant_profile_revoke_dto.FailedLocalTenantProfileRevokeDTO( + user_id = '', + message = '', ) + ], + succeeded = [ + visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto.SuccessfulLocalTenantProfileAssignmentDTO( + user_id = '', ) + ] + ) + else: + return LocalTenantProfileRevokeResponseDTO( + ) + + def testLocalTenantProfileRevokeResponseDTO(self): + """Test LocalTenantProfileRevokeResponseDTO""" + def validate_instance(instance): + LocalTenantProfileRevokeResponseDTO.model_validate(inst_req_only) + instance_deserialized = LocalTenantProfileRevokeResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_location_search_failure_output.py b/src/visier_platform_sdk/test/test_location_search_failure_output.py index cc2cac2d4c..4608db7e06 100644 --- a/src/visier_platform_sdk/test/test_location_search_failure_output.py +++ b/src/visier_platform_sdk/test/test_location_search_failure_output.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.location_search_failure_output import LocationSearchFailureOutput class TestLocationSearchFailureOutput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> LocationSearchFailureOutput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `LocationSearchFailureOutput` - """ - model = LocationSearchFailureOutput() + if include_optional: return LocationSearchFailureOutput( uuid = '', @@ -50,12 +49,19 @@ def make_instance(self, include_optional) -> LocationSearchFailureOutput: rci = '', error_code = '', ) - """ def testLocationSearchFailureOutput(self): """Test LocationSearchFailureOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + LocationSearchFailureOutput.model_validate(inst_req_only) + instance_deserialized = LocationSearchFailureOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_location_search_input.py b/src/visier_platform_sdk/test/test_location_search_input.py index 64c7bbea3a..d3b56438e8 100644 --- a/src/visier_platform_sdk/test/test_location_search_input.py +++ b/src/visier_platform_sdk/test/test_location_search_input.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.location_search_input import LocationSearchInput class TestLocationSearchInput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> LocationSearchInput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `LocationSearchInput` - """ - model = LocationSearchInput() + if include_optional: return LocationSearchInput( search_inputs = [ @@ -53,12 +52,19 @@ def make_instance(self, include_optional) -> LocationSearchInput: postal_code = '', ) ], ) - """ def testLocationSearchInput(self): """Test LocationSearchInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + LocationSearchInput.model_validate(inst_req_only) + instance_deserialized = LocationSearchInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_location_search_input1.py b/src/visier_platform_sdk/test/test_location_search_input1.py index a3870cadc8..609c6c4145 100644 --- a/src/visier_platform_sdk/test/test_location_search_input1.py +++ b/src/visier_platform_sdk/test/test_location_search_input1.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.location_search_input1 import LocationSearchInput1 class TestLocationSearchInput1(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> LocationSearchInput1: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `LocationSearchInput1` - """ - model = LocationSearchInput1() + if include_optional: return LocationSearchInput1( uuid = '', @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> LocationSearchInput1: country_code = '', postal_code = '', ) - """ def testLocationSearchInput1(self): """Test LocationSearchInput1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + LocationSearchInput1.model_validate(inst_req_only) + instance_deserialized = LocationSearchInput1.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_location_search_output.py b/src/visier_platform_sdk/test/test_location_search_output.py index 1b3fcb1027..90a1213991 100644 --- a/src/visier_platform_sdk/test/test_location_search_output.py +++ b/src/visier_platform_sdk/test/test_location_search_output.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.location_search_output import LocationSearchOutput class TestLocationSearchOutput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> LocationSearchOutput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `LocationSearchOutput` - """ - model = LocationSearchOutput() + if include_optional: return LocationSearchOutput( successes = [ @@ -124,12 +123,19 @@ def make_instance(self, include_optional) -> LocationSearchOutput: error_code = '', ) ], ) - """ def testLocationSearchOutput(self): """Test LocationSearchOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + LocationSearchOutput.model_validate(inst_req_only) + instance_deserialized = LocationSearchOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_location_search_successful_output.py b/src/visier_platform_sdk/test/test_location_search_successful_output.py index 282ca32a9a..0bee80ffac 100644 --- a/src/visier_platform_sdk/test/test_location_search_successful_output.py +++ b/src/visier_platform_sdk/test/test_location_search_successful_output.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.location_search_successful_output import LocationSearchSuccessfulOutput class TestLocationSearchSuccessfulOutput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> LocationSearchSuccessfulOutput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `LocationSearchSuccessfulOutput` - """ - model = LocationSearchSuccessfulOutput() + if include_optional: return LocationSearchSuccessfulOutput( uuid = '', @@ -102,12 +101,19 @@ def make_instance(self, include_optional) -> LocationSearchSuccessfulOutput: soc_names = visier_platform_sdk.models.soc_names.socNames(), ) ], ) - """ def testLocationSearchSuccessfulOutput(self): """Test LocationSearchSuccessfulOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + LocationSearchSuccessfulOutput.model_validate(inst_req_only) + instance_deserialized = LocationSearchSuccessfulOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_mask_message.py b/src/visier_platform_sdk/test/test_mask_message.py new file mode 100644 index 0000000000..a681415239 --- /dev/null +++ b/src/visier_platform_sdk/test/test_mask_message.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.mask_message import MaskMessage + +class TestMaskMessage(unittest.TestCase): + """MaskMessage unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MaskMessage: + """Test MaskMessage + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MaskMessage( + mask = '' + ) + else: + return MaskMessage( + ) + + def testMaskMessage(self): + """Test MaskMessage""" + def validate_instance(instance): + MaskMessage.model_validate(inst_req_only) + instance_deserialized = MaskMessage.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_medallia_auth_params_dto.py b/src/visier_platform_sdk/test/test_medallia_auth_params_dto.py new file mode 100644 index 0000000000..cf9a5321b5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_medallia_auth_params_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.medallia_auth_params_dto import MedalliaAuthParamsDTO + +class TestMedalliaAuthParamsDTO(unittest.TestCase): + """MedalliaAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MedalliaAuthParamsDTO: + """Test MedalliaAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MedalliaAuthParamsDTO( + tenant_domain_name = '', + instance_url = '', + client_id = '', + client_secret = '' + ) + else: + return MedalliaAuthParamsDTO( + ) + + def testMedalliaAuthParamsDTO(self): + """Test MedalliaAuthParamsDTO""" + def validate_instance(instance): + MedalliaAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = MedalliaAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_member_dto.py b/src/visier_platform_sdk/test/test_member_dto.py new file mode 100644 index 0000000000..03d8799ce2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_member_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.member_dto import MemberDTO + +class TestMemberDTO(unittest.TestCase): + """MemberDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MemberDTO: + """Test MemberDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MemberDTO( + full_name = '', + display_name = '', + level = 56, + path = [ + '' + ], + validity_ranges = [ + visier_platform_sdk.models.validity_range_dto.ValidityRangeDTO( + start = '', + end = '', ) + ], + display_name_path = [ + '' + ] + ) + else: + return MemberDTO( + ) + + def testMemberDTO(self): + """Test MemberDTO""" + def validate_instance(instance): + MemberDTO.model_validate(inst_req_only) + instance_deserialized = MemberDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_member_filter_config_dto.py b/src/visier_platform_sdk/test/test_member_filter_config_dto.py new file mode 100644 index 0000000000..03eb94a2e6 --- /dev/null +++ b/src/visier_platform_sdk/test/test_member_filter_config_dto.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.member_filter_config_dto import MemberFilterConfigDTO + +class TestMemberFilterConfigDTO(unittest.TestCase): + """MemberFilterConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MemberFilterConfigDTO: + """Test MemberFilterConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MemberFilterConfigDTO( + dimension_filters = [ + visier_platform_sdk.models.dimension_filter_dto.DimensionFilterDTO( + static_dimension_filter = visier_platform_sdk.models.static_dimension_filter_dto.StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset', ), + dynamic_dimension_filter = visier_platform_sdk.models.dynamic_dimension_filter_dto.DynamicDimensionFilterDTO( + dimension_id = '', + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset', ), ) + ] + ) + else: + return MemberFilterConfigDTO( + ) + + def testMemberFilterConfigDTO(self): + """Test MemberFilterConfigDTO""" + def validate_instance(instance): + MemberFilterConfigDTO.model_validate(inst_req_only) + instance_deserialized = MemberFilterConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_member_filter_dto.py b/src/visier_platform_sdk/test/test_member_filter_dto.py new file mode 100644 index 0000000000..54ea17c015 --- /dev/null +++ b/src/visier_platform_sdk/test/test_member_filter_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.member_filter_dto import MemberFilterDTO + +class TestMemberFilterDTO(unittest.TestCase): + """MemberFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MemberFilterDTO: + """Test MemberFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MemberFilterDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ), + values = visier_platform_sdk.models.member_values_dto.MemberValuesDTO( + included = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ], + excluded = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + member_id = '', ) + ], ) + ) + else: + return MemberFilterDTO( + ) + + def testMemberFilterDTO(self): + """Test MemberFilterDTO""" + def validate_instance(instance): + MemberFilterDTO.model_validate(inst_req_only) + instance_deserialized = MemberFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_member_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_member_parameter_definition_dto.py new file mode 100644 index 0000000000..80d416ef7e --- /dev/null +++ b/src/visier_platform_sdk/test/test_member_parameter_definition_dto.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.member_parameter_definition_dto import MemberParameterDefinitionDTO + +class TestMemberParameterDefinitionDTO(unittest.TestCase): + """MemberParameterDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MemberParameterDefinitionDTO: + """Test MemberParameterDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MemberParameterDefinitionDTO( + id = '', + display_name = '', + description = '', + dimension_id = '', + reference_path = [ + '' + ], + default = visier_platform_sdk.models.member_values_dto.MemberValuesDTO( + included = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ], + excluded = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + member_id = '', ) + ], ) + ) + else: + return MemberParameterDefinitionDTO( + ) + + def testMemberParameterDefinitionDTO(self): + """Test MemberParameterDefinitionDTO""" + def validate_instance(instance): + MemberParameterDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = MemberParameterDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_member_parameter_value_dto.py b/src/visier_platform_sdk/test/test_member_parameter_value_dto.py new file mode 100644 index 0000000000..45c82554d0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_member_parameter_value_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.member_parameter_value_dto import MemberParameterValueDTO + +class TestMemberParameterValueDTO(unittest.TestCase): + """MemberParameterValueDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MemberParameterValueDTO: + """Test MemberParameterValueDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MemberParameterValueDTO( + parameter_id = '', + dimension_id = '', + reference_path = [ + '' + ], + values = visier_platform_sdk.models.member_values_dto.MemberValuesDTO( + included = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ], + excluded = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + member_id = '', ) + ], ) + ) + else: + return MemberParameterValueDTO( + ) + + def testMemberParameterValueDTO(self): + """Test MemberParameterValueDTO""" + def validate_instance(instance): + MemberParameterValueDTO.model_validate(inst_req_only) + instance_deserialized = MemberParameterValueDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_member_selection_dto.py b/src/visier_platform_sdk/test/test_member_selection_dto.py new file mode 100644 index 0000000000..41bb14c108 --- /dev/null +++ b/src/visier_platform_sdk/test/test_member_selection_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.member_selection_dto import MemberSelectionDTO + +class TestMemberSelectionDTO(unittest.TestCase): + """MemberSelectionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MemberSelectionDTO: + """Test MemberSelectionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset' + ) + else: + return MemberSelectionDTO( + ) + + def testMemberSelectionDTO(self): + """Test MemberSelectionDTO""" + def validate_instance(instance): + MemberSelectionDTO.model_validate(inst_req_only) + instance_deserialized = MemberSelectionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_member_values_dto.py b/src/visier_platform_sdk/test/test_member_values_dto.py new file mode 100644 index 0000000000..66d3129a79 --- /dev/null +++ b/src/visier_platform_sdk/test/test_member_values_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.member_values_dto import MemberValuesDTO + +class TestMemberValuesDTO(unittest.TestCase): + """MemberValuesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MemberValuesDTO: + """Test MemberValuesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MemberValuesDTO( + included = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ], + excluded = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ] + ) + else: + return MemberValuesDTO( + ) + + def testMemberValuesDTO(self): + """Test MemberValuesDTO""" + def validate_instance(instance): + MemberValuesDTO.model_validate(inst_req_only) + instance_deserialized = MemberValuesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_members_dto.py b/src/visier_platform_sdk/test/test_members_dto.py new file mode 100644 index 0000000000..6bd335d455 --- /dev/null +++ b/src/visier_platform_sdk/test/test_members_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.members_dto import MembersDTO + +class TestMembersDTO(unittest.TestCase): + """MembersDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MembersDTO: + """Test MembersDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MembersDTO( + members = [ + visier_platform_sdk.models.member_dto.MemberDTO( + full_name = '', + display_name = '', + level = 56, + path = [ + '' + ], + validity_ranges = [ + visier_platform_sdk.models.validity_range_dto.ValidityRangeDTO( + start = '', + end = '', ) + ], + display_name_path = [ + '' + ], ) + ] + ) + else: + return MembersDTO( + ) + + def testMembersDTO(self): + """Test MembersDTO""" + def validate_instance(instance): + MembersDTO.model_validate(inst_req_only) + instance_deserialized = MembersDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metric_definition_dto.py b/src/visier_platform_sdk/test/test_metric_definition_dto.py new file mode 100644 index 0000000000..3099349b0d --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_definition_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_definition_dto import MetricDefinitionDTO + +class TestMetricDefinitionDTO(unittest.TestCase): + """MetricDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricDefinitionDTO: + """Test MetricDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricDefinitionDTO( + uuid = '', + object_name = '', + basic_information = visier_platform_sdk.models.basic_information_dto.BasicInformationDTO( + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + synonym_list = None, ), + details = visier_platform_sdk.models.metric_type_details_dto.MetricTypeDetailsDTO( + process_concept = None, ), + additive_type = 'fullyAdditive' + ) + else: + return MetricDefinitionDTO( + ) + + def testMetricDefinitionDTO(self): + """Test MetricDefinitionDTO""" + def validate_instance(instance): + MetricDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = MetricDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metric_dto.py b/src/visier_platform_sdk/test/test_metric_dto.py new file mode 100644 index 0000000000..6df26f7871 --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_dto import MetricDTO + +class TestMetricDTO(unittest.TestCase): + """MetricDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricDTO: + """Test MetricDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricDTO( + id = '', + display_name = '', + description = '', + data_start_date = '', + data_end_date = '', + analytic_object_id = '', + parameters = [ + visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( + member_parameter = None, + numeric_parameter = None, + plan_parameter = None, + aggregation_type_parameter = None, ) + ], + category = 'REGULAR', + visible_in_app = True + ) + else: + return MetricDTO( + ) + + def testMetricDTO(self): + """Test MetricDTO""" + def validate_instance(instance): + MetricDTO.model_validate(inst_req_only) + instance_deserialized = MetricDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metric_type_details_dto.py b/src/visier_platform_sdk/test/test_metric_type_details_dto.py new file mode 100644 index 0000000000..ce4a70fff1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_type_details_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_type_details_dto import MetricTypeDetailsDTO + +class TestMetricTypeDetailsDTO(unittest.TestCase): + """MetricTypeDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricTypeDetailsDTO: + """Test MetricTypeDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricTypeDetailsDTO( + process_concept = visier_platform_sdk.models.process_concept_metric_definition_dto.ProcessConceptMetricDefinitionDTO( + formula = '', + data_type = '', + visible_in_analytics = True, ) + ) + else: + return MetricTypeDetailsDTO( + ) + + def testMetricTypeDetailsDTO(self): + """Test MetricTypeDetailsDTO""" + def validate_instance(instance): + MetricTypeDetailsDTO.model_validate(inst_req_only) + instance_deserialized = MetricTypeDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metric_validation_summary_dto.py b/src/visier_platform_sdk/test/test_metric_validation_summary_dto.py new file mode 100644 index 0000000000..09d52b933b --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_validation_summary_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_validation_summary_dto import MetricValidationSummaryDTO + +class TestMetricValidationSummaryDTO(unittest.TestCase): + """MetricValidationSummaryDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricValidationSummaryDTO: + """Test MetricValidationSummaryDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricValidationSummaryDTO( + symbol_name = '', + display_name = '', + value = 1.337 + ) + else: + return MetricValidationSummaryDTO( + ) + + def testMetricValidationSummaryDTO(self): + """Test MetricValidationSummaryDTO""" + def validate_instance(instance): + MetricValidationSummaryDTO.model_validate(inst_req_only) + instance_deserialized = MetricValidationSummaryDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metrics_dto.py b/src/visier_platform_sdk/test/test_metrics_dto.py new file mode 100644 index 0000000000..dfb8540f2a --- /dev/null +++ b/src/visier_platform_sdk/test/test_metrics_dto.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metrics_dto import MetricsDTO + +class TestMetricsDTO(unittest.TestCase): + """MetricsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricsDTO: + """Test MetricsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricsDTO( + metrics = [ + visier_platform_sdk.models.metric_dto.MetricDTO( + id = '', + display_name = '', + description = '', + data_start_date = '', + data_end_date = '', + analytic_object_id = '', + parameters = [ + visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( + member_parameter = None, + numeric_parameter = None, + plan_parameter = None, + aggregation_type_parameter = None, ) + ], + category = 'REGULAR', + visible_in_app = True, ) + ] + ) + else: + return MetricsDTO( + ) + + def testMetricsDTO(self): + """Test MetricsDTO""" + def validate_instance(instance): + MetricsDTO.model_validate(inst_req_only) + instance_deserialized = MetricsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_microsoft365_auth_params_dto.py b/src/visier_platform_sdk/test/test_microsoft365_auth_params_dto.py new file mode 100644 index 0000000000..d6e7943c74 --- /dev/null +++ b/src/visier_platform_sdk/test/test_microsoft365_auth_params_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.microsoft365_auth_params_dto import Microsoft365AuthParamsDTO + +class TestMicrosoft365AuthParamsDTO(unittest.TestCase): + """Microsoft365AuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Microsoft365AuthParamsDTO: + """Test Microsoft365AuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return Microsoft365AuthParamsDTO( + o_auth_tenant_id = '', + client_id = '', + client_secret = '', + privacy_mode = '' + ) + else: + return Microsoft365AuthParamsDTO( + ) + + def testMicrosoft365AuthParamsDTO(self): + """Test Microsoft365AuthParamsDTO""" + def validate_instance(instance): + Microsoft365AuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = Microsoft365AuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_module_settings_dto.py b/src/visier_platform_sdk/test/test_module_settings_dto.py new file mode 100644 index 0000000000..dc3b08021e --- /dev/null +++ b/src/visier_platform_sdk/test/test_module_settings_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.module_settings_dto import ModuleSettingsDTO + +class TestModuleSettingsDTO(unittest.TestCase): + """ModuleSettingsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ModuleSettingsDTO: + """Test ModuleSettingsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ModuleSettingsDTO( + unavailable_for_assignment = True, + special_handling_instruction = '', + locale = '' + ) + else: + return ModuleSettingsDTO( + ) + + def testModuleSettingsDTO(self): + """Test ModuleSettingsDTO""" + def validate_instance(instance): + ModuleSettingsDTO.model_validate(inst_req_only) + instance_deserialized = ModuleSettingsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_details_dto.py b/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_details_dto.py new file mode 100644 index 0000000000..12f098ed4f --- /dev/null +++ b/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_details_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.multiple_tenant_data_versions_details_dto import MultipleTenantDataVersionsDetailsDTO + +class TestMultipleTenantDataVersionsDetailsDTO(unittest.TestCase): + """MultipleTenantDataVersionsDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MultipleTenantDataVersionsDetailsDTO: + """Test MultipleTenantDataVersionsDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MultipleTenantDataVersionsDetailsDTO( + tenant_code = '', + data_versions = [ + visier_platform_sdk.models.data_version_and_date_dto.DataVersionAndDateDTO( + data_version = '', + data_version_date = '', ) + ] + ) + else: + return MultipleTenantDataVersionsDetailsDTO( + ) + + def testMultipleTenantDataVersionsDetailsDTO(self): + """Test MultipleTenantDataVersionsDetailsDTO""" + def validate_instance(instance): + MultipleTenantDataVersionsDetailsDTO.model_validate(inst_req_only) + instance_deserialized = MultipleTenantDataVersionsDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_list_dto.py b/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_list_dto.py new file mode 100644 index 0000000000..ebfb1c6114 --- /dev/null +++ b/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_list_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.multiple_tenant_data_versions_list_dto import MultipleTenantDataVersionsListDTO + +class TestMultipleTenantDataVersionsListDTO(unittest.TestCase): + """MultipleTenantDataVersionsListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MultipleTenantDataVersionsListDTO: + """Test MultipleTenantDataVersionsListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MultipleTenantDataVersionsListDTO( + tenants = [ + visier_platform_sdk.models.multiple_tenant_data_versions_details_dto.MultipleTenantDataVersionsDetailsDTO( + tenant_code = '', + data_versions = [ + visier_platform_sdk.models.data_version_and_date_dto.DataVersionAndDateDTO( + data_version = '', + data_version_date = '', ) + ], ) + ], + limit = 56, + start = 56 + ) + else: + return MultipleTenantDataVersionsListDTO( + ) + + def testMultipleTenantDataVersionsListDTO(self): + """Test MultipleTenantDataVersionsListDTO""" + def validate_instance(instance): + MultipleTenantDataVersionsListDTO.model_validate(inst_req_only) + instance_deserialized = MultipleTenantDataVersionsListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_my_sql_auth_params_dto.py b/src/visier_platform_sdk/test/test_my_sql_auth_params_dto.py new file mode 100644 index 0000000000..b420f184f9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_my_sql_auth_params_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.my_sql_auth_params_dto import MySqlAuthParamsDTO + +class TestMySqlAuthParamsDTO(unittest.TestCase): + """MySqlAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MySqlAuthParamsDTO: + """Test MySqlAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MySqlAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + database = '', + ssl_mode = '' + ) + else: + return MySqlAuthParamsDTO( + ) + + def testMySqlAuthParamsDTO(self): + """Test MySqlAuthParamsDTO""" + def validate_instance(instance): + MySqlAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = MySqlAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_namely_auth_params_dto.py b/src/visier_platform_sdk/test/test_namely_auth_params_dto.py new file mode 100644 index 0000000000..500253a8a0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_namely_auth_params_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.namely_auth_params_dto import NamelyAuthParamsDTO + +class TestNamelyAuthParamsDTO(unittest.TestCase): + """NamelyAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> NamelyAuthParamsDTO: + """Test NamelyAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return NamelyAuthParamsDTO( + auth_code = '' + ) + else: + return NamelyAuthParamsDTO( + ) + + def testNamelyAuthParamsDTO(self): + """Test NamelyAuthParamsDTO""" + def validate_instance(instance): + NamelyAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = NamelyAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_network_subnets_message_request.py b/src/visier_platform_sdk/test/test_network_subnets_message_request.py new file mode 100644 index 0000000000..a483c5b1f8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_network_subnets_message_request.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.network_subnets_message_request import NetworkSubnetsMessageRequest + +class TestNetworkSubnetsMessageRequest(unittest.TestCase): + """NetworkSubnetsMessageRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> NetworkSubnetsMessageRequest: + """Test NetworkSubnetsMessageRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return NetworkSubnetsMessageRequest( + network_subnets_for_api = [ + '' + ], + confirm_lockout = True + ) + else: + return NetworkSubnetsMessageRequest( + ) + + def testNetworkSubnetsMessageRequest(self): + """Test NetworkSubnetsMessageRequest""" + def validate_instance(instance): + NetworkSubnetsMessageRequest.model_validate(inst_req_only) + instance_deserialized = NetworkSubnetsMessageRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_network_subnets_message_response.py b/src/visier_platform_sdk/test/test_network_subnets_message_response.py new file mode 100644 index 0000000000..72ec36d339 --- /dev/null +++ b/src/visier_platform_sdk/test/test_network_subnets_message_response.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.network_subnets_message_response import NetworkSubnetsMessageResponse + +class TestNetworkSubnetsMessageResponse(unittest.TestCase): + """NetworkSubnetsMessageResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> NetworkSubnetsMessageResponse: + """Test NetworkSubnetsMessageResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return NetworkSubnetsMessageResponse( + network_subnets_for_api = [ + '' + ] + ) + else: + return NetworkSubnetsMessageResponse( + ) + + def testNetworkSubnetsMessageResponse(self): + """Test NetworkSubnetsMessageResponse""" + def validate_instance(instance): + NetworkSubnetsMessageResponse.model_validate(inst_req_only) + instance_deserialized = NetworkSubnetsMessageResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_numeric_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_numeric_parameter_definition_dto.py new file mode 100644 index 0000000000..b028a3bccf --- /dev/null +++ b/src/visier_platform_sdk/test/test_numeric_parameter_definition_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.numeric_parameter_definition_dto import NumericParameterDefinitionDTO + +class TestNumericParameterDefinitionDTO(unittest.TestCase): + """NumericParameterDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> NumericParameterDefinitionDTO: + """Test NumericParameterDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return NumericParameterDefinitionDTO( + id = '', + display_name = '', + description = '', + lower_bound = 1.337, + upper_bound = 1.337, + default = 1.337 + ) + else: + return NumericParameterDefinitionDTO( + ) + + def testNumericParameterDefinitionDTO(self): + """Test NumericParameterDefinitionDTO""" + def validate_instance(instance): + NumericParameterDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = NumericParameterDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_numeric_parameter_value_dto.py b/src/visier_platform_sdk/test/test_numeric_parameter_value_dto.py new file mode 100644 index 0000000000..22fa2bbc41 --- /dev/null +++ b/src/visier_platform_sdk/test/test_numeric_parameter_value_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.numeric_parameter_value_dto import NumericParameterValueDTO + +class TestNumericParameterValueDTO(unittest.TestCase): + """NumericParameterValueDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> NumericParameterValueDTO: + """Test NumericParameterValueDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return NumericParameterValueDTO( + parameter_id = '', + value = 1.337 + ) + else: + return NumericParameterValueDTO( + ) + + def testNumericParameterValueDTO(self): + """Test NumericParameterValueDTO""" + def validate_instance(instance): + NumericParameterValueDTO.model_validate(inst_req_only) + instance_deserialized = NumericParameterValueDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_info_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_info_dto.py new file mode 100644 index 0000000000..7994371408 --- /dev/null +++ b/src/visier_platform_sdk/test/test_o_auth2_user_info_dto.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.o_auth2_user_info_dto import OAuth2UserInfoDTO + +class TestOAuth2UserInfoDTO(unittest.TestCase): + """OAuth2UserInfoDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OAuth2UserInfoDTO: + """Test OAuth2UserInfoDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return OAuth2UserInfoDTO( + subject = '', + name = '', + email = '', + visier_user_id = '', + visier_capabilities = visier_platform_sdk.models.servicing_capability_proto_enum_access_lookup_dto.ServicingCapabilityProtoEnumAccessLookupDTO( + capability_groups = [ + visier_platform_sdk.models.capability_group_dto.CapabilityGroupDTO( + group = 'unknown', + access_level = 'NoAccess', + view_level = 'Simple', + api_access_level = 'NoAccess', + api_view_level = 'Simple', ) + ], ), + visier_subnets = visier_platform_sdk.models.o_auth2_user_subnet_info_dto.OAuth2UserSubnetInfoDTO( + access_type = 'Unknown', + subnets = [ + '' + ], ), + visier_export_subnets = visier_platform_sdk.models.o_auth2_user_subnet_info_dto.OAuth2UserSubnetInfoDTO( + access_type = 'Unknown', + subnets = [ + '' + ], ), + visier_tenant_details = visier_platform_sdk.models.o_auth2_user_tenant_details_dto.OAuth2UserTenantDetailsDTO( + details = [ + visier_platform_sdk.models.o_auth2_user_tenant_detail_dto.OAuth2UserTenantDetailDTO( + tenant_code = '', + display_name = '', + properties = None, ) + ], ) + ) + else: + return OAuth2UserInfoDTO( + ) + + def testOAuth2UserInfoDTO(self): + """Test OAuth2UserInfoDTO""" + def validate_instance(instance): + OAuth2UserInfoDTO.model_validate(inst_req_only) + instance_deserialized = OAuth2UserInfoDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_subnet_info_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_subnet_info_dto.py new file mode 100644 index 0000000000..fceead2885 --- /dev/null +++ b/src/visier_platform_sdk/test/test_o_auth2_user_subnet_info_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.o_auth2_user_subnet_info_dto import OAuth2UserSubnetInfoDTO + +class TestOAuth2UserSubnetInfoDTO(unittest.TestCase): + """OAuth2UserSubnetInfoDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OAuth2UserSubnetInfoDTO: + """Test OAuth2UserSubnetInfoDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return OAuth2UserSubnetInfoDTO( + access_type = 'Unknown', + subnets = [ + '' + ] + ) + else: + return OAuth2UserSubnetInfoDTO( + ) + + def testOAuth2UserSubnetInfoDTO(self): + """Test OAuth2UserSubnetInfoDTO""" + def validate_instance(instance): + OAuth2UserSubnetInfoDTO.model_validate(inst_req_only) + instance_deserialized = OAuth2UserSubnetInfoDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_detail_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_detail_dto.py new file mode 100644 index 0000000000..a1879b2726 --- /dev/null +++ b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_detail_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.o_auth2_user_tenant_detail_dto import OAuth2UserTenantDetailDTO + +class TestOAuth2UserTenantDetailDTO(unittest.TestCase): + """OAuth2UserTenantDetailDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OAuth2UserTenantDetailDTO: + """Test OAuth2UserTenantDetailDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return OAuth2UserTenantDetailDTO( + tenant_code = '', + display_name = '', + properties = visier_platform_sdk.models.o_auth2_user_tenant_properties_dto.OAuth2UserTenantPropertiesDTO( + vanity_url_name = '', ) + ) + else: + return OAuth2UserTenantDetailDTO( + ) + + def testOAuth2UserTenantDetailDTO(self): + """Test OAuth2UserTenantDetailDTO""" + def validate_instance(instance): + OAuth2UserTenantDetailDTO.model_validate(inst_req_only) + instance_deserialized = OAuth2UserTenantDetailDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_details_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_details_dto.py new file mode 100644 index 0000000000..cb70640c84 --- /dev/null +++ b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_details_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.o_auth2_user_tenant_details_dto import OAuth2UserTenantDetailsDTO + +class TestOAuth2UserTenantDetailsDTO(unittest.TestCase): + """OAuth2UserTenantDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OAuth2UserTenantDetailsDTO: + """Test OAuth2UserTenantDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return OAuth2UserTenantDetailsDTO( + details = [ + visier_platform_sdk.models.o_auth2_user_tenant_detail_dto.OAuth2UserTenantDetailDTO( + tenant_code = '', + display_name = '', + properties = None, ) + ] + ) + else: + return OAuth2UserTenantDetailsDTO( + ) + + def testOAuth2UserTenantDetailsDTO(self): + """Test OAuth2UserTenantDetailsDTO""" + def validate_instance(instance): + OAuth2UserTenantDetailsDTO.model_validate(inst_req_only) + instance_deserialized = OAuth2UserTenantDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_properties_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_properties_dto.py new file mode 100644 index 0000000000..4834e6bbb3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_properties_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.o_auth2_user_tenant_properties_dto import OAuth2UserTenantPropertiesDTO + +class TestOAuth2UserTenantPropertiesDTO(unittest.TestCase): + """OAuth2UserTenantPropertiesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OAuth2UserTenantPropertiesDTO: + """Test OAuth2UserTenantPropertiesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return OAuth2UserTenantPropertiesDTO( + vanity_url_name = '' + ) + else: + return OAuth2UserTenantPropertiesDTO( + ) + + def testOAuth2UserTenantPropertiesDTO(self): + """Test OAuth2UserTenantPropertiesDTO""" + def validate_instance(instance): + OAuth2UserTenantPropertiesDTO.model_validate(inst_req_only) + instance_deserialized = OAuth2UserTenantPropertiesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_object_change_failure_dto.py b/src/visier_platform_sdk/test/test_object_change_failure_dto.py new file mode 100644 index 0000000000..e6b9cd4e65 --- /dev/null +++ b/src/visier_platform_sdk/test/test_object_change_failure_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.object_change_failure_dto import ObjectChangeFailureDTO + +class TestObjectChangeFailureDTO(unittest.TestCase): + """ObjectChangeFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ObjectChangeFailureDTO: + """Test ObjectChangeFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ObjectChangeFailureDTO( + id = '', + display_name = '', + message = '', + rci = '', + tenant_code = '', + project_id = '' + ) + else: + return ObjectChangeFailureDTO( + ) + + def testObjectChangeFailureDTO(self): + """Test ObjectChangeFailureDTO""" + def validate_instance(instance): + ObjectChangeFailureDTO.model_validate(inst_req_only) + instance_deserialized = ObjectChangeFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_object_change_success_dto.py b/src/visier_platform_sdk/test/test_object_change_success_dto.py new file mode 100644 index 0000000000..dce2ca5832 --- /dev/null +++ b/src/visier_platform_sdk/test/test_object_change_success_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.object_change_success_dto import ObjectChangeSuccessDTO + +class TestObjectChangeSuccessDTO(unittest.TestCase): + """ObjectChangeSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ObjectChangeSuccessDTO: + """Test ObjectChangeSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ObjectChangeSuccessDTO( + id = '', + display_name = '', + tenant_code = '', + project_id = '' + ) + else: + return ObjectChangeSuccessDTO( + ) + + def testObjectChangeSuccessDTO(self): + """Test ObjectChangeSuccessDTO""" + def validate_instance(instance): + ObjectChangeSuccessDTO.model_validate(inst_req_only) + instance_deserialized = ObjectChangeSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_object_id_dto.py b/src/visier_platform_sdk/test/test_object_id_dto.py new file mode 100644 index 0000000000..263344c714 --- /dev/null +++ b/src/visier_platform_sdk/test/test_object_id_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.object_id_dto import ObjectIdDTO + +class TestObjectIdDTO(unittest.TestCase): + """ObjectIdDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ObjectIdDTO: + """Test ObjectIdDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ObjectIdDTO( + uuid = '', + object_name = '' + ) + else: + return ObjectIdDTO( + ) + + def testObjectIdDTO(self): + """Test ObjectIdDTO""" + def validate_instance(instance): + ObjectIdDTO.model_validate(inst_req_only) + instance_deserialized = ObjectIdDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_object_reference_dto.py b/src/visier_platform_sdk/test/test_object_reference_dto.py new file mode 100644 index 0000000000..8c3412370a --- /dev/null +++ b/src/visier_platform_sdk/test/test_object_reference_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.object_reference_dto import ObjectReferenceDTO + +class TestObjectReferenceDTO(unittest.TestCase): + """ObjectReferenceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ObjectReferenceDTO: + """Test ObjectReferenceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ObjectReferenceDTO( + id = '', + display_name = '', + description = '', + from_object = '', + to_object = '', + type = 'SUBJECT_REFERENCE', + is_strong_reference = True + ) + else: + return ObjectReferenceDTO( + ) + + def testObjectReferenceDTO(self): + """Test ObjectReferenceDTO""" + def validate_instance(instance): + ObjectReferenceDTO.model_validate(inst_req_only) + instance_deserialized = ObjectReferenceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_objects_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_objects_bulk_change_response_dto.py new file mode 100644 index 0000000000..b445cb9f2a --- /dev/null +++ b/src/visier_platform_sdk/test/test_objects_bulk_change_response_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.objects_bulk_change_response_dto import ObjectsBulkChangeResponseDTO + +class TestObjectsBulkChangeResponseDTO(unittest.TestCase): + """ObjectsBulkChangeResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ObjectsBulkChangeResponseDTO: + """Test ObjectsBulkChangeResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ObjectsBulkChangeResponseDTO( + successes = [ + visier_platform_sdk.models.object_change_success_dto.ObjectChangeSuccessDTO( + id = '', + display_name = '', + tenant_code = '', + project_id = '', ) + ], + failures = [ + visier_platform_sdk.models.object_change_failure_dto.ObjectChangeFailureDTO( + id = '', + display_name = '', + message = '', + rci = '', + tenant_code = '', + project_id = '', ) + ] + ) + else: + return ObjectsBulkChangeResponseDTO( + ) + + def testObjectsBulkChangeResponseDTO(self): + """Test ObjectsBulkChangeResponseDTO""" + def validate_instance(instance): + ObjectsBulkChangeResponseDTO.model_validate(inst_req_only) + instance_deserialized = ObjectsBulkChangeResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_oracle_db_auth_params_dto.py b/src/visier_platform_sdk/test/test_oracle_db_auth_params_dto.py new file mode 100644 index 0000000000..020636ca4e --- /dev/null +++ b/src/visier_platform_sdk/test/test_oracle_db_auth_params_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.oracle_db_auth_params_dto import OracleDbAuthParamsDTO + +class TestOracleDbAuthParamsDTO(unittest.TestCase): + """OracleDbAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OracleDbAuthParamsDTO: + """Test OracleDbAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return OracleDbAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + service_name = '' + ) + else: + return OracleDbAuthParamsDTO( + ) + + def testOracleDbAuthParamsDTO(self): + """Test OracleDbAuthParamsDTO""" + def validate_instance(instance): + OracleDbAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = OracleDbAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_output_entry.py b/src/visier_platform_sdk/test/test_output_entry.py index b1694c6477..7f08298d0d 100644 --- a/src/visier_platform_sdk/test/test_output_entry.py +++ b/src/visier_platform_sdk/test/test_output_entry.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.output_entry import OutputEntry class TestOutputEntry(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> OutputEntry: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `OutputEntry` - """ - model = OutputEntry() + if include_optional: return OutputEntry( job = '', @@ -102,12 +101,19 @@ def make_instance(self, include_optional) -> OutputEntry: soc_names = visier_platform_sdk.models.soc_names.socNames(), ) ], ) - """ def testOutputEntry(self): """Test OutputEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + OutputEntry.model_validate(inst_req_only) + instance_deserialized = OutputEntry.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_output_entry1.py b/src/visier_platform_sdk/test/test_output_entry1.py index 4f2afb24dd..dd4dea8d79 100644 --- a/src/visier_platform_sdk/test/test_output_entry1.py +++ b/src/visier_platform_sdk/test/test_output_entry1.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.output_entry1 import OutputEntry1 class TestOutputEntry1(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> OutputEntry1: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `OutputEntry1` - """ - model = OutputEntry1() + if include_optional: return OutputEntry1( job = '', @@ -56,12 +55,19 @@ def make_instance(self, include_optional) -> OutputEntry1: score = 56, ) ], ) - """ def testOutputEntry1(self): """Test OutputEntry1""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + OutputEntry1.model_validate(inst_req_only) + instance_deserialized = OutputEntry1.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_output_entry1_matches_inner.py b/src/visier_platform_sdk/test/test_output_entry1_matches_inner.py index 9a7291d118..6139272b19 100644 --- a/src/visier_platform_sdk/test/test_output_entry1_matches_inner.py +++ b/src/visier_platform_sdk/test/test_output_entry1_matches_inner.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.output_entry1_matches_inner import OutputEntry1MatchesInner class TestOutputEntry1MatchesInner(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> OutputEntry1MatchesInner: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `OutputEntry1MatchesInner` - """ - model = OutputEntry1MatchesInner() + if include_optional: return OutputEntry1MatchesInner( id = '', @@ -48,12 +47,19 @@ def make_instance(self, include_optional) -> OutputEntry1MatchesInner: description = '', score = 56, ) - """ def testOutputEntry1MatchesInner(self): """Test OutputEntry1MatchesInner""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + OutputEntry1MatchesInner.model_validate(inst_req_only) + instance_deserialized = OutputEntry1MatchesInner.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_pair_dto.py b/src/visier_platform_sdk/test/test_pair_dto.py new file mode 100644 index 0000000000..50487fc450 --- /dev/null +++ b/src/visier_platform_sdk/test/test_pair_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.pair_dto import PairDTO + +class TestPairDTO(unittest.TestCase): + """PairDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PairDTO: + """Test PairDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PairDTO( + key = '', + value = '' + ) + else: + return PairDTO( + ) + + def testPairDTO(self): + """Test PairDTO""" + def validate_instance(instance): + PairDTO.model_validate(inst_req_only) + instance_deserialized = PairDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_parameter_definition_dto.py new file mode 100644 index 0000000000..011031c875 --- /dev/null +++ b/src/visier_platform_sdk/test/test_parameter_definition_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.parameter_definition_dto import ParameterDefinitionDTO + +class TestParameterDefinitionDTO(unittest.TestCase): + """ParameterDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ParameterDefinitionDTO: + """Test ParameterDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ParameterDefinitionDTO( + member_parameter = visier_platform_sdk.models.member_parameter_definition_dto.MemberParameterDefinitionDTO( + id = '', + display_name = '', + description = '', + dimension_id = '', + reference_path = [ + '' + ], + default = None, ), + numeric_parameter = visier_platform_sdk.models.numeric_parameter_definition_dto.NumericParameterDefinitionDTO( + id = '', + display_name = '', + description = '', + lower_bound = 1.337, + upper_bound = 1.337, + default = 1.337, ), + plan_parameter = visier_platform_sdk.models.plan_parameter_definition_dto.PlanParameterDefinitionDTO( + id = '', + display_name = '', + description = '', + model_name = '', ), + aggregation_type_parameter = visier_platform_sdk.models.aggregation_type_parameter_dto.AggregationTypeParameterDTO( + id = '', + display_name = '', + description = '', + parameter_options = [ + visier_platform_sdk.models.aggregation_type_option_dto.AggregationTypeOptionDTO( + id = '', + display_name = '', + property_name = '', + aggregation_function = '', + is_default = True, ) + ], ) + ) + else: + return ParameterDefinitionDTO( + ) + + def testParameterDefinitionDTO(self): + """Test ParameterDefinitionDTO""" + def validate_instance(instance): + ParameterDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = ParameterDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_assigned_by_tenant_dto.py b/src/visier_platform_sdk/test/test_permission_assigned_by_tenant_dto.py new file mode 100644 index 0000000000..a5c1cbfb23 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_assigned_by_tenant_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_assigned_by_tenant_dto import PermissionAssignedByTenantDTO + +class TestPermissionAssignedByTenantDTO(unittest.TestCase): + """PermissionAssignedByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionAssignedByTenantDTO: + """Test PermissionAssignedByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionAssignedByTenantDTO( + tenant_code = '', + users = [ + visier_platform_sdk.models.permission_assigned_user_dto.PermissionAssignedUserDTO( + user_id = '', + username = '', + permission_from = '', ) + ] + ) + else: + return PermissionAssignedByTenantDTO( + ) + + def testPermissionAssignedByTenantDTO(self): + """Test PermissionAssignedByTenantDTO""" + def validate_instance(instance): + PermissionAssignedByTenantDTO.model_validate(inst_req_only) + instance_deserialized = PermissionAssignedByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_permission_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..25a953c967 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_assigned_for_local_tenant_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_assigned_for_local_tenant_dto import PermissionAssignedForLocalTenantDTO + +class TestPermissionAssignedForLocalTenantDTO(unittest.TestCase): + """PermissionAssignedForLocalTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionAssignedForLocalTenantDTO: + """Test PermissionAssignedForLocalTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionAssignedForLocalTenantDTO( + permission_id = '', + display_name = '', + description = '' + ) + else: + return PermissionAssignedForLocalTenantDTO( + ) + + def testPermissionAssignedForLocalTenantDTO(self): + """Test PermissionAssignedForLocalTenantDTO""" + def validate_instance(instance): + PermissionAssignedForLocalTenantDTO.model_validate(inst_req_only) + instance_deserialized = PermissionAssignedForLocalTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_assigned_user_dto.py b/src/visier_platform_sdk/test/test_permission_assigned_user_dto.py new file mode 100644 index 0000000000..9413f1fef6 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_assigned_user_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_assigned_user_dto import PermissionAssignedUserDTO + +class TestPermissionAssignedUserDTO(unittest.TestCase): + """PermissionAssignedUserDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionAssignedUserDTO: + """Test PermissionAssignedUserDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionAssignedUserDTO( + user_id = '', + username = '', + permission_from = '' + ) + else: + return PermissionAssignedUserDTO( + ) + + def testPermissionAssignedUserDTO(self): + """Test PermissionAssignedUserDTO""" + def validate_instance(instance): + PermissionAssignedUserDTO.model_validate(inst_req_only) + instance_deserialized = PermissionAssignedUserDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_assigned_users_dto.py b/src/visier_platform_sdk/test/test_permission_assigned_users_dto.py new file mode 100644 index 0000000000..ad51231ff0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_assigned_users_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_assigned_users_dto import PermissionAssignedUsersDTO + +class TestPermissionAssignedUsersDTO(unittest.TestCase): + """PermissionAssignedUsersDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionAssignedUsersDTO: + """Test PermissionAssignedUsersDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionAssignedUsersDTO( + tenants = [ + visier_platform_sdk.models.permission_assigned_by_tenant_dto.PermissionAssignedByTenantDTO( + tenant_code = '', + users = [ + visier_platform_sdk.models.permission_assigned_user_dto.PermissionAssignedUserDTO( + user_id = '', + username = '', + permission_from = '', ) + ], ) + ], + limit = 56, + start = 56 + ) + else: + return PermissionAssignedUsersDTO( + ) + + def testPermissionAssignedUsersDTO(self): + """Test PermissionAssignedUsersDTO""" + def validate_instance(instance): + PermissionAssignedUsersDTO.model_validate(inst_req_only) + instance_deserialized = PermissionAssignedUsersDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_bulk_operation_response_dto.py b/src/visier_platform_sdk/test/test_permission_bulk_operation_response_dto.py new file mode 100644 index 0000000000..debe30f33d --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_bulk_operation_response_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_bulk_operation_response_dto import PermissionBulkOperationResponseDTO + +class TestPermissionBulkOperationResponseDTO(unittest.TestCase): + """PermissionBulkOperationResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionBulkOperationResponseDTO: + """Test PermissionBulkOperationResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionBulkOperationResponseDTO( + successes = [ + visier_platform_sdk.models.permission_success_dto.PermissionSuccessDTO( + permission_id = '', + display_name = '', ) + ], + failures = [ + visier_platform_sdk.models.permission_failure_dto.PermissionFailureDTO( + permission_id = '', + display_name = '', + error = None, ) + ] + ) + else: + return PermissionBulkOperationResponseDTO( + ) + + def testPermissionBulkOperationResponseDTO(self): + """Test PermissionBulkOperationResponseDTO""" + def validate_instance(instance): + PermissionBulkOperationResponseDTO.model_validate(inst_req_only) + instance_deserialized = PermissionBulkOperationResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_dto.py b/src/visier_platform_sdk/test/test_permission_dto.py new file mode 100644 index 0000000000..40c0ecd005 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_dto.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_dto import PermissionDTO + +class TestPermissionDTO(unittest.TestCase): + """PermissionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionDTO: + """Test PermissionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionDTO( + permission_id = '', + display_name = '', + description = '', + data_security_profiles = [ + visier_platform_sdk.models.data_security_profile_dto.DataSecurityProfileDTO( + analytic_object_id = '', + property_set_config = None, + all_data_point_access = True, + member_filter_configs = [ + visier_platform_sdk.models.member_filter_config_dto.MemberFilterConfigDTO( + dimension_filters = [ + visier_platform_sdk.models.dimension_filter_dto.DimensionFilterDTO( + static_dimension_filter = visier_platform_sdk.models.static_dimension_filter_dto.StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset', ), + dynamic_dimension_filter = visier_platform_sdk.models.dynamic_dimension_filter_dto.DynamicDimensionFilterDTO( + dimension_id = '', + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset', ), ) + ], ) + ], + inherited_access_configs = [ + visier_platform_sdk.models.inherited_access_config_dto.InheritedAccessConfigDTO( + analytic_object_id = '', + remove_access = True, ) + ], + inherited_reference_member_filter_config = None, + analytic_object_status = 'Unset', ) + ], + admin_capability_config = visier_platform_sdk.models.admin_capability_config_dto.AdminCapabilityConfigDTO( + all_capabilities_access = True, + capabilities = [ + '' + ], ), + role_modules_config = visier_platform_sdk.models.role_modules_config_dto.RoleModulesConfigDTO( + content_package_ids = [ + '' + ], ) + ) + else: + return PermissionDTO( + ) + + def testPermissionDTO(self): + """Test PermissionDTO""" + def validate_instance(instance): + PermissionDTO.model_validate(inst_req_only) + instance_deserialized = PermissionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_error_dto.py b/src/visier_platform_sdk/test/test_permission_error_dto.py new file mode 100644 index 0000000000..24af0c56fb --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_error_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_error_dto import PermissionErrorDTO + +class TestPermissionErrorDTO(unittest.TestCase): + """PermissionErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionErrorDTO: + """Test PermissionErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionErrorDTO( + message = '', + rci = '' + ) + else: + return PermissionErrorDTO( + ) + + def testPermissionErrorDTO(self): + """Test PermissionErrorDTO""" + def validate_instance(instance): + PermissionErrorDTO.model_validate(inst_req_only) + instance_deserialized = PermissionErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_failure_dto.py b/src/visier_platform_sdk/test/test_permission_failure_dto.py new file mode 100644 index 0000000000..4c1da7feea --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_failure_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_failure_dto import PermissionFailureDTO + +class TestPermissionFailureDTO(unittest.TestCase): + """PermissionFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionFailureDTO: + """Test PermissionFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionFailureDTO( + permission_id = '', + display_name = '', + error = visier_platform_sdk.models.permission_error_dto.PermissionErrorDTO( + message = '', + rci = '', ) + ) + else: + return PermissionFailureDTO( + ) + + def testPermissionFailureDTO(self): + """Test PermissionFailureDTO""" + def validate_instance(instance): + PermissionFailureDTO.model_validate(inst_req_only) + instance_deserialized = PermissionFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_response_dto.py b/src/visier_platform_sdk/test/test_permission_response_dto.py new file mode 100644 index 0000000000..2b351b65d2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_response_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_response_dto import PermissionResponseDTO + +class TestPermissionResponseDTO(unittest.TestCase): + """PermissionResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionResponseDTO: + """Test PermissionResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionResponseDTO( + permission_id = '', + display_name = '' + ) + else: + return PermissionResponseDTO( + ) + + def testPermissionResponseDTO(self): + """Test PermissionResponseDTO""" + def validate_instance(instance): + PermissionResponseDTO.model_validate(inst_req_only) + instance_deserialized = PermissionResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_success_dto.py b/src/visier_platform_sdk/test/test_permission_success_dto.py new file mode 100644 index 0000000000..018495fa7b --- /dev/null +++ b/src/visier_platform_sdk/test/test_permission_success_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permission_success_dto import PermissionSuccessDTO + +class TestPermissionSuccessDTO(unittest.TestCase): + """PermissionSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionSuccessDTO: + """Test PermissionSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionSuccessDTO( + permission_id = '', + display_name = '' + ) + else: + return PermissionSuccessDTO( + ) + + def testPermissionSuccessDTO(self): + """Test PermissionSuccessDTO""" + def validate_instance(instance): + PermissionSuccessDTO.model_validate(inst_req_only) + instance_deserialized = PermissionSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permissions_list_dto.py b/src/visier_platform_sdk/test/test_permissions_list_dto.py new file mode 100644 index 0000000000..2f07310ce4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permissions_list_dto.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permissions_list_dto import PermissionsListDTO + +class TestPermissionsListDTO(unittest.TestCase): + """PermissionsListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionsListDTO: + """Test PermissionsListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionsListDTO( + permissions = [ + visier_platform_sdk.models.permission_dto.PermissionDTO( + permission_id = '', + display_name = '', + description = '', + data_security_profiles = [ + visier_platform_sdk.models.data_security_profile_dto.DataSecurityProfileDTO( + analytic_object_id = '', + property_set_config = None, + all_data_point_access = True, + member_filter_configs = [ + visier_platform_sdk.models.member_filter_config_dto.MemberFilterConfigDTO( + dimension_filters = [ + visier_platform_sdk.models.dimension_filter_dto.DimensionFilterDTO( + static_dimension_filter = visier_platform_sdk.models.static_dimension_filter_dto.StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset', ), + dynamic_dimension_filter = visier_platform_sdk.models.dynamic_dimension_filter_dto.DynamicDimensionFilterDTO( + dimension_id = '', + dynamic_property_mappings = [ + visier_platform_sdk.models.dynamic_property_mapping_dto.DynamicPropertyMappingDTO( + hierarchy_property_id = '', + user_property = None, + hierarchy_property_status = 'Unset', ) + ], + dimension_status = 'Unset', ), ) + ], ) + ], + inherited_access_configs = [ + visier_platform_sdk.models.inherited_access_config_dto.InheritedAccessConfigDTO( + analytic_object_id = '', + remove_access = True, ) + ], + inherited_reference_member_filter_config = None, + analytic_object_status = 'Unset', ) + ], + admin_capability_config = None, + role_modules_config = None, ) + ] + ) + else: + return PermissionsListDTO( + ) + + def testPermissionsListDTO(self): + """Test PermissionsListDTO""" + def validate_instance(instance): + PermissionsListDTO.model_validate(inst_req_only) + instance_deserialized = PermissionsListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permissions_to_user_group_for_tenant_dto.py b/src/visier_platform_sdk/test/test_permissions_to_user_group_for_tenant_dto.py new file mode 100644 index 0000000000..2e55a55da0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permissions_to_user_group_for_tenant_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permissions_to_user_group_for_tenant_dto import PermissionsToUserGroupForTenantDTO + +class TestPermissionsToUserGroupForTenantDTO(unittest.TestCase): + """PermissionsToUserGroupForTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionsToUserGroupForTenantDTO: + """Test PermissionsToUserGroupForTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionsToUserGroupForTenantDTO( + tenant_code = '', + status = '', + message = '', + user_groups = [ + visier_platform_sdk.models.user_group_get_api_response_dto.UserGroupGetAPIResponseDTO( + user_group_id = '', + display_name = '', + permissions = [ + visier_platform_sdk.models.permission_response_dto.PermissionResponseDTO( + permission_id = '', + display_name = '', ) + ], ) + ] + ) + else: + return PermissionsToUserGroupForTenantDTO( + ) + + def testPermissionsToUserGroupForTenantDTO(self): + """Test PermissionsToUserGroupForTenantDTO""" + def validate_instance(instance): + PermissionsToUserGroupForTenantDTO.model_validate(inst_req_only) + instance_deserialized = PermissionsToUserGroupForTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permissions_to_user_group_request_dto.py b/src/visier_platform_sdk/test/test_permissions_to_user_group_request_dto.py new file mode 100644 index 0000000000..4cf867c2aa --- /dev/null +++ b/src/visier_platform_sdk/test/test_permissions_to_user_group_request_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permissions_to_user_group_request_dto import PermissionsToUserGroupRequestDTO + +class TestPermissionsToUserGroupRequestDTO(unittest.TestCase): + """PermissionsToUserGroupRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionsToUserGroupRequestDTO: + """Test PermissionsToUserGroupRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionsToUserGroupRequestDTO( + user_group_id = '', + permissions_ids = [ + '' + ] + ) + else: + return PermissionsToUserGroupRequestDTO( + ) + + def testPermissionsToUserGroupRequestDTO(self): + """Test PermissionsToUserGroupRequestDTO""" + def validate_instance(instance): + PermissionsToUserGroupRequestDTO.model_validate(inst_req_only) + instance_deserialized = PermissionsToUserGroupRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permissions_to_user_groups_request_dto.py b/src/visier_platform_sdk/test/test_permissions_to_user_groups_request_dto.py new file mode 100644 index 0000000000..f1c381dcf1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_permissions_to_user_groups_request_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.permissions_to_user_groups_request_dto import PermissionsToUserGroupsRequestDTO + +class TestPermissionsToUserGroupsRequestDTO(unittest.TestCase): + """PermissionsToUserGroupsRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PermissionsToUserGroupsRequestDTO: + """Test PermissionsToUserGroupsRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PermissionsToUserGroupsRequestDTO( + user_groups = [ + visier_platform_sdk.models.permissions_to_user_group_request_dto.PermissionsToUserGroupRequestDTO( + user_group_id = '', + permissions_ids = [ + '' + ], ) + ] + ) + else: + return PermissionsToUserGroupsRequestDTO( + ) + + def testPermissionsToUserGroupsRequestDTO(self): + """Test PermissionsToUserGroupsRequestDTO""" + def validate_instance(instance): + PermissionsToUserGroupsRequestDTO.model_validate(inst_req_only) + instance_deserialized = PermissionsToUserGroupsRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_perspective_configuration_dto.py b/src/visier_platform_sdk/test/test_perspective_configuration_dto.py new file mode 100644 index 0000000000..57c2aadda7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_perspective_configuration_dto.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.perspective_configuration_dto import PerspectiveConfigurationDTO + +class TestPerspectiveConfigurationDTO(unittest.TestCase): + """PerspectiveConfigurationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PerspectiveConfigurationDTO: + """Test PerspectiveConfigurationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PerspectiveConfigurationDTO( + perspective_id = '', + perspective_name = '', + perspective_nodes = [ + visier_platform_sdk.models.perspective_node_dto.PerspectiveNodeDTO( + selection_concept_uuid = '', + symbol_name = '', + analytic_object_filters = [ + visier_platform_sdk.models.analytic_object_filter_dto.AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ], ) + ], ) + ] + ) + else: + return PerspectiveConfigurationDTO( + ) + + def testPerspectiveConfigurationDTO(self): + """Test PerspectiveConfigurationDTO""" + def validate_instance(instance): + PerspectiveConfigurationDTO.model_validate(inst_req_only) + instance_deserialized = PerspectiveConfigurationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_perspective_node_dto.py b/src/visier_platform_sdk/test/test_perspective_node_dto.py new file mode 100644 index 0000000000..bd7d962b7d --- /dev/null +++ b/src/visier_platform_sdk/test/test_perspective_node_dto.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.perspective_node_dto import PerspectiveNodeDTO + +class TestPerspectiveNodeDTO(unittest.TestCase): + """PerspectiveNodeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PerspectiveNodeDTO: + """Test PerspectiveNodeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PerspectiveNodeDTO( + selection_concept_uuid = '', + symbol_name = '', + analytic_object_filters = [ + visier_platform_sdk.models.analytic_object_filter_dto.AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ], ) + ] + ) + else: + return PerspectiveNodeDTO( + ) + + def testPerspectiveNodeDTO(self): + """Test PerspectiveNodeDTO""" + def validate_instance(instance): + PerspectiveNodeDTO.model_validate(inst_req_only) + instance_deserialized = PerspectiveNodeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_data_load_change_dto.py b/src/visier_platform_sdk/test/test_plan_data_load_change_dto.py index d16cb61d40..d222e448fc 100644 --- a/src/visier_platform_sdk/test/test_plan_data_load_change_dto.py +++ b/src/visier_platform_sdk/test/test_plan_data_load_change_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.plan_data_load_change_dto import PlanDataLoadChangeDTO class TestPlanDataLoadChangeDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> PlanDataLoadChangeDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `PlanDataLoadChangeDTO` - """ - model = PlanDataLoadChangeDTO() + if include_optional: return PlanDataLoadChangeDTO( row_members = [ @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> PlanDataLoadChangeDTO: else: return PlanDataLoadChangeDTO( ) - """ def testPlanDataLoadChangeDTO(self): """Test PlanDataLoadChangeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + PlanDataLoadChangeDTO.model_validate(inst_req_only) + instance_deserialized = PlanDataLoadChangeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_data_load_change_list_dto.py b/src/visier_platform_sdk/test/test_plan_data_load_change_list_dto.py index 2dfeaefc75..5ab398eeb8 100644 --- a/src/visier_platform_sdk/test/test_plan_data_load_change_list_dto.py +++ b/src/visier_platform_sdk/test/test_plan_data_load_change_list_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.plan_data_load_change_list_dto import PlanDataLoadChangeListDTO class TestPlanDataLoadChangeListDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> PlanDataLoadChangeListDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `PlanDataLoadChangeListDTO` - """ - model = PlanDataLoadChangeListDTO() + if include_optional: return PlanDataLoadChangeListDTO( plan_item = '', @@ -50,12 +49,19 @@ def make_instance(self, include_optional) -> PlanDataLoadChangeListDTO: else: return PlanDataLoadChangeListDTO( ) - """ def testPlanDataLoadChangeListDTO(self): """Test PlanDataLoadChangeListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + PlanDataLoadChangeListDTO.model_validate(inst_req_only) + instance_deserialized = PlanDataLoadChangeListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_data_load_error_dto.py b/src/visier_platform_sdk/test/test_plan_data_load_error_dto.py new file mode 100644 index 0000000000..62147448c2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_data_load_error_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_data_load_error_dto import PlanDataLoadErrorDTO + +class TestPlanDataLoadErrorDTO(unittest.TestCase): + """PlanDataLoadErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanDataLoadErrorDTO: + """Test PlanDataLoadErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanDataLoadErrorDTO( + row = 56, + rci = '', + error_message = '' + ) + else: + return PlanDataLoadErrorDTO( + ) + + def testPlanDataLoadErrorDTO(self): + """Test PlanDataLoadErrorDTO""" + def validate_instance(instance): + PlanDataLoadErrorDTO.model_validate(inst_req_only) + instance_deserialized = PlanDataLoadErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_data_upload_response_dto.py b/src/visier_platform_sdk/test/test_plan_data_upload_response_dto.py index a5e68a6ac5..8da5383e29 100644 --- a/src/visier_platform_sdk/test/test_plan_data_upload_response_dto.py +++ b/src/visier_platform_sdk/test/test_plan_data_upload_response_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.plan_data_upload_response_dto import PlanDataUploadResponseDTO class TestPlanDataUploadResponseDTO(unittest.TestCase): @@ -31,15 +32,13 @@ def make_instance(self, include_optional) -> PlanDataUploadResponseDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `PlanDataUploadResponseDTO` - """ - model = PlanDataUploadResponseDTO() + if include_optional: return PlanDataUploadResponseDTO( updated_cells_count = 56, potential_updated_cells_count = 56, errors = [ - visier_platform_sdk.models.planning/plan_data_load_error_dto.planning.PlanDataLoadErrorDTO( + visier_platform_sdk.models.plan_data_load_error_dto.PlanDataLoadErrorDTO( row = 56, rci = '', error_message = '', ) @@ -61,12 +60,19 @@ def make_instance(self, include_optional) -> PlanDataUploadResponseDTO: else: return PlanDataUploadResponseDTO( ) - """ def testPlanDataUploadResponseDTO(self): """Test PlanDataUploadResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + PlanDataUploadResponseDTO.model_validate(inst_req_only) + instance_deserialized = PlanDataUploadResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_info_dto.py b/src/visier_platform_sdk/test/test_plan_info_dto.py new file mode 100644 index 0000000000..7659043991 --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_info_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_info_dto import PlanInfoDTO + +class TestPlanInfoDTO(unittest.TestCase): + """PlanInfoDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanInfoDTO: + """Test PlanInfoDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanInfoDTO( + uuid = '', + display_name = '', + model_id = '', + scenarios = [ + visier_platform_sdk.models.scenario_info_dto.ScenarioInfoDTO( + uuid = '', + display_name = '', + versioned_scenario_id = '', ) + ], + parent_plan_uuid = '', + currency_code = '' + ) + else: + return PlanInfoDTO( + ) + + def testPlanInfoDTO(self): + """Test PlanInfoDTO""" + def validate_instance(instance): + PlanInfoDTO.model_validate(inst_req_only) + instance_deserialized = PlanInfoDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_item_dto.py b/src/visier_platform_sdk/test/test_plan_item_dto.py new file mode 100644 index 0000000000..56e5b5ee23 --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_item_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_item_dto import PlanItemDTO + +class TestPlanItemDTO(unittest.TestCase): + """PlanItemDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanItemDTO: + """Test PlanItemDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanItemDTO( + id = '', + display_name = '', + data_type = 'unknown' + ) + else: + return PlanItemDTO( + ) + + def testPlanItemDTO(self): + """Test PlanItemDTO""" + def validate_instance(instance): + PlanItemDTO.model_validate(inst_req_only) + instance_deserialized = PlanItemDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_plan_parameter_definition_dto.py new file mode 100644 index 0000000000..478aa52f5e --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_parameter_definition_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_parameter_definition_dto import PlanParameterDefinitionDTO + +class TestPlanParameterDefinitionDTO(unittest.TestCase): + """PlanParameterDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanParameterDefinitionDTO: + """Test PlanParameterDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanParameterDefinitionDTO( + id = '', + display_name = '', + description = '', + model_name = '' + ) + else: + return PlanParameterDefinitionDTO( + ) + + def testPlanParameterDefinitionDTO(self): + """Test PlanParameterDefinitionDTO""" + def validate_instance(instance): + PlanParameterDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = PlanParameterDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_parameter_value_dto.py b/src/visier_platform_sdk/test/test_plan_parameter_value_dto.py new file mode 100644 index 0000000000..976e7352bd --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_parameter_value_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_parameter_value_dto import PlanParameterValueDTO + +class TestPlanParameterValueDTO(unittest.TestCase): + """PlanParameterValueDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanParameterValueDTO: + """Test PlanParameterValueDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanParameterValueDTO( + parameter_id = '', + plan_id = '', + scenario_id = '', + snapshot_id = '' + ) + else: + return PlanParameterValueDTO( + ) + + def testPlanParameterValueDTO(self): + """Test PlanParameterValueDTO""" + def validate_instance(instance): + PlanParameterValueDTO.model_validate(inst_req_only) + instance_deserialized = PlanParameterValueDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_row_data_load_response_dto.py b/src/visier_platform_sdk/test/test_plan_row_data_load_response_dto.py index 6cd1d555c1..79ff7a7b06 100644 --- a/src/visier_platform_sdk/test/test_plan_row_data_load_response_dto.py +++ b/src/visier_platform_sdk/test/test_plan_row_data_load_response_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.plan_row_data_load_response_dto import PlanRowDataLoadResponseDTO class TestPlanRowDataLoadResponseDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> PlanRowDataLoadResponseDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `PlanRowDataLoadResponseDTO` - """ - model = PlanRowDataLoadResponseDTO() + if include_optional: return PlanRowDataLoadResponseDTO( added_rows_count = 56, @@ -41,13 +40,13 @@ def make_instance(self, include_optional) -> PlanRowDataLoadResponseDTO: potential_added_rows_count = 56, potential_removed_rows_count = 56, errors = [ - visier_platform_sdk.models.planning/plan_data_load_error_dto.planning.PlanDataLoadErrorDTO( + visier_platform_sdk.models.plan_data_load_error_dto.PlanDataLoadErrorDTO( row = 56, rci = '', error_message = '', ) ], custom_members = [ - visier_platform_sdk.models.planning/plan_segment_level_member_dto.planning.PlanSegmentLevelMemberDTO( + visier_platform_sdk.models.plan_segment_level_member_dto.PlanSegmentLevelMemberDTO( id = '', display_name = '', is_custom = True, @@ -57,12 +56,19 @@ def make_instance(self, include_optional) -> PlanRowDataLoadResponseDTO: else: return PlanRowDataLoadResponseDTO( ) - """ def testPlanRowDataLoadResponseDTO(self): """Test PlanRowDataLoadResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + PlanRowDataLoadResponseDTO.model_validate(inst_req_only) + instance_deserialized = PlanRowDataLoadResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_schema_dto.py b/src/visier_platform_sdk/test/test_plan_schema_dto.py new file mode 100644 index 0000000000..df94264c02 --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_schema_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_schema_dto import PlanSchemaDTO + +class TestPlanSchemaDTO(unittest.TestCase): + """PlanSchemaDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanSchemaDTO: + """Test PlanSchemaDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanSchemaDTO( + plan_items = [ + visier_platform_sdk.models.plan_item_dto.PlanItemDTO( + id = '', + display_name = '', + data_type = 'unknown', ) + ], + time_periods = [ + visier_platform_sdk.models.plan_time_period_dto.PlanTimePeriodDTO( + date = '', + display_name = '', ) + ], + plan_segment_levels = [ + visier_platform_sdk.models.plan_segment_level_dto.PlanSegmentLevelDTO( + id = '', + display_name = '', + order = 56, + segment_id = '', + segment_display_name = '', ) + ], + plan_segment_level_members = [ + visier_platform_sdk.models.plan_segment_level_member_list_dto.PlanSegmentLevelMemberListDTO( + segment_level_id = '', + members = [ + visier_platform_sdk.models.plan_segment_level_member_dto.PlanSegmentLevelMemberDTO( + id = '', + display_name = '', + is_custom = True, + parent_id = '', ) + ], + segment_id = '', ) + ] + ) + else: + return PlanSchemaDTO( + ) + + def testPlanSchemaDTO(self): + """Test PlanSchemaDTO""" + def validate_instance(instance): + PlanSchemaDTO.model_validate(inst_req_only) + instance_deserialized = PlanSchemaDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_segment_level_dto.py b/src/visier_platform_sdk/test/test_plan_segment_level_dto.py new file mode 100644 index 0000000000..7ed839e005 --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_segment_level_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_segment_level_dto import PlanSegmentLevelDTO + +class TestPlanSegmentLevelDTO(unittest.TestCase): + """PlanSegmentLevelDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanSegmentLevelDTO: + """Test PlanSegmentLevelDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanSegmentLevelDTO( + id = '', + display_name = '', + order = 56, + segment_id = '', + segment_display_name = '' + ) + else: + return PlanSegmentLevelDTO( + ) + + def testPlanSegmentLevelDTO(self): + """Test PlanSegmentLevelDTO""" + def validate_instance(instance): + PlanSegmentLevelDTO.model_validate(inst_req_only) + instance_deserialized = PlanSegmentLevelDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_segment_level_member_dto.py b/src/visier_platform_sdk/test/test_plan_segment_level_member_dto.py new file mode 100644 index 0000000000..fa4970935e --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_segment_level_member_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_segment_level_member_dto import PlanSegmentLevelMemberDTO + +class TestPlanSegmentLevelMemberDTO(unittest.TestCase): + """PlanSegmentLevelMemberDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanSegmentLevelMemberDTO: + """Test PlanSegmentLevelMemberDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanSegmentLevelMemberDTO( + id = '', + display_name = '', + is_custom = True, + parent_id = '' + ) + else: + return PlanSegmentLevelMemberDTO( + ) + + def testPlanSegmentLevelMemberDTO(self): + """Test PlanSegmentLevelMemberDTO""" + def validate_instance(instance): + PlanSegmentLevelMemberDTO.model_validate(inst_req_only) + instance_deserialized = PlanSegmentLevelMemberDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_segment_level_member_list_dto.py b/src/visier_platform_sdk/test/test_plan_segment_level_member_list_dto.py new file mode 100644 index 0000000000..357512e34b --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_segment_level_member_list_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_segment_level_member_list_dto import PlanSegmentLevelMemberListDTO + +class TestPlanSegmentLevelMemberListDTO(unittest.TestCase): + """PlanSegmentLevelMemberListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanSegmentLevelMemberListDTO: + """Test PlanSegmentLevelMemberListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanSegmentLevelMemberListDTO( + segment_level_id = '', + members = [ + visier_platform_sdk.models.plan_segment_level_member_dto.PlanSegmentLevelMemberDTO( + id = '', + display_name = '', + is_custom = True, + parent_id = '', ) + ], + segment_id = '' + ) + else: + return PlanSegmentLevelMemberListDTO( + ) + + def testPlanSegmentLevelMemberListDTO(self): + """Test PlanSegmentLevelMemberListDTO""" + def validate_instance(instance): + PlanSegmentLevelMemberListDTO.model_validate(inst_req_only) + instance_deserialized = PlanSegmentLevelMemberListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_time_period_dto.py b/src/visier_platform_sdk/test/test_plan_time_period_dto.py new file mode 100644 index 0000000000..959761c153 --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_time_period_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_time_period_dto import PlanTimePeriodDTO + +class TestPlanTimePeriodDTO(unittest.TestCase): + """PlanTimePeriodDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanTimePeriodDTO: + """Test PlanTimePeriodDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanTimePeriodDTO( + var_date = '', + display_name = '' + ) + else: + return PlanTimePeriodDTO( + ) + + def testPlanTimePeriodDTO(self): + """Test PlanTimePeriodDTO""" + def validate_instance(instance): + PlanTimePeriodDTO.model_validate(inst_req_only) + instance_deserialized = PlanTimePeriodDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_with_schema_dto.py b/src/visier_platform_sdk/test/test_plan_with_schema_dto.py new file mode 100644 index 0000000000..a2cf6729b8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_with_schema_dto.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_with_schema_dto import PlanWithSchemaDTO + +class TestPlanWithSchemaDTO(unittest.TestCase): + """PlanWithSchemaDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanWithSchemaDTO: + """Test PlanWithSchemaDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanWithSchemaDTO( + plan = visier_platform_sdk.models.plan_info_dto.PlanInfoDTO( + uuid = '', + display_name = '', + model_id = '', + scenarios = [ + visier_platform_sdk.models.scenario_info_dto.ScenarioInfoDTO( + uuid = '', + display_name = '', + versioned_scenario_id = '', ) + ], + parent_plan_uuid = '', + currency_code = '', ), + var_schema = visier_platform_sdk.models.plan_schema_dto.PlanSchemaDTO( + plan_items = [ + visier_platform_sdk.models.plan_item_dto.PlanItemDTO( + id = '', + display_name = '', + data_type = 'unknown', ) + ], + time_periods = [ + visier_platform_sdk.models.plan_time_period_dto.PlanTimePeriodDTO( + date = '', + display_name = '', ) + ], + plan_segment_levels = [ + visier_platform_sdk.models.plan_segment_level_dto.PlanSegmentLevelDTO( + id = '', + display_name = '', + order = 56, + segment_id = '', + segment_display_name = '', ) + ], + plan_segment_level_members = [ + visier_platform_sdk.models.plan_segment_level_member_list_dto.PlanSegmentLevelMemberListDTO( + segment_level_id = '', + members = [ + visier_platform_sdk.models.plan_segment_level_member_dto.PlanSegmentLevelMemberDTO( + id = '', + display_name = '', + is_custom = True, + parent_id = '', ) + ], + segment_id = '', ) + ], ), + errors = [ + visier_platform_sdk.models.plan_data_load_error_dto.PlanDataLoadErrorDTO( + row = 56, + rci = '', + error_message = '', ) + ] + ) + else: + return PlanWithSchemaDTO( + ) + + def testPlanWithSchemaDTO(self): + """Test PlanWithSchemaDTO""" + def validate_instance(instance): + PlanWithSchemaDTO.model_validate(inst_req_only) + instance_deserialized = PlanWithSchemaDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_concept_filter_context_dto.py b/src/visier_platform_sdk/test/test_planning_concept_filter_context_dto.py new file mode 100644 index 0000000000..712147461a --- /dev/null +++ b/src/visier_platform_sdk/test/test_planning_concept_filter_context_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.planning_concept_filter_context_dto import PlanningConceptFilterContextDTO + +class TestPlanningConceptFilterContextDTO(unittest.TestCase): + """PlanningConceptFilterContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanningConceptFilterContextDTO: + """Test PlanningConceptFilterContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanningConceptFilterContextDTO( + name = '' + ) + else: + return PlanningConceptFilterContextDTO( + ) + + def testPlanningConceptFilterContextDTO(self): + """Test PlanningConceptFilterContextDTO""" + def validate_instance(instance): + PlanningConceptFilterContextDTO.model_validate(inst_req_only) + instance_deserialized = PlanningConceptFilterContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_get_plan_list_response_dto.py b/src/visier_platform_sdk/test/test_planning_get_plan_list_response_dto.py deleted file mode 100644 index bd096ff2ce..0000000000 --- a/src/visier_platform_sdk/test/test_planning_get_plan_list_response_dto.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_get_plan_list_response_dto import PlanningGetPlanListResponseDTO - -class TestPlanningGetPlanListResponseDTO(unittest.TestCase): - """PlanningGetPlanListResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningGetPlanListResponseDTO: - """Test PlanningGetPlanListResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningGetPlanListResponseDTO` - """ - model = PlanningGetPlanListResponseDTO() - if include_optional: - return PlanningGetPlanListResponseDTO( - plans = [ - visier_platform_sdk.models.planning/plan_info_dto.planning.PlanInfoDTO( - uuid = '', - display_name = '', - model_id = '', - scenarios = [ - visier_platform_sdk.models.planning/scenario_info_dto.planning.ScenarioInfoDTO( - uuid = '', - display_name = '', - versioned_scenario_id = '', ) - ], - parent_plan_uuid = '', - currency_code = '', ) - ], - page = 56 - ) - else: - return PlanningGetPlanListResponseDTO( - ) - """ - - def testPlanningGetPlanListResponseDTO(self): - """Test PlanningGetPlanListResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_hierarchy_filter_context_dto.py b/src/visier_platform_sdk/test/test_planning_hierarchy_filter_context_dto.py new file mode 100644 index 0000000000..7aac2da982 --- /dev/null +++ b/src/visier_platform_sdk/test/test_planning_hierarchy_filter_context_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.planning_hierarchy_filter_context_dto import PlanningHierarchyFilterContextDTO + +class TestPlanningHierarchyFilterContextDTO(unittest.TestCase): + """PlanningHierarchyFilterContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanningHierarchyFilterContextDTO: + """Test PlanningHierarchyFilterContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanningHierarchyFilterContextDTO( + hierarchy_name = '', + included_members = [ + '' + ], + excluded_members = [ + '' + ] + ) + else: + return PlanningHierarchyFilterContextDTO( + ) + + def testPlanningHierarchyFilterContextDTO(self): + """Test PlanningHierarchyFilterContextDTO""" + def validate_instance(instance): + PlanningHierarchyFilterContextDTO.model_validate(inst_req_only) + instance_deserialized = PlanningHierarchyFilterContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_model_dto.py b/src/visier_platform_sdk/test/test_planning_model_dto.py new file mode 100644 index 0000000000..ba02c07543 --- /dev/null +++ b/src/visier_platform_sdk/test/test_planning_model_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.planning_model_dto import PlanningModelDTO + +class TestPlanningModelDTO(unittest.TestCase): + """PlanningModelDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanningModelDTO: + """Test PlanningModelDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanningModelDTO( + id = '', + display_name = '', + description = '' + ) + else: + return PlanningModelDTO( + ) + + def testPlanningModelDTO(self): + """Test PlanningModelDTO""" + def validate_instance(instance): + PlanningModelDTO.model_validate(inst_req_only) + instance_deserialized = PlanningModelDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_models_dto.py b/src/visier_platform_sdk/test/test_planning_models_dto.py new file mode 100644 index 0000000000..54834168ce --- /dev/null +++ b/src/visier_platform_sdk/test/test_planning_models_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.planning_models_dto import PlanningModelsDTO + +class TestPlanningModelsDTO(unittest.TestCase): + """PlanningModelsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanningModelsDTO: + """Test PlanningModelsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanningModelsDTO( + models = [ + visier_platform_sdk.models.planning_model_dto.PlanningModelDTO( + id = '', + display_name = '', + description = '', ) + ] + ) + else: + return PlanningModelsDTO( + ) + + def testPlanningModelsDTO(self): + """Test PlanningModelsDTO""" + def validate_instance(instance): + PlanningModelsDTO.model_validate(inst_req_only) + instance_deserialized = PlanningModelsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_context_dto.py b/src/visier_platform_sdk/test/test_planning_plan_context_dto.py new file mode 100644 index 0000000000..291903d4bc --- /dev/null +++ b/src/visier_platform_sdk/test/test_planning_plan_context_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.planning_plan_context_dto import PlanningPlanContextDTO + +class TestPlanningPlanContextDTO(unittest.TestCase): + """PlanningPlanContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanningPlanContextDTO: + """Test PlanningPlanContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanningPlanContextDTO( + hierarchy_filter_context = visier_platform_sdk.models.planning_hierarchy_filter_context_dto.PlanningHierarchyFilterContextDTO( + hierarchy_name = '', + included_members = [ + '' + ], + excluded_members = [ + '' + ], ), + concept_filter_context = visier_platform_sdk.models.planning_concept_filter_context_dto.PlanningConceptFilterContextDTO( + name = '', ) + ) + else: + return PlanningPlanContextDTO( + ) + + def testPlanningPlanContextDTO(self): + """Test PlanningPlanContextDTO""" + def validate_instance(instance): + PlanningPlanContextDTO.model_validate(inst_req_only) + instance_deserialized = PlanningPlanContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_data_load_error_dto.py b/src/visier_platform_sdk/test/test_planning_plan_data_load_error_dto.py deleted file mode 100644 index da36660970..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_data_load_error_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_data_load_error_dto import PlanningPlanDataLoadErrorDTO - -class TestPlanningPlanDataLoadErrorDTO(unittest.TestCase): - """PlanningPlanDataLoadErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanDataLoadErrorDTO: - """Test PlanningPlanDataLoadErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanDataLoadErrorDTO` - """ - model = PlanningPlanDataLoadErrorDTO() - if include_optional: - return PlanningPlanDataLoadErrorDTO( - row = 56, - rci = '', - error_message = '' - ) - else: - return PlanningPlanDataLoadErrorDTO( - ) - """ - - def testPlanningPlanDataLoadErrorDTO(self): - """Test PlanningPlanDataLoadErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_dto.py b/src/visier_platform_sdk/test/test_planning_plan_dto.py new file mode 100644 index 0000000000..03adfffacd --- /dev/null +++ b/src/visier_platform_sdk/test/test_planning_plan_dto.py @@ -0,0 +1,78 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.planning_plan_dto import PlanningPlanDTO + +class TestPlanningPlanDTO(unittest.TestCase): + """PlanningPlanDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanningPlanDTO: + """Test PlanningPlanDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanningPlanDTO( + id = '', + name = '', + subject_id = '', + default_contexts = [ + visier_platform_sdk.models.planning_plan_context_dto.PlanningPlanContextDTO( + hierarchy_filter_context = None, + concept_filter_context = None, ) + ], + plan_dimension_ids = [ + '' + ], + scenarios = [ + visier_platform_sdk.models.scenario_or_snapshot_dto.ScenarioOrSnapshotDTO( + id = '', + display_name = '', ) + ], + snapshots = [ + visier_platform_sdk.models.scenario_or_snapshot_dto.ScenarioOrSnapshotDTO( + id = '', + display_name = '', ) + ] + ) + else: + return PlanningPlanDTO( + ) + + def testPlanningPlanDTO(self): + """Test PlanningPlanDTO""" + def validate_instance(instance): + PlanningPlanDTO.model_validate(inst_req_only) + instance_deserialized = PlanningPlanDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_info_dto.py b/src/visier_platform_sdk/test/test_planning_plan_info_dto.py deleted file mode 100644 index 9bcab13bec..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_info_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_info_dto import PlanningPlanInfoDTO - -class TestPlanningPlanInfoDTO(unittest.TestCase): - """PlanningPlanInfoDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanInfoDTO: - """Test PlanningPlanInfoDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanInfoDTO` - """ - model = PlanningPlanInfoDTO() - if include_optional: - return PlanningPlanInfoDTO( - uuid = '', - display_name = '', - model_id = '', - scenarios = [ - visier_platform_sdk.models.planning/scenario_info_dto.planning.ScenarioInfoDTO( - uuid = '', - display_name = '', - versioned_scenario_id = '', ) - ], - parent_plan_uuid = '', - currency_code = '' - ) - else: - return PlanningPlanInfoDTO( - ) - """ - - def testPlanningPlanInfoDTO(self): - """Test PlanningPlanInfoDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_item_dto.py b/src/visier_platform_sdk/test/test_planning_plan_item_dto.py deleted file mode 100644 index 0371e677ed..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_item_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_item_dto import PlanningPlanItemDTO - -class TestPlanningPlanItemDTO(unittest.TestCase): - """PlanningPlanItemDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanItemDTO: - """Test PlanningPlanItemDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanItemDTO` - """ - model = PlanningPlanItemDTO() - if include_optional: - return PlanningPlanItemDTO( - id = '', - display_name = '', - data_type = 'unknown' - ) - else: - return PlanningPlanItemDTO( - ) - """ - - def testPlanningPlanItemDTO(self): - """Test PlanningPlanItemDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_schema_dto.py b/src/visier_platform_sdk/test/test_planning_plan_schema_dto.py deleted file mode 100644 index e34f8f6dbd..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_schema_dto.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_schema_dto import PlanningPlanSchemaDTO - -class TestPlanningPlanSchemaDTO(unittest.TestCase): - """PlanningPlanSchemaDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanSchemaDTO: - """Test PlanningPlanSchemaDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanSchemaDTO` - """ - model = PlanningPlanSchemaDTO() - if include_optional: - return PlanningPlanSchemaDTO( - plan_items = [ - visier_platform_sdk.models.planning/plan_item_dto.planning.PlanItemDTO( - id = '', - display_name = '', - data_type = 'unknown', ) - ], - time_periods = [ - visier_platform_sdk.models.planning/plan_time_period_dto.planning.PlanTimePeriodDTO( - date = '', - display_name = '', ) - ], - plan_segment_levels = [ - visier_platform_sdk.models.planning/plan_segment_level_dto.planning.PlanSegmentLevelDTO( - id = '', - display_name = '', - order = 56, - segment_id = '', - segment_display_name = '', ) - ], - plan_segment_level_members = [ - visier_platform_sdk.models.planning/plan_segment_level_member_list_dto.planning.PlanSegmentLevelMemberListDTO( - segment_level_id = '', - members = [ - visier_platform_sdk.models.planning/plan_segment_level_member_dto.planning.PlanSegmentLevelMemberDTO( - id = '', - display_name = '', - is_custom = True, - parent_id = '', ) - ], - segment_id = '', ) - ] - ) - else: - return PlanningPlanSchemaDTO( - ) - """ - - def testPlanningPlanSchemaDTO(self): - """Test PlanningPlanSchemaDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_segment_level_dto.py b/src/visier_platform_sdk/test/test_planning_plan_segment_level_dto.py deleted file mode 100644 index c116cb86f0..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_segment_level_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_segment_level_dto import PlanningPlanSegmentLevelDTO - -class TestPlanningPlanSegmentLevelDTO(unittest.TestCase): - """PlanningPlanSegmentLevelDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanSegmentLevelDTO: - """Test PlanningPlanSegmentLevelDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanSegmentLevelDTO` - """ - model = PlanningPlanSegmentLevelDTO() - if include_optional: - return PlanningPlanSegmentLevelDTO( - id = '', - display_name = '', - order = 56, - segment_id = '', - segment_display_name = '' - ) - else: - return PlanningPlanSegmentLevelDTO( - ) - """ - - def testPlanningPlanSegmentLevelDTO(self): - """Test PlanningPlanSegmentLevelDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_segment_level_member_dto.py b/src/visier_platform_sdk/test/test_planning_plan_segment_level_member_dto.py deleted file mode 100644 index b74678cc35..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_segment_level_member_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_segment_level_member_dto import PlanningPlanSegmentLevelMemberDTO - -class TestPlanningPlanSegmentLevelMemberDTO(unittest.TestCase): - """PlanningPlanSegmentLevelMemberDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanSegmentLevelMemberDTO: - """Test PlanningPlanSegmentLevelMemberDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanSegmentLevelMemberDTO` - """ - model = PlanningPlanSegmentLevelMemberDTO() - if include_optional: - return PlanningPlanSegmentLevelMemberDTO( - id = '', - display_name = '', - is_custom = True, - parent_id = '' - ) - else: - return PlanningPlanSegmentLevelMemberDTO( - ) - """ - - def testPlanningPlanSegmentLevelMemberDTO(self): - """Test PlanningPlanSegmentLevelMemberDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_segment_level_member_list_dto.py b/src/visier_platform_sdk/test/test_planning_plan_segment_level_member_list_dto.py deleted file mode 100644 index 0195fa1017..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_segment_level_member_list_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_segment_level_member_list_dto import PlanningPlanSegmentLevelMemberListDTO - -class TestPlanningPlanSegmentLevelMemberListDTO(unittest.TestCase): - """PlanningPlanSegmentLevelMemberListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanSegmentLevelMemberListDTO: - """Test PlanningPlanSegmentLevelMemberListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanSegmentLevelMemberListDTO` - """ - model = PlanningPlanSegmentLevelMemberListDTO() - if include_optional: - return PlanningPlanSegmentLevelMemberListDTO( - segment_level_id = '', - members = [ - visier_platform_sdk.models.planning/plan_segment_level_member_dto.planning.PlanSegmentLevelMemberDTO( - id = '', - display_name = '', - is_custom = True, - parent_id = '', ) - ], - segment_id = '' - ) - else: - return PlanningPlanSegmentLevelMemberListDTO( - ) - """ - - def testPlanningPlanSegmentLevelMemberListDTO(self): - """Test PlanningPlanSegmentLevelMemberListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_time_period_dto.py b/src/visier_platform_sdk/test/test_planning_plan_time_period_dto.py deleted file mode 100644 index 47a3289cd7..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_time_period_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_time_period_dto import PlanningPlanTimePeriodDTO - -class TestPlanningPlanTimePeriodDTO(unittest.TestCase): - """PlanningPlanTimePeriodDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanTimePeriodDTO: - """Test PlanningPlanTimePeriodDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanTimePeriodDTO` - """ - model = PlanningPlanTimePeriodDTO() - if include_optional: - return PlanningPlanTimePeriodDTO( - var_date = '', - display_name = '' - ) - else: - return PlanningPlanTimePeriodDTO( - ) - """ - - def testPlanningPlanTimePeriodDTO(self): - """Test PlanningPlanTimePeriodDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plan_with_schema_dto.py b/src/visier_platform_sdk/test/test_planning_plan_with_schema_dto.py deleted file mode 100644 index 01b78a7e0a..0000000000 --- a/src/visier_platform_sdk/test/test_planning_plan_with_schema_dto.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_plan_with_schema_dto import PlanningPlanWithSchemaDTO - -class TestPlanningPlanWithSchemaDTO(unittest.TestCase): - """PlanningPlanWithSchemaDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningPlanWithSchemaDTO: - """Test PlanningPlanWithSchemaDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningPlanWithSchemaDTO` - """ - model = PlanningPlanWithSchemaDTO() - if include_optional: - return PlanningPlanWithSchemaDTO( - plan = visier_platform_sdk.models.planning/plan_info_dto.planning.PlanInfoDTO( - uuid = '', - display_name = '', - model_id = '', - scenarios = [ - visier_platform_sdk.models.planning/scenario_info_dto.planning.ScenarioInfoDTO( - uuid = '', - display_name = '', - versioned_scenario_id = '', ) - ], - parent_plan_uuid = '', - currency_code = '', ), - var_schema = visier_platform_sdk.models.planning/plan_schema_dto.planning.PlanSchemaDTO( - plan_items = [ - visier_platform_sdk.models.planning/plan_item_dto.planning.PlanItemDTO( - id = '', - display_name = '', - data_type = 'unknown', ) - ], - time_periods = [ - visier_platform_sdk.models.planning/plan_time_period_dto.planning.PlanTimePeriodDTO( - date = '', - display_name = '', ) - ], - plan_segment_levels = [ - visier_platform_sdk.models.planning/plan_segment_level_dto.planning.PlanSegmentLevelDTO( - id = '', - display_name = '', - order = 56, - segment_id = '', - segment_display_name = '', ) - ], - plan_segment_level_members = [ - visier_platform_sdk.models.planning/plan_segment_level_member_list_dto.planning.PlanSegmentLevelMemberListDTO( - segment_level_id = '', - members = [ - visier_platform_sdk.models.planning/plan_segment_level_member_dto.planning.PlanSegmentLevelMemberDTO( - id = '', - display_name = '', - is_custom = True, - parent_id = '', ) - ], - segment_id = '', ) - ], ), - errors = [ - visier_platform_sdk.models.planning/plan_data_load_error_dto.planning.PlanDataLoadErrorDTO( - row = 56, - rci = '', - error_message = '', ) - ] - ) - else: - return PlanningPlanWithSchemaDTO( - ) - """ - - def testPlanningPlanWithSchemaDTO(self): - """Test PlanningPlanWithSchemaDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_plans_dto.py b/src/visier_platform_sdk/test/test_planning_plans_dto.py new file mode 100644 index 0000000000..519014ddcd --- /dev/null +++ b/src/visier_platform_sdk/test/test_planning_plans_dto.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.planning_plans_dto import PlanningPlansDTO + +class TestPlanningPlansDTO(unittest.TestCase): + """PlanningPlansDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanningPlansDTO: + """Test PlanningPlansDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanningPlansDTO( + plans = [ + visier_platform_sdk.models.planning_plan_dto.PlanningPlanDTO( + id = '', + name = '', + subject_id = '', + default_contexts = [ + visier_platform_sdk.models.planning_plan_context_dto.PlanningPlanContextDTO( + hierarchy_filter_context = None, + concept_filter_context = None, ) + ], + plan_dimension_ids = [ + '' + ], + scenarios = [ + visier_platform_sdk.models.scenario_or_snapshot_dto.ScenarioOrSnapshotDTO( + id = '', + display_name = '', ) + ], + snapshots = [ + visier_platform_sdk.models.scenario_or_snapshot_dto.ScenarioOrSnapshotDTO( + id = '', + display_name = '', ) + ], ) + ] + ) + else: + return PlanningPlansDTO( + ) + + def testPlanningPlansDTO(self): + """Test PlanningPlansDTO""" + def validate_instance(instance): + PlanningPlansDTO.model_validate(inst_req_only) + instance_deserialized = PlanningPlansDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_planning_scenario_info_dto.py b/src/visier_platform_sdk/test/test_planning_scenario_info_dto.py deleted file mode 100644 index c420fa02fe..0000000000 --- a/src/visier_platform_sdk/test/test_planning_scenario_info_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.planning_scenario_info_dto import PlanningScenarioInfoDTO - -class TestPlanningScenarioInfoDTO(unittest.TestCase): - """PlanningScenarioInfoDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanningScenarioInfoDTO: - """Test PlanningScenarioInfoDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `PlanningScenarioInfoDTO` - """ - model = PlanningScenarioInfoDTO() - if include_optional: - return PlanningScenarioInfoDTO( - uuid = '', - display_name = '', - versioned_scenario_id = '' - ) - else: - return PlanningScenarioInfoDTO( - ) - """ - - def testPlanningScenarioInfoDTO(self): - """Test PlanningScenarioInfoDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_population_configuration_dto.py b/src/visier_platform_sdk/test/test_population_configuration_dto.py new file mode 100644 index 0000000000..5f4ca0e66a --- /dev/null +++ b/src/visier_platform_sdk/test/test_population_configuration_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.population_configuration_dto import PopulationConfigurationDTO + +class TestPopulationConfigurationDTO(unittest.TestCase): + """PopulationConfigurationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PopulationConfigurationDTO: + """Test PopulationConfigurationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PopulationConfigurationDTO( + distinguishing_properties = [ + visier_platform_sdk.models.property_reference_dto.PropertyReferenceDTO( + name = '', + qualifying_path = '', ) + ], + change_history_properties = [ + visier_platform_sdk.models.property_reference_dto.PropertyReferenceDTO( + name = '', + qualifying_path = '', ) + ], + grouping_dimensions = [ + visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ) + ] + ) + else: + return PopulationConfigurationDTO( + ) + + def testPopulationConfigurationDTO(self): + """Test PopulationConfigurationDTO""" + def validate_instance(instance): + PopulationConfigurationDTO.model_validate(inst_req_only) + instance_deserialized = PopulationConfigurationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_prediction_dto.py b/src/visier_platform_sdk/test/test_prediction_dto.py new file mode 100644 index 0000000000..4c6eb09c74 --- /dev/null +++ b/src/visier_platform_sdk/test/test_prediction_dto.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.prediction_dto import PredictionDTO + +class TestPredictionDTO(unittest.TestCase): + """PredictionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PredictionDTO: + """Test PredictionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PredictionDTO( + id = '', + display_name = '', + description = '', + subject = '', + subject_key = '', + subject_parent_key = '', + subject_filter = '', + event = '', + event_filter = '', + label_property = '', + factor_properties = [ + '' + ], + factor_dimensions = [ + '' + ], + factor_concepts = [ + '' + ], + data_start_date = '', + data_end_date = '', + score_name = '', + factors_name = '', + minimum_training_months = '', + is_multi_tenant = True + ) + else: + return PredictionDTO( + ) + + def testPredictionDTO(self): + """Test PredictionDTO""" + def validate_instance(instance): + PredictionDTO.model_validate(inst_req_only) + instance_deserialized = PredictionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_predictions_dto.py b/src/visier_platform_sdk/test/test_predictions_dto.py new file mode 100644 index 0000000000..91efaf0d2d --- /dev/null +++ b/src/visier_platform_sdk/test/test_predictions_dto.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.predictions_dto import PredictionsDTO + +class TestPredictionsDTO(unittest.TestCase): + """PredictionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PredictionsDTO: + """Test PredictionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PredictionsDTO( + predictions = [ + visier_platform_sdk.models.prediction_dto.PredictionDTO( + id = '', + display_name = '', + description = '', + subject = '', + subject_key = '', + subject_parent_key = '', + subject_filter = '', + event = '', + event_filter = '', + label_property = '', + factor_properties = [ + '' + ], + factor_dimensions = [ + '' + ], + factor_concepts = [ + '' + ], + data_start_date = '', + data_end_date = '', + score_name = '', + factors_name = '', + minimum_training_months = '', + is_multi_tenant = True, ) + ] + ) + else: + return PredictionsDTO( + ) + + def testPredictionsDTO(self): + """Test PredictionsDTO""" + def validate_instance(instance): + PredictionsDTO.model_validate(inst_req_only) + instance_deserialized = PredictionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_definition_dto.py b/src/visier_platform_sdk/test/test_process_concept_definition_dto.py new file mode 100644 index 0000000000..f6a0e84dec --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_definition_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_definition_dto import ProcessConceptDefinitionDTO + +class TestProcessConceptDefinitionDTO(unittest.TestCase): + """ProcessConceptDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptDefinitionDTO: + """Test ProcessConceptDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptDefinitionDTO( + analytic_object_name = '', + status_dimension_object_name = '', + participation_concept_uuid = '', + on_hold_concept_uuid = '', + stage_list = visier_platform_sdk.models.process_concept_stage_list_dto.ProcessConceptStageListDTO( + stages = [ + visier_platform_sdk.models.process_concept_stage_dto.ProcessConceptStageDTO( + uuid = '', + object_name = '', + basic_information = None, + mapped_member_list = None, ) + ], ), + outcome_list = visier_platform_sdk.models.process_concept_outcome_list_dto.ProcessConceptOutcomeListDTO( + outcomes = [ + visier_platform_sdk.models.process_concept_outcome_dto.ProcessConceptOutcomeDTO( + uuid = '', + object_name = '', + basic_information = None, + outcome_semantic = 'Success', + mapped_member_list = None, ) + ], ), + metric_list = visier_platform_sdk.models.process_concept_metric_list_dto.ProcessConceptMetricListDTO( + metrics = [ + visier_platform_sdk.models.metric_definition_dto.MetricDefinitionDTO( + uuid = '', + object_name = '', + basic_information = None, + details = None, + additive_type = 'fullyAdditive', ) + ], ), + property_list = visier_platform_sdk.models.process_concept_property_list_dto.ProcessConceptPropertyListDTO( + properties = [ + visier_platform_sdk.models.property_definition_dto.PropertyDefinitionDTO( + uuid = '', + object_name = '', + basic_information = None, + details = None, ) + ], ), + tag_list = visier_platform_sdk.models.tag_reference_list_dto.TagReferenceListDTO( + tags = [ + visier_platform_sdk.models.tag_reference_dto.TagReferenceDTO( + object_name = '', ) + ], ), + visible_in_analytics = True, + include_with_vee = True + ) + else: + return ProcessConceptDefinitionDTO( + ) + + def testProcessConceptDefinitionDTO(self): + """Test ProcessConceptDefinitionDTO""" + def validate_instance(instance): + ProcessConceptDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_member_dto.py b/src/visier_platform_sdk/test/test_process_concept_member_dto.py new file mode 100644 index 0000000000..3031d52af3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_member_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_member_dto import ProcessConceptMemberDTO + +class TestProcessConceptMemberDTO(unittest.TestCase): + """ProcessConceptMemberDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptMemberDTO: + """Test ProcessConceptMemberDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptMemberDTO( + display_name = '', + name_path = [ + '' + ] + ) + else: + return ProcessConceptMemberDTO( + ) + + def testProcessConceptMemberDTO(self): + """Test ProcessConceptMemberDTO""" + def validate_instance(instance): + ProcessConceptMemberDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptMemberDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_member_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_member_list_dto.py new file mode 100644 index 0000000000..03a2c78391 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_member_list_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_member_list_dto import ProcessConceptMemberListDTO + +class TestProcessConceptMemberListDTO(unittest.TestCase): + """ProcessConceptMemberListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptMemberListDTO: + """Test ProcessConceptMemberListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptMemberListDTO( + members = [ + visier_platform_sdk.models.process_concept_member_dto.ProcessConceptMemberDTO( + display_name = '', + name_path = [ + '' + ], ) + ] + ) + else: + return ProcessConceptMemberListDTO( + ) + + def testProcessConceptMemberListDTO(self): + """Test ProcessConceptMemberListDTO""" + def validate_instance(instance): + ProcessConceptMemberListDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptMemberListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_metric_definition_dto.py b/src/visier_platform_sdk/test/test_process_concept_metric_definition_dto.py new file mode 100644 index 0000000000..7a424d3962 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_metric_definition_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_metric_definition_dto import ProcessConceptMetricDefinitionDTO + +class TestProcessConceptMetricDefinitionDTO(unittest.TestCase): + """ProcessConceptMetricDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptMetricDefinitionDTO: + """Test ProcessConceptMetricDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptMetricDefinitionDTO( + formula = '', + data_type = '', + visible_in_analytics = True + ) + else: + return ProcessConceptMetricDefinitionDTO( + ) + + def testProcessConceptMetricDefinitionDTO(self): + """Test ProcessConceptMetricDefinitionDTO""" + def validate_instance(instance): + ProcessConceptMetricDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptMetricDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_metric_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_metric_list_dto.py new file mode 100644 index 0000000000..08ee8bcd27 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_metric_list_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_metric_list_dto import ProcessConceptMetricListDTO + +class TestProcessConceptMetricListDTO(unittest.TestCase): + """ProcessConceptMetricListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptMetricListDTO: + """Test ProcessConceptMetricListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptMetricListDTO( + metrics = [ + visier_platform_sdk.models.metric_definition_dto.MetricDefinitionDTO( + uuid = '', + object_name = '', + basic_information = None, + details = None, + additive_type = 'fullyAdditive', ) + ] + ) + else: + return ProcessConceptMetricListDTO( + ) + + def testProcessConceptMetricListDTO(self): + """Test ProcessConceptMetricListDTO""" + def validate_instance(instance): + ProcessConceptMetricListDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptMetricListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_outcome_dto.py b/src/visier_platform_sdk/test/test_process_concept_outcome_dto.py new file mode 100644 index 0000000000..10859862c0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_outcome_dto.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_outcome_dto import ProcessConceptOutcomeDTO + +class TestProcessConceptOutcomeDTO(unittest.TestCase): + """ProcessConceptOutcomeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptOutcomeDTO: + """Test ProcessConceptOutcomeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptOutcomeDTO( + uuid = '', + object_name = '', + basic_information = visier_platform_sdk.models.basic_information_dto.BasicInformationDTO( + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + synonym_list = None, ), + outcome_semantic = 'Success', + mapped_member_list = visier_platform_sdk.models.process_concept_member_list_dto.ProcessConceptMemberListDTO( + members = [ + visier_platform_sdk.models.process_concept_member_dto.ProcessConceptMemberDTO( + display_name = '', + name_path = [ + '' + ], ) + ], ) + ) + else: + return ProcessConceptOutcomeDTO( + ) + + def testProcessConceptOutcomeDTO(self): + """Test ProcessConceptOutcomeDTO""" + def validate_instance(instance): + ProcessConceptOutcomeDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptOutcomeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_outcome_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_outcome_list_dto.py new file mode 100644 index 0000000000..35f9705081 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_outcome_list_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_outcome_list_dto import ProcessConceptOutcomeListDTO + +class TestProcessConceptOutcomeListDTO(unittest.TestCase): + """ProcessConceptOutcomeListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptOutcomeListDTO: + """Test ProcessConceptOutcomeListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptOutcomeListDTO( + outcomes = [ + visier_platform_sdk.models.process_concept_outcome_dto.ProcessConceptOutcomeDTO( + uuid = '', + object_name = '', + basic_information = None, + outcome_semantic = 'Success', + mapped_member_list = None, ) + ] + ) + else: + return ProcessConceptOutcomeListDTO( + ) + + def testProcessConceptOutcomeListDTO(self): + """Test ProcessConceptOutcomeListDTO""" + def validate_instance(instance): + ProcessConceptOutcomeListDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptOutcomeListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_property_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_property_list_dto.py new file mode 100644 index 0000000000..d870f8b2b7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_property_list_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_property_list_dto import ProcessConceptPropertyListDTO + +class TestProcessConceptPropertyListDTO(unittest.TestCase): + """ProcessConceptPropertyListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptPropertyListDTO: + """Test ProcessConceptPropertyListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptPropertyListDTO( + properties = [ + visier_platform_sdk.models.property_definition_dto.PropertyDefinitionDTO( + uuid = '', + object_name = '', + basic_information = None, + details = None, ) + ] + ) + else: + return ProcessConceptPropertyListDTO( + ) + + def testProcessConceptPropertyListDTO(self): + """Test ProcessConceptPropertyListDTO""" + def validate_instance(instance): + ProcessConceptPropertyListDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptPropertyListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_property_type_dto.py b/src/visier_platform_sdk/test/test_process_concept_property_type_dto.py new file mode 100644 index 0000000000..ae98b68413 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_property_type_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_property_type_dto import ProcessConceptPropertyTypeDTO + +class TestProcessConceptPropertyTypeDTO(unittest.TestCase): + """ProcessConceptPropertyTypeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptPropertyTypeDTO: + """Test ProcessConceptPropertyTypeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptPropertyTypeDTO( + data_type = '', + primitive_type = '', + formula = '' + ) + else: + return ProcessConceptPropertyTypeDTO( + ) + + def testProcessConceptPropertyTypeDTO(self): + """Test ProcessConceptPropertyTypeDTO""" + def validate_instance(instance): + ProcessConceptPropertyTypeDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptPropertyTypeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_stage_dto.py b/src/visier_platform_sdk/test/test_process_concept_stage_dto.py new file mode 100644 index 0000000000..0ab25cf142 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_stage_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_stage_dto import ProcessConceptStageDTO + +class TestProcessConceptStageDTO(unittest.TestCase): + """ProcessConceptStageDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptStageDTO: + """Test ProcessConceptStageDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptStageDTO( + uuid = '', + object_name = '', + basic_information = visier_platform_sdk.models.basic_information_dto.BasicInformationDTO( + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + synonym_list = None, ), + mapped_member_list = visier_platform_sdk.models.process_concept_member_list_dto.ProcessConceptMemberListDTO( + members = [ + visier_platform_sdk.models.process_concept_member_dto.ProcessConceptMemberDTO( + display_name = '', + name_path = [ + '' + ], ) + ], ) + ) + else: + return ProcessConceptStageDTO( + ) + + def testProcessConceptStageDTO(self): + """Test ProcessConceptStageDTO""" + def validate_instance(instance): + ProcessConceptStageDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptStageDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_stage_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_stage_list_dto.py new file mode 100644 index 0000000000..a72ef281eb --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_stage_list_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_stage_list_dto import ProcessConceptStageListDTO + +class TestProcessConceptStageListDTO(unittest.TestCase): + """ProcessConceptStageListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptStageListDTO: + """Test ProcessConceptStageListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptStageListDTO( + stages = [ + visier_platform_sdk.models.process_concept_stage_dto.ProcessConceptStageDTO( + uuid = '', + object_name = '', + basic_information = None, + mapped_member_list = None, ) + ] + ) + else: + return ProcessConceptStageListDTO( + ) + + def testProcessConceptStageListDTO(self): + """Test ProcessConceptStageListDTO""" + def validate_instance(instance): + ProcessConceptStageListDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptStageListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_processing_job.py b/src/visier_platform_sdk/test/test_processing_job.py new file mode 100644 index 0000000000..6cab3ec406 --- /dev/null +++ b/src/visier_platform_sdk/test/test_processing_job.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.processing_job import ProcessingJob + +class TestProcessingJob(unittest.TestCase): + """ProcessingJob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessingJob: + """Test ProcessingJob + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessingJob( + job_id = '', + tenant_code = '', + data_version = '', + status = '', + message = '' + ) + else: + return ProcessingJob( + ) + + def testProcessingJob(self): + """Test ProcessingJob""" + def validate_instance(instance): + ProcessingJob.model_validate(inst_req_only) + instance_deserialized = ProcessingJob.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_processing_job_and_status_response.py b/src/visier_platform_sdk/test/test_processing_job_and_status_response.py new file mode 100644 index 0000000000..5cca258c9b --- /dev/null +++ b/src/visier_platform_sdk/test/test_processing_job_and_status_response.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.processing_job_and_status_response import ProcessingJobAndStatusResponse + +class TestProcessingJobAndStatusResponse(unittest.TestCase): + """ProcessingJobAndStatusResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessingJobAndStatusResponse: + """Test ProcessingJobAndStatusResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessingJobAndStatusResponse( + parent_job_id = '', + parent_tenant_code = '', + limit = 56, + start = 56, + processing_jobs = [ + visier_platform_sdk.models.processing_job.ProcessingJob( + job_id = '', + tenant_code = '', + data_version = '', + status = '', + message = '', ) + ] + ) + else: + return ProcessingJobAndStatusResponse( + ) + + def testProcessingJobAndStatusResponse(self): + """Test ProcessingJobAndStatusResponse""" + def validate_instance(instance): + ProcessingJobAndStatusResponse.model_validate(inst_req_only) + instance_deserialized = ProcessingJobAndStatusResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_processing_job_request_dto.py b/src/visier_platform_sdk/test/test_processing_job_request_dto.py new file mode 100644 index 0000000000..17ba4d31f0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_processing_job_request_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.processing_job_request_dto import ProcessingJobRequestDTO + +class TestProcessingJobRequestDTO(unittest.TestCase): + """ProcessingJobRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessingJobRequestDTO: + """Test ProcessingJobRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessingJobRequestDTO( + tenants = [ + '' + ], + all_tenants = True, + data_category_id = '', + publish_to_production = True, + excluded_tenants = [ + '' + ] + ) + else: + return ProcessingJobRequestDTO( + ) + + def testProcessingJobRequestDTO(self): + """Test ProcessingJobRequestDTO""" + def validate_instance(instance): + ProcessingJobRequestDTO.model_validate(inst_req_only) + instance_deserialized = ProcessingJobRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_processing_job_status_response.py b/src/visier_platform_sdk/test/test_processing_job_status_response.py new file mode 100644 index 0000000000..8ab4d89d86 --- /dev/null +++ b/src/visier_platform_sdk/test/test_processing_job_status_response.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.processing_job_status_response import ProcessingJobStatusResponse + +class TestProcessingJobStatusResponse(unittest.TestCase): + """ProcessingJobStatusResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessingJobStatusResponse: + """Test ProcessingJobStatusResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessingJobStatusResponse( + parent_job_id = '', + parent_tenant_code = '', + limit = 56, + start = 56, + processing_jobs = [ + visier_platform_sdk.models.processing_job.ProcessingJob( + job_id = '', + tenant_code = '', + data_version = '', + status = '', + message = '', ) + ] + ) + else: + return ProcessingJobStatusResponse( + ) + + def testProcessingJobStatusResponse(self): + """Test ProcessingJobStatusResponse""" + def validate_instance(instance): + ProcessingJobStatusResponse.model_validate(inst_req_only) + instance_deserialized = ProcessingJobStatusResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_product_release_dto.py b/src/visier_platform_sdk/test/test_product_release_dto.py new file mode 100644 index 0000000000..f42a228798 --- /dev/null +++ b/src/visier_platform_sdk/test/test_product_release_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.product_release_dto import ProductReleaseDTO + +class TestProductReleaseDTO(unittest.TestCase): + """ProductReleaseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductReleaseDTO: + """Test ProductReleaseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductReleaseDTO( + product_id = '', + previous_version = '', + previous_version_end_date = '', + latest_version = '' + ) + else: + return ProductReleaseDTO( + ) + + def testProductReleaseDTO(self): + """Test ProductReleaseDTO""" + def validate_instance(instance): + ProductReleaseDTO.model_validate(inst_req_only) + instance_deserialized = ProductReleaseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_product_releases_dto.py b/src/visier_platform_sdk/test/test_product_releases_dto.py new file mode 100644 index 0000000000..97f5acdd2c --- /dev/null +++ b/src/visier_platform_sdk/test/test_product_releases_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.product_releases_dto import ProductReleasesDTO + +class TestProductReleasesDTO(unittest.TestCase): + """ProductReleasesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductReleasesDTO: + """Test ProductReleasesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductReleasesDTO( + releases = [ + visier_platform_sdk.models.product_release_dto.ProductReleaseDTO( + product_id = '', + previous_version = '', + previous_version_end_date = '', + latest_version = '', ) + ] + ) + else: + return ProductReleasesDTO( + ) + + def testProductReleasesDTO(self): + """Test ProductReleasesDTO""" + def validate_instance(instance): + ProductReleasesDTO.model_validate(inst_req_only) + instance_deserialized = ProductReleasesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_product_version_dto.py b/src/visier_platform_sdk/test/test_product_version_dto.py new file mode 100644 index 0000000000..1208f18614 --- /dev/null +++ b/src/visier_platform_sdk/test/test_product_version_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.product_version_dto import ProductVersionDTO + +class TestProductVersionDTO(unittest.TestCase): + """ProductVersionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductVersionDTO: + """Test ProductVersionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductVersionDTO( + product_id = '', + version = '', + tenant_codes = [ + '' + ] + ) + else: + return ProductVersionDTO( + ) + + def testProductVersionDTO(self): + """Test ProductVersionDTO""" + def validate_instance(instance): + ProductVersionDTO.model_validate(inst_req_only) + instance_deserialized = ProductVersionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_product_versions_dto.py b/src/visier_platform_sdk/test/test_product_versions_dto.py new file mode 100644 index 0000000000..b833c02ed0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_product_versions_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.product_versions_dto import ProductVersionsDTO + +class TestProductVersionsDTO(unittest.TestCase): + """ProductVersionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductVersionsDTO: + """Test ProductVersionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductVersionsDTO( + versions = [ + visier_platform_sdk.models.product_version_dto.ProductVersionDTO( + product_id = '', + version = '', + tenant_codes = [ + '' + ], ) + ] + ) + else: + return ProductVersionsDTO( + ) + + def testProductVersionsDTO(self): + """Test ProductVersionsDTO""" + def validate_instance(instance): + ProductVersionsDTO.model_validate(inst_req_only) + instance_deserialized = ProductVersionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_product_versions_update_failure_tenant_response_dto.py b/src/visier_platform_sdk/test/test_product_versions_update_failure_tenant_response_dto.py new file mode 100644 index 0000000000..1927948b8e --- /dev/null +++ b/src/visier_platform_sdk/test/test_product_versions_update_failure_tenant_response_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.product_versions_update_failure_tenant_response_dto import ProductVersionsUpdateFailureTenantResponseDTO + +class TestProductVersionsUpdateFailureTenantResponseDTO(unittest.TestCase): + """ProductVersionsUpdateFailureTenantResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductVersionsUpdateFailureTenantResponseDTO: + """Test ProductVersionsUpdateFailureTenantResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductVersionsUpdateFailureTenantResponseDTO( + product_id = '', + version = '', + tenant_codes = [ + '' + ], + message = '' + ) + else: + return ProductVersionsUpdateFailureTenantResponseDTO( + ) + + def testProductVersionsUpdateFailureTenantResponseDTO(self): + """Test ProductVersionsUpdateFailureTenantResponseDTO""" + def validate_instance(instance): + ProductVersionsUpdateFailureTenantResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProductVersionsUpdateFailureTenantResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_product_versions_update_response_dto.py b/src/visier_platform_sdk/test/test_product_versions_update_response_dto.py new file mode 100644 index 0000000000..990e885059 --- /dev/null +++ b/src/visier_platform_sdk/test/test_product_versions_update_response_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.product_versions_update_response_dto import ProductVersionsUpdateResponseDTO + +class TestProductVersionsUpdateResponseDTO(unittest.TestCase): + """ProductVersionsUpdateResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductVersionsUpdateResponseDTO: + """Test ProductVersionsUpdateResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductVersionsUpdateResponseDTO( + successes = [ + visier_platform_sdk.models.product_versions_update_successful_tenant_response_dto.ProductVersionsUpdateSuccessfulTenantResponseDTO( + product_id = '', + version = '', + tenant_codes = [ + '' + ], ) + ], + failures = [ + visier_platform_sdk.models.product_versions_update_failure_tenant_response_dto.ProductVersionsUpdateFailureTenantResponseDTO( + product_id = '', + version = '', + tenant_codes = [ + '' + ], + message = '', ) + ] + ) + else: + return ProductVersionsUpdateResponseDTO( + ) + + def testProductVersionsUpdateResponseDTO(self): + """Test ProductVersionsUpdateResponseDTO""" + def validate_instance(instance): + ProductVersionsUpdateResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProductVersionsUpdateResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_product_versions_update_successful_tenant_response_dto.py b/src/visier_platform_sdk/test/test_product_versions_update_successful_tenant_response_dto.py new file mode 100644 index 0000000000..36cabb2727 --- /dev/null +++ b/src/visier_platform_sdk/test/test_product_versions_update_successful_tenant_response_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.product_versions_update_successful_tenant_response_dto import ProductVersionsUpdateSuccessfulTenantResponseDTO + +class TestProductVersionsUpdateSuccessfulTenantResponseDTO(unittest.TestCase): + """ProductVersionsUpdateSuccessfulTenantResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductVersionsUpdateSuccessfulTenantResponseDTO: + """Test ProductVersionsUpdateSuccessfulTenantResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductVersionsUpdateSuccessfulTenantResponseDTO( + product_id = '', + version = '', + tenant_codes = [ + '' + ] + ) + else: + return ProductVersionsUpdateSuccessfulTenantResponseDTO( + ) + + def testProductVersionsUpdateSuccessfulTenantResponseDTO(self): + """Test ProductVersionsUpdateSuccessfulTenantResponseDTO""" + def validate_instance(instance): + ProductVersionsUpdateSuccessfulTenantResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProductVersionsUpdateSuccessfulTenantResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_production_version_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_production_version_api_operation_request_dto.py new file mode 100644 index 0000000000..8b86de7d8d --- /dev/null +++ b/src/visier_platform_sdk/test/test_production_version_api_operation_request_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.production_version_api_operation_request_dto import ProductionVersionAPIOperationRequestDTO + +class TestProductionVersionAPIOperationRequestDTO(unittest.TestCase): + """ProductionVersionAPIOperationRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductionVersionAPIOperationRequestDTO: + """Test ProductionVersionAPIOperationRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductionVersionAPIOperationRequestDTO( + operation = 'unknownProductionVersionAPIOperation' + ) + else: + return ProductionVersionAPIOperationRequestDTO( + ) + + def testProductionVersionAPIOperationRequestDTO(self): + """Test ProductionVersionAPIOperationRequestDTO""" + def validate_instance(instance): + ProductionVersionAPIOperationRequestDTO.model_validate(inst_req_only) + instance_deserialized = ProductionVersionAPIOperationRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_production_version_api_operation_response_dto.py b/src/visier_platform_sdk/test/test_production_version_api_operation_response_dto.py new file mode 100644 index 0000000000..7c4d65153d --- /dev/null +++ b/src/visier_platform_sdk/test/test_production_version_api_operation_response_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.production_version_api_operation_response_dto import ProductionVersionAPIOperationResponseDTO + +class TestProductionVersionAPIOperationResponseDTO(unittest.TestCase): + """ProductionVersionAPIOperationResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductionVersionAPIOperationResponseDTO: + """Test ProductionVersionAPIOperationResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductionVersionAPIOperationResponseDTO( + roll_back_to = visier_platform_sdk.models.project_dto.ProjectDTO( + id = '', + name = '', + description = '', + release_version = '', + ticket_number = '', + version_number = 56, + capabilities = [ + 'canRead' + ], ) + ) + else: + return ProductionVersionAPIOperationResponseDTO( + ) + + def testProductionVersionAPIOperationResponseDTO(self): + """Test ProductionVersionAPIOperationResponseDTO""" + def validate_instance(instance): + ProductionVersionAPIOperationResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProductionVersionAPIOperationResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_production_versions_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_production_versions_api_operation_request_dto.py new file mode 100644 index 0000000000..909f12aecc --- /dev/null +++ b/src/visier_platform_sdk/test/test_production_versions_api_operation_request_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.production_versions_api_operation_request_dto import ProductionVersionsAPIOperationRequestDTO + +class TestProductionVersionsAPIOperationRequestDTO(unittest.TestCase): + """ProductionVersionsAPIOperationRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductionVersionsAPIOperationRequestDTO: + """Test ProductionVersionsAPIOperationRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductionVersionsAPIOperationRequestDTO( + operation = 'unknownProductionVersionsAPIOperation', + export_parameters = visier_platform_sdk.models.export_production_versions_api_operation_parameters_dto.ExportProductionVersionsAPIOperationParametersDTO( + start_version = '', + end_version = '', + excluded_versions = [ + '' + ], ) + ) + else: + return ProductionVersionsAPIOperationRequestDTO( + ) + + def testProductionVersionsAPIOperationRequestDTO(self): + """Test ProductionVersionsAPIOperationRequestDTO""" + def validate_instance(instance): + ProductionVersionsAPIOperationRequestDTO.model_validate(inst_req_only) + instance_deserialized = ProductionVersionsAPIOperationRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_production_versions_api_operation_response_dto.py b/src/visier_platform_sdk/test/test_production_versions_api_operation_response_dto.py new file mode 100644 index 0000000000..75cc8089ea --- /dev/null +++ b/src/visier_platform_sdk/test/test_production_versions_api_operation_response_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.production_versions_api_operation_response_dto import ProductionVersionsAPIOperationResponseDTO + +class TestProductionVersionsAPIOperationResponseDTO(unittest.TestCase): + """ProductionVersionsAPIOperationResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProductionVersionsAPIOperationResponseDTO: + """Test ProductionVersionsAPIOperationResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProductionVersionsAPIOperationResponseDTO( + export = None + ) + else: + return ProductionVersionsAPIOperationResponseDTO( + ) + + def testProductionVersionsAPIOperationResponseDTO(self): + """Test ProductionVersionsAPIOperationResponseDTO""" + def validate_instance(instance): + ProductionVersionsAPIOperationResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProductionVersionsAPIOperationResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/test/test_profile_assigned_for_accessible_tenant_dto.py new file mode 100644 index 0000000000..9e65b593d5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_profile_assigned_for_accessible_tenant_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.profile_assigned_for_accessible_tenant_dto import ProfileAssignedForAccessibleTenantDTO + +class TestProfileAssignedForAccessibleTenantDTO(unittest.TestCase): + """ProfileAssignedForAccessibleTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProfileAssignedForAccessibleTenantDTO: + """Test ProfileAssignedForAccessibleTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProfileAssignedForAccessibleTenantDTO( + profile_id = '', + display_name = '', + tenant_code = '', + for_all_children = True, + validity_start_time = '', + validity_end_time = '' + ) + else: + return ProfileAssignedForAccessibleTenantDTO( + ) + + def testProfileAssignedForAccessibleTenantDTO(self): + """Test ProfileAssignedForAccessibleTenantDTO""" + def validate_instance(instance): + ProfileAssignedForAccessibleTenantDTO.model_validate(inst_req_only) + instance_deserialized = ProfileAssignedForAccessibleTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_profile_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..ee799d57f5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_profile_assigned_for_local_tenant_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.profile_assigned_for_local_tenant_dto import ProfileAssignedForLocalTenantDTO + +class TestProfileAssignedForLocalTenantDTO(unittest.TestCase): + """ProfileAssignedForLocalTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProfileAssignedForLocalTenantDTO: + """Test ProfileAssignedForLocalTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProfileAssignedForLocalTenantDTO( + profile_id = '', + display_name = '', + validity_start_time = '', + validity_end_time = '', + capabilities = [ + visier_platform_sdk.models.capabilities_dto.CapabilitiesDTO( + capability = '', + access_level = '', + view_level = '', ) + ], + additional_capabilities = visier_platform_sdk.models.additional_capabilities_dto.AdditionalCapabilitiesDTO( + additional_capabilities = [ + '' + ], ) + ) + else: + return ProfileAssignedForLocalTenantDTO( + ) + + def testProfileAssignedForLocalTenantDTO(self): + """Test ProfileAssignedForLocalTenantDTO""" + def validate_instance(instance): + ProfileAssignedForLocalTenantDTO.model_validate(inst_req_only) + instance_deserialized = ProfileAssignedForLocalTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_profile_get_api_response_dto.py b/src/visier_platform_sdk/test/test_profile_get_api_response_dto.py new file mode 100644 index 0000000000..2e89829fa4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_profile_get_api_response_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.profile_get_api_response_dto import ProfileGetAPIResponseDTO + +class TestProfileGetAPIResponseDTO(unittest.TestCase): + """ProfileGetAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProfileGetAPIResponseDTO: + """Test ProfileGetAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProfileGetAPIResponseDTO( + profile_id = '', + display_name = '', + capabilities = [ + visier_platform_sdk.models.capabilities_dto.CapabilitiesDTO( + capability = '', + access_level = '', + view_level = '', ) + ], + additional_capabilities = [ + '' + ] + ) + else: + return ProfileGetAPIResponseDTO( + ) + + def testProfileGetAPIResponseDTO(self): + """Test ProfileGetAPIResponseDTO""" + def validate_instance(instance): + ProfileGetAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProfileGetAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_profiles_get_api_response_dto.py b/src/visier_platform_sdk/test/test_profiles_get_api_response_dto.py new file mode 100644 index 0000000000..ad44964745 --- /dev/null +++ b/src/visier_platform_sdk/test/test_profiles_get_api_response_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.profiles_get_api_response_dto import ProfilesGetAPIResponseDTO + +class TestProfilesGetAPIResponseDTO(unittest.TestCase): + """ProfilesGetAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProfilesGetAPIResponseDTO: + """Test ProfilesGetAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProfilesGetAPIResponseDTO( + profiles = [ + visier_platform_sdk.models.profile_get_api_response_dto.ProfileGetAPIResponseDTO( + profile_id = '', + display_name = '', + capabilities = [ + visier_platform_sdk.models.capabilities_dto.CapabilitiesDTO( + capability = '', + access_level = '', + view_level = '', ) + ], + additional_capabilities = [ + '' + ], ) + ] + ) + else: + return ProfilesGetAPIResponseDTO( + ) + + def testProfilesGetAPIResponseDTO(self): + """Test ProfilesGetAPIResponseDTO""" + def validate_instance(instance): + ProfilesGetAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProfilesGetAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_project_commits_api_response_dto.py b/src/visier_platform_sdk/test/test_project_commits_api_response_dto.py new file mode 100644 index 0000000000..7f1c3feb86 --- /dev/null +++ b/src/visier_platform_sdk/test/test_project_commits_api_response_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.project_commits_api_response_dto import ProjectCommitsAPIResponseDTO + +class TestProjectCommitsAPIResponseDTO(unittest.TestCase): + """ProjectCommitsAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProjectCommitsAPIResponseDTO: + """Test ProjectCommitsAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProjectCommitsAPIResponseDTO( + commits = [ + visier_platform_sdk.models.commit_dto.CommitDTO( + id = '', + name = '', + description = '', ) + ] + ) + else: + return ProjectCommitsAPIResponseDTO( + ) + + def testProjectCommitsAPIResponseDTO(self): + """Test ProjectCommitsAPIResponseDTO""" + def validate_instance(instance): + ProjectCommitsAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProjectCommitsAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_project_dto.py b/src/visier_platform_sdk/test/test_project_dto.py new file mode 100644 index 0000000000..3af1639920 --- /dev/null +++ b/src/visier_platform_sdk/test/test_project_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.project_dto import ProjectDTO + +class TestProjectDTO(unittest.TestCase): + """ProjectDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProjectDTO: + """Test ProjectDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProjectDTO( + id = '', + name = '', + description = '', + release_version = '', + ticket_number = '', + version_number = 56, + capabilities = [ + 'canRead' + ] + ) + else: + return ProjectDTO( + ) + + def testProjectDTO(self): + """Test ProjectDTO""" + def validate_instance(instance): + ProjectDTO.model_validate(inst_req_only) + instance_deserialized = ProjectDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_project_operation_request_dto.py b/src/visier_platform_sdk/test/test_project_operation_request_dto.py new file mode 100644 index 0000000000..33668012f0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_project_operation_request_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.project_operation_request_dto import ProjectOperationRequestDTO + +class TestProjectOperationRequestDTO(unittest.TestCase): + """ProjectOperationRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProjectOperationRequestDTO: + """Test ProjectOperationRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProjectOperationRequestDTO( + operation = 'unknown' + ) + else: + return ProjectOperationRequestDTO( + ) + + def testProjectOperationRequestDTO(self): + """Test ProjectOperationRequestDTO""" + def validate_instance(instance): + ProjectOperationRequestDTO.model_validate(inst_req_only) + instance_deserialized = ProjectOperationRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_project_operation_response_dto.py b/src/visier_platform_sdk/test/test_project_operation_response_dto.py new file mode 100644 index 0000000000..9f607f3734 --- /dev/null +++ b/src/visier_platform_sdk/test/test_project_operation_response_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.project_operation_response_dto import ProjectOperationResponseDTO + +class TestProjectOperationResponseDTO(unittest.TestCase): + """ProjectOperationResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProjectOperationResponseDTO: + """Test ProjectOperationResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProjectOperationResponseDTO( + commit_and_publish = visier_platform_sdk.models.commit_and_publish_operation_response_dto.CommitAndPublishOperationResponseDTO( + published_version = None, ) + ) + else: + return ProjectOperationResponseDTO( + ) + + def testProjectOperationResponseDTO(self): + """Test ProjectOperationResponseDTO""" + def validate_instance(instance): + ProjectOperationResponseDTO.model_validate(inst_req_only) + instance_deserialized = ProjectOperationResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_properties_change_definitions_dto.py b/src/visier_platform_sdk/test/test_properties_change_definitions_dto.py new file mode 100644 index 0000000000..d9e5854f51 --- /dev/null +++ b/src/visier_platform_sdk/test/test_properties_change_definitions_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.properties_change_definitions_dto import PropertiesChangeDefinitionsDTO + +class TestPropertiesChangeDefinitionsDTO(unittest.TestCase): + """PropertiesChangeDefinitionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertiesChangeDefinitionsDTO: + """Test PropertiesChangeDefinitionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertiesChangeDefinitionsDTO( + properties_by_tenant = [ + visier_platform_sdk.models.property_change_definitions_by_tenant_dto.PropertyChangeDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + properties = [ + visier_platform_sdk.models.property_change_definition_dto.PropertyChangeDefinitionDTO( + id = '', + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + type = None, + tags = None, + include_with_vee = True, ) + ], ) + ] + ) + else: + return PropertiesChangeDefinitionsDTO( + ) + + def testPropertiesChangeDefinitionsDTO(self): + """Test PropertiesChangeDefinitionsDTO""" + def validate_instance(instance): + PropertiesChangeDefinitionsDTO.model_validate(inst_req_only) + instance_deserialized = PropertiesChangeDefinitionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_properties_delete_definitions_dto.py b/src/visier_platform_sdk/test/test_properties_delete_definitions_dto.py new file mode 100644 index 0000000000..59bb28ea22 --- /dev/null +++ b/src/visier_platform_sdk/test/test_properties_delete_definitions_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.properties_delete_definitions_dto import PropertiesDeleteDefinitionsDTO + +class TestPropertiesDeleteDefinitionsDTO(unittest.TestCase): + """PropertiesDeleteDefinitionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertiesDeleteDefinitionsDTO: + """Test PropertiesDeleteDefinitionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertiesDeleteDefinitionsDTO( + delete_derived_properties = True, + ignore_property_references = True, + properties_by_tenant = [ + visier_platform_sdk.models.property_delete_definitions_by_tenant_dto.PropertyDeleteDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + property_ids = [ + '' + ], ) + ] + ) + else: + return PropertiesDeleteDefinitionsDTO( + ) + + def testPropertiesDeleteDefinitionsDTO(self): + """Test PropertiesDeleteDefinitionsDTO""" + def validate_instance(instance): + PropertiesDeleteDefinitionsDTO.model_validate(inst_req_only) + instance_deserialized = PropertiesDeleteDefinitionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_properties_dto.py b/src/visier_platform_sdk/test/test_properties_dto.py new file mode 100644 index 0000000000..4005e66cae --- /dev/null +++ b/src/visier_platform_sdk/test/test_properties_dto.py @@ -0,0 +1,78 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.properties_dto import PropertiesDTO + +class TestPropertiesDTO(unittest.TestCase): + """PropertiesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertiesDTO: + """Test PropertiesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertiesDTO( + properties = [ + visier_platform_sdk.models.property_dto.PropertyDTO( + id = '', + display_name = '', + description = '', + data_type = '', + primitive_data_type = '', + parameters = [ + visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( + member_parameter = None, + numeric_parameter = None, + plan_parameter = None, + aggregation_type_parameter = None, ) + ], + tags = [ + visier_platform_sdk.models.tag_map_element_dto.TagMapElementDTO( + id = '', + display_name = '', ) + ], + explanation = '', ) + ] + ) + else: + return PropertiesDTO( + ) + + def testPropertiesDTO(self): + """Test PropertiesDTO""" + def validate_instance(instance): + PropertiesDTO.model_validate(inst_req_only) + instance_deserialized = PropertiesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_access_config_dto.py b/src/visier_platform_sdk/test/test_property_access_config_dto.py new file mode 100644 index 0000000000..d522220e28 --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_access_config_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_access_config_dto import PropertyAccessConfigDTO + +class TestPropertyAccessConfigDTO(unittest.TestCase): + """PropertyAccessConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyAccessConfigDTO: + """Test PropertyAccessConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyAccessConfigDTO( + property_id = '', + analytic_object_id = '', + analytic_object_reference_paths = [ + '' + ], + access_level = 'None', + property_status = 'Unset' + ) + else: + return PropertyAccessConfigDTO( + ) + + def testPropertyAccessConfigDTO(self): + """Test PropertyAccessConfigDTO""" + def validate_instance(instance): + PropertyAccessConfigDTO.model_validate(inst_req_only) + instance_deserialized = PropertyAccessConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_bulk_delete_response_dto.py b/src/visier_platform_sdk/test/test_property_bulk_delete_response_dto.py new file mode 100644 index 0000000000..d7911a8729 --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_bulk_delete_response_dto.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_bulk_delete_response_dto import PropertyBulkDeleteResponseDTO + +class TestPropertyBulkDeleteResponseDTO(unittest.TestCase): + """PropertyBulkDeleteResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyBulkDeleteResponseDTO: + """Test PropertyBulkDeleteResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyBulkDeleteResponseDTO( + successes = [ + visier_platform_sdk.models.property_delete_success_dto.PropertyDeleteSuccessDTO( + id = '', + display_name = '', + tenant_code = '', + project_id = '', + derived_dependents_deleted = [ + visier_platform_sdk.models.dependent_dto.DependentDTO( + id = '', + display_name = '', + object_type = '', ) + ], + reference_dependents_ignored = [ + visier_platform_sdk.models.dependent_dto.DependentDTO( + id = '', + display_name = '', + object_type = '', ) + ], ) + ], + failures = [ + visier_platform_sdk.models.property_delete_failure_dto.PropertyDeleteFailureDTO( + id = '', + display_name = '', + message = '', + rci = '', + tenant_code = '', + project_id = '', + derived_dependents_to_delete = [ + visier_platform_sdk.models.dependent_dto.DependentDTO( + id = '', + display_name = '', + object_type = '', ) + ], + reference_dependents_to_ignore = [ + visier_platform_sdk.models.dependent_dto.DependentDTO( + id = '', + display_name = '', + object_type = '', ) + ], ) + ] + ) + else: + return PropertyBulkDeleteResponseDTO( + ) + + def testPropertyBulkDeleteResponseDTO(self): + """Test PropertyBulkDeleteResponseDTO""" + def validate_instance(instance): + PropertyBulkDeleteResponseDTO.model_validate(inst_req_only) + instance_deserialized = PropertyBulkDeleteResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_change_definition_dto.py b/src/visier_platform_sdk/test/test_property_change_definition_dto.py new file mode 100644 index 0000000000..fdcedb6657 --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_change_definition_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_change_definition_dto import PropertyChangeDefinitionDTO + +class TestPropertyChangeDefinitionDTO(unittest.TestCase): + """PropertyChangeDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyChangeDefinitionDTO: + """Test PropertyChangeDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyChangeDefinitionDTO( + id = '', + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + type = visier_platform_sdk.models.property_type_dto.PropertyTypeDTO( + simple = None, + calculated = None, ), + tags = visier_platform_sdk.models.tags_dto.TagsDTO( + ids = [ + '' + ], ), + include_with_vee = True + ) + else: + return PropertyChangeDefinitionDTO( + ) + + def testPropertyChangeDefinitionDTO(self): + """Test PropertyChangeDefinitionDTO""" + def validate_instance(instance): + PropertyChangeDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = PropertyChangeDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_property_change_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..517ff731fc --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_change_definitions_by_tenant_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_change_definitions_by_tenant_dto import PropertyChangeDefinitionsByTenantDTO + +class TestPropertyChangeDefinitionsByTenantDTO(unittest.TestCase): + """PropertyChangeDefinitionsByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyChangeDefinitionsByTenantDTO: + """Test PropertyChangeDefinitionsByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyChangeDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + properties = [ + visier_platform_sdk.models.property_change_definition_dto.PropertyChangeDefinitionDTO( + id = '', + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + type = None, + tags = None, + include_with_vee = True, ) + ] + ) + else: + return PropertyChangeDefinitionsByTenantDTO( + ) + + def testPropertyChangeDefinitionsByTenantDTO(self): + """Test PropertyChangeDefinitionsByTenantDTO""" + def validate_instance(instance): + PropertyChangeDefinitionsByTenantDTO.model_validate(inst_req_only) + instance_deserialized = PropertyChangeDefinitionsByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_column_dto.py b/src/visier_platform_sdk/test/test_property_column_dto.py new file mode 100644 index 0000000000..d06c6291c0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_column_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_column_dto import PropertyColumnDTO + +class TestPropertyColumnDTO(unittest.TestCase): + """PropertyColumnDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyColumnDTO: + """Test PropertyColumnDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyColumnDTO( + column_name = '', + column_definition = visier_platform_sdk.models.query_property_dto.QueryPropertyDTO( + formula = '', + property = None, + selection_concept = None, + dimension = None, + member_map_property = None, + effective_date_property = None, + dimension_level_selection = None, ) + ) + else: + return PropertyColumnDTO( + ) + + def testPropertyColumnDTO(self): + """Test PropertyColumnDTO""" + def validate_instance(instance): + PropertyColumnDTO.model_validate(inst_req_only) + instance_deserialized = PropertyColumnDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_definition_dto.py b/src/visier_platform_sdk/test/test_property_definition_dto.py new file mode 100644 index 0000000000..81af57115c --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_definition_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_definition_dto import PropertyDefinitionDTO + +class TestPropertyDefinitionDTO(unittest.TestCase): + """PropertyDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyDefinitionDTO: + """Test PropertyDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyDefinitionDTO( + uuid = '', + object_name = '', + basic_information = visier_platform_sdk.models.basic_information_dto.BasicInformationDTO( + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + synonym_list = None, ), + details = visier_platform_sdk.models.property_type_details_dto.PropertyTypeDetailsDTO( + simple = None, + calculated = None, + process_concept = None, ) + ) + else: + return PropertyDefinitionDTO( + ) + + def testPropertyDefinitionDTO(self): + """Test PropertyDefinitionDTO""" + def validate_instance(instance): + PropertyDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = PropertyDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_property_delete_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..66e3295fca --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_delete_definitions_by_tenant_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_delete_definitions_by_tenant_dto import PropertyDeleteDefinitionsByTenantDTO + +class TestPropertyDeleteDefinitionsByTenantDTO(unittest.TestCase): + """PropertyDeleteDefinitionsByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyDeleteDefinitionsByTenantDTO: + """Test PropertyDeleteDefinitionsByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyDeleteDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + property_ids = [ + '' + ] + ) + else: + return PropertyDeleteDefinitionsByTenantDTO( + ) + + def testPropertyDeleteDefinitionsByTenantDTO(self): + """Test PropertyDeleteDefinitionsByTenantDTO""" + def validate_instance(instance): + PropertyDeleteDefinitionsByTenantDTO.model_validate(inst_req_only) + instance_deserialized = PropertyDeleteDefinitionsByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_delete_failure_dto.py b/src/visier_platform_sdk/test/test_property_delete_failure_dto.py new file mode 100644 index 0000000000..23503a52d8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_delete_failure_dto.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_delete_failure_dto import PropertyDeleteFailureDTO + +class TestPropertyDeleteFailureDTO(unittest.TestCase): + """PropertyDeleteFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyDeleteFailureDTO: + """Test PropertyDeleteFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyDeleteFailureDTO( + id = '', + display_name = '', + message = '', + rci = '', + tenant_code = '', + project_id = '', + derived_dependents_to_delete = [ + visier_platform_sdk.models.dependent_dto.DependentDTO( + id = '', + display_name = '', + object_type = '', ) + ], + reference_dependents_to_ignore = [ + visier_platform_sdk.models.dependent_dto.DependentDTO( + id = '', + display_name = '', + object_type = '', ) + ] + ) + else: + return PropertyDeleteFailureDTO( + ) + + def testPropertyDeleteFailureDTO(self): + """Test PropertyDeleteFailureDTO""" + def validate_instance(instance): + PropertyDeleteFailureDTO.model_validate(inst_req_only) + instance_deserialized = PropertyDeleteFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_delete_success_dto.py b/src/visier_platform_sdk/test/test_property_delete_success_dto.py new file mode 100644 index 0000000000..e6a6b2cff7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_delete_success_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_delete_success_dto import PropertyDeleteSuccessDTO + +class TestPropertyDeleteSuccessDTO(unittest.TestCase): + """PropertyDeleteSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyDeleteSuccessDTO: + """Test PropertyDeleteSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyDeleteSuccessDTO( + id = '', + display_name = '', + tenant_code = '', + project_id = '', + derived_dependents_deleted = [ + visier_platform_sdk.models.dependent_dto.DependentDTO( + id = '', + display_name = '', + object_type = '', ) + ], + reference_dependents_ignored = [ + visier_platform_sdk.models.dependent_dto.DependentDTO( + id = '', + display_name = '', + object_type = '', ) + ] + ) + else: + return PropertyDeleteSuccessDTO( + ) + + def testPropertyDeleteSuccessDTO(self): + """Test PropertyDeleteSuccessDTO""" + def validate_instance(instance): + PropertyDeleteSuccessDTO.model_validate(inst_req_only) + instance_deserialized = PropertyDeleteSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_dto.py b/src/visier_platform_sdk/test/test_property_dto.py new file mode 100644 index 0000000000..50ee0b1a6a --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_dto.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_dto import PropertyDTO + +class TestPropertyDTO(unittest.TestCase): + """PropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyDTO: + """Test PropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyDTO( + id = '', + display_name = '', + description = '', + data_type = '', + primitive_data_type = '', + parameters = [ + visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( + member_parameter = None, + numeric_parameter = None, + plan_parameter = None, + aggregation_type_parameter = None, ) + ], + tags = [ + visier_platform_sdk.models.tag_map_element_dto.TagMapElementDTO( + id = '', + display_name = '', ) + ], + explanation = '' + ) + else: + return PropertyDTO( + ) + + def testPropertyDTO(self): + """Test PropertyDTO""" + def validate_instance(instance): + PropertyDTO.model_validate(inst_req_only) + instance_deserialized = PropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_reference_dto.py b/src/visier_platform_sdk/test/test_property_reference_dto.py new file mode 100644 index 0000000000..84c5239e24 --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_reference_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_reference_dto import PropertyReferenceDTO + +class TestPropertyReferenceDTO(unittest.TestCase): + """PropertyReferenceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyReferenceDTO: + """Test PropertyReferenceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyReferenceDTO( + name = '', + qualifying_path = '' + ) + else: + return PropertyReferenceDTO( + ) + + def testPropertyReferenceDTO(self): + """Test PropertyReferenceDTO""" + def validate_instance(instance): + PropertyReferenceDTO.model_validate(inst_req_only) + instance_deserialized = PropertyReferenceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_set_config_dto.py b/src/visier_platform_sdk/test/test_property_set_config_dto.py new file mode 100644 index 0000000000..eeba1df68e --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_set_config_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_set_config_dto import PropertySetConfigDTO + +class TestPropertySetConfigDTO(unittest.TestCase): + """PropertySetConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertySetConfigDTO: + """Test PropertySetConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertySetConfigDTO( + property_access_configs = [ + visier_platform_sdk.models.property_access_config_dto.PropertyAccessConfigDTO( + property_id = '', + analytic_object_id = '', + analytic_object_reference_paths = [ + '' + ], + access_level = 'None', + property_status = 'Unset', ) + ], + shareable_data_access_set = visier_platform_sdk.models.shareable_data_access_set.ShareableDataAccessSet( + data_access_set_id = '', ) + ) + else: + return PropertySetConfigDTO( + ) + + def testPropertySetConfigDTO(self): + """Test PropertySetConfigDTO""" + def validate_instance(instance): + PropertySetConfigDTO.model_validate(inst_req_only) + instance_deserialized = PropertySetConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_type_details_dto.py b/src/visier_platform_sdk/test/test_property_type_details_dto.py new file mode 100644 index 0000000000..9d0e3dd3aa --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_type_details_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_type_details_dto import PropertyTypeDetailsDTO + +class TestPropertyTypeDetailsDTO(unittest.TestCase): + """PropertyTypeDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyTypeDetailsDTO: + """Test PropertyTypeDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyTypeDetailsDTO( + simple = visier_platform_sdk.models.v2_simple_property_type_dto.V2SimplePropertyTypeDTO( + data_type = '', + primitive_type = '', ), + calculated = visier_platform_sdk.models.v2_calculated_property_type_dto.V2CalculatedPropertyTypeDTO( + data_type = '', + primitive_type = '', + formula = '', ), + process_concept = visier_platform_sdk.models.process_concept_property_type_dto.ProcessConceptPropertyTypeDTO( + data_type = '', + primitive_type = '', + formula = '', ) + ) + else: + return PropertyTypeDetailsDTO( + ) + + def testPropertyTypeDetailsDTO(self): + """Test PropertyTypeDetailsDTO""" + def validate_instance(instance): + PropertyTypeDetailsDTO.model_validate(inst_req_only) + instance_deserialized = PropertyTypeDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_property_type_dto.py b/src/visier_platform_sdk/test/test_property_type_dto.py new file mode 100644 index 0000000000..2e1ba29e9d --- /dev/null +++ b/src/visier_platform_sdk/test/test_property_type_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.property_type_dto import PropertyTypeDTO + +class TestPropertyTypeDTO(unittest.TestCase): + """PropertyTypeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PropertyTypeDTO: + """Test PropertyTypeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PropertyTypeDTO( + simple = visier_platform_sdk.models.simple_property_type_dto.SimplePropertyTypeDTO( + data_type = '', ), + calculated = visier_platform_sdk.models.calculated_property_type_dto.CalculatedPropertyTypeDTO( + data_type = '', + formula = '', ) + ) + else: + return PropertyTypeDTO( + ) + + def testPropertyTypeDTO(self): + """Test PropertyTypeDTO""" + def validate_instance(instance): + PropertyTypeDTO.model_validate(inst_req_only) + instance_deserialized = PropertyTypeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_public_key_dto.py b/src/visier_platform_sdk/test/test_public_key_dto.py new file mode 100644 index 0000000000..b0ca47486b --- /dev/null +++ b/src/visier_platform_sdk/test/test_public_key_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.public_key_dto import PublicKeyDTO + +class TestPublicKeyDTO(unittest.TestCase): + """PublicKeyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PublicKeyDTO: + """Test PublicKeyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PublicKeyDTO( + key_id = '', + date_generated = '', + expiry_date = '', + recipient = '', + public_key = '' + ) + else: + return PublicKeyDTO( + ) + + def testPublicKeyDTO(self): + """Test PublicKeyDTO""" + def validate_instance(instance): + PublicKeyDTO.model_validate(inst_req_only) + instance_deserialized = PublicKeyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_public_keys_dto.py b/src/visier_platform_sdk/test/test_public_keys_dto.py new file mode 100644 index 0000000000..4b30e118f7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_public_keys_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.public_keys_dto import PublicKeysDTO + +class TestPublicKeysDTO(unittest.TestCase): + """PublicKeysDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PublicKeysDTO: + """Test PublicKeysDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PublicKeysDTO( + keys = [ + visier_platform_sdk.models.public_key_dto.PublicKeyDTO( + key_id = '', + date_generated = '', + expiry_date = '', + recipient = '', + public_key = '', ) + ] + ) + else: + return PublicKeysDTO( + ) + + def testPublicKeysDTO(self): + """Test PublicKeysDTO""" + def validate_instance(instance): + PublicKeysDTO.model_validate(inst_req_only) + instance_deserialized = PublicKeysDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_push_data_cancel_response.py b/src/visier_platform_sdk/test/test_push_data_cancel_response.py new file mode 100644 index 0000000000..b82ede4a2b --- /dev/null +++ b/src/visier_platform_sdk/test/test_push_data_cancel_response.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.push_data_cancel_response import PushDataCancelResponse + +class TestPushDataCancelResponse(unittest.TestCase): + """PushDataCancelResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PushDataCancelResponse: + """Test PushDataCancelResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PushDataCancelResponse( + message = '', + transfer_session_id = '', + data_transfer_result_details = [ + visier_platform_sdk.models.data_transfer_result_detail.DataTransferResultDetail( + tenant_code = '', + source_names = [ + '' + ], + data_size = '', + rows = '', ) + ], + status = '' + ) + else: + return PushDataCancelResponse( + ) + + def testPushDataCancelResponse(self): + """Test PushDataCancelResponse""" + def validate_instance(instance): + PushDataCancelResponse.model_validate(inst_req_only) + instance_deserialized = PushDataCancelResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_push_data_column_definition_dto.py b/src/visier_platform_sdk/test/test_push_data_column_definition_dto.py new file mode 100644 index 0000000000..c8c04fd929 --- /dev/null +++ b/src/visier_platform_sdk/test/test_push_data_column_definition_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.push_data_column_definition_dto import PushDataColumnDefinitionDTO + +class TestPushDataColumnDefinitionDTO(unittest.TestCase): + """PushDataColumnDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PushDataColumnDefinitionDTO: + """Test PushDataColumnDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PushDataColumnDefinitionDTO( + column_name = '', + data_type = '', + data_formats = [ + '' + ], + is_mandatory = True, + allow_empty = True, + default_value = '' + ) + else: + return PushDataColumnDefinitionDTO( + ) + + def testPushDataColumnDefinitionDTO(self): + """Test PushDataColumnDefinitionDTO""" + def validate_instance(instance): + PushDataColumnDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = PushDataColumnDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_push_data_complete_request.py b/src/visier_platform_sdk/test/test_push_data_complete_request.py new file mode 100644 index 0000000000..4adf49f64c --- /dev/null +++ b/src/visier_platform_sdk/test/test_push_data_complete_request.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.push_data_complete_request import PushDataCompleteRequest + +class TestPushDataCompleteRequest(unittest.TestCase): + """PushDataCompleteRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PushDataCompleteRequest: + """Test PushDataCompleteRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PushDataCompleteRequest( + transfer_session_id = '', + processing_data = True + ) + else: + return PushDataCompleteRequest( + ) + + def testPushDataCompleteRequest(self): + """Test PushDataCompleteRequest""" + def validate_instance(instance): + PushDataCompleteRequest.model_validate(inst_req_only) + instance_deserialized = PushDataCompleteRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_push_data_complete_response.py b/src/visier_platform_sdk/test/test_push_data_complete_response.py new file mode 100644 index 0000000000..bca8d66068 --- /dev/null +++ b/src/visier_platform_sdk/test/test_push_data_complete_response.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.push_data_complete_response import PushDataCompleteResponse + +class TestPushDataCompleteResponse(unittest.TestCase): + """PushDataCompleteResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PushDataCompleteResponse: + """Test PushDataCompleteResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PushDataCompleteResponse( + data_receiving_job_id = '', + message = '', + transfer_session_id = '', + data_transfer_result_details = [ + visier_platform_sdk.models.data_transfer_result_detail.DataTransferResultDetail( + tenant_code = '', + source_names = [ + '' + ], + data_size = '', + rows = '', ) + ], + status = '' + ) + else: + return PushDataCompleteResponse( + ) + + def testPushDataCompleteResponse(self): + """Test PushDataCompleteResponse""" + def validate_instance(instance): + PushDataCompleteResponse.model_validate(inst_req_only) + instance_deserialized = PushDataCompleteResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_push_data_response.py b/src/visier_platform_sdk/test/test_push_data_response.py new file mode 100644 index 0000000000..21415f694a --- /dev/null +++ b/src/visier_platform_sdk/test/test_push_data_response.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.push_data_response import PushDataResponse + +class TestPushDataResponse(unittest.TestCase): + """PushDataResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PushDataResponse: + """Test PushDataResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PushDataResponse( + transfer_session_id = '', + sequence = 56, + status = '', + message = '', + tenants = [ + visier_platform_sdk.models.tenant.Tenant( + tenant_code = '', + status = '', + sources = [ + visier_platform_sdk.models.source.Source( + source_id = '', + source_name = '', + data_size = '', + rows = '', + status = '', + message = '', ) + ], ) + ] + ) + else: + return PushDataResponse( + ) + + def testPushDataResponse(self): + """Test PushDataResponse""" + def validate_instance(instance): + PushDataResponse.model_validate(inst_req_only) + instance_deserialized = PushDataResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_push_data_source_definition_dto.py b/src/visier_platform_sdk/test/test_push_data_source_definition_dto.py new file mode 100644 index 0000000000..2c4e9d0e71 --- /dev/null +++ b/src/visier_platform_sdk/test/test_push_data_source_definition_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.push_data_source_definition_dto import PushDataSourceDefinitionDTO + +class TestPushDataSourceDefinitionDTO(unittest.TestCase): + """PushDataSourceDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PushDataSourceDefinitionDTO: + """Test PushDataSourceDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PushDataSourceDefinitionDTO( + source_id = '', + name = '', + columns = [ + visier_platform_sdk.models.push_data_column_definition_dto.PushDataColumnDefinitionDTO( + column_name = '', + data_type = '', + data_formats = [ + '' + ], + is_mandatory = True, + allow_empty = True, + default_value = '', ) + ], + is_inherited = True + ) + else: + return PushDataSourceDefinitionDTO( + ) + + def testPushDataSourceDefinitionDTO(self): + """Test PushDataSourceDefinitionDTO""" + def validate_instance(instance): + PushDataSourceDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = PushDataSourceDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_push_data_source_definitions_dto.py b/src/visier_platform_sdk/test/test_push_data_source_definitions_dto.py new file mode 100644 index 0000000000..263976bb02 --- /dev/null +++ b/src/visier_platform_sdk/test/test_push_data_source_definitions_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.push_data_source_definitions_dto import PushDataSourceDefinitionsDTO + +class TestPushDataSourceDefinitionsDTO(unittest.TestCase): + """PushDataSourceDefinitionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PushDataSourceDefinitionsDTO: + """Test PushDataSourceDefinitionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PushDataSourceDefinitionsDTO( + sources = [ + visier_platform_sdk.models.push_data_source_definition_dto.PushDataSourceDefinitionDTO( + source_id = '', + name = '', + columns = [ + visier_platform_sdk.models.push_data_column_definition_dto.PushDataColumnDefinitionDTO( + column_name = '', + data_type = '', + data_formats = [ + '' + ], + is_mandatory = True, + allow_empty = True, + default_value = '', ) + ], + is_inherited = True, ) + ] + ) + else: + return PushDataSourceDefinitionsDTO( + ) + + def testPushDataSourceDefinitionsDTO(self): + """Test PushDataSourceDefinitionsDTO""" + def validate_instance(instance): + PushDataSourceDefinitionsDTO.model_validate(inst_req_only) + instance_deserialized = PushDataSourceDefinitionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_put_project_commits_request.py b/src/visier_platform_sdk/test/test_put_project_commits_request.py new file mode 100644 index 0000000000..d801fef539 --- /dev/null +++ b/src/visier_platform_sdk/test/test_put_project_commits_request.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest + +class TestPutProjectCommitsRequest(unittest.TestCase): + """PutProjectCommitsRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PutProjectCommitsRequest: + """Test PutProjectCommitsRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PutProjectCommitsRequest( + project_id = '' + ) + else: + return PutProjectCommitsRequest( + ) + + def testPutProjectCommitsRequest(self): + """Test PutProjectCommitsRequest""" + def validate_instance(instance): + PutProjectCommitsRequest.model_validate(inst_req_only) + instance_deserialized = PutProjectCommitsRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_qualtrics_auth_params_dto.py b/src/visier_platform_sdk/test/test_qualtrics_auth_params_dto.py new file mode 100644 index 0000000000..5c04830a26 --- /dev/null +++ b/src/visier_platform_sdk/test/test_qualtrics_auth_params_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.qualtrics_auth_params_dto import QualtricsAuthParamsDTO + +class TestQualtricsAuthParamsDTO(unittest.TestCase): + """QualtricsAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QualtricsAuthParamsDTO: + """Test QualtricsAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QualtricsAuthParamsDTO( + api_token = '', + data_center_id = '' + ) + else: + return QualtricsAuthParamsDTO( + ) + + def testQualtricsAuthParamsDTO(self): + """Test QualtricsAuthParamsDTO""" + def validate_instance(instance): + QualtricsAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = QualtricsAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_axis_dto.py b/src/visier_platform_sdk/test/test_query_axis_dto.py new file mode 100644 index 0000000000..e05f339b14 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_axis_dto.py @@ -0,0 +1,109 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_axis_dto import QueryAxisDTO + +class TestQueryAxisDTO(unittest.TestCase): + """QueryAxisDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryAxisDTO: + """Test QueryAxisDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryAxisDTO( + formula = '', + selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( + name = '', + qualifying_path = '', ), + dimension_member_selection = visier_platform_sdk.models.query_dimension_member_selection_dto.QueryDimensionMemberSelectionDTO( + dimension = None, + members = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ], ), + member_map_selection = visier_platform_sdk.models.query_member_map_selection_dto.QueryMemberMapSelectionDTO( + member_map = None, + target_dimension_name = '', + members = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ], ), + numeric_ranges = visier_platform_sdk.models.query_numeric_ranges_dto.QueryNumericRangesDTO( + property = None, + ranges = '', + include_negative = True, + include_independent_zero_range = True, + include_all_member = True, ), + dimension_level_selection = visier_platform_sdk.models.query_dimension_level_selection_dto.QueryDimensionLevelSelectionDTO( + dimension = None, + level_ids = [ + '' + ], + level_depths = [ + 56 + ], ), + dimension_leaf_member_selection = visier_platform_sdk.models.query_dimension_leaf_selection_dto.QueryDimensionLeafSelectionDTO( + dimension = None, ), + dimension_data_member_selection = visier_platform_sdk.models.query_dimension_data_member_selection_dto.QueryDimensionDataMemberSelectionDTO( + dimension = None, ), + dimension_level_with_uncategorized_value_selection = visier_platform_sdk.models.query_dimension_level_selection_dto.QueryDimensionLevelSelectionDTO( + dimension = None, + level_ids = [ + '' + ], + level_depths = [ + 56 + ], ), + table_axis_options = visier_platform_sdk.models.query_axis_options_dto.QueryAxisOptionsDTO( + member_display_mode = 'UNCHANGED', + column_name = '', ) + ) + else: + return QueryAxisDTO( + ) + + def testQueryAxisDTO(self): + """Test QueryAxisDTO""" + def validate_instance(instance): + QueryAxisDTO.model_validate(inst_req_only) + instance_deserialized = QueryAxisDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_axis_options_dto.py b/src/visier_platform_sdk/test/test_query_axis_options_dto.py new file mode 100644 index 0000000000..302e50b0d8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_axis_options_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_axis_options_dto import QueryAxisOptionsDTO + +class TestQueryAxisOptionsDTO(unittest.TestCase): + """QueryAxisOptionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryAxisOptionsDTO: + """Test QueryAxisOptionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryAxisOptionsDTO( + member_display_mode = 'UNCHANGED', + column_name = '' + ) + else: + return QueryAxisOptionsDTO( + ) + + def testQueryAxisOptionsDTO(self): + """Test QueryAxisOptionsDTO""" + def validate_instance(instance): + QueryAxisOptionsDTO.model_validate(inst_req_only) + instance_deserialized = QueryAxisOptionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_dimension_data_member_selection_dto.py b/src/visier_platform_sdk/test/test_query_dimension_data_member_selection_dto.py new file mode 100644 index 0000000000..4d74200d4c --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_dimension_data_member_selection_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_dimension_data_member_selection_dto import QueryDimensionDataMemberSelectionDTO + +class TestQueryDimensionDataMemberSelectionDTO(unittest.TestCase): + """QueryDimensionDataMemberSelectionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryDimensionDataMemberSelectionDTO: + """Test QueryDimensionDataMemberSelectionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryDimensionDataMemberSelectionDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ) + ) + else: + return QueryDimensionDataMemberSelectionDTO( + ) + + def testQueryDimensionDataMemberSelectionDTO(self): + """Test QueryDimensionDataMemberSelectionDTO""" + def validate_instance(instance): + QueryDimensionDataMemberSelectionDTO.model_validate(inst_req_only) + instance_deserialized = QueryDimensionDataMemberSelectionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_dimension_leaf_selection_dto.py b/src/visier_platform_sdk/test/test_query_dimension_leaf_selection_dto.py new file mode 100644 index 0000000000..71e07130dd --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_dimension_leaf_selection_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_dimension_leaf_selection_dto import QueryDimensionLeafSelectionDTO + +class TestQueryDimensionLeafSelectionDTO(unittest.TestCase): + """QueryDimensionLeafSelectionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryDimensionLeafSelectionDTO: + """Test QueryDimensionLeafSelectionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryDimensionLeafSelectionDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ) + ) + else: + return QueryDimensionLeafSelectionDTO( + ) + + def testQueryDimensionLeafSelectionDTO(self): + """Test QueryDimensionLeafSelectionDTO""" + def validate_instance(instance): + QueryDimensionLeafSelectionDTO.model_validate(inst_req_only) + instance_deserialized = QueryDimensionLeafSelectionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_dimension_level_property_dto.py b/src/visier_platform_sdk/test/test_query_dimension_level_property_dto.py new file mode 100644 index 0000000000..4781892ced --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_dimension_level_property_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_dimension_level_property_dto import QueryDimensionLevelPropertyDTO + +class TestQueryDimensionLevelPropertyDTO(unittest.TestCase): + """QueryDimensionLevelPropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryDimensionLevelPropertyDTO: + """Test QueryDimensionLevelPropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryDimensionLevelPropertyDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ), + member_value_mode = 'NAME', + level_id = '', + level_depth = 56 + ) + else: + return QueryDimensionLevelPropertyDTO( + ) + + def testQueryDimensionLevelPropertyDTO(self): + """Test QueryDimensionLevelPropertyDTO""" + def validate_instance(instance): + QueryDimensionLevelPropertyDTO.model_validate(inst_req_only) + instance_deserialized = QueryDimensionLevelPropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_dimension_level_selection_dto.py b/src/visier_platform_sdk/test/test_query_dimension_level_selection_dto.py new file mode 100644 index 0000000000..9cc4850cee --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_dimension_level_selection_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_dimension_level_selection_dto import QueryDimensionLevelSelectionDTO + +class TestQueryDimensionLevelSelectionDTO(unittest.TestCase): + """QueryDimensionLevelSelectionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryDimensionLevelSelectionDTO: + """Test QueryDimensionLevelSelectionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryDimensionLevelSelectionDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ), + level_ids = [ + '' + ], + level_depths = [ + 56 + ] + ) + else: + return QueryDimensionLevelSelectionDTO( + ) + + def testQueryDimensionLevelSelectionDTO(self): + """Test QueryDimensionLevelSelectionDTO""" + def validate_instance(instance): + QueryDimensionLevelSelectionDTO.model_validate(inst_req_only) + instance_deserialized = QueryDimensionLevelSelectionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_dimension_member_selection_dto.py b/src/visier_platform_sdk/test/test_query_dimension_member_selection_dto.py new file mode 100644 index 0000000000..aceadca275 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_dimension_member_selection_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_dimension_member_selection_dto import QueryDimensionMemberSelectionDTO + +class TestQueryDimensionMemberSelectionDTO(unittest.TestCase): + """QueryDimensionMemberSelectionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryDimensionMemberSelectionDTO: + """Test QueryDimensionMemberSelectionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryDimensionMemberSelectionDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ), + members = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ] + ) + else: + return QueryDimensionMemberSelectionDTO( + ) + + def testQueryDimensionMemberSelectionDTO(self): + """Test QueryDimensionMemberSelectionDTO""" + def validate_instance(instance): + QueryDimensionMemberSelectionDTO.model_validate(inst_req_only) + instance_deserialized = QueryDimensionMemberSelectionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_execution_error_details_dto.py b/src/visier_platform_sdk/test/test_query_execution_error_details_dto.py new file mode 100644 index 0000000000..e357057ccd --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_execution_error_details_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_execution_error_details_dto import QueryExecutionErrorDetailsDTO + +class TestQueryExecutionErrorDetailsDTO(unittest.TestCase): + """QueryExecutionErrorDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryExecutionErrorDetailsDTO: + """Test QueryExecutionErrorDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryExecutionErrorDetailsDTO( + object_type = '', + query_index = 56, + column_index = 56, + error = '' + ) + else: + return QueryExecutionErrorDetailsDTO( + ) + + def testQueryExecutionErrorDetailsDTO(self): + """Test QueryExecutionErrorDetailsDTO""" + def validate_instance(instance): + QueryExecutionErrorDetailsDTO.model_validate(inst_req_only) + instance_deserialized = QueryExecutionErrorDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_execution_error_dto.py b/src/visier_platform_sdk/test/test_query_execution_error_dto.py new file mode 100644 index 0000000000..9dc8b4fac7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_execution_error_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_execution_error_dto import QueryExecutionErrorDTO + +class TestQueryExecutionErrorDTO(unittest.TestCase): + """QueryExecutionErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryExecutionErrorDTO: + """Test QueryExecutionErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryExecutionErrorDTO( + error_code = '', + message = '', + all_errors = [ + visier_platform_sdk.models.query_execution_errors_dto.QueryExecutionErrorsDTO( + error_code = '', + message = '', + all_error_details = [ + visier_platform_sdk.models.query_execution_error_details_dto.QueryExecutionErrorDetailsDTO( + object_type = '', + query_index = 56, + column_index = 56, + error = '', ) + ], ) + ] + ) + else: + return QueryExecutionErrorDTO( + ) + + def testQueryExecutionErrorDTO(self): + """Test QueryExecutionErrorDTO""" + def validate_instance(instance): + QueryExecutionErrorDTO.model_validate(inst_req_only) + instance_deserialized = QueryExecutionErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_execution_errors_dto.py b/src/visier_platform_sdk/test/test_query_execution_errors_dto.py new file mode 100644 index 0000000000..68cb3fbc8e --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_execution_errors_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_execution_errors_dto import QueryExecutionErrorsDTO + +class TestQueryExecutionErrorsDTO(unittest.TestCase): + """QueryExecutionErrorsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryExecutionErrorsDTO: + """Test QueryExecutionErrorsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryExecutionErrorsDTO( + error_code = '', + message = '', + all_error_details = [ + visier_platform_sdk.models.query_execution_error_details_dto.QueryExecutionErrorDetailsDTO( + object_type = '', + query_index = 56, + column_index = 56, + error = '', ) + ] + ) + else: + return QueryExecutionErrorsDTO( + ) + + def testQueryExecutionErrorsDTO(self): + """Test QueryExecutionErrorsDTO""" + def validate_instance(instance): + QueryExecutionErrorsDTO.model_validate(inst_req_only) + instance_deserialized = QueryExecutionErrorsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_query_execution_options_dto.py new file mode 100644 index 0000000000..e876e43a51 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_execution_options_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_execution_options_dto import QueryExecutionOptionsDTO + +class TestQueryExecutionOptionsDTO(unittest.TestCase): + """QueryExecutionOptionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryExecutionOptionsDTO: + """Test QueryExecutionOptionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryExecutionOptionsDTO( + calendar_type = 'TENANT_CALENDAR', + currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', + currency_conversion_date = '', + lineage_depth = 56, + zero_visibility = 'SHOW', + null_visibility = 'SHOW', + cell_distribution_options = visier_platform_sdk.models.cell_distribution_options_dto.CellDistributionOptionsDTO( + bin_count = 56, ), + axis_visibility = 'SIMPLE', + enable_sparse_results = True, + internal = visier_platform_sdk.models.internal_query_execution_options_dto.InternalQueryExecutionOptionsDTO( + sparse_handling_mode = 'ALLOW', + align_time_axis_to_period_end = True, ), + enable_descending_space = True, + currency_conversion_code = '', + member_display_mode = 'DEFAULT', + axes_overall_value_mode = 'NONE' + ) + else: + return QueryExecutionOptionsDTO( + ) + + def testQueryExecutionOptionsDTO(self): + """Test QueryExecutionOptionsDTO""" + def validate_instance(instance): + QueryExecutionOptionsDTO.model_validate(inst_req_only) + instance_deserialized = QueryExecutionOptionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_filter_dto.py b/src/visier_platform_sdk/test/test_query_filter_dto.py new file mode 100644 index 0000000000..b77ba29d6a --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_filter_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_filter_dto import QueryFilterDTO + +class TestQueryFilterDTO(unittest.TestCase): + """QueryFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryFilterDTO: + """Test QueryFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryFilterDTO( + formula = '', + selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( + name = '', + qualifying_path = '', ), + member_set = visier_platform_sdk.models.member_filter_dto.MemberFilterDTO( + dimension = None, + values = None, ), + cohort = visier_platform_sdk.models.cohort_filter_dto.CohortFilterDTO( + key_group = None, + exclude = True, + time_interval = None, ) + ) + else: + return QueryFilterDTO( + ) + + def testQueryFilterDTO(self): + """Test QueryFilterDTO""" + def validate_instance(instance): + QueryFilterDTO.model_validate(inst_req_only) + instance_deserialized = QueryFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_member_map_property_dto.py b/src/visier_platform_sdk/test/test_query_member_map_property_dto.py new file mode 100644 index 0000000000..38bda36466 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_member_map_property_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_member_map_property_dto import QueryMemberMapPropertyDTO + +class TestQueryMemberMapPropertyDTO(unittest.TestCase): + """QueryMemberMapPropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryMemberMapPropertyDTO: + """Test QueryMemberMapPropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryMemberMapPropertyDTO( + member_map = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ), + target_dimension_name = '' + ) + else: + return QueryMemberMapPropertyDTO( + ) + + def testQueryMemberMapPropertyDTO(self): + """Test QueryMemberMapPropertyDTO""" + def validate_instance(instance): + QueryMemberMapPropertyDTO.model_validate(inst_req_only) + instance_deserialized = QueryMemberMapPropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_member_map_selection_dto.py b/src/visier_platform_sdk/test/test_query_member_map_selection_dto.py new file mode 100644 index 0000000000..704dd7ca80 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_member_map_selection_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_member_map_selection_dto import QueryMemberMapSelectionDTO + +class TestQueryMemberMapSelectionDTO(unittest.TestCase): + """QueryMemberMapSelectionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryMemberMapSelectionDTO: + """Test QueryMemberMapSelectionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryMemberMapSelectionDTO( + member_map = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ), + target_dimension_name = '', + members = [ + visier_platform_sdk.models.dimension_member_reference_dto.DimensionMemberReferenceDTO( + path = [ + '' + ], + member_id = '', ) + ] + ) + else: + return QueryMemberMapSelectionDTO( + ) + + def testQueryMemberMapSelectionDTO(self): + """Test QueryMemberMapSelectionDTO""" + def validate_instance(instance): + QueryMemberMapSelectionDTO.model_validate(inst_req_only) + instance_deserialized = QueryMemberMapSelectionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_numeric_ranges_dto.py b/src/visier_platform_sdk/test/test_query_numeric_ranges_dto.py new file mode 100644 index 0000000000..1e37aa567b --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_numeric_ranges_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_numeric_ranges_dto import QueryNumericRangesDTO + +class TestQueryNumericRangesDTO(unittest.TestCase): + """QueryNumericRangesDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryNumericRangesDTO: + """Test QueryNumericRangesDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryNumericRangesDTO( + var_property = visier_platform_sdk.models.query_property_dto.QueryPropertyDTO( + formula = '', + property = None, + selection_concept = None, + dimension = None, + member_map_property = None, + effective_date_property = None, + dimension_level_selection = None, ), + ranges = '', + include_negative = True, + include_independent_zero_range = True, + include_all_member = True + ) + else: + return QueryNumericRangesDTO( + ) + + def testQueryNumericRangesDTO(self): + """Test QueryNumericRangesDTO""" + def validate_instance(instance): + QueryNumericRangesDTO.model_validate(inst_req_only) + instance_deserialized = QueryNumericRangesDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_parameter_value_dto.py b/src/visier_platform_sdk/test/test_query_parameter_value_dto.py new file mode 100644 index 0000000000..e679255e82 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_parameter_value_dto.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_parameter_value_dto import QueryParameterValueDTO + +class TestQueryParameterValueDTO(unittest.TestCase): + """QueryParameterValueDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryParameterValueDTO: + """Test QueryParameterValueDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryParameterValueDTO( + member_value = visier_platform_sdk.models.member_parameter_value_dto.MemberParameterValueDTO( + parameter_id = '', + dimension_id = '', + reference_path = [ + '' + ], + values = None, ), + numeric_value = visier_platform_sdk.models.numeric_parameter_value_dto.NumericParameterValueDTO( + parameter_id = '', + value = 1.337, ), + plan_value = visier_platform_sdk.models.plan_parameter_value_dto.PlanParameterValueDTO( + parameter_id = '', + plan_id = '', + scenario_id = '', + snapshot_id = '', ), + aggregation_type_value = visier_platform_sdk.models.aggregation_type_parameter_value_dto.AggregationTypeParameterValueDTO( + parameter_id = '', + aggregation_option_id = '', ) + ) + else: + return QueryParameterValueDTO( + ) + + def testQueryParameterValueDTO(self): + """Test QueryParameterValueDTO""" + def validate_instance(instance): + QueryParameterValueDTO.model_validate(inst_req_only) + instance_deserialized = QueryParameterValueDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_property_dto.py b/src/visier_platform_sdk/test/test_query_property_dto.py new file mode 100644 index 0000000000..28fa622a7a --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_property_dto.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_property_dto import QueryPropertyDTO + +class TestQueryPropertyDTO(unittest.TestCase): + """QueryPropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryPropertyDTO: + """Test QueryPropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryPropertyDTO( + formula = '', + var_property = visier_platform_sdk.models.property_reference_dto.PropertyReferenceDTO( + name = '', + qualifying_path = '', ), + selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( + name = '', + qualifying_path = '', ), + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + name = '', + qualifying_path = '', ), + member_map_property = visier_platform_sdk.models.query_member_map_property_dto.QueryMemberMapPropertyDTO( + member_map = None, + target_dimension_name = '', ), + effective_date_property = None, + dimension_level_selection = visier_platform_sdk.models.query_dimension_level_property_dto.QueryDimensionLevelPropertyDTO( + dimension = None, + member_value_mode = 'NAME', + level_id = '', + level_depth = 56, ) + ) + else: + return QueryPropertyDTO( + ) + + def testQueryPropertyDTO(self): + """Test QueryPropertyDTO""" + def validate_instance(instance): + QueryPropertyDTO.model_validate(inst_req_only) + instance_deserialized = QueryPropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_time_interval_dto.py b/src/visier_platform_sdk/test/test_query_time_interval_dto.py new file mode 100644 index 0000000000..7390394665 --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_time_interval_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_time_interval_dto import QueryTimeIntervalDTO + +class TestQueryTimeIntervalDTO(unittest.TestCase): + """QueryTimeIntervalDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryTimeIntervalDTO: + """Test QueryTimeIntervalDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryTimeIntervalDTO( + from_instant = '', + from_date_time = '', + dynamic_date_from = 'SOURCE', + interval_period_type = 'MONTH', + interval_period_count = 56, + direction = 'BACKWARD', + shift = visier_platform_sdk.models.time_shift_dto.TimeShiftDTO( + period_type = 'MONTH', + period_count = 56, + direction = 'BACKWARD', ) + ) + else: + return QueryTimeIntervalDTO( + ) + + def testQueryTimeIntervalDTO(self): + """Test QueryTimeIntervalDTO""" + def validate_instance(instance): + QueryTimeIntervalDTO.model_validate(inst_req_only) + instance_deserialized = QueryTimeIntervalDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_query_time_intervals_dto.py b/src/visier_platform_sdk/test/test_query_time_intervals_dto.py new file mode 100644 index 0000000000..38f7c02b0c --- /dev/null +++ b/src/visier_platform_sdk/test/test_query_time_intervals_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.query_time_intervals_dto import QueryTimeIntervalsDTO + +class TestQueryTimeIntervalsDTO(unittest.TestCase): + """QueryTimeIntervalsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QueryTimeIntervalsDTO: + """Test QueryTimeIntervalsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QueryTimeIntervalsDTO( + from_instant = '', + from_date_time = '', + dynamic_date_from = 'SOURCE', + interval_period_type = 'MONTH', + interval_period_count = 56, + interval_count = 56, + direction = 'BACKWARD', + shift = visier_platform_sdk.models.time_shift_dto.TimeShiftDTO( + period_type = 'MONTH', + period_count = 56, + direction = 'BACKWARD', ), + trailing_period_type = 'MONTH', + trailing_period_count = 56 + ) + else: + return QueryTimeIntervalsDTO( + ) + + def testQueryTimeIntervalsDTO(self): + """Test QueryTimeIntervalsDTO""" + def validate_instance(instance): + QueryTimeIntervalsDTO.model_validate(inst_req_only) + instance_deserialized = QueryTimeIntervalsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_question_categories_api_response_dto.py b/src/visier_platform_sdk/test/test_question_categories_api_response_dto.py new file mode 100644 index 0000000000..190f4d6fbb --- /dev/null +++ b/src/visier_platform_sdk/test/test_question_categories_api_response_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.question_categories_api_response_dto import QuestionCategoriesAPIResponseDTO + +class TestQuestionCategoriesAPIResponseDTO(unittest.TestCase): + """QuestionCategoriesAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QuestionCategoriesAPIResponseDTO: + """Test QuestionCategoriesAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QuestionCategoriesAPIResponseDTO( + categories = [ + visier_platform_sdk.models.question_category_api_response_dto.QuestionCategoryAPIResponseDTO( + category_id = '', + display_name = '', ) + ] + ) + else: + return QuestionCategoriesAPIResponseDTO( + ) + + def testQuestionCategoriesAPIResponseDTO(self): + """Test QuestionCategoriesAPIResponseDTO""" + def validate_instance(instance): + QuestionCategoriesAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = QuestionCategoriesAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_question_category_api_response_dto.py b/src/visier_platform_sdk/test/test_question_category_api_response_dto.py new file mode 100644 index 0000000000..a8b00f8a2b --- /dev/null +++ b/src/visier_platform_sdk/test/test_question_category_api_response_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.question_category_api_response_dto import QuestionCategoryAPIResponseDTO + +class TestQuestionCategoryAPIResponseDTO(unittest.TestCase): + """QuestionCategoryAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> QuestionCategoryAPIResponseDTO: + """Test QuestionCategoryAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return QuestionCategoryAPIResponseDTO( + category_id = '', + display_name = '' + ) + else: + return QuestionCategoryAPIResponseDTO( + ) + + def testQuestionCategoryAPIResponseDTO(self): + """Test QuestionCategoryAPIResponseDTO""" + def validate_instance(instance): + QuestionCategoryAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = QuestionCategoryAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_receiving_job.py b/src/visier_platform_sdk/test/test_receiving_job.py new file mode 100644 index 0000000000..1269974823 --- /dev/null +++ b/src/visier_platform_sdk/test/test_receiving_job.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.receiving_job import ReceivingJob + +class TestReceivingJob(unittest.TestCase): + """ReceivingJob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReceivingJob: + """Test ReceivingJob + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReceivingJob( + receiving_job_id = '', + tenant_code = '', + status = '' + ) + else: + return ReceivingJob( + ) + + def testReceivingJob(self): + """Test ReceivingJob""" + def validate_instance(instance): + ReceivingJob.model_validate(inst_req_only) + instance_deserialized = ReceivingJob.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_receiving_job_and_status_response.py b/src/visier_platform_sdk/test/test_receiving_job_and_status_response.py new file mode 100644 index 0000000000..388791ff7a --- /dev/null +++ b/src/visier_platform_sdk/test/test_receiving_job_and_status_response.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.receiving_job_and_status_response import ReceivingJobAndStatusResponse + +class TestReceivingJobAndStatusResponse(unittest.TestCase): + """ReceivingJobAndStatusResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReceivingJobAndStatusResponse: + """Test ReceivingJobAndStatusResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReceivingJobAndStatusResponse( + parent_job_id = '', + parent_tenant_code = '', + limit = 56, + start = 56, + receiving_jobs = [ + visier_platform_sdk.models.receiving_job.ReceivingJob( + receiving_job_id = '', + tenant_code = '', + status = '', ) + ] + ) + else: + return ReceivingJobAndStatusResponse( + ) + + def testReceivingJobAndStatusResponse(self): + """Test ReceivingJobAndStatusResponse""" + def validate_instance(instance): + ReceivingJobAndStatusResponse.model_validate(inst_req_only) + instance_deserialized = ReceivingJobAndStatusResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_receiving_job_status_response.py b/src/visier_platform_sdk/test/test_receiving_job_status_response.py new file mode 100644 index 0000000000..7c10801c41 --- /dev/null +++ b/src/visier_platform_sdk/test/test_receiving_job_status_response.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.receiving_job_status_response import ReceivingJobStatusResponse + +class TestReceivingJobStatusResponse(unittest.TestCase): + """ReceivingJobStatusResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReceivingJobStatusResponse: + """Test ReceivingJobStatusResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReceivingJobStatusResponse( + job_id = '', + status = '', + parent_job_id = '', + parent_tenant_code = '', + receiving_jobs = [ + visier_platform_sdk.models.receiving_job.ReceivingJob( + receiving_job_id = '', + tenant_code = '', + status = '', ) + ] + ) + else: + return ReceivingJobStatusResponse( + ) + + def testReceivingJobStatusResponse(self): + """Test ReceivingJobStatusResponse""" + def validate_instance(instance): + ReceivingJobStatusResponse.model_validate(inst_req_only) + instance_deserialized = ReceivingJobStatusResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_redshift_auth_params_dto.py b/src/visier_platform_sdk/test/test_redshift_auth_params_dto.py new file mode 100644 index 0000000000..6b0a416502 --- /dev/null +++ b/src/visier_platform_sdk/test/test_redshift_auth_params_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.redshift_auth_params_dto import RedshiftAuthParamsDTO + +class TestRedshiftAuthParamsDTO(unittest.TestCase): + """RedshiftAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RedshiftAuthParamsDTO: + """Test RedshiftAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RedshiftAuthParamsDTO( + endpoint = '', + port = '', + database = '', + username = '', + password = '', + table_prefix = '', + var_schema = '' + ) + else: + return RedshiftAuthParamsDTO( + ) + + def testRedshiftAuthParamsDTO(self): + """Test RedshiftAuthParamsDTO""" + def validate_instance(instance): + RedshiftAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = RedshiftAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_reduced_error_dto.py b/src/visier_platform_sdk/test/test_reduced_error_dto.py new file mode 100644 index 0000000000..353ce1fd77 --- /dev/null +++ b/src/visier_platform_sdk/test/test_reduced_error_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.reduced_error_dto import ReducedErrorDTO + +class TestReducedErrorDTO(unittest.TestCase): + """ReducedErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReducedErrorDTO: + """Test ReducedErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReducedErrorDTO( + error_message = '' + ) + else: + return ReducedErrorDTO( + ) + + def testReducedErrorDTO(self): + """Test ReducedErrorDTO""" + def validate_instance(instance): + ReducedErrorDTO.model_validate(inst_req_only) + instance_deserialized = ReducedErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_reduced_tenant_code_error_dto.py b/src/visier_platform_sdk/test/test_reduced_tenant_code_error_dto.py new file mode 100644 index 0000000000..cb4b486f8c --- /dev/null +++ b/src/visier_platform_sdk/test/test_reduced_tenant_code_error_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.reduced_tenant_code_error_dto import ReducedTenantCodeErrorDTO + +class TestReducedTenantCodeErrorDTO(unittest.TestCase): + """ReducedTenantCodeErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReducedTenantCodeErrorDTO: + """Test ReducedTenantCodeErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReducedTenantCodeErrorDTO( + tenant_code = '', + for_all_children = True, + error = visier_platform_sdk.models.reduced_error_dto.ReducedErrorDTO( + error_message = '', ) + ) + else: + return ReducedTenantCodeErrorDTO( + ) + + def testReducedTenantCodeErrorDTO(self): + """Test ReducedTenantCodeErrorDTO""" + def validate_instance(instance): + ReducedTenantCodeErrorDTO.model_validate(inst_req_only) + instance_deserialized = ReducedTenantCodeErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_reduced_user_id_error_dto.py b/src/visier_platform_sdk/test/test_reduced_user_id_error_dto.py new file mode 100644 index 0000000000..ec8508cad9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_reduced_user_id_error_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.reduced_user_id_error_dto import ReducedUserIdErrorDTO + +class TestReducedUserIdErrorDTO(unittest.TestCase): + """ReducedUserIdErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReducedUserIdErrorDTO: + """Test ReducedUserIdErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReducedUserIdErrorDTO( + user_id = '', + error = visier_platform_sdk.models.reduced_error_dto.ReducedErrorDTO( + error_message = '', ) + ) + else: + return ReducedUserIdErrorDTO( + ) + + def testReducedUserIdErrorDTO(self): + """Test ReducedUserIdErrorDTO""" + def validate_instance(instance): + ReducedUserIdErrorDTO.model_validate(inst_req_only) + instance_deserialized = ReducedUserIdErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_related_analytic_object_dto.py b/src/visier_platform_sdk/test/test_related_analytic_object_dto.py new file mode 100644 index 0000000000..3783d1b958 --- /dev/null +++ b/src/visier_platform_sdk/test/test_related_analytic_object_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.related_analytic_object_dto import RelatedAnalyticObjectDTO + +class TestRelatedAnalyticObjectDTO(unittest.TestCase): + """RelatedAnalyticObjectDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RelatedAnalyticObjectDTO: + """Test RelatedAnalyticObjectDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RelatedAnalyticObjectDTO( + analytic_object_id = '', + display_name = '' + ) + else: + return RelatedAnalyticObjectDTO( + ) + + def testRelatedAnalyticObjectDTO(self): + """Test RelatedAnalyticObjectDTO""" + def validate_instance(instance): + RelatedAnalyticObjectDTO.model_validate(inst_req_only) + instance_deserialized = RelatedAnalyticObjectDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_report_create_request_dto.py b/src/visier_platform_sdk/test/test_report_create_request_dto.py new file mode 100644 index 0000000000..23a62d8264 --- /dev/null +++ b/src/visier_platform_sdk/test/test_report_create_request_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.report_create_request_dto import ReportCreateRequestDTO + +class TestReportCreateRequestDTO(unittest.TestCase): + """ReportCreateRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReportCreateRequestDTO: + """Test ReportCreateRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReportCreateRequestDTO( + title = '', + description = '' + ) + else: + return ReportCreateRequestDTO( + ) + + def testReportCreateRequestDTO(self): + """Test ReportCreateRequestDTO""" + def validate_instance(instance): + ReportCreateRequestDTO.model_validate(inst_req_only) + instance_deserialized = ReportCreateRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_report_delete_success_dto.py b/src/visier_platform_sdk/test/test_report_delete_success_dto.py new file mode 100644 index 0000000000..d74356e368 --- /dev/null +++ b/src/visier_platform_sdk/test/test_report_delete_success_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.report_delete_success_dto import ReportDeleteSuccessDTO + +class TestReportDeleteSuccessDTO(unittest.TestCase): + """ReportDeleteSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReportDeleteSuccessDTO: + """Test ReportDeleteSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReportDeleteSuccessDTO( + id = '' + ) + else: + return ReportDeleteSuccessDTO( + ) + + def testReportDeleteSuccessDTO(self): + """Test ReportDeleteSuccessDTO""" + def validate_instance(instance): + ReportDeleteSuccessDTO.model_validate(inst_req_only) + instance_deserialized = ReportDeleteSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_report_dto.py b/src/visier_platform_sdk/test/test_report_dto.py new file mode 100644 index 0000000000..901ac8f204 --- /dev/null +++ b/src/visier_platform_sdk/test/test_report_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.report_dto import ReportDTO + +class TestReportDTO(unittest.TestCase): + """ReportDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReportDTO: + """Test ReportDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReportDTO( + id = '', + title = '', + description = '', + updated_time = '', + is_published_report = True, + owner = '', + is_owned_by_user = True, + allowed_actions = [ + 'duplicate' + ], + link = '' + ) + else: + return ReportDTO( + ) + + def testReportDTO(self): + """Test ReportDTO""" + def validate_instance(instance): + ReportDTO.model_validate(inst_req_only) + instance_deserialized = ReportDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_report_list_response_dto.py b/src/visier_platform_sdk/test/test_report_list_response_dto.py new file mode 100644 index 0000000000..fe5443e520 --- /dev/null +++ b/src/visier_platform_sdk/test/test_report_list_response_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.report_list_response_dto import ReportListResponseDTO + +class TestReportListResponseDTO(unittest.TestCase): + """ReportListResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ReportListResponseDTO: + """Test ReportListResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ReportListResponseDTO( + reports = [ + visier_platform_sdk.models.report_dto.ReportDTO( + id = '', + title = '', + description = '', + updated_time = '', + is_published_report = True, + owner = '', + is_owned_by_user = True, + allowed_actions = [ + 'duplicate' + ], + link = '', ) + ] + ) + else: + return ReportListResponseDTO( + ) + + def testReportListResponseDTO(self): + """Test ReportListResponseDTO""" + def validate_instance(instance): + ReportListResponseDTO.model_validate(inst_req_only) + instance_deserialized = ReportListResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_result.py b/src/visier_platform_sdk/test/test_result.py new file mode 100644 index 0000000000..2e5cc0c800 --- /dev/null +++ b/src/visier_platform_sdk/test/test_result.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.result import Result + +class TestResult(unittest.TestCase): + """Result unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Result: + """Test Result + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return Result( + job_id = '', + data_version = '', + tenant_code = '', + status = '', + message = '' + ) + else: + return Result( + ) + + def testResult(self): + """Test Result""" + def validate_instance(instance): + Result.model_validate(inst_req_only) + instance_deserialized = Result.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_role_modules_config_dto.py b/src/visier_platform_sdk/test/test_role_modules_config_dto.py new file mode 100644 index 0000000000..251f4bca51 --- /dev/null +++ b/src/visier_platform_sdk/test/test_role_modules_config_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.role_modules_config_dto import RoleModulesConfigDTO + +class TestRoleModulesConfigDTO(unittest.TestCase): + """RoleModulesConfigDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RoleModulesConfigDTO: + """Test RoleModulesConfigDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RoleModulesConfigDTO( + content_package_ids = [ + '' + ] + ) + else: + return RoleModulesConfigDTO( + ) + + def testRoleModulesConfigDTO(self): + """Test RoleModulesConfigDTO""" + def validate_instance(instance): + RoleModulesConfigDTO.model_validate(inst_req_only) + instance_deserialized = RoleModulesConfigDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_salary_benchmark_input.py b/src/visier_platform_sdk/test/test_salary_benchmark_input.py index 428d44bb43..2a980410f9 100644 --- a/src/visier_platform_sdk/test/test_salary_benchmark_input.py +++ b/src/visier_platform_sdk/test/test_salary_benchmark_input.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.salary_benchmark_input import SalaryBenchmarkInput class TestSalaryBenchmarkInput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SalaryBenchmarkInput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SalaryBenchmarkInput` - """ - model = SalaryBenchmarkInput() + if include_optional: return SalaryBenchmarkInput( uuid = '', @@ -49,12 +48,19 @@ def make_instance(self, include_optional) -> SalaryBenchmarkInput: uuid = '', job = '', ) - """ def testSalaryBenchmarkInput(self): """Test SalaryBenchmarkInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SalaryBenchmarkInput.model_validate(inst_req_only) + instance_deserialized = SalaryBenchmarkInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_failure_output.py b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_failure_output.py index 87dcdc5744..f8b18fdc6f 100644 --- a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_failure_output.py +++ b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_failure_output.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.salary_benchmarks_batch_processing_failure_output import SalaryBenchmarksBatchProcessingFailureOutput class TestSalaryBenchmarksBatchProcessingFailureOutput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SalaryBenchmarksBatchProcessingFail include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SalaryBenchmarksBatchProcessingFailureOutput` - """ - model = SalaryBenchmarksBatchProcessingFailureOutput() + if include_optional: return SalaryBenchmarksBatchProcessingFailureOutput( uuid = '', @@ -50,12 +49,19 @@ def make_instance(self, include_optional) -> SalaryBenchmarksBatchProcessingFail rci = '', error_code = '', ) - """ def testSalaryBenchmarksBatchProcessingFailureOutput(self): """Test SalaryBenchmarksBatchProcessingFailureOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SalaryBenchmarksBatchProcessingFailureOutput.model_validate(inst_req_only) + instance_deserialized = SalaryBenchmarksBatchProcessingFailureOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_outputs.py b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_outputs.py index b6dcd02a71..e3aba702ce 100644 --- a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_outputs.py +++ b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_outputs.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.salary_benchmarks_batch_processing_outputs import SalaryBenchmarksBatchProcessingOutputs class TestSalaryBenchmarksBatchProcessingOutputs(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SalaryBenchmarksBatchProcessingOutp include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SalaryBenchmarksBatchProcessingOutputs` - """ - model = SalaryBenchmarksBatchProcessingOutputs() + if include_optional: return SalaryBenchmarksBatchProcessingOutputs( successes = [ @@ -63,12 +62,19 @@ def make_instance(self, include_optional) -> SalaryBenchmarksBatchProcessingOutp else: return SalaryBenchmarksBatchProcessingOutputs( ) - """ def testSalaryBenchmarksBatchProcessingOutputs(self): """Test SalaryBenchmarksBatchProcessingOutputs""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SalaryBenchmarksBatchProcessingOutputs.model_validate(inst_req_only) + instance_deserialized = SalaryBenchmarksBatchProcessingOutputs.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_successful_output.py b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_successful_output.py index 2a16be5f36..c20c60d2a1 100644 --- a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_successful_output.py +++ b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_successful_output.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.salary_benchmarks_batch_processing_successful_output import SalaryBenchmarksBatchProcessingSuccessfulOutput class TestSalaryBenchmarksBatchProcessingSuccessfulOutput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SalaryBenchmarksBatchProcessingSucc include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SalaryBenchmarksBatchProcessingSuccessfulOutput` - """ - model = SalaryBenchmarksBatchProcessingSuccessfulOutput() + if include_optional: return SalaryBenchmarksBatchProcessingSuccessfulOutput( uuid = '', @@ -64,12 +63,19 @@ def make_instance(self, include_optional) -> SalaryBenchmarksBatchProcessingSucc industry_id = '', career_level_id = '', ) - """ def testSalaryBenchmarksBatchProcessingSuccessfulOutput(self): """Test SalaryBenchmarksBatchProcessingSuccessfulOutput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SalaryBenchmarksBatchProcessingSuccessfulOutput.model_validate(inst_req_only) + instance_deserialized = SalaryBenchmarksBatchProcessingSuccessfulOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_salesforce_auth_params_dto.py b/src/visier_platform_sdk/test/test_salesforce_auth_params_dto.py new file mode 100644 index 0000000000..12fd0c9daf --- /dev/null +++ b/src/visier_platform_sdk/test/test_salesforce_auth_params_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.salesforce_auth_params_dto import SalesforceAuthParamsDTO + +class TestSalesforceAuthParamsDTO(unittest.TestCase): + """SalesforceAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SalesforceAuthParamsDTO: + """Test SalesforceAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SalesforceAuthParamsDTO( + refresh_token = '', + client_id = '' + ) + else: + return SalesforceAuthParamsDTO( + ) + + def testSalesforceAuthParamsDTO(self): + """Test SalesforceAuthParamsDTO""" + def validate_instance(instance): + SalesforceAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = SalesforceAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_salesforce_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_salesforce_v2_auth_params_dto.py new file mode 100644 index 0000000000..c31710dff5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_salesforce_v2_auth_params_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.salesforce_v2_auth_params_dto import SalesforceV2AuthParamsDTO + +class TestSalesforceV2AuthParamsDTO(unittest.TestCase): + """SalesforceV2AuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SalesforceV2AuthParamsDTO: + """Test SalesforceV2AuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SalesforceV2AuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '', + login_host = '' + ) + else: + return SalesforceV2AuthParamsDTO( + ) + + def testSalesforceV2AuthParamsDTO(self): + """Test SalesforceV2AuthParamsDTO""" + def validate_instance(instance): + SalesforceV2AuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = SalesforceV2AuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_sample_question_api_response_dto.py b/src/visier_platform_sdk/test/test_sample_question_api_response_dto.py new file mode 100644 index 0000000000..07f6cc95ad --- /dev/null +++ b/src/visier_platform_sdk/test/test_sample_question_api_response_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.sample_question_api_response_dto import SampleQuestionAPIResponseDTO + +class TestSampleQuestionAPIResponseDTO(unittest.TestCase): + """SampleQuestionAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SampleQuestionAPIResponseDTO: + """Test SampleQuestionAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SampleQuestionAPIResponseDTO( + question = '', + question_id = '', + visible_in_vee = True, + category_id = '', + user_group_assignment = visier_platform_sdk.models.user_group_assignment_dto.UserGroupAssignmentDTO( + user_group_ids = [ + '' + ], ) + ) + else: + return SampleQuestionAPIResponseDTO( + ) + + def testSampleQuestionAPIResponseDTO(self): + """Test SampleQuestionAPIResponseDTO""" + def validate_instance(instance): + SampleQuestionAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = SampleQuestionAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_sample_questions_api_response_dto.py b/src/visier_platform_sdk/test/test_sample_questions_api_response_dto.py new file mode 100644 index 0000000000..e672a05685 --- /dev/null +++ b/src/visier_platform_sdk/test/test_sample_questions_api_response_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.sample_questions_api_response_dto import SampleQuestionsAPIResponseDTO + +class TestSampleQuestionsAPIResponseDTO(unittest.TestCase): + """SampleQuestionsAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SampleQuestionsAPIResponseDTO: + """Test SampleQuestionsAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SampleQuestionsAPIResponseDTO( + questions = [ + visier_platform_sdk.models.sample_question_api_response_dto.SampleQuestionAPIResponseDTO( + question = '', + question_id = '', + visible_in_vee = True, + category_id = '', + user_group_assignment = None, ) + ] + ) + else: + return SampleQuestionsAPIResponseDTO( + ) + + def testSampleQuestionsAPIResponseDTO(self): + """Test SampleQuestionsAPIResponseDTO""" + def validate_instance(instance): + SampleQuestionsAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = SampleQuestionsAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_scenario_info_dto.py b/src/visier_platform_sdk/test/test_scenario_info_dto.py new file mode 100644 index 0000000000..a1179e307b --- /dev/null +++ b/src/visier_platform_sdk/test/test_scenario_info_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.scenario_info_dto import ScenarioInfoDTO + +class TestScenarioInfoDTO(unittest.TestCase): + """ScenarioInfoDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ScenarioInfoDTO: + """Test ScenarioInfoDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ScenarioInfoDTO( + uuid = '', + display_name = '', + versioned_scenario_id = '' + ) + else: + return ScenarioInfoDTO( + ) + + def testScenarioInfoDTO(self): + """Test ScenarioInfoDTO""" + def validate_instance(instance): + ScenarioInfoDTO.model_validate(inst_req_only) + instance_deserialized = ScenarioInfoDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_scenario_or_snapshot_dto.py b/src/visier_platform_sdk/test/test_scenario_or_snapshot_dto.py new file mode 100644 index 0000000000..0cf0a8a034 --- /dev/null +++ b/src/visier_platform_sdk/test/test_scenario_or_snapshot_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.scenario_or_snapshot_dto import ScenarioOrSnapshotDTO + +class TestScenarioOrSnapshotDTO(unittest.TestCase): + """ScenarioOrSnapshotDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ScenarioOrSnapshotDTO: + """Test ScenarioOrSnapshotDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ScenarioOrSnapshotDTO( + id = '', + display_name = '' + ) + else: + return ScenarioOrSnapshotDTO( + ) + + def testScenarioOrSnapshotDTO(self): + """Test ScenarioOrSnapshotDTO""" + def validate_instance(instance): + ScenarioOrSnapshotDTO.model_validate(inst_req_only) + instance_deserialized = ScenarioOrSnapshotDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_securable_dimension_dto.py b/src/visier_platform_sdk/test/test_securable_dimension_dto.py new file mode 100644 index 0000000000..3b1666fb6b --- /dev/null +++ b/src/visier_platform_sdk/test/test_securable_dimension_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.securable_dimension_dto import SecurableDimensionDTO + +class TestSecurableDimensionDTO(unittest.TestCase): + """SecurableDimensionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SecurableDimensionDTO: + """Test SecurableDimensionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SecurableDimensionDTO( + dimension_id = '', + display_name = '', + analytic_object_ids = [ + '' + ], + hierarchy_properties = [ + visier_platform_sdk.models.hierarchy_property_dto.HierarchyPropertyDTO( + hierarchy_property_id = '', + display_name = '', ) + ] + ) + else: + return SecurableDimensionDTO( + ) + + def testSecurableDimensionDTO(self): + """Test SecurableDimensionDTO""" + def validate_instance(instance): + SecurableDimensionDTO.model_validate(inst_req_only) + instance_deserialized = SecurableDimensionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_securable_property_dto.py b/src/visier_platform_sdk/test/test_securable_property_dto.py new file mode 100644 index 0000000000..51c99944bc --- /dev/null +++ b/src/visier_platform_sdk/test/test_securable_property_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.securable_property_dto import SecurablePropertyDTO + +class TestSecurablePropertyDTO(unittest.TestCase): + """SecurablePropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SecurablePropertyDTO: + """Test SecurablePropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SecurablePropertyDTO( + property_id = '', + display_name = '', + analytic_object_id = '', + is_primary_key = True, + reference_symbol_name = '' + ) + else: + return SecurablePropertyDTO( + ) + + def testSecurablePropertyDTO(self): + """Test SecurablePropertyDTO""" + def validate_instance(instance): + SecurablePropertyDTO.model_validate(inst_req_only) + instance_deserialized = SecurablePropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_security_assignment_response_dto.py b/src/visier_platform_sdk/test/test_security_assignment_response_dto.py new file mode 100644 index 0000000000..25b990591e --- /dev/null +++ b/src/visier_platform_sdk/test/test_security_assignment_response_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.security_assignment_response_dto import SecurityAssignmentResponseDTO + +class TestSecurityAssignmentResponseDTO(unittest.TestCase): + """SecurityAssignmentResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SecurityAssignmentResponseDTO: + """Test SecurityAssignmentResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SecurityAssignmentResponseDTO( + tenants = [ + visier_platform_sdk.models.tenant_assignments_dto.TenantAssignmentsDTO( + tenant_code = '', + status = 'Unknown', + message = '', + assignments = [ + visier_platform_sdk.models.user_security_assignments_dto.UserSecurityAssignmentsDTO( + id = '', + name = '', + users = [ + visier_platform_sdk.models.simple_user_dto.SimpleUserDTO( + user_id = '', + username = '', ) + ], ) + ], + project_id = '', ) + ] + ) + else: + return SecurityAssignmentResponseDTO( + ) + + def testSecurityAssignmentResponseDTO(self): + """Test SecurityAssignmentResponseDTO""" + def validate_instance(instance): + SecurityAssignmentResponseDTO.model_validate(inst_req_only) + instance_deserialized = SecurityAssignmentResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_selection_concept_configuration_dto.py b/src/visier_platform_sdk/test/test_selection_concept_configuration_dto.py new file mode 100644 index 0000000000..49cbf26935 --- /dev/null +++ b/src/visier_platform_sdk/test/test_selection_concept_configuration_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.selection_concept_configuration_dto import SelectionConceptConfigurationDTO + +class TestSelectionConceptConfigurationDTO(unittest.TestCase): + """SelectionConceptConfigurationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SelectionConceptConfigurationDTO: + """Test SelectionConceptConfigurationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SelectionConceptConfigurationDTO( + analytic_object_filters = [ + visier_platform_sdk.models.analytic_object_filter_dto.AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ], ) + ] + ) + else: + return SelectionConceptConfigurationDTO( + ) + + def testSelectionConceptConfigurationDTO(self): + """Test SelectionConceptConfigurationDTO""" + def validate_instance(instance): + SelectionConceptConfigurationDTO.model_validate(inst_req_only) + instance_deserialized = SelectionConceptConfigurationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_selection_concept_configuration_map_dto.py b/src/visier_platform_sdk/test/test_selection_concept_configuration_map_dto.py new file mode 100644 index 0000000000..0aebba0a2c --- /dev/null +++ b/src/visier_platform_sdk/test/test_selection_concept_configuration_map_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.selection_concept_configuration_map_dto import SelectionConceptConfigurationMapDTO + +class TestSelectionConceptConfigurationMapDTO(unittest.TestCase): + """SelectionConceptConfigurationMapDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SelectionConceptConfigurationMapDTO: + """Test SelectionConceptConfigurationMapDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SelectionConceptConfigurationMapDTO( + analytic_object_filters_to_map = [ + visier_platform_sdk.models.analytic_object_filter_dto.AnalyticObjectFilterDTO( + analytic_object_uuid = '', + symbol_name = '', + dimensions = [ + visier_platform_sdk.models.designer_dimension_filter_dto.DesignerDimensionFilterDTO( + dimension_id = '', + symbol_name = '', + dimension_members = [ + visier_platform_sdk.models.dimension_member_dto.DimensionMemberDTO( + dimension_member = [ + '' + ], ) + ], ) + ], ) + ] + ) + else: + return SelectionConceptConfigurationMapDTO( + ) + + def testSelectionConceptConfigurationMapDTO(self): + """Test SelectionConceptConfigurationMapDTO""" + def validate_instance(instance): + SelectionConceptConfigurationMapDTO.model_validate(inst_req_only) + instance_deserialized = SelectionConceptConfigurationMapDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_selection_concept_dto.py b/src/visier_platform_sdk/test/test_selection_concept_dto.py new file mode 100644 index 0000000000..bb02f934c8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_selection_concept_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.selection_concept_dto import SelectionConceptDTO + +class TestSelectionConceptDTO(unittest.TestCase): + """SelectionConceptDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SelectionConceptDTO: + """Test SelectionConceptDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SelectionConceptDTO( + id = '', + display_name = '', + description = '', + visible_in_app = True, + tags = [ + visier_platform_sdk.models.tag_map_element_dto.TagMapElementDTO( + id = '', + display_name = '', ) + ], + explanation = '' + ) + else: + return SelectionConceptDTO( + ) + + def testSelectionConceptDTO(self): + """Test SelectionConceptDTO""" + def validate_instance(instance): + SelectionConceptDTO.model_validate(inst_req_only) + instance_deserialized = SelectionConceptDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_selection_concept_list_dto.py b/src/visier_platform_sdk/test/test_selection_concept_list_dto.py new file mode 100644 index 0000000000..84cde1e606 --- /dev/null +++ b/src/visier_platform_sdk/test/test_selection_concept_list_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.selection_concept_list_dto import SelectionConceptListDTO + +class TestSelectionConceptListDTO(unittest.TestCase): + """SelectionConceptListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SelectionConceptListDTO: + """Test SelectionConceptListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SelectionConceptListDTO( + concepts = [ + visier_platform_sdk.models.designer_selection_concept_dto.DesignerSelectionConceptDTO( + uuid = '', + name = '', + configuration = None, ) + ] + ) + else: + return SelectionConceptListDTO( + ) + + def testSelectionConceptListDTO(self): + """Test SelectionConceptListDTO""" + def validate_instance(instance): + SelectionConceptListDTO.model_validate(inst_req_only) + instance_deserialized = SelectionConceptListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_selection_concept_reference_dto.py b/src/visier_platform_sdk/test/test_selection_concept_reference_dto.py new file mode 100644 index 0000000000..2ea23018d5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_selection_concept_reference_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.selection_concept_reference_dto import SelectionConceptReferenceDTO + +class TestSelectionConceptReferenceDTO(unittest.TestCase): + """SelectionConceptReferenceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SelectionConceptReferenceDTO: + """Test SelectionConceptReferenceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SelectionConceptReferenceDTO( + name = '', + qualifying_path = '' + ) + else: + return SelectionConceptReferenceDTO( + ) + + def testSelectionConceptReferenceDTO(self): + """Test SelectionConceptReferenceDTO""" + def validate_instance(instance): + SelectionConceptReferenceDTO.model_validate(inst_req_only) + instance_deserialized = SelectionConceptReferenceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_selection_concepts_dto.py b/src/visier_platform_sdk/test/test_selection_concepts_dto.py new file mode 100644 index 0000000000..9b39336120 --- /dev/null +++ b/src/visier_platform_sdk/test/test_selection_concepts_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.selection_concepts_dto import SelectionConceptsDTO + +class TestSelectionConceptsDTO(unittest.TestCase): + """SelectionConceptsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SelectionConceptsDTO: + """Test SelectionConceptsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SelectionConceptsDTO( + selection_concepts = [ + visier_platform_sdk.models.selection_concept_dto.SelectionConceptDTO( + id = '', + display_name = '', + description = '', + visible_in_app = True, + tags = [ + visier_platform_sdk.models.tag_map_element_dto.TagMapElementDTO( + id = '', + display_name = '', ) + ], + explanation = '', ) + ] + ) + else: + return SelectionConceptsDTO( + ) + + def testSelectionConceptsDTO(self): + """Test SelectionConceptsDTO""" + def validate_instance(instance): + SelectionConceptsDTO.model_validate(inst_req_only) + instance_deserialized = SelectionConceptsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_service_now_auth_params_dto.py b/src/visier_platform_sdk/test/test_service_now_auth_params_dto.py new file mode 100644 index 0000000000..999fe59e5c --- /dev/null +++ b/src/visier_platform_sdk/test/test_service_now_auth_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.service_now_auth_params_dto import ServiceNowAuthParamsDTO + +class TestServiceNowAuthParamsDTO(unittest.TestCase): + """ServiceNowAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ServiceNowAuthParamsDTO: + """Test ServiceNowAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ServiceNowAuthParamsDTO( + host_domain_name = '', + username = '', + password = '' + ) + else: + return ServiceNowAuthParamsDTO( + ) + + def testServiceNowAuthParamsDTO(self): + """Test ServiceNowAuthParamsDTO""" + def validate_instance(instance): + ServiceNowAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = ServiceNowAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_service_now_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_service_now_v2_auth_params_dto.py new file mode 100644 index 0000000000..f27cdba05d --- /dev/null +++ b/src/visier_platform_sdk/test/test_service_now_v2_auth_params_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.service_now_v2_auth_params_dto import ServiceNowV2AuthParamsDTO + +class TestServiceNowV2AuthParamsDTO(unittest.TestCase): + """ServiceNowV2AuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ServiceNowV2AuthParamsDTO: + """Test ServiceNowV2AuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ServiceNowV2AuthParamsDTO( + host_domain_name = '', + client_id = '', + client_secret = '', + auth_code = '', + alternate_domain = '' + ) + else: + return ServiceNowV2AuthParamsDTO( + ) + + def testServiceNowV2AuthParamsDTO(self): + """Test ServiceNowV2AuthParamsDTO""" + def validate_instance(instance): + ServiceNowV2AuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = ServiceNowV2AuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_assignment_request_dto.py deleted file mode 100644 index d77514f016..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_assignment_request_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_request_dto import ServicingAccessibleTenantProfileAssignmentRequestDTO - -class TestServicingAccessibleTenantProfileAssignmentRequestDTO(unittest.TestCase): - """ServicingAccessibleTenantProfileAssignmentRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAccessibleTenantProfileAssignmentRequestDTO: - """Test ServicingAccessibleTenantProfileAssignmentRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAccessibleTenantProfileAssignmentRequestDTO` - """ - model = ServicingAccessibleTenantProfileAssignmentRequestDTO() - if include_optional: - return ServicingAccessibleTenantProfileAssignmentRequestDTO( - target_user_ids = [ - '' - ], - target_tenant_codes = [ - visier_platform_sdk.models.servicing/target_tenant_code_dto.servicing.TargetTenantCodeDTO( - tenant_code = '', - for_all_children = True, ) - ], - validity_start_time = '', - validity_end_time = '' - ) - else: - return ServicingAccessibleTenantProfileAssignmentRequestDTO( - ) - """ - - def testServicingAccessibleTenantProfileAssignmentRequestDTO(self): - """Test ServicingAccessibleTenantProfileAssignmentRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_assignment_response_dto.py deleted file mode 100644 index 75eb528564..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_assignment_response_dto.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_response_dto import ServicingAccessibleTenantProfileAssignmentResponseDTO - -class TestServicingAccessibleTenantProfileAssignmentResponseDTO(unittest.TestCase): - """ServicingAccessibleTenantProfileAssignmentResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAccessibleTenantProfileAssignmentResponseDTO: - """Test ServicingAccessibleTenantProfileAssignmentResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAccessibleTenantProfileAssignmentResponseDTO` - """ - model = ServicingAccessibleTenantProfileAssignmentResponseDTO() - if include_optional: - return ServicingAccessibleTenantProfileAssignmentResponseDTO( - errors = True, - bad_tenant_codes = [ - visier_platform_sdk.models.servicing/tenant_code_error_dto.servicing.TenantCodeErrorDTO( - tenant_code = '', - for_all_children = True, - error = None, ) - ], - bad_user_ids = [ - visier_platform_sdk.models.servicing/user_id_error_dto.servicing.UserIdErrorDTO( - user_id = '', - error = None, ) - ], - failed_assignments = [ - visier_platform_sdk.models.servicing/failed_accessible_tenant_profile_assignment_dto.servicing.FailedAccessibleTenantProfileAssignmentDTO( - user_id = '', - tenant_code = '', - for_all_children = True, - error = None, ) - ], - successful_assignments = [ - visier_platform_sdk.models.servicing/successful_accessible_tenant_profile_assignment_dto.servicing.SuccessfulAccessibleTenantProfileAssignmentDTO( - user_id = '', - tenant_code = '', - for_all_children = True, ) - ] - ) - else: - return ServicingAccessibleTenantProfileAssignmentResponseDTO( - ) - """ - - def testServicingAccessibleTenantProfileAssignmentResponseDTO(self): - """Test ServicingAccessibleTenantProfileAssignmentResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_revoke_request_dto.py deleted file mode 100644 index d8f41ec0ec..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_revoke_request_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_request_dto import ServicingAccessibleTenantProfileRevokeRequestDTO - -class TestServicingAccessibleTenantProfileRevokeRequestDTO(unittest.TestCase): - """ServicingAccessibleTenantProfileRevokeRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAccessibleTenantProfileRevokeRequestDTO: - """Test ServicingAccessibleTenantProfileRevokeRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAccessibleTenantProfileRevokeRequestDTO` - """ - model = ServicingAccessibleTenantProfileRevokeRequestDTO() - if include_optional: - return ServicingAccessibleTenantProfileRevokeRequestDTO( - target_user_ids = [ - '' - ], - target_tenant_codes = [ - visier_platform_sdk.models.servicing/target_tenant_code_dto.servicing.TargetTenantCodeDTO( - tenant_code = '', - for_all_children = True, ) - ] - ) - else: - return ServicingAccessibleTenantProfileRevokeRequestDTO( - ) - """ - - def testServicingAccessibleTenantProfileRevokeRequestDTO(self): - """Test ServicingAccessibleTenantProfileRevokeRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_revoke_response_dto.py deleted file mode 100644 index f978f7019d..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_accessible_tenant_profile_revoke_response_dto.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_response_dto import ServicingAccessibleTenantProfileRevokeResponseDTO - -class TestServicingAccessibleTenantProfileRevokeResponseDTO(unittest.TestCase): - """ServicingAccessibleTenantProfileRevokeResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAccessibleTenantProfileRevokeResponseDTO: - """Test ServicingAccessibleTenantProfileRevokeResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAccessibleTenantProfileRevokeResponseDTO` - """ - model = ServicingAccessibleTenantProfileRevokeResponseDTO() - if include_optional: - return ServicingAccessibleTenantProfileRevokeResponseDTO( - bad_tenant_codes = [ - visier_platform_sdk.models.servicing/reduced_tenant_code_error_dto.servicing.ReducedTenantCodeErrorDTO( - tenant_code = '', - for_all_children = True, - error = None, ) - ], - bad_user_ids = [ - visier_platform_sdk.models.servicing/reduced_user_id_error_dto.servicing.ReducedUserIdErrorDTO( - user_id = '', - error = None, ) - ], - unaffected_users = [ - visier_platform_sdk.models.servicing/successful_local_tenant_profile_assignment_dto.servicing.SuccessfulLocalTenantProfileAssignmentDTO( - user_id = '', ) - ], - succeeded = [ - visier_platform_sdk.models.servicing/successful_local_tenant_profile_assignment_dto.servicing.SuccessfulLocalTenantProfileAssignmentDTO( - user_id = '', ) - ] - ) - else: - return ServicingAccessibleTenantProfileRevokeResponseDTO( - ) - """ - - def testServicingAccessibleTenantProfileRevokeResponseDTO(self): - """Test ServicingAccessibleTenantProfileRevokeResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_additional_capabilities_dto.py b/src/visier_platform_sdk/test/test_servicing_additional_capabilities_dto.py deleted file mode 100644 index 5cca8d9f55..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_additional_capabilities_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_additional_capabilities_dto import ServicingAdditionalCapabilitiesDTO - -class TestServicingAdditionalCapabilitiesDTO(unittest.TestCase): - """ServicingAdditionalCapabilitiesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAdditionalCapabilitiesDTO: - """Test ServicingAdditionalCapabilitiesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAdditionalCapabilitiesDTO` - """ - model = ServicingAdditionalCapabilitiesDTO() - if include_optional: - return ServicingAdditionalCapabilitiesDTO( - additional_capabilities = [ - '' - ] - ) - else: - return ServicingAdditionalCapabilitiesDTO( - ) - """ - - def testServicingAdditionalCapabilitiesDTO(self): - """Test ServicingAdditionalCapabilitiesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_admin_capability_config_dto.py b/src/visier_platform_sdk/test/test_servicing_admin_capability_config_dto.py deleted file mode 100644 index 2dfca01739..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_admin_capability_config_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_admin_capability_config_dto import ServicingAdminCapabilityConfigDTO - -class TestServicingAdminCapabilityConfigDTO(unittest.TestCase): - """ServicingAdminCapabilityConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAdminCapabilityConfigDTO: - """Test ServicingAdminCapabilityConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAdminCapabilityConfigDTO` - """ - model = ServicingAdminCapabilityConfigDTO() - if include_optional: - return ServicingAdminCapabilityConfigDTO( - all_capabilities_access = True, - capabilities = [ - '' - ] - ) - else: - return ServicingAdminCapabilityConfigDTO( - ) - """ - - def testServicingAdminCapabilityConfigDTO(self): - """Test ServicingAdminCapabilityConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_all_permissions_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_all_permissions_assigned_for_local_tenant_dto.py deleted file mode 100644 index f77796c7eb..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_all_permissions_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_all_permissions_assigned_for_local_tenant_dto import ServicingAllPermissionsAssignedForLocalTenantDTO - -class TestServicingAllPermissionsAssignedForLocalTenantDTO(unittest.TestCase): - """ServicingAllPermissionsAssignedForLocalTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAllPermissionsAssignedForLocalTenantDTO: - """Test ServicingAllPermissionsAssignedForLocalTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAllPermissionsAssignedForLocalTenantDTO` - """ - model = ServicingAllPermissionsAssignedForLocalTenantDTO() - if include_optional: - return ServicingAllPermissionsAssignedForLocalTenantDTO( - assigned_permissions = [ - visier_platform_sdk.models.servicing/permission_assigned_for_local_tenant_dto.servicing.PermissionAssignedForLocalTenantDTO( - permission_id = '', - display_name = '', - description = '', ) - ] - ) - else: - return ServicingAllPermissionsAssignedForLocalTenantDTO( - ) - """ - - def testServicingAllPermissionsAssignedForLocalTenantDTO(self): - """Test ServicingAllPermissionsAssignedForLocalTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_all_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_all_profile_assigned_for_accessible_tenant_dto.py deleted file mode 100644 index 5a8cb26381..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_all_profile_assigned_for_accessible_tenant_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_all_profile_assigned_for_accessible_tenant_dto import ServicingAllProfileAssignedForAccessibleTenantDTO - -class TestServicingAllProfileAssignedForAccessibleTenantDTO(unittest.TestCase): - """ServicingAllProfileAssignedForAccessibleTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAllProfileAssignedForAccessibleTenantDTO: - """Test ServicingAllProfileAssignedForAccessibleTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAllProfileAssignedForAccessibleTenantDTO` - """ - model = ServicingAllProfileAssignedForAccessibleTenantDTO() - if include_optional: - return ServicingAllProfileAssignedForAccessibleTenantDTO( - assigned_profiles_for_accessible_tenant = [ - visier_platform_sdk.models.servicing/profile_assigned_for_accessible_tenant_dto.servicing.ProfileAssignedForAccessibleTenantDTO( - profile_id = '', - display_name = '', - tenant_code = '', - for_all_children = True, - validity_start_time = '', - validity_end_time = '', ) - ] - ) - else: - return ServicingAllProfileAssignedForAccessibleTenantDTO( - ) - """ - - def testServicingAllProfileAssignedForAccessibleTenantDTO(self): - """Test ServicingAllProfileAssignedForAccessibleTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_all_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_all_profile_assigned_for_local_tenant_dto.py deleted file mode 100644 index d86dffb23c..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_all_profile_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_all_profile_assigned_for_local_tenant_dto import ServicingAllProfileAssignedForLocalTenantDTO - -class TestServicingAllProfileAssignedForLocalTenantDTO(unittest.TestCase): - """ServicingAllProfileAssignedForLocalTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAllProfileAssignedForLocalTenantDTO: - """Test ServicingAllProfileAssignedForLocalTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAllProfileAssignedForLocalTenantDTO` - """ - model = ServicingAllProfileAssignedForLocalTenantDTO() - if include_optional: - return ServicingAllProfileAssignedForLocalTenantDTO( - assigned_profiles = [ - visier_platform_sdk.models.servicing/profile_assigned_for_local_tenant_dto.servicing.ProfileAssignedForLocalTenantDTO( - profile_id = '', - display_name = '', - validity_start_time = '', - validity_end_time = '', - capabilities = [ - visier_platform_sdk.models.servicing/capabilities_dto.servicing.CapabilitiesDTO( - capability = '', - access_level = '', - view_level = '', ) - ], - additional_capabilities = None, ) - ] - ) - else: - return ServicingAllProfileAssignedForLocalTenantDTO( - ) - """ - - def testServicingAllProfileAssignedForLocalTenantDTO(self): - """Test ServicingAllProfileAssignedForLocalTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_all_user_groups_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_all_user_groups_assigned_for_local_tenant_dto.py deleted file mode 100644 index c16939e8dc..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_all_user_groups_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_all_user_groups_assigned_for_local_tenant_dto import ServicingAllUserGroupsAssignedForLocalTenantDTO - -class TestServicingAllUserGroupsAssignedForLocalTenantDTO(unittest.TestCase): - """ServicingAllUserGroupsAssignedForLocalTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAllUserGroupsAssignedForLocalTenantDTO: - """Test ServicingAllUserGroupsAssignedForLocalTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAllUserGroupsAssignedForLocalTenantDTO` - """ - model = ServicingAllUserGroupsAssignedForLocalTenantDTO() - if include_optional: - return ServicingAllUserGroupsAssignedForLocalTenantDTO( - assigned_user_groups = [ - visier_platform_sdk.models.servicing/user_group_assigned_for_local_tenant_dto.servicing.UserGroupAssignedForLocalTenantDTO( - user_group_id = '', - display_name = '', ) - ] - ) - else: - return ServicingAllUserGroupsAssignedForLocalTenantDTO( - ) - """ - - def testServicingAllUserGroupsAssignedForLocalTenantDTO(self): - """Test ServicingAllUserGroupsAssignedForLocalTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_all_users_get_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_all_users_get_api_response_dto.py deleted file mode 100644 index 5830107607..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_all_users_get_api_response_dto.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_all_users_get_api_response_dto import ServicingAllUsersGetAPIResponseDTO - -class TestServicingAllUsersGetAPIResponseDTO(unittest.TestCase): - """ServicingAllUsersGetAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAllUsersGetAPIResponseDTO: - """Test ServicingAllUsersGetAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAllUsersGetAPIResponseDTO` - """ - model = ServicingAllUsersGetAPIResponseDTO() - if include_optional: - return ServicingAllUsersGetAPIResponseDTO( - users = [ - visier_platform_sdk.models.servicing/user_get_api_response_dto.servicing.UserGetAPIResponseDTO( - user_id = '', - username = '', - display_name = '', - employee_id = '', - account_enabled = True, - profiles = None, - permissions = None, - user_groups = None, - last_login = None, - email = '', ) - ], - limit = 56, - start = 56 - ) - else: - return ServicingAllUsersGetAPIResponseDTO( - ) - """ - - def testServicingAllUsersGetAPIResponseDTO(self): - """Test ServicingAllUsersGetAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_analytic_object_dto.py b/src/visier_platform_sdk/test/test_servicing_analytic_object_dto.py deleted file mode 100644 index d52876711a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_analytic_object_dto.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_analytic_object_dto import ServicingAnalyticObjectDTO - -class TestServicingAnalyticObjectDTO(unittest.TestCase): - """ServicingAnalyticObjectDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAnalyticObjectDTO: - """Test ServicingAnalyticObjectDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAnalyticObjectDTO` - """ - model = ServicingAnalyticObjectDTO() - if include_optional: - return ServicingAnalyticObjectDTO( - analytic_object_id = '', - display_name = '', - object_type = 'Event', - related_objects = [ - visier_platform_sdk.models.servicing/related_analytic_object_dto.servicing.RelatedAnalyticObjectDTO( - analytic_object_id = '', - display_name = '', ) - ], - securable_properties = [ - visier_platform_sdk.models.servicing/securable_property_dto.servicing.SecurablePropertyDTO( - property_id = '', - display_name = '', - analytic_object_id = '', - is_primary_key = True, - reference_symbol_name = '', ) - ], - securable_dimensions = [ - visier_platform_sdk.models.servicing/securable_dimension_dto.servicing.SecurableDimensionDTO( - dimension_id = '', - display_name = '', - analytic_object_ids = [ - '' - ], - hierarchy_properties = [ - visier_platform_sdk.models.servicing/hierarchy_property_dto.servicing.HierarchyPropertyDTO( - hierarchy_property_id = '', - display_name = '', ) - ], ) - ] - ) - else: - return ServicingAnalyticObjectDTO( - ) - """ - - def testServicingAnalyticObjectDTO(self): - """Test ServicingAnalyticObjectDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_permission_dto.py b/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_permission_dto.py deleted file mode 100644 index 3a725d8123..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_permission_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_permission_dto import ServicingAssignRevokePermissionByPermissionDTO - -class TestServicingAssignRevokePermissionByPermissionDTO(unittest.TestCase): - """ServicingAssignRevokePermissionByPermissionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAssignRevokePermissionByPermissionDTO: - """Test ServicingAssignRevokePermissionByPermissionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAssignRevokePermissionByPermissionDTO` - """ - model = ServicingAssignRevokePermissionByPermissionDTO() - if include_optional: - return ServicingAssignRevokePermissionByPermissionDTO( - permission = visier_platform_sdk.models.servicing/permission_assigned_for_local_tenant_dto.servicing.PermissionAssignedForLocalTenantDTO( - permission_id = '', - display_name = '', - description = '', ), - users = [ - visier_platform_sdk.models.servicing/assign_revoke_permission_by_user_dto.servicing.AssignRevokePermissionByUserDTO( - user_id = '', - username = '', - message = '', ) - ] - ) - else: - return ServicingAssignRevokePermissionByPermissionDTO( - ) - """ - - def testServicingAssignRevokePermissionByPermissionDTO(self): - """Test ServicingAssignRevokePermissionByPermissionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_tenant_dto.py deleted file mode 100644 index 5afebaf267..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_tenant_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_tenant_dto import ServicingAssignRevokePermissionByTenantDTO - -class TestServicingAssignRevokePermissionByTenantDTO(unittest.TestCase): - """ServicingAssignRevokePermissionByTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAssignRevokePermissionByTenantDTO: - """Test ServicingAssignRevokePermissionByTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAssignRevokePermissionByTenantDTO` - """ - model = ServicingAssignRevokePermissionByTenantDTO() - if include_optional: - return ServicingAssignRevokePermissionByTenantDTO( - tenant_code = '', - permissions = [ - visier_platform_sdk.models.servicing/assign_revoke_permission_by_permission_dto.servicing.AssignRevokePermissionByPermissionDTO( - permission = visier_platform_sdk.models.servicing/permission_assigned_for_local_tenant_dto.servicing.PermissionAssignedForLocalTenantDTO( - permission_id = '', - display_name = '', - description = '', ), - users = [ - visier_platform_sdk.models.servicing/assign_revoke_permission_by_user_dto.servicing.AssignRevokePermissionByUserDTO( - user_id = '', - username = '', - message = '', ) - ], ) - ], - status = 'Unknown', - message = '', - project_id = '' - ) - else: - return ServicingAssignRevokePermissionByTenantDTO( - ) - """ - - def testServicingAssignRevokePermissionByTenantDTO(self): - """Test ServicingAssignRevokePermissionByTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_user_dto.py b/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_user_dto.py deleted file mode 100644 index fe7ab13f37..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_by_user_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_user_dto import ServicingAssignRevokePermissionByUserDTO - -class TestServicingAssignRevokePermissionByUserDTO(unittest.TestCase): - """ServicingAssignRevokePermissionByUserDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAssignRevokePermissionByUserDTO: - """Test ServicingAssignRevokePermissionByUserDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAssignRevokePermissionByUserDTO` - """ - model = ServicingAssignRevokePermissionByUserDTO() - if include_optional: - return ServicingAssignRevokePermissionByUserDTO( - user_id = '', - username = '', - message = '' - ) - else: - return ServicingAssignRevokePermissionByUserDTO( - ) - """ - - def testServicingAssignRevokePermissionByUserDTO(self): - """Test ServicingAssignRevokePermissionByUserDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_request_dto.py b/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_request_dto.py deleted file mode 100644 index ca8611d1f8..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permission_request_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_assign_revoke_permission_request_dto import ServicingAssignRevokePermissionRequestDTO - -class TestServicingAssignRevokePermissionRequestDTO(unittest.TestCase): - """ServicingAssignRevokePermissionRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAssignRevokePermissionRequestDTO: - """Test ServicingAssignRevokePermissionRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAssignRevokePermissionRequestDTO` - """ - model = ServicingAssignRevokePermissionRequestDTO() - if include_optional: - return ServicingAssignRevokePermissionRequestDTO( - permission_id = '', - user_ids = [ - '' - ] - ) - else: - return ServicingAssignRevokePermissionRequestDTO( - ) - """ - - def testServicingAssignRevokePermissionRequestDTO(self): - """Test ServicingAssignRevokePermissionRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permissions_request_dto.py b/src/visier_platform_sdk/test/test_servicing_assign_revoke_permissions_request_dto.py deleted file mode 100644 index 5314e355b4..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permissions_request_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_assign_revoke_permissions_request_dto import ServicingAssignRevokePermissionsRequestDTO - -class TestServicingAssignRevokePermissionsRequestDTO(unittest.TestCase): - """ServicingAssignRevokePermissionsRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAssignRevokePermissionsRequestDTO: - """Test ServicingAssignRevokePermissionsRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAssignRevokePermissionsRequestDTO` - """ - model = ServicingAssignRevokePermissionsRequestDTO() - if include_optional: - return ServicingAssignRevokePermissionsRequestDTO( - permissions = [ - visier_platform_sdk.models.servicing/assign_revoke_permission_request_dto.servicing.AssignRevokePermissionRequestDTO( - permission_id = '', - user_ids = [ - '' - ], ) - ], - target_project_for_tenants_list = visier_platform_sdk.models.admin/target_project_for_tenants_list_dto.admin.TargetProjectForTenantsListDTO( - target_project_for_tenants = [ - visier_platform_sdk.models.admin/target_project_for_tenant_dto.admin.TargetProjectForTenantDTO( - tenant_code = '', - project_id = '', ) - ], ) - ) - else: - return ServicingAssignRevokePermissionsRequestDTO( - ) - """ - - def testServicingAssignRevokePermissionsRequestDTO(self): - """Test ServicingAssignRevokePermissionsRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permissions_response_dto.py b/src/visier_platform_sdk/test/test_servicing_assign_revoke_permissions_response_dto.py deleted file mode 100644 index 0d7b560c42..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_assign_revoke_permissions_response_dto.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_assign_revoke_permissions_response_dto import ServicingAssignRevokePermissionsResponseDTO - -class TestServicingAssignRevokePermissionsResponseDTO(unittest.TestCase): - """ServicingAssignRevokePermissionsResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingAssignRevokePermissionsResponseDTO: - """Test ServicingAssignRevokePermissionsResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingAssignRevokePermissionsResponseDTO` - """ - model = ServicingAssignRevokePermissionsResponseDTO() - if include_optional: - return ServicingAssignRevokePermissionsResponseDTO( - tenants = [ - visier_platform_sdk.models.servicing/assign_revoke_permission_by_tenant_dto.servicing.AssignRevokePermissionByTenantDTO( - tenant_code = '', - permissions = [ - visier_platform_sdk.models.servicing/assign_revoke_permission_by_permission_dto.servicing.AssignRevokePermissionByPermissionDTO( - permission = visier_platform_sdk.models.servicing/permission_assigned_for_local_tenant_dto.servicing.PermissionAssignedForLocalTenantDTO( - permission_id = '', - display_name = '', - description = '', ), - users = [ - visier_platform_sdk.models.servicing/assign_revoke_permission_by_user_dto.servicing.AssignRevokePermissionByUserDTO( - user_id = '', - username = '', - message = '', ) - ], ) - ], - status = 'Unknown', - message = '', - project_id = '', ) - ] - ) - else: - return ServicingAssignRevokePermissionsResponseDTO( - ) - """ - - def testServicingAssignRevokePermissionsResponseDTO(self): - """Test ServicingAssignRevokePermissionsResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_bulk_data_access_set_response_dto.py b/src/visier_platform_sdk/test/test_servicing_bulk_data_access_set_response_dto.py deleted file mode 100644 index 5bc84c9c68..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_bulk_data_access_set_response_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_bulk_data_access_set_response_dto import ServicingBulkDataAccessSetResponseDTO - -class TestServicingBulkDataAccessSetResponseDTO(unittest.TestCase): - """ServicingBulkDataAccessSetResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingBulkDataAccessSetResponseDTO: - """Test ServicingBulkDataAccessSetResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingBulkDataAccessSetResponseDTO` - """ - model = ServicingBulkDataAccessSetResponseDTO() - if include_optional: - return ServicingBulkDataAccessSetResponseDTO( - successes = [ - visier_platform_sdk.models.servicing/data_access_set_success_dto.servicing.DataAccessSetSuccessDTO( - data_access_set_id = '', - display_name = '', ) - ], - failures = [ - visier_platform_sdk.models.servicing/data_access_set_failure_dto.servicing.DataAccessSetFailureDTO( - data_access_set_id = '', - display_name = '', - error = None, ) - ] - ) - else: - return ServicingBulkDataAccessSetResponseDTO( - ) - """ - - def testServicingBulkDataAccessSetResponseDTO(self): - """Test ServicingBulkDataAccessSetResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_capabilities_dto.py b/src/visier_platform_sdk/test/test_servicing_capabilities_dto.py deleted file mode 100644 index badd9e185c..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_capabilities_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_capabilities_dto import ServicingCapabilitiesDTO - -class TestServicingCapabilitiesDTO(unittest.TestCase): - """ServicingCapabilitiesDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingCapabilitiesDTO: - """Test ServicingCapabilitiesDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingCapabilitiesDTO` - """ - model = ServicingCapabilitiesDTO() - if include_optional: - return ServicingCapabilitiesDTO( - capability = '', - access_level = '', - view_level = '' - ) - else: - return ServicingCapabilitiesDTO( - ) - """ - - def testServicingCapabilitiesDTO(self): - """Test ServicingCapabilitiesDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_capability_dto.py b/src/visier_platform_sdk/test/test_servicing_capability_dto.py deleted file mode 100644 index f2f4715d48..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_capability_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_capability_dto import ServicingCapabilityDTO - -class TestServicingCapabilityDTO(unittest.TestCase): - """ServicingCapabilityDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingCapabilityDTO: - """Test ServicingCapabilityDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingCapabilityDTO` - """ - model = ServicingCapabilityDTO() - if include_optional: - return ServicingCapabilityDTO( - name = '', - display_name = '', - description = '' - ) - else: - return ServicingCapabilityDTO( - ) - """ - - def testServicingCapabilityDTO(self): - """Test ServicingCapabilityDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_capability_group_dto.py b/src/visier_platform_sdk/test/test_servicing_capability_group_dto.py deleted file mode 100644 index 9de34327ec..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_capability_group_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_capability_group_dto import ServicingCapabilityGroupDTO - -class TestServicingCapabilityGroupDTO(unittest.TestCase): - """ServicingCapabilityGroupDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingCapabilityGroupDTO: - """Test ServicingCapabilityGroupDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingCapabilityGroupDTO` - """ - model = ServicingCapabilityGroupDTO() - if include_optional: - return ServicingCapabilityGroupDTO( - group = 'unknown', - access_level = 'NoAccess', - view_level = 'Simple', - api_access_level = 'NoAccess', - api_view_level = 'Simple' - ) - else: - return ServicingCapabilityGroupDTO( - ) - """ - - def testServicingCapabilityGroupDTO(self): - """Test ServicingCapabilityGroupDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_capability_proto_enum_access_lookup_dto.py b/src/visier_platform_sdk/test/test_servicing_capability_proto_enum_access_lookup_dto.py new file mode 100644 index 0000000000..c5372b1166 --- /dev/null +++ b/src/visier_platform_sdk/test/test_servicing_capability_proto_enum_access_lookup_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.servicing_capability_proto_enum_access_lookup_dto import ServicingCapabilityProtoEnumAccessLookupDTO + +class TestServicingCapabilityProtoEnumAccessLookupDTO(unittest.TestCase): + """ServicingCapabilityProtoEnumAccessLookupDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ServicingCapabilityProtoEnumAccessLookupDTO: + """Test ServicingCapabilityProtoEnumAccessLookupDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ServicingCapabilityProtoEnumAccessLookupDTO( + capability_groups = [ + visier_platform_sdk.models.capability_group_dto.CapabilityGroupDTO( + group = 'unknown', + access_level = 'NoAccess', + view_level = 'Simple', + api_access_level = 'NoAccess', + api_view_level = 'Simple', ) + ] + ) + else: + return ServicingCapabilityProtoEnumAccessLookupDTO( + ) + + def testServicingCapabilityProtoEnumAccessLookupDTO(self): + """Test ServicingCapabilityProtoEnumAccessLookupDTO""" + def validate_instance(instance): + ServicingCapabilityProtoEnumAccessLookupDTO.model_validate(inst_req_only) + instance_deserialized = ServicingCapabilityProtoEnumAccessLookupDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_clone_files_into_source_parameters_dto.py b/src/visier_platform_sdk/test/test_servicing_clone_files_into_source_parameters_dto.py deleted file mode 100644 index 32ebca73b6..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_clone_files_into_source_parameters_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_clone_files_into_source_parameters_dto import ServicingCloneFilesIntoSourceParametersDTO - -class TestServicingCloneFilesIntoSourceParametersDTO(unittest.TestCase): - """ServicingCloneFilesIntoSourceParametersDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingCloneFilesIntoSourceParametersDTO: - """Test ServicingCloneFilesIntoSourceParametersDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingCloneFilesIntoSourceParametersDTO` - """ - model = ServicingCloneFilesIntoSourceParametersDTO() - if include_optional: - return ServicingCloneFilesIntoSourceParametersDTO( - origin_source = '', - target_source = '', - date_range = visier_platform_sdk.models.servicing/date_range_dto.servicing.DateRangeDTO( - start = '', - end = '', ) - ) - else: - return ServicingCloneFilesIntoSourceParametersDTO( - ) - """ - - def testServicingCloneFilesIntoSourceParametersDTO(self): - """Test ServicingCloneFilesIntoSourceParametersDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_commit_and_publish_operation_response_dto.py b/src/visier_platform_sdk/test/test_servicing_commit_and_publish_operation_response_dto.py deleted file mode 100644 index 0b01fc8c48..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_commit_and_publish_operation_response_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_commit_and_publish_operation_response_dto import ServicingCommitAndPublishOperationResponseDTO - -class TestServicingCommitAndPublishOperationResponseDTO(unittest.TestCase): - """ServicingCommitAndPublishOperationResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingCommitAndPublishOperationResponseDTO: - """Test ServicingCommitAndPublishOperationResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingCommitAndPublishOperationResponseDTO` - """ - model = ServicingCommitAndPublishOperationResponseDTO() - if include_optional: - return ServicingCommitAndPublishOperationResponseDTO( - published_version = visier_platform_sdk.models.servicing/project_dto.servicing.ProjectDTO( - id = '', - name = '', - description = '', - release_version = '', - ticket_number = '', - version_number = 56, - capabilities = [ - 'canRead' - ], ) - ) - else: - return ServicingCommitAndPublishOperationResponseDTO( - ) - """ - - def testServicingCommitAndPublishOperationResponseDTO(self): - """Test ServicingCommitAndPublishOperationResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_commit_dto.py b/src/visier_platform_sdk/test/test_servicing_commit_dto.py deleted file mode 100644 index 9261e138a1..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_commit_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_commit_dto import ServicingCommitDTO - -class TestServicingCommitDTO(unittest.TestCase): - """ServicingCommitDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingCommitDTO: - """Test ServicingCommitDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingCommitDTO` - """ - model = ServicingCommitDTO() - if include_optional: - return ServicingCommitDTO( - id = '', - name = '', - description = '' - ) - else: - return ServicingCommitDTO( - ) - """ - - def testServicingCommitDTO(self): - """Test ServicingCommitDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_content_package_dto.py b/src/visier_platform_sdk/test/test_servicing_content_package_dto.py deleted file mode 100644 index 280645dbf6..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_content_package_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_content_package_dto import ServicingContentPackageDTO - -class TestServicingContentPackageDTO(unittest.TestCase): - """ServicingContentPackageDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingContentPackageDTO: - """Test ServicingContentPackageDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingContentPackageDTO` - """ - model = ServicingContentPackageDTO() - if include_optional: - return ServicingContentPackageDTO( - content_package_id = '', - display_name = '', - description = '' - ) - else: - return ServicingContentPackageDTO( - ) - """ - - def testServicingContentPackageDTO(self): - """Test ServicingContentPackageDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_create_data_access_set_request_dto.py b/src/visier_platform_sdk/test/test_servicing_create_data_access_set_request_dto.py deleted file mode 100644 index 3f6a577f01..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_create_data_access_set_request_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_create_data_access_set_request_dto import ServicingCreateDataAccessSetRequestDTO - -class TestServicingCreateDataAccessSetRequestDTO(unittest.TestCase): - """ServicingCreateDataAccessSetRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingCreateDataAccessSetRequestDTO: - """Test ServicingCreateDataAccessSetRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingCreateDataAccessSetRequestDTO` - """ - model = ServicingCreateDataAccessSetRequestDTO() - if include_optional: - return ServicingCreateDataAccessSetRequestDTO( - shareable_property_access_configs = [ - visier_platform_sdk.models.servicing/data_access_set_dto.servicing.DataAccessSetDTO( - id = '', - display_name = '', - description = '', - analytic_object_id = '', - property_access_configs = [ - visier_platform_sdk.models.servicing/property_access_config_dto.servicing.PropertyAccessConfigDTO( - property_id = '', - analytic_object_id = '', - analytic_object_reference_paths = [ - '' - ], - access_level = 'None', - property_status = 'Unset', ) - ], ) - ] - ) - else: - return ServicingCreateDataAccessSetRequestDTO( - ) - """ - - def testServicingCreateDataAccessSetRequestDTO(self): - """Test ServicingCreateDataAccessSetRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_data_access_set_dto.py b/src/visier_platform_sdk/test/test_servicing_data_access_set_dto.py deleted file mode 100644 index d350c3233e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_data_access_set_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_data_access_set_dto import ServicingDataAccessSetDTO - -class TestServicingDataAccessSetDTO(unittest.TestCase): - """ServicingDataAccessSetDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDataAccessSetDTO: - """Test ServicingDataAccessSetDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDataAccessSetDTO` - """ - model = ServicingDataAccessSetDTO() - if include_optional: - return ServicingDataAccessSetDTO( - id = '', - display_name = '', - description = '', - analytic_object_id = '', - property_access_configs = [ - visier_platform_sdk.models.servicing/property_access_config_dto.servicing.PropertyAccessConfigDTO( - property_id = '', - analytic_object_id = '', - analytic_object_reference_paths = [ - '' - ], - access_level = 'None', - property_status = 'Unset', ) - ] - ) - else: - return ServicingDataAccessSetDTO( - ) - """ - - def testServicingDataAccessSetDTO(self): - """Test ServicingDataAccessSetDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_data_access_set_error_dto.py b/src/visier_platform_sdk/test/test_servicing_data_access_set_error_dto.py deleted file mode 100644 index 1d8678032b..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_data_access_set_error_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_data_access_set_error_dto import ServicingDataAccessSetErrorDTO - -class TestServicingDataAccessSetErrorDTO(unittest.TestCase): - """ServicingDataAccessSetErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDataAccessSetErrorDTO: - """Test ServicingDataAccessSetErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDataAccessSetErrorDTO` - """ - model = ServicingDataAccessSetErrorDTO() - if include_optional: - return ServicingDataAccessSetErrorDTO( - message = '', - rci = '' - ) - else: - return ServicingDataAccessSetErrorDTO( - ) - """ - - def testServicingDataAccessSetErrorDTO(self): - """Test ServicingDataAccessSetErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_data_access_set_failure_dto.py b/src/visier_platform_sdk/test/test_servicing_data_access_set_failure_dto.py deleted file mode 100644 index b05be97712..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_data_access_set_failure_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_data_access_set_failure_dto import ServicingDataAccessSetFailureDTO - -class TestServicingDataAccessSetFailureDTO(unittest.TestCase): - """ServicingDataAccessSetFailureDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDataAccessSetFailureDTO: - """Test ServicingDataAccessSetFailureDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDataAccessSetFailureDTO` - """ - model = ServicingDataAccessSetFailureDTO() - if include_optional: - return ServicingDataAccessSetFailureDTO( - data_access_set_id = '', - display_name = '', - error = visier_platform_sdk.models.servicing/data_access_set_error_dto.servicing.DataAccessSetErrorDTO( - message = '', - rci = '', ) - ) - else: - return ServicingDataAccessSetFailureDTO( - ) - """ - - def testServicingDataAccessSetFailureDTO(self): - """Test ServicingDataAccessSetFailureDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_data_access_set_success_dto.py b/src/visier_platform_sdk/test/test_servicing_data_access_set_success_dto.py deleted file mode 100644 index b96f3973a8..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_data_access_set_success_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_data_access_set_success_dto import ServicingDataAccessSetSuccessDTO - -class TestServicingDataAccessSetSuccessDTO(unittest.TestCase): - """ServicingDataAccessSetSuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDataAccessSetSuccessDTO: - """Test ServicingDataAccessSetSuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDataAccessSetSuccessDTO` - """ - model = ServicingDataAccessSetSuccessDTO() - if include_optional: - return ServicingDataAccessSetSuccessDTO( - data_access_set_id = '', - display_name = '' - ) - else: - return ServicingDataAccessSetSuccessDTO( - ) - """ - - def testServicingDataAccessSetSuccessDTO(self): - """Test ServicingDataAccessSetSuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_data_categories_response_dto.py b/src/visier_platform_sdk/test/test_servicing_data_categories_response_dto.py deleted file mode 100644 index 1598d5daa0..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_data_categories_response_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_data_categories_response_dto import ServicingDataCategoriesResponseDTO - -class TestServicingDataCategoriesResponseDTO(unittest.TestCase): - """ServicingDataCategoriesResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDataCategoriesResponseDTO: - """Test ServicingDataCategoriesResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDataCategoriesResponseDTO` - """ - model = ServicingDataCategoriesResponseDTO() - if include_optional: - return ServicingDataCategoriesResponseDTO( - categories = [ - visier_platform_sdk.models.servicing/data_category_response_dto.servicing.DataCategoryResponseDTO( - name = '', - id = '', ) - ] - ) - else: - return ServicingDataCategoriesResponseDTO( - ) - """ - - def testServicingDataCategoriesResponseDTO(self): - """Test ServicingDataCategoriesResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_data_category_response_dto.py b/src/visier_platform_sdk/test/test_servicing_data_category_response_dto.py deleted file mode 100644 index 623cadefc6..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_data_category_response_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_data_category_response_dto import ServicingDataCategoryResponseDTO - -class TestServicingDataCategoryResponseDTO(unittest.TestCase): - """ServicingDataCategoryResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDataCategoryResponseDTO: - """Test ServicingDataCategoryResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDataCategoryResponseDTO` - """ - model = ServicingDataCategoryResponseDTO() - if include_optional: - return ServicingDataCategoryResponseDTO( - name = '', - id = '' - ) - else: - return ServicingDataCategoryResponseDTO( - ) - """ - - def testServicingDataCategoryResponseDTO(self): - """Test ServicingDataCategoryResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_data_security_profile_dto.py b/src/visier_platform_sdk/test/test_servicing_data_security_profile_dto.py deleted file mode 100644 index f38ed739e3..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_data_security_profile_dto.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_data_security_profile_dto import ServicingDataSecurityProfileDTO - -class TestServicingDataSecurityProfileDTO(unittest.TestCase): - """ServicingDataSecurityProfileDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDataSecurityProfileDTO: - """Test ServicingDataSecurityProfileDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDataSecurityProfileDTO` - """ - model = ServicingDataSecurityProfileDTO() - if include_optional: - return ServicingDataSecurityProfileDTO( - analytic_object_id = '', - property_set_config = visier_platform_sdk.models.servicing/property_set_config_dto.servicing.PropertySetConfigDTO( - property_access_configs = [ - visier_platform_sdk.models.servicing/property_access_config_dto.servicing.PropertyAccessConfigDTO( - property_id = '', - analytic_object_id = '', - analytic_object_reference_paths = [ - '' - ], - access_level = 'None', - property_status = 'Unset', ) - ], - shareable_data_access_set = None, ), - all_data_point_access = True, - member_filter_configs = [ - visier_platform_sdk.models.servicing/member_filter_config_dto.servicing.MemberFilterConfigDTO( - dimension_filters = [ - visier_platform_sdk.models.servicing/dimension_filter_dto.servicing.DimensionFilterDTO( - static_dimension_filter = visier_platform_sdk.models.servicing/static_dimension_filter_dto.servicing.StaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset', ), - dynamic_dimension_filter = visier_platform_sdk.models.servicing/dynamic_dimension_filter_dto.servicing.DynamicDimensionFilterDTO( - dimension_id = '', - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset', ), ) - ], ) - ], - inherited_access_configs = [ - visier_platform_sdk.models.servicing/inherited_access_config_dto.servicing.InheritedAccessConfigDTO( - analytic_object_id = '', - remove_access = True, - member_filter_configs = [ - visier_platform_sdk.models.servicing/member_filter_config_dto.servicing.MemberFilterConfigDTO( - dimension_filters = [ - visier_platform_sdk.models.servicing/dimension_filter_dto.servicing.DimensionFilterDTO( - static_dimension_filter = visier_platform_sdk.models.servicing/static_dimension_filter_dto.servicing.StaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset', ), - dynamic_dimension_filter = visier_platform_sdk.models.servicing/dynamic_dimension_filter_dto.servicing.DynamicDimensionFilterDTO( - dimension_id = '', - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset', ), ) - ], ) - ], ) - ], - inherited_reference_member_filter_config = visier_platform_sdk.models.servicing/inherited_reference_member_filter_config_dto.servicing.InheritedReferenceMemberFilterConfigDTO( - target_analytic_object_id = '', - analytic_object_reference = '', ), - analytic_object_status = 'Unset' - ) - else: - return ServicingDataSecurityProfileDTO( - ) - """ - - def testServicingDataSecurityProfileDTO(self): - """Test ServicingDataSecurityProfileDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_date_range_dto.py b/src/visier_platform_sdk/test/test_servicing_date_range_dto.py deleted file mode 100644 index b468f78f2e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_date_range_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_date_range_dto import ServicingDateRangeDTO - -class TestServicingDateRangeDTO(unittest.TestCase): - """ServicingDateRangeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDateRangeDTO: - """Test ServicingDateRangeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDateRangeDTO` - """ - model = ServicingDateRangeDTO() - if include_optional: - return ServicingDateRangeDTO( - start = '', - end = '' - ) - else: - return ServicingDateRangeDTO( - ) - """ - - def testServicingDateRangeDTO(self): - """Test ServicingDateRangeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_delete_permissions_request_dto.py b/src/visier_platform_sdk/test/test_servicing_delete_permissions_request_dto.py deleted file mode 100644 index 53ed373ad4..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_delete_permissions_request_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_delete_permissions_request_dto import ServicingDeletePermissionsRequestDTO - -class TestServicingDeletePermissionsRequestDTO(unittest.TestCase): - """ServicingDeletePermissionsRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDeletePermissionsRequestDTO: - """Test ServicingDeletePermissionsRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDeletePermissionsRequestDTO` - """ - model = ServicingDeletePermissionsRequestDTO() - if include_optional: - return ServicingDeletePermissionsRequestDTO( - permission_ids = [ - '' - ] - ) - else: - return ServicingDeletePermissionsRequestDTO( - ) - """ - - def testServicingDeletePermissionsRequestDTO(self): - """Test ServicingDeletePermissionsRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_servicing_dimension_filter_dto.py deleted file mode 100644 index 932cd5ee0e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_dimension_filter_dto.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_dimension_filter_dto import ServicingDimensionFilterDTO - -class TestServicingDimensionFilterDTO(unittest.TestCase): - """ServicingDimensionFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDimensionFilterDTO: - """Test ServicingDimensionFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDimensionFilterDTO` - """ - model = ServicingDimensionFilterDTO() - if include_optional: - return ServicingDimensionFilterDTO( - static_dimension_filter = visier_platform_sdk.models.servicing/static_dimension_filter_dto.servicing.StaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset', ), - dynamic_dimension_filter = visier_platform_sdk.models.servicing/dynamic_dimension_filter_dto.servicing.DynamicDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset', ) - ) - else: - return ServicingDimensionFilterDTO( - ) - """ - - def testServicingDimensionFilterDTO(self): - """Test ServicingDimensionFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_job_config_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_job_config_dto.py deleted file mode 100644 index fee6691254..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_job_config_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_direct_data_job_config_dto import ServicingDirectDataJobConfigDTO - -class TestServicingDirectDataJobConfigDTO(unittest.TestCase): - """ServicingDirectDataJobConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDirectDataJobConfigDTO: - """Test ServicingDirectDataJobConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataJobConfigDTO` - """ - model = ServicingDirectDataJobConfigDTO() - if include_optional: - return ServicingDirectDataJobConfigDTO( - supplemental_mode = 'UNCHANGED', - extend_objects = [ - '' - ] - ) - else: - return ServicingDirectDataJobConfigDTO( - ) - """ - - def testServicingDirectDataJobConfigDTO(self): - """Test ServicingDirectDataJobConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_job_status_response_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_job_status_response_dto.py deleted file mode 100644 index 61c0b9b4ae..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_job_status_response_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_direct_data_job_status_response_dto import ServicingDirectDataJobStatusResponseDTO - -class TestServicingDirectDataJobStatusResponseDTO(unittest.TestCase): - """ServicingDirectDataJobStatusResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDirectDataJobStatusResponseDTO: - """Test ServicingDirectDataJobStatusResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataJobStatusResponseDTO` - """ - model = ServicingDirectDataJobStatusResponseDTO() - if include_optional: - return ServicingDirectDataJobStatusResponseDTO( - tenant_code = '', - transaction_id = '', - job_id = '', - status = '', - message = '' - ) - else: - return ServicingDirectDataJobStatusResponseDTO( - ) - """ - - def testServicingDirectDataJobStatusResponseDTO(self): - """Test ServicingDirectDataJobStatusResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_list_transactions_response_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_list_transactions_response_dto.py deleted file mode 100644 index 9f6eaae725..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_list_transactions_response_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_direct_data_list_transactions_response_dto import ServicingDirectDataListTransactionsResponseDTO - -class TestServicingDirectDataListTransactionsResponseDTO(unittest.TestCase): - """ServicingDirectDataListTransactionsResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDirectDataListTransactionsResponseDTO: - """Test ServicingDirectDataListTransactionsResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataListTransactionsResponseDTO` - """ - model = ServicingDirectDataListTransactionsResponseDTO() - if include_optional: - return ServicingDirectDataListTransactionsResponseDTO( - transactions = [ - visier_platform_sdk.models.servicing/direct_data_transaction_dto.servicing.DirectDataTransactionDTO( - tenant_code = '', - transaction_id = '', - created = '', - updated = '', - status = '', ) - ] - ) - else: - return ServicingDirectDataListTransactionsResponseDTO( - ) - """ - - def testServicingDirectDataListTransactionsResponseDTO(self): - """Test ServicingDirectDataListTransactionsResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_load_config_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_load_config_dto.py deleted file mode 100644 index 466c441573..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_load_config_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_direct_data_load_config_dto import ServicingDirectDataLoadConfigDTO - -class TestServicingDirectDataLoadConfigDTO(unittest.TestCase): - """ServicingDirectDataLoadConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDirectDataLoadConfigDTO: - """Test ServicingDirectDataLoadConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataLoadConfigDTO` - """ - model = ServicingDirectDataLoadConfigDTO() - if include_optional: - return ServicingDirectDataLoadConfigDTO( - job = visier_platform_sdk.models.servicing/direct_data_job_config_dto.servicing.DirectDataJobConfigDTO( - supplemental_mode = 'UNCHANGED', - extend_objects = [ - '' - ], ) - ) - else: - return ServicingDirectDataLoadConfigDTO( - ) - """ - - def testServicingDirectDataLoadConfigDTO(self): - """Test ServicingDirectDataLoadConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_schema_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_schema_dto.py deleted file mode 100644 index 538129508e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_schema_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_direct_data_schema_dto import ServicingDirectDataSchemaDTO - -class TestServicingDirectDataSchemaDTO(unittest.TestCase): - """ServicingDirectDataSchemaDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDirectDataSchemaDTO: - """Test ServicingDirectDataSchemaDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataSchemaDTO` - """ - model = ServicingDirectDataSchemaDTO() - if include_optional: - return ServicingDirectDataSchemaDTO( - var_schema = [ - visier_platform_sdk.models.servicing/direct_data_schema_field_dto.servicing.DirectDataSchemaFieldDTO( - name = '', - data_type = '', - formats = [ - '' - ], - is_mandatory = True, - empty_values_allowed = True, ) - ] - ) - else: - return ServicingDirectDataSchemaDTO( - ) - """ - - def testServicingDirectDataSchemaDTO(self): - """Test ServicingDirectDataSchemaDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_schema_field_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_schema_field_dto.py deleted file mode 100644 index 9bbc530029..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_schema_field_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_direct_data_schema_field_dto import ServicingDirectDataSchemaFieldDTO - -class TestServicingDirectDataSchemaFieldDTO(unittest.TestCase): - """ServicingDirectDataSchemaFieldDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDirectDataSchemaFieldDTO: - """Test ServicingDirectDataSchemaFieldDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataSchemaFieldDTO` - """ - model = ServicingDirectDataSchemaFieldDTO() - if include_optional: - return ServicingDirectDataSchemaFieldDTO( - name = '', - data_type = '', - formats = [ - '' - ], - is_mandatory = True, - empty_values_allowed = True - ) - else: - return ServicingDirectDataSchemaFieldDTO( - ) - """ - - def testServicingDirectDataSchemaFieldDTO(self): - """Test ServicingDirectDataSchemaFieldDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_transaction_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_transaction_dto.py deleted file mode 100644 index d52b342994..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_transaction_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_direct_data_transaction_dto import ServicingDirectDataTransactionDTO - -class TestServicingDirectDataTransactionDTO(unittest.TestCase): - """ServicingDirectDataTransactionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDirectDataTransactionDTO: - """Test ServicingDirectDataTransactionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataTransactionDTO` - """ - model = ServicingDirectDataTransactionDTO() - if include_optional: - return ServicingDirectDataTransactionDTO( - tenant_code = '', - transaction_id = '', - created = '', - updated = '', - status = '' - ) - else: - return ServicingDirectDataTransactionDTO( - ) - """ - - def testServicingDirectDataTransactionDTO(self): - """Test ServicingDirectDataTransactionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_transaction_start_response_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_transaction_start_response_dto.py deleted file mode 100644 index 733ad2e374..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_transaction_start_response_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_direct_data_transaction_start_response_dto import ServicingDirectDataTransactionStartResponseDTO - -class TestServicingDirectDataTransactionStartResponseDTO(unittest.TestCase): - """ServicingDirectDataTransactionStartResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDirectDataTransactionStartResponseDTO: - """Test ServicingDirectDataTransactionStartResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataTransactionStartResponseDTO` - """ - model = ServicingDirectDataTransactionStartResponseDTO() - if include_optional: - return ServicingDirectDataTransactionStartResponseDTO( - transaction_id = '' - ) - else: - return ServicingDirectDataTransactionStartResponseDTO( - ) - """ - - def testServicingDirectDataTransactionStartResponseDTO(self): - """Test ServicingDirectDataTransactionStartResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_upload_file_response_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_upload_file_response_dto.py index 899612eebe..685ee4be58 100644 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_upload_file_response_dto.py +++ b/src/visier_platform_sdk/test/test_servicing_direct_data_upload_file_response_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.servicing_direct_data_upload_file_response_dto import ServicingDirectDataUploadFileResponseDTO class TestServicingDirectDataUploadFileResponseDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> ServicingDirectDataUploadFileRespon include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `ServicingDirectDataUploadFileResponseDTO` - """ - model = ServicingDirectDataUploadFileResponseDTO() + if include_optional: return ServicingDirectDataUploadFileResponseDTO( transaction_id = '', @@ -43,12 +42,19 @@ def make_instance(self, include_optional) -> ServicingDirectDataUploadFileRespon else: return ServicingDirectDataUploadFileResponseDTO( ) - """ def testServicingDirectDataUploadFileResponseDTO(self): """Test ServicingDirectDataUploadFileResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + ServicingDirectDataUploadFileResponseDTO.model_validate(inst_req_only) + instance_deserialized = ServicingDirectDataUploadFileResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_document_search_link_dto.py b/src/visier_platform_sdk/test/test_servicing_document_search_link_dto.py deleted file mode 100644 index 4c3d9fc2b7..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_document_search_link_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_document_search_link_dto import ServicingDocumentSearchLinkDTO - -class TestServicingDocumentSearchLinkDTO(unittest.TestCase): - """ServicingDocumentSearchLinkDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDocumentSearchLinkDTO: - """Test ServicingDocumentSearchLinkDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDocumentSearchLinkDTO` - """ - model = ServicingDocumentSearchLinkDTO() - if include_optional: - return ServicingDocumentSearchLinkDTO( - href = '', - verb = '' - ) - else: - return ServicingDocumentSearchLinkDTO( - ) - """ - - def testServicingDocumentSearchLinkDTO(self): - """Test ServicingDocumentSearchLinkDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_dynamic_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_servicing_dynamic_dimension_filter_dto.py deleted file mode 100644 index 08ce813100..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_dynamic_dimension_filter_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_dynamic_dimension_filter_dto import ServicingDynamicDimensionFilterDTO - -class TestServicingDynamicDimensionFilterDTO(unittest.TestCase): - """ServicingDynamicDimensionFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDynamicDimensionFilterDTO: - """Test ServicingDynamicDimensionFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDynamicDimensionFilterDTO` - """ - model = ServicingDynamicDimensionFilterDTO() - if include_optional: - return ServicingDynamicDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset' - ) - else: - return ServicingDynamicDimensionFilterDTO( - ) - """ - - def testServicingDynamicDimensionFilterDTO(self): - """Test ServicingDynamicDimensionFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_dynamic_property_mapping_dto.py b/src/visier_platform_sdk/test/test_servicing_dynamic_property_mapping_dto.py deleted file mode 100644 index ebdb8a1379..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_dynamic_property_mapping_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_dynamic_property_mapping_dto import ServicingDynamicPropertyMappingDTO - -class TestServicingDynamicPropertyMappingDTO(unittest.TestCase): - """ServicingDynamicPropertyMappingDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingDynamicPropertyMappingDTO: - """Test ServicingDynamicPropertyMappingDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingDynamicPropertyMappingDTO` - """ - model = ServicingDynamicPropertyMappingDTO() - if include_optional: - return ServicingDynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = visier_platform_sdk.models.servicing/user_property_dto.servicing.UserPropertyDTO( - name = '', ), - hierarchy_property_status = 'Unset' - ) - else: - return ServicingDynamicPropertyMappingDTO( - ) - """ - - def testServicingDynamicPropertyMappingDTO(self): - """Test ServicingDynamicPropertyMappingDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_error_dto.py b/src/visier_platform_sdk/test/test_servicing_error_dto.py deleted file mode 100644 index 5beadcaaad..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_error_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_error_dto import ServicingErrorDTO - -class TestServicingErrorDTO(unittest.TestCase): - """ServicingErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingErrorDTO: - """Test ServicingErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingErrorDTO` - """ - model = ServicingErrorDTO() - if include_optional: - return ServicingErrorDTO( - root_cause_id = '', - error_code = '', - error_message = '' - ) - else: - return ServicingErrorDTO( - ) - """ - - def testServicingErrorDTO(self): - """Test ServicingErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_export_production_versions_api_operation_parameters_dto.py b/src/visier_platform_sdk/test/test_servicing_export_production_versions_api_operation_parameters_dto.py deleted file mode 100644 index 0707e8e0e1..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_export_production_versions_api_operation_parameters_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_export_production_versions_api_operation_parameters_dto import ServicingExportProductionVersionsAPIOperationParametersDTO - -class TestServicingExportProductionVersionsAPIOperationParametersDTO(unittest.TestCase): - """ServicingExportProductionVersionsAPIOperationParametersDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingExportProductionVersionsAPIOperationParametersDTO: - """Test ServicingExportProductionVersionsAPIOperationParametersDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingExportProductionVersionsAPIOperationParametersDTO` - """ - model = ServicingExportProductionVersionsAPIOperationParametersDTO() - if include_optional: - return ServicingExportProductionVersionsAPIOperationParametersDTO( - start_version = '', - end_version = '', - excluded_versions = [ - '' - ] - ) - else: - return ServicingExportProductionVersionsAPIOperationParametersDTO( - ) - """ - - def testServicingExportProductionVersionsAPIOperationParametersDTO(self): - """Test ServicingExportProductionVersionsAPIOperationParametersDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_failed_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_servicing_failed_accessible_tenant_profile_assignment_dto.py deleted file mode 100644 index 283a378a1a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_failed_accessible_tenant_profile_assignment_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_failed_accessible_tenant_profile_assignment_dto import ServicingFailedAccessibleTenantProfileAssignmentDTO - -class TestServicingFailedAccessibleTenantProfileAssignmentDTO(unittest.TestCase): - """ServicingFailedAccessibleTenantProfileAssignmentDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingFailedAccessibleTenantProfileAssignmentDTO: - """Test ServicingFailedAccessibleTenantProfileAssignmentDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingFailedAccessibleTenantProfileAssignmentDTO` - """ - model = ServicingFailedAccessibleTenantProfileAssignmentDTO() - if include_optional: - return ServicingFailedAccessibleTenantProfileAssignmentDTO( - user_id = '', - tenant_code = '', - for_all_children = True, - error = visier_platform_sdk.models.servicing/error_dto.servicing.ErrorDTO( - root_cause_id = '', - error_code = '', - error_message = '', ) - ) - else: - return ServicingFailedAccessibleTenantProfileAssignmentDTO( - ) - """ - - def testServicingFailedAccessibleTenantProfileAssignmentDTO(self): - """Test ServicingFailedAccessibleTenantProfileAssignmentDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_failed_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_servicing_failed_local_tenant_profile_assignment_dto.py deleted file mode 100644 index 86b7f27355..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_failed_local_tenant_profile_assignment_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_failed_local_tenant_profile_assignment_dto import ServicingFailedLocalTenantProfileAssignmentDTO - -class TestServicingFailedLocalTenantProfileAssignmentDTO(unittest.TestCase): - """ServicingFailedLocalTenantProfileAssignmentDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingFailedLocalTenantProfileAssignmentDTO: - """Test ServicingFailedLocalTenantProfileAssignmentDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingFailedLocalTenantProfileAssignmentDTO` - """ - model = ServicingFailedLocalTenantProfileAssignmentDTO() - if include_optional: - return ServicingFailedLocalTenantProfileAssignmentDTO( - user_id = '', - error = visier_platform_sdk.models.servicing/error_dto.servicing.ErrorDTO( - root_cause_id = '', - error_code = '', - error_message = '', ) - ) - else: - return ServicingFailedLocalTenantProfileAssignmentDTO( - ) - """ - - def testServicingFailedLocalTenantProfileAssignmentDTO(self): - """Test ServicingFailedLocalTenantProfileAssignmentDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_failed_local_tenant_profile_revoke_dto.py b/src/visier_platform_sdk/test/test_servicing_failed_local_tenant_profile_revoke_dto.py deleted file mode 100644 index f4065e1089..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_failed_local_tenant_profile_revoke_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_failed_local_tenant_profile_revoke_dto import ServicingFailedLocalTenantProfileRevokeDTO - -class TestServicingFailedLocalTenantProfileRevokeDTO(unittest.TestCase): - """ServicingFailedLocalTenantProfileRevokeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingFailedLocalTenantProfileRevokeDTO: - """Test ServicingFailedLocalTenantProfileRevokeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingFailedLocalTenantProfileRevokeDTO` - """ - model = ServicingFailedLocalTenantProfileRevokeDTO() - if include_optional: - return ServicingFailedLocalTenantProfileRevokeDTO( - user_id = '', - message = '' - ) - else: - return ServicingFailedLocalTenantProfileRevokeDTO( - ) - """ - - def testServicingFailedLocalTenantProfileRevokeDTO(self): - """Test ServicingFailedLocalTenantProfileRevokeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_get_capabilities_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_get_capabilities_api_response_dto.py deleted file mode 100644 index 772b1c7e06..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_get_capabilities_api_response_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_get_capabilities_api_response_dto import ServicingGetCapabilitiesAPIResponseDTO - -class TestServicingGetCapabilitiesAPIResponseDTO(unittest.TestCase): - """ServicingGetCapabilitiesAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingGetCapabilitiesAPIResponseDTO: - """Test ServicingGetCapabilitiesAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingGetCapabilitiesAPIResponseDTO` - """ - model = ServicingGetCapabilitiesAPIResponseDTO() - if include_optional: - return ServicingGetCapabilitiesAPIResponseDTO( - capabilities = [ - visier_platform_sdk.models.servicing/capability_dto.servicing.CapabilityDTO( - name = '', - display_name = '', - description = '', ) - ] - ) - else: - return ServicingGetCapabilitiesAPIResponseDTO( - ) - """ - - def testServicingGetCapabilitiesAPIResponseDTO(self): - """Test ServicingGetCapabilitiesAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_get_content_packages_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_get_content_packages_api_response_dto.py deleted file mode 100644 index fd1cf55345..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_get_content_packages_api_response_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_get_content_packages_api_response_dto import ServicingGetContentPackagesAPIResponseDTO - -class TestServicingGetContentPackagesAPIResponseDTO(unittest.TestCase): - """ServicingGetContentPackagesAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingGetContentPackagesAPIResponseDTO: - """Test ServicingGetContentPackagesAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingGetContentPackagesAPIResponseDTO` - """ - model = ServicingGetContentPackagesAPIResponseDTO() - if include_optional: - return ServicingGetContentPackagesAPIResponseDTO( - content_packages = [ - visier_platform_sdk.models.servicing/content_package_dto.servicing.ContentPackageDTO( - content_package_id = '', - display_name = '', - description = '', ) - ] - ) - else: - return ServicingGetContentPackagesAPIResponseDTO( - ) - """ - - def testServicingGetContentPackagesAPIResponseDTO(self): - """Test ServicingGetContentPackagesAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_get_data_access_sets_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_get_data_access_sets_api_response_dto.py deleted file mode 100644 index 7eff7c2659..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_get_data_access_sets_api_response_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_get_data_access_sets_api_response_dto import ServicingGetDataAccessSetsAPIResponseDTO - -class TestServicingGetDataAccessSetsAPIResponseDTO(unittest.TestCase): - """ServicingGetDataAccessSetsAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingGetDataAccessSetsAPIResponseDTO: - """Test ServicingGetDataAccessSetsAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingGetDataAccessSetsAPIResponseDTO` - """ - model = ServicingGetDataAccessSetsAPIResponseDTO() - if include_optional: - return ServicingGetDataAccessSetsAPIResponseDTO( - data_access_sets = [ - visier_platform_sdk.models.servicing/data_access_set_dto.servicing.DataAccessSetDTO( - id = '', - display_name = '', - description = '', - analytic_object_id = '', - property_access_configs = [ - visier_platform_sdk.models.servicing/property_access_config_dto.servicing.PropertyAccessConfigDTO( - property_id = '', - analytic_object_id = '', - analytic_object_reference_paths = [ - '' - ], - access_level = 'None', - property_status = 'Unset', ) - ], ) - ] - ) - else: - return ServicingGetDataAccessSetsAPIResponseDTO( - ) - """ - - def testServicingGetDataAccessSetsAPIResponseDTO(self): - """Test ServicingGetDataAccessSetsAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_get_data_security_objects_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_get_data_security_objects_api_response_dto.py deleted file mode 100644 index 7f67d44874..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_get_data_security_objects_api_response_dto.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_get_data_security_objects_api_response_dto import ServicingGetDataSecurityObjectsAPIResponseDTO - -class TestServicingGetDataSecurityObjectsAPIResponseDTO(unittest.TestCase): - """ServicingGetDataSecurityObjectsAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingGetDataSecurityObjectsAPIResponseDTO: - """Test ServicingGetDataSecurityObjectsAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingGetDataSecurityObjectsAPIResponseDTO` - """ - model = ServicingGetDataSecurityObjectsAPIResponseDTO() - if include_optional: - return ServicingGetDataSecurityObjectsAPIResponseDTO( - analytic_objects = [ - visier_platform_sdk.models.servicing/analytic_object_dto.servicing.AnalyticObjectDTO( - analytic_object_id = '', - display_name = '', - object_type = 'Event', - related_objects = [ - visier_platform_sdk.models.servicing/related_analytic_object_dto.servicing.RelatedAnalyticObjectDTO( - analytic_object_id = '', - display_name = '', ) - ], - securable_properties = [ - visier_platform_sdk.models.servicing/securable_property_dto.servicing.SecurablePropertyDTO( - property_id = '', - display_name = '', - analytic_object_id = '', - is_primary_key = True, - reference_symbol_name = '', ) - ], - securable_dimensions = [ - visier_platform_sdk.models.servicing/securable_dimension_dto.servicing.SecurableDimensionDTO( - dimension_id = '', - display_name = '', - analytic_object_ids = [ - '' - ], - hierarchy_properties = [ - visier_platform_sdk.models.servicing/hierarchy_property_dto.servicing.HierarchyPropertyDTO( - hierarchy_property_id = '', - display_name = '', ) - ], ) - ], ) - ] - ) - else: - return ServicingGetDataSecurityObjectsAPIResponseDTO( - ) - """ - - def testServicingGetDataSecurityObjectsAPIResponseDTO(self): - """Test ServicingGetDataSecurityObjectsAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_get_permissions_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_get_permissions_api_response_dto.py deleted file mode 100644 index 71669d42aa..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_get_permissions_api_response_dto.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_get_permissions_api_response_dto import ServicingGetPermissionsAPIResponseDTO - -class TestServicingGetPermissionsAPIResponseDTO(unittest.TestCase): - """ServicingGetPermissionsAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingGetPermissionsAPIResponseDTO: - """Test ServicingGetPermissionsAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingGetPermissionsAPIResponseDTO` - """ - model = ServicingGetPermissionsAPIResponseDTO() - if include_optional: - return ServicingGetPermissionsAPIResponseDTO( - permissions = [ - visier_platform_sdk.models.servicing/permission_dto.servicing.PermissionDTO( - permission_id = '', - display_name = '', - description = '', - data_security_profiles = [ - visier_platform_sdk.models.servicing/data_security_profile_dto.servicing.DataSecurityProfileDTO( - analytic_object_id = '', - property_set_config = None, - all_data_point_access = True, - member_filter_configs = [ - visier_platform_sdk.models.servicing/member_filter_config_dto.servicing.MemberFilterConfigDTO( - dimension_filters = [ - visier_platform_sdk.models.servicing/dimension_filter_dto.servicing.DimensionFilterDTO( - static_dimension_filter = visier_platform_sdk.models.servicing/static_dimension_filter_dto.servicing.StaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset', ), - dynamic_dimension_filter = visier_platform_sdk.models.servicing/dynamic_dimension_filter_dto.servicing.DynamicDimensionFilterDTO( - dimension_id = '', - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset', ), ) - ], ) - ], - inherited_access_configs = [ - visier_platform_sdk.models.servicing/inherited_access_config_dto.servicing.InheritedAccessConfigDTO( - analytic_object_id = '', - remove_access = True, ) - ], - inherited_reference_member_filter_config = None, - analytic_object_status = 'Unset', ) - ], - admin_capability_config = None, - role_modules_config = None, ) - ] - ) - else: - return ServicingGetPermissionsAPIResponseDTO( - ) - """ - - def testServicingGetPermissionsAPIResponseDTO(self): - """Test ServicingGetPermissionsAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_get_production_versions_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_get_production_versions_api_response_dto.py deleted file mode 100644 index 1075eed770..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_get_production_versions_api_response_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_get_production_versions_api_response_dto import ServicingGetProductionVersionsAPIResponseDTO - -class TestServicingGetProductionVersionsAPIResponseDTO(unittest.TestCase): - """ServicingGetProductionVersionsAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingGetProductionVersionsAPIResponseDTO: - """Test ServicingGetProductionVersionsAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingGetProductionVersionsAPIResponseDTO` - """ - model = ServicingGetProductionVersionsAPIResponseDTO() - if include_optional: - return ServicingGetProductionVersionsAPIResponseDTO( - published_versions = [ - visier_platform_sdk.models.servicing/project_dto.servicing.ProjectDTO( - id = '', - name = '', - description = '', - release_version = '', - ticket_number = '', - version_number = 56, - capabilities = [ - 'canRead' - ], ) - ] - ) - else: - return ServicingGetProductionVersionsAPIResponseDTO( - ) - """ - - def testServicingGetProductionVersionsAPIResponseDTO(self): - """Test ServicingGetProductionVersionsAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_get_projects_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_get_projects_api_response_dto.py deleted file mode 100644 index d8e2f48fa8..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_get_projects_api_response_dto.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_get_projects_api_response_dto import ServicingGetProjectsAPIResponseDTO - -class TestServicingGetProjectsAPIResponseDTO(unittest.TestCase): - """ServicingGetProjectsAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingGetProjectsAPIResponseDTO: - """Test ServicingGetProjectsAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingGetProjectsAPIResponseDTO` - """ - model = ServicingGetProjectsAPIResponseDTO() - if include_optional: - return ServicingGetProjectsAPIResponseDTO( - open_projects = [ - visier_platform_sdk.models.servicing/project_dto.servicing.ProjectDTO( - id = '', - name = '', - description = '', - release_version = '', - ticket_number = '', - version_number = 56, - capabilities = [ - 'canRead' - ], ) - ], - approval_projects = [ - visier_platform_sdk.models.servicing/project_dto.servicing.ProjectDTO( - id = '', - name = '', - description = '', - release_version = '', - ticket_number = '', - version_number = 56, - capabilities = [ - 'canRead' - ], ) - ], - rejected_projects = [ - visier_platform_sdk.models.servicing/project_dto.servicing.ProjectDTO( - id = '', - name = '', - description = '', - release_version = '', - ticket_number = '', - version_number = 56, - capabilities = [ - 'canRead' - ], ) - ], - archived_projects = [ - visier_platform_sdk.models.servicing/project_dto.servicing.ProjectDTO( - id = '', - name = '', - description = '', - release_version = '', - ticket_number = '', - version_number = 56, - capabilities = [ - 'canRead' - ], ) - ] - ) - else: - return ServicingGetProjectsAPIResponseDTO( - ) - """ - - def testServicingGetProjectsAPIResponseDTO(self): - """Test ServicingGetProjectsAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_hierarchy_property_dto.py b/src/visier_platform_sdk/test/test_servicing_hierarchy_property_dto.py deleted file mode 100644 index 02a80522c5..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_hierarchy_property_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_hierarchy_property_dto import ServicingHierarchyPropertyDTO - -class TestServicingHierarchyPropertyDTO(unittest.TestCase): - """ServicingHierarchyPropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingHierarchyPropertyDTO: - """Test ServicingHierarchyPropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingHierarchyPropertyDTO` - """ - model = ServicingHierarchyPropertyDTO() - if include_optional: - return ServicingHierarchyPropertyDTO( - hierarchy_property_id = '', - display_name = '' - ) - else: - return ServicingHierarchyPropertyDTO( - ) - """ - - def testServicingHierarchyPropertyDTO(self): - """Test ServicingHierarchyPropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_inherited_access_config_dto.py b/src/visier_platform_sdk/test/test_servicing_inherited_access_config_dto.py deleted file mode 100644 index 8ace134a35..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_inherited_access_config_dto.py +++ /dev/null @@ -1,82 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_inherited_access_config_dto import ServicingInheritedAccessConfigDTO - -class TestServicingInheritedAccessConfigDTO(unittest.TestCase): - """ServicingInheritedAccessConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingInheritedAccessConfigDTO: - """Test ServicingInheritedAccessConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingInheritedAccessConfigDTO` - """ - model = ServicingInheritedAccessConfigDTO() - if include_optional: - return ServicingInheritedAccessConfigDTO( - analytic_object_id = '', - remove_access = True, - member_filter_configs = [ - visier_platform_sdk.models.servicing/member_filter_config_dto.servicing.MemberFilterConfigDTO( - dimension_filters = [ - visier_platform_sdk.models.servicing/dimension_filter_dto.servicing.DimensionFilterDTO( - static_dimension_filter = visier_platform_sdk.models.servicing/static_dimension_filter_dto.servicing.StaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset', ), - dynamic_dimension_filter = visier_platform_sdk.models.servicing/dynamic_dimension_filter_dto.servicing.DynamicDimensionFilterDTO( - dimension_id = '', - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset', ), ) - ], ) - ] - ) - else: - return ServicingInheritedAccessConfigDTO( - ) - """ - - def testServicingInheritedAccessConfigDTO(self): - """Test ServicingInheritedAccessConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_inherited_reference_member_filter_config_dto.py b/src/visier_platform_sdk/test/test_servicing_inherited_reference_member_filter_config_dto.py deleted file mode 100644 index b4ad5b1f85..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_inherited_reference_member_filter_config_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_inherited_reference_member_filter_config_dto import ServicingInheritedReferenceMemberFilterConfigDTO - -class TestServicingInheritedReferenceMemberFilterConfigDTO(unittest.TestCase): - """ServicingInheritedReferenceMemberFilterConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingInheritedReferenceMemberFilterConfigDTO: - """Test ServicingInheritedReferenceMemberFilterConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingInheritedReferenceMemberFilterConfigDTO` - """ - model = ServicingInheritedReferenceMemberFilterConfigDTO() - if include_optional: - return ServicingInheritedReferenceMemberFilterConfigDTO( - target_analytic_object_id = '', - analytic_object_reference = '' - ) - else: - return ServicingInheritedReferenceMemberFilterConfigDTO( - ) - """ - - def testServicingInheritedReferenceMemberFilterConfigDTO(self): - """Test ServicingInheritedReferenceMemberFilterConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_job_id_response.py b/src/visier_platform_sdk/test/test_servicing_job_id_response.py deleted file mode 100644 index f76929b4e3..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_job_id_response.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_job_id_response import ServicingJobIdResponse - -class TestServicingJobIdResponse(unittest.TestCase): - """ServicingJobIdResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingJobIdResponse: - """Test ServicingJobIdResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingJobIdResponse` - """ - model = ServicingJobIdResponse() - if include_optional: - return ServicingJobIdResponse( - job_id = '' - ) - else: - return ServicingJobIdResponse( - ) - """ - - def testServicingJobIdResponse(self): - """Test ServicingJobIdResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_last_login_dto.py b/src/visier_platform_sdk/test/test_servicing_last_login_dto.py deleted file mode 100644 index 040d758984..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_last_login_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_last_login_dto import ServicingLastLoginDTO - -class TestServicingLastLoginDTO(unittest.TestCase): - """ServicingLastLoginDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingLastLoginDTO: - """Test ServicingLastLoginDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingLastLoginDTO` - """ - model = ServicingLastLoginDTO() - if include_optional: - return ServicingLastLoginDTO( - timestamp = '' - ) - else: - return ServicingLastLoginDTO( - ) - """ - - def testServicingLastLoginDTO(self): - """Test ServicingLastLoginDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_assignment_request_dto.py deleted file mode 100644 index 8c6ef303ae..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_assignment_request_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_request_dto import ServicingLocalTenantProfileAssignmentRequestDTO - -class TestServicingLocalTenantProfileAssignmentRequestDTO(unittest.TestCase): - """ServicingLocalTenantProfileAssignmentRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingLocalTenantProfileAssignmentRequestDTO: - """Test ServicingLocalTenantProfileAssignmentRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingLocalTenantProfileAssignmentRequestDTO` - """ - model = ServicingLocalTenantProfileAssignmentRequestDTO() - if include_optional: - return ServicingLocalTenantProfileAssignmentRequestDTO( - target_user_ids = [ - '' - ], - validity_start_time = '', - validity_end_time = '' - ) - else: - return ServicingLocalTenantProfileAssignmentRequestDTO( - ) - """ - - def testServicingLocalTenantProfileAssignmentRequestDTO(self): - """Test ServicingLocalTenantProfileAssignmentRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_assignment_response_dto.py deleted file mode 100644 index 5872a253cf..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_assignment_response_dto.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_response_dto import ServicingLocalTenantProfileAssignmentResponseDTO - -class TestServicingLocalTenantProfileAssignmentResponseDTO(unittest.TestCase): - """ServicingLocalTenantProfileAssignmentResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingLocalTenantProfileAssignmentResponseDTO: - """Test ServicingLocalTenantProfileAssignmentResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingLocalTenantProfileAssignmentResponseDTO` - """ - model = ServicingLocalTenantProfileAssignmentResponseDTO() - if include_optional: - return ServicingLocalTenantProfileAssignmentResponseDTO( - errors = True, - bad_user_ids = [ - visier_platform_sdk.models.servicing/user_id_error_dto.servicing.UserIdErrorDTO( - user_id = '', - error = None, ) - ], - failed_assignments = [ - visier_platform_sdk.models.servicing/failed_local_tenant_profile_assignment_dto.servicing.FailedLocalTenantProfileAssignmentDTO( - user_id = '', - error = None, ) - ], - successful_assignments = [ - visier_platform_sdk.models.servicing/successful_local_tenant_profile_assignment_dto.servicing.SuccessfulLocalTenantProfileAssignmentDTO( - user_id = '', ) - ] - ) - else: - return ServicingLocalTenantProfileAssignmentResponseDTO( - ) - """ - - def testServicingLocalTenantProfileAssignmentResponseDTO(self): - """Test ServicingLocalTenantProfileAssignmentResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_revoke_request_dto.py deleted file mode 100644 index b6c0a77eed..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_revoke_request_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_request_dto import ServicingLocalTenantProfileRevokeRequestDTO - -class TestServicingLocalTenantProfileRevokeRequestDTO(unittest.TestCase): - """ServicingLocalTenantProfileRevokeRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingLocalTenantProfileRevokeRequestDTO: - """Test ServicingLocalTenantProfileRevokeRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingLocalTenantProfileRevokeRequestDTO` - """ - model = ServicingLocalTenantProfileRevokeRequestDTO() - if include_optional: - return ServicingLocalTenantProfileRevokeRequestDTO( - target_user_ids = [ - '' - ] - ) - else: - return ServicingLocalTenantProfileRevokeRequestDTO( - ) - """ - - def testServicingLocalTenantProfileRevokeRequestDTO(self): - """Test ServicingLocalTenantProfileRevokeRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_revoke_response_dto.py deleted file mode 100644 index f21ca26f67..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_local_tenant_profile_revoke_response_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_response_dto import ServicingLocalTenantProfileRevokeResponseDTO - -class TestServicingLocalTenantProfileRevokeResponseDTO(unittest.TestCase): - """ServicingLocalTenantProfileRevokeResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingLocalTenantProfileRevokeResponseDTO: - """Test ServicingLocalTenantProfileRevokeResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingLocalTenantProfileRevokeResponseDTO` - """ - model = ServicingLocalTenantProfileRevokeResponseDTO() - if include_optional: - return ServicingLocalTenantProfileRevokeResponseDTO( - failed = [ - visier_platform_sdk.models.servicing/failed_local_tenant_profile_revoke_dto.servicing.FailedLocalTenantProfileRevokeDTO( - user_id = '', - message = '', ) - ], - succeeded = [ - visier_platform_sdk.models.servicing/successful_local_tenant_profile_assignment_dto.servicing.SuccessfulLocalTenantProfileAssignmentDTO( - user_id = '', ) - ] - ) - else: - return ServicingLocalTenantProfileRevokeResponseDTO( - ) - """ - - def testServicingLocalTenantProfileRevokeResponseDTO(self): - """Test ServicingLocalTenantProfileRevokeResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_member_filter_config_dto.py b/src/visier_platform_sdk/test/test_servicing_member_filter_config_dto.py deleted file mode 100644 index da2c651159..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_member_filter_config_dto.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_member_filter_config_dto import ServicingMemberFilterConfigDTO - -class TestServicingMemberFilterConfigDTO(unittest.TestCase): - """ServicingMemberFilterConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingMemberFilterConfigDTO: - """Test ServicingMemberFilterConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingMemberFilterConfigDTO` - """ - model = ServicingMemberFilterConfigDTO() - if include_optional: - return ServicingMemberFilterConfigDTO( - dimension_filters = [ - visier_platform_sdk.models.servicing/dimension_filter_dto.servicing.DimensionFilterDTO( - static_dimension_filter = visier_platform_sdk.models.servicing/static_dimension_filter_dto.servicing.StaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset', ), - dynamic_dimension_filter = visier_platform_sdk.models.servicing/dynamic_dimension_filter_dto.servicing.DynamicDimensionFilterDTO( - dimension_id = '', - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset', ), ) - ] - ) - else: - return ServicingMemberFilterConfigDTO( - ) - """ - - def testServicingMemberFilterConfigDTO(self): - """Test ServicingMemberFilterConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_member_selection_dto.py b/src/visier_platform_sdk/test/test_servicing_member_selection_dto.py deleted file mode 100644 index c8292d7a1c..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_member_selection_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_member_selection_dto import ServicingMemberSelectionDTO - -class TestServicingMemberSelectionDTO(unittest.TestCase): - """ServicingMemberSelectionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingMemberSelectionDTO: - """Test ServicingMemberSelectionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingMemberSelectionDTO` - """ - model = ServicingMemberSelectionDTO() - if include_optional: - return ServicingMemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset' - ) - else: - return ServicingMemberSelectionDTO( - ) - """ - - def testServicingMemberSelectionDTO(self): - """Test ServicingMemberSelectionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_calculated_property_type_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_calculated_property_type_dto.py deleted file mode 100644 index 815e6f3d7f..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_calculated_property_type_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_calculated_property_type_dto import ServicingObjectconfigurationCalculatedPropertyTypeDTO - -class TestServicingObjectconfigurationCalculatedPropertyTypeDTO(unittest.TestCase): - """ServicingObjectconfigurationCalculatedPropertyTypeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationCalculatedPropertyTypeDTO: - """Test ServicingObjectconfigurationCalculatedPropertyTypeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationCalculatedPropertyTypeDTO` - """ - model = ServicingObjectconfigurationCalculatedPropertyTypeDTO() - if include_optional: - return ServicingObjectconfigurationCalculatedPropertyTypeDTO( - data_type = '', - formula = '' - ) - else: - return ServicingObjectconfigurationCalculatedPropertyTypeDTO( - ) - """ - - def testServicingObjectconfigurationCalculatedPropertyTypeDTO(self): - """Test ServicingObjectconfigurationCalculatedPropertyTypeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dependent_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dependent_dto.py deleted file mode 100644 index daee3e47d5..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dependent_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_dependent_dto import ServicingObjectconfigurationDependentDTO - -class TestServicingObjectconfigurationDependentDTO(unittest.TestCase): - """ServicingObjectconfigurationDependentDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationDependentDTO: - """Test ServicingObjectconfigurationDependentDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationDependentDTO` - """ - model = ServicingObjectconfigurationDependentDTO() - if include_optional: - return ServicingObjectconfigurationDependentDTO( - id = '', - display_name = '', - object_type = '' - ) - else: - return ServicingObjectconfigurationDependentDTO( - ) - """ - - def testServicingObjectconfigurationDependentDTO(self): - """Test ServicingObjectconfigurationDependentDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimension_change_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimension_change_definition_dto.py deleted file mode 100644 index 99d423faac..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimension_change_definition_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_dimension_change_definition_dto import ServicingObjectconfigurationDimensionChangeDefinitionDTO - -class TestServicingObjectconfigurationDimensionChangeDefinitionDTO(unittest.TestCase): - """ServicingObjectconfigurationDimensionChangeDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationDimensionChangeDefinitionDTO: - """Test ServicingObjectconfigurationDimensionChangeDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationDimensionChangeDefinitionDTO` - """ - model = ServicingObjectconfigurationDimensionChangeDefinitionDTO() - if include_optional: - return ServicingObjectconfigurationDimensionChangeDefinitionDTO( - id = '', - display_name = '', - short_display_name = '', - description = '' - ) - else: - return ServicingObjectconfigurationDimensionChangeDefinitionDTO( - ) - """ - - def testServicingObjectconfigurationDimensionChangeDefinitionDTO(self): - """Test ServicingObjectconfigurationDimensionChangeDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py deleted file mode 100644 index b8e03a3177..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto import ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO - -class TestServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO(unittest.TestCase): - """ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO: - """Test ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO` - """ - model = ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO() - if include_optional: - return ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - dimensions = [ - visier_platform_sdk.models.servicing/objectconfiguration/dimension_change_definition_dto.servicing.objectconfiguration.DimensionChangeDefinitionDTO( - id = '', - display_name = '', - short_display_name = '', - description = '', ) - ] - ) - else: - return ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO( - ) - """ - - def testServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO(self): - """Test ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimensions_change_definitions_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimensions_change_definitions_dto.py deleted file mode 100644 index 53773b750b..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_dimensions_change_definitions_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_dimensions_change_definitions_dto import ServicingObjectconfigurationDimensionsChangeDefinitionsDTO - -class TestServicingObjectconfigurationDimensionsChangeDefinitionsDTO(unittest.TestCase): - """ServicingObjectconfigurationDimensionsChangeDefinitionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationDimensionsChangeDefinitionsDTO: - """Test ServicingObjectconfigurationDimensionsChangeDefinitionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationDimensionsChangeDefinitionsDTO` - """ - model = ServicingObjectconfigurationDimensionsChangeDefinitionsDTO() - if include_optional: - return ServicingObjectconfigurationDimensionsChangeDefinitionsDTO( - dimensions_by_tenant = [ - visier_platform_sdk.models.servicing/objectconfiguration/dimension_change_definitions_by_tenant_dto.servicing.objectconfiguration.DimensionChangeDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - dimensions = [ - visier_platform_sdk.models.servicing/objectconfiguration/dimension_change_definition_dto.servicing.objectconfiguration.DimensionChangeDefinitionDTO( - id = '', - display_name = '', - short_display_name = '', - description = '', ) - ], ) - ] - ) - else: - return ServicingObjectconfigurationDimensionsChangeDefinitionsDTO( - ) - """ - - def testServicingObjectconfigurationDimensionsChangeDefinitionsDTO(self): - """Test ServicingObjectconfigurationDimensionsChangeDefinitionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_object_change_failure_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_object_change_failure_dto.py deleted file mode 100644 index e8b6450daf..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_object_change_failure_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_object_change_failure_dto import ServicingObjectconfigurationObjectChangeFailureDTO - -class TestServicingObjectconfigurationObjectChangeFailureDTO(unittest.TestCase): - """ServicingObjectconfigurationObjectChangeFailureDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationObjectChangeFailureDTO: - """Test ServicingObjectconfigurationObjectChangeFailureDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationObjectChangeFailureDTO` - """ - model = ServicingObjectconfigurationObjectChangeFailureDTO() - if include_optional: - return ServicingObjectconfigurationObjectChangeFailureDTO( - id = '', - display_name = '', - message = '', - rci = '', - tenant_code = '', - project_id = '' - ) - else: - return ServicingObjectconfigurationObjectChangeFailureDTO( - ) - """ - - def testServicingObjectconfigurationObjectChangeFailureDTO(self): - """Test ServicingObjectconfigurationObjectChangeFailureDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_object_change_success_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_object_change_success_dto.py deleted file mode 100644 index feb0a6a012..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_object_change_success_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_object_change_success_dto import ServicingObjectconfigurationObjectChangeSuccessDTO - -class TestServicingObjectconfigurationObjectChangeSuccessDTO(unittest.TestCase): - """ServicingObjectconfigurationObjectChangeSuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationObjectChangeSuccessDTO: - """Test ServicingObjectconfigurationObjectChangeSuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationObjectChangeSuccessDTO` - """ - model = ServicingObjectconfigurationObjectChangeSuccessDTO() - if include_optional: - return ServicingObjectconfigurationObjectChangeSuccessDTO( - id = '', - display_name = '', - tenant_code = '', - project_id = '' - ) - else: - return ServicingObjectconfigurationObjectChangeSuccessDTO( - ) - """ - - def testServicingObjectconfigurationObjectChangeSuccessDTO(self): - """Test ServicingObjectconfigurationObjectChangeSuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_objects_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_objects_bulk_change_response_dto.py deleted file mode 100644 index 416eb6059c..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_objects_bulk_change_response_dto.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_objects_bulk_change_response_dto import ServicingObjectconfigurationObjectsBulkChangeResponseDTO - -class TestServicingObjectconfigurationObjectsBulkChangeResponseDTO(unittest.TestCase): - """ServicingObjectconfigurationObjectsBulkChangeResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationObjectsBulkChangeResponseDTO: - """Test ServicingObjectconfigurationObjectsBulkChangeResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationObjectsBulkChangeResponseDTO` - """ - model = ServicingObjectconfigurationObjectsBulkChangeResponseDTO() - if include_optional: - return ServicingObjectconfigurationObjectsBulkChangeResponseDTO( - successes = [ - visier_platform_sdk.models.servicing/objectconfiguration/object_change_success_dto.servicing.objectconfiguration.ObjectChangeSuccessDTO( - id = '', - display_name = '', - tenant_code = '', - project_id = '', ) - ], - failures = [ - visier_platform_sdk.models.servicing/objectconfiguration/object_change_failure_dto.servicing.objectconfiguration.ObjectChangeFailureDTO( - id = '', - display_name = '', - message = '', - rci = '', - tenant_code = '', - project_id = '', ) - ] - ) - else: - return ServicingObjectconfigurationObjectsBulkChangeResponseDTO( - ) - """ - - def testServicingObjectconfigurationObjectsBulkChangeResponseDTO(self): - """Test ServicingObjectconfigurationObjectsBulkChangeResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_properties_change_definitions_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_properties_change_definitions_dto.py deleted file mode 100644 index 86fc98768f..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_properties_change_definitions_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_properties_change_definitions_dto import ServicingObjectconfigurationPropertiesChangeDefinitionsDTO - -class TestServicingObjectconfigurationPropertiesChangeDefinitionsDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertiesChangeDefinitionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertiesChangeDefinitionsDTO: - """Test ServicingObjectconfigurationPropertiesChangeDefinitionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertiesChangeDefinitionsDTO` - """ - model = ServicingObjectconfigurationPropertiesChangeDefinitionsDTO() - if include_optional: - return ServicingObjectconfigurationPropertiesChangeDefinitionsDTO( - properties_by_tenant = [ - visier_platform_sdk.models.servicing/objectconfiguration/property_change_definitions_by_tenant_dto.servicing.objectconfiguration.PropertyChangeDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - properties = [ - visier_platform_sdk.models.servicing/objectconfiguration/property_change_definition_dto.servicing.objectconfiguration.PropertyChangeDefinitionDTO( - id = '', - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - type = None, - tags = None, - include_with_vee = True, ) - ], ) - ] - ) - else: - return ServicingObjectconfigurationPropertiesChangeDefinitionsDTO( - ) - """ - - def testServicingObjectconfigurationPropertiesChangeDefinitionsDTO(self): - """Test ServicingObjectconfigurationPropertiesChangeDefinitionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_properties_delete_definitions_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_properties_delete_definitions_dto.py deleted file mode 100644 index 245116217a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_properties_delete_definitions_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_properties_delete_definitions_dto import ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO - -class TestServicingObjectconfigurationPropertiesDeleteDefinitionsDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO: - """Test ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO` - """ - model = ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO() - if include_optional: - return ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO( - delete_derived_properties = True, - ignore_property_references = True, - properties_by_tenant = [ - visier_platform_sdk.models.servicing/objectconfiguration/property_delete_definitions_by_tenant_dto.servicing.objectconfiguration.PropertyDeleteDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - property_ids = [ - '' - ], ) - ] - ) - else: - return ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO( - ) - """ - - def testServicingObjectconfigurationPropertiesDeleteDefinitionsDTO(self): - """Test ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_bulk_delete_response_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_bulk_delete_response_dto.py deleted file mode 100644 index cd7a4f0b53..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_bulk_delete_response_dto.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_property_bulk_delete_response_dto import ServicingObjectconfigurationPropertyBulkDeleteResponseDTO - -class TestServicingObjectconfigurationPropertyBulkDeleteResponseDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertyBulkDeleteResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertyBulkDeleteResponseDTO: - """Test ServicingObjectconfigurationPropertyBulkDeleteResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertyBulkDeleteResponseDTO` - """ - model = ServicingObjectconfigurationPropertyBulkDeleteResponseDTO() - if include_optional: - return ServicingObjectconfigurationPropertyBulkDeleteResponseDTO( - successes = [ - visier_platform_sdk.models.servicing/objectconfiguration/property_delete_success_dto.servicing.objectconfiguration.PropertyDeleteSuccessDTO( - id = '', - display_name = '', - tenant_code = '', - project_id = '', - derived_dependents_deleted = [ - visier_platform_sdk.models.servicing/objectconfiguration/dependent_dto.servicing.objectconfiguration.DependentDTO( - id = '', - display_name = '', - object_type = '', ) - ], - reference_dependents_ignored = [ - visier_platform_sdk.models.servicing/objectconfiguration/dependent_dto.servicing.objectconfiguration.DependentDTO( - id = '', - display_name = '', - object_type = '', ) - ], ) - ], - failures = [ - visier_platform_sdk.models.servicing/objectconfiguration/property_delete_failure_dto.servicing.objectconfiguration.PropertyDeleteFailureDTO( - id = '', - display_name = '', - message = '', - rci = '', - tenant_code = '', - project_id = '', - derived_dependents_to_delete = [ - visier_platform_sdk.models.servicing/objectconfiguration/dependent_dto.servicing.objectconfiguration.DependentDTO( - id = '', - display_name = '', - object_type = '', ) - ], - reference_dependents_to_ignore = [ - visier_platform_sdk.models.servicing/objectconfiguration/dependent_dto.servicing.objectconfiguration.DependentDTO( - id = '', - display_name = '', - object_type = '', ) - ], ) - ] - ) - else: - return ServicingObjectconfigurationPropertyBulkDeleteResponseDTO( - ) - """ - - def testServicingObjectconfigurationPropertyBulkDeleteResponseDTO(self): - """Test ServicingObjectconfigurationPropertyBulkDeleteResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_change_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_change_definition_dto.py deleted file mode 100644 index f42daffe6b..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_change_definition_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_property_change_definition_dto import ServicingObjectconfigurationPropertyChangeDefinitionDTO - -class TestServicingObjectconfigurationPropertyChangeDefinitionDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertyChangeDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertyChangeDefinitionDTO: - """Test ServicingObjectconfigurationPropertyChangeDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertyChangeDefinitionDTO` - """ - model = ServicingObjectconfigurationPropertyChangeDefinitionDTO() - if include_optional: - return ServicingObjectconfigurationPropertyChangeDefinitionDTO( - id = '', - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - type = visier_platform_sdk.models.servicing/objectconfiguration/property_type_dto.servicing.objectconfiguration.PropertyTypeDTO( - simple = None, - calculated = None, ), - tags = visier_platform_sdk.models.servicing/objectconfiguration/tags_dto.servicing.objectconfiguration.TagsDTO( - ids = [ - '' - ], ), - include_with_vee = True - ) - else: - return ServicingObjectconfigurationPropertyChangeDefinitionDTO( - ) - """ - - def testServicingObjectconfigurationPropertyChangeDefinitionDTO(self): - """Test ServicingObjectconfigurationPropertyChangeDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py deleted file mode 100644 index 8dad78def8..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_property_change_definitions_by_tenant_dto import ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO - -class TestServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO: - """Test ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO` - """ - model = ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO() - if include_optional: - return ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - properties = [ - visier_platform_sdk.models.servicing/objectconfiguration/property_change_definition_dto.servicing.objectconfiguration.PropertyChangeDefinitionDTO( - id = '', - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - type = None, - tags = None, - include_with_vee = True, ) - ] - ) - else: - return ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO( - ) - """ - - def testServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO(self): - """Test ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py deleted file mode 100644 index 04e20327ef..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_definitions_by_tenant_dto import ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO - -class TestServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO: - """Test ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO` - """ - model = ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO() - if include_optional: - return ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - property_ids = [ - '' - ] - ) - else: - return ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO( - ) - """ - - def testServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO(self): - """Test ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_failure_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_failure_dto.py deleted file mode 100644 index 6cfeabde37..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_failure_dto.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_failure_dto import ServicingObjectconfigurationPropertyDeleteFailureDTO - -class TestServicingObjectconfigurationPropertyDeleteFailureDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertyDeleteFailureDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertyDeleteFailureDTO: - """Test ServicingObjectconfigurationPropertyDeleteFailureDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertyDeleteFailureDTO` - """ - model = ServicingObjectconfigurationPropertyDeleteFailureDTO() - if include_optional: - return ServicingObjectconfigurationPropertyDeleteFailureDTO( - id = '', - display_name = '', - message = '', - rci = '', - tenant_code = '', - project_id = '', - derived_dependents_to_delete = [ - visier_platform_sdk.models.servicing/objectconfiguration/dependent_dto.servicing.objectconfiguration.DependentDTO( - id = '', - display_name = '', - object_type = '', ) - ], - reference_dependents_to_ignore = [ - visier_platform_sdk.models.servicing/objectconfiguration/dependent_dto.servicing.objectconfiguration.DependentDTO( - id = '', - display_name = '', - object_type = '', ) - ] - ) - else: - return ServicingObjectconfigurationPropertyDeleteFailureDTO( - ) - """ - - def testServicingObjectconfigurationPropertyDeleteFailureDTO(self): - """Test ServicingObjectconfigurationPropertyDeleteFailureDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_success_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_success_dto.py deleted file mode 100644 index 0c0a130165..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_delete_success_dto.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_success_dto import ServicingObjectconfigurationPropertyDeleteSuccessDTO - -class TestServicingObjectconfigurationPropertyDeleteSuccessDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertyDeleteSuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertyDeleteSuccessDTO: - """Test ServicingObjectconfigurationPropertyDeleteSuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertyDeleteSuccessDTO` - """ - model = ServicingObjectconfigurationPropertyDeleteSuccessDTO() - if include_optional: - return ServicingObjectconfigurationPropertyDeleteSuccessDTO( - id = '', - display_name = '', - tenant_code = '', - project_id = '', - derived_dependents_deleted = [ - visier_platform_sdk.models.servicing/objectconfiguration/dependent_dto.servicing.objectconfiguration.DependentDTO( - id = '', - display_name = '', - object_type = '', ) - ], - reference_dependents_ignored = [ - visier_platform_sdk.models.servicing/objectconfiguration/dependent_dto.servicing.objectconfiguration.DependentDTO( - id = '', - display_name = '', - object_type = '', ) - ] - ) - else: - return ServicingObjectconfigurationPropertyDeleteSuccessDTO( - ) - """ - - def testServicingObjectconfigurationPropertyDeleteSuccessDTO(self): - """Test ServicingObjectconfigurationPropertyDeleteSuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_type_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_type_dto.py deleted file mode 100644 index 1dff39f092..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_property_type_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_property_type_dto import ServicingObjectconfigurationPropertyTypeDTO - -class TestServicingObjectconfigurationPropertyTypeDTO(unittest.TestCase): - """ServicingObjectconfigurationPropertyTypeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationPropertyTypeDTO: - """Test ServicingObjectconfigurationPropertyTypeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationPropertyTypeDTO` - """ - model = ServicingObjectconfigurationPropertyTypeDTO() - if include_optional: - return ServicingObjectconfigurationPropertyTypeDTO( - simple = visier_platform_sdk.models.servicing/objectconfiguration/simple_property_type_dto.servicing.objectconfiguration.SimplePropertyTypeDTO( - data_type = '', ), - calculated = visier_platform_sdk.models.servicing/objectconfiguration/calculated_property_type_dto.servicing.objectconfiguration.CalculatedPropertyTypeDTO( - data_type = '', - formula = '', ) - ) - else: - return ServicingObjectconfigurationPropertyTypeDTO( - ) - """ - - def testServicingObjectconfigurationPropertyTypeDTO(self): - """Test ServicingObjectconfigurationPropertyTypeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_simple_property_type_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_simple_property_type_dto.py deleted file mode 100644 index 36a244d87b..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_simple_property_type_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_simple_property_type_dto import ServicingObjectconfigurationSimplePropertyTypeDTO - -class TestServicingObjectconfigurationSimplePropertyTypeDTO(unittest.TestCase): - """ServicingObjectconfigurationSimplePropertyTypeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationSimplePropertyTypeDTO: - """Test ServicingObjectconfigurationSimplePropertyTypeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationSimplePropertyTypeDTO` - """ - model = ServicingObjectconfigurationSimplePropertyTypeDTO() - if include_optional: - return ServicingObjectconfigurationSimplePropertyTypeDTO( - data_type = '' - ) - else: - return ServicingObjectconfigurationSimplePropertyTypeDTO( - ) - """ - - def testServicingObjectconfigurationSimplePropertyTypeDTO(self): - """Test ServicingObjectconfigurationSimplePropertyTypeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_tags_dto.py b/src/visier_platform_sdk/test/test_servicing_objectconfiguration_tags_dto.py deleted file mode 100644 index 5d8de6c3da..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_objectconfiguration_tags_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_objectconfiguration_tags_dto import ServicingObjectconfigurationTagsDTO - -class TestServicingObjectconfigurationTagsDTO(unittest.TestCase): - """ServicingObjectconfigurationTagsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingObjectconfigurationTagsDTO: - """Test ServicingObjectconfigurationTagsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingObjectconfigurationTagsDTO` - """ - model = ServicingObjectconfigurationTagsDTO() - if include_optional: - return ServicingObjectconfigurationTagsDTO( - ids = [ - '' - ] - ) - else: - return ServicingObjectconfigurationTagsDTO( - ) - """ - - def testServicingObjectconfigurationTagsDTO(self): - """Test ServicingObjectconfigurationTagsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_assigned_by_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_assigned_by_tenant_dto.py deleted file mode 100644 index 20333e347e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_assigned_by_tenant_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_assigned_by_tenant_dto import ServicingPermissionAssignedByTenantDTO - -class TestServicingPermissionAssignedByTenantDTO(unittest.TestCase): - """ServicingPermissionAssignedByTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionAssignedByTenantDTO: - """Test ServicingPermissionAssignedByTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionAssignedByTenantDTO` - """ - model = ServicingPermissionAssignedByTenantDTO() - if include_optional: - return ServicingPermissionAssignedByTenantDTO( - tenant_code = '', - users = [ - visier_platform_sdk.models.servicing/permission_assigned_user_dto.servicing.PermissionAssignedUserDTO( - user_id = '', - username = '', - permission_from = '', ) - ] - ) - else: - return ServicingPermissionAssignedByTenantDTO( - ) - """ - - def testServicingPermissionAssignedByTenantDTO(self): - """Test ServicingPermissionAssignedByTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_assigned_for_local_tenant_dto.py deleted file mode 100644 index 295e866822..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_assigned_for_local_tenant_dto import ServicingPermissionAssignedForLocalTenantDTO - -class TestServicingPermissionAssignedForLocalTenantDTO(unittest.TestCase): - """ServicingPermissionAssignedForLocalTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionAssignedForLocalTenantDTO: - """Test ServicingPermissionAssignedForLocalTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionAssignedForLocalTenantDTO` - """ - model = ServicingPermissionAssignedForLocalTenantDTO() - if include_optional: - return ServicingPermissionAssignedForLocalTenantDTO( - permission_id = '', - display_name = '', - description = '' - ) - else: - return ServicingPermissionAssignedForLocalTenantDTO( - ) - """ - - def testServicingPermissionAssignedForLocalTenantDTO(self): - """Test ServicingPermissionAssignedForLocalTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_assigned_user_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_assigned_user_dto.py deleted file mode 100644 index e06db219cd..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_assigned_user_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_assigned_user_dto import ServicingPermissionAssignedUserDTO - -class TestServicingPermissionAssignedUserDTO(unittest.TestCase): - """ServicingPermissionAssignedUserDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionAssignedUserDTO: - """Test ServicingPermissionAssignedUserDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionAssignedUserDTO` - """ - model = ServicingPermissionAssignedUserDTO() - if include_optional: - return ServicingPermissionAssignedUserDTO( - user_id = '', - username = '', - permission_from = '' - ) - else: - return ServicingPermissionAssignedUserDTO( - ) - """ - - def testServicingPermissionAssignedUserDTO(self): - """Test ServicingPermissionAssignedUserDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_assigned_users_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_assigned_users_dto.py deleted file mode 100644 index 00c3139e68..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_assigned_users_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_assigned_users_dto import ServicingPermissionAssignedUsersDTO - -class TestServicingPermissionAssignedUsersDTO(unittest.TestCase): - """ServicingPermissionAssignedUsersDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionAssignedUsersDTO: - """Test ServicingPermissionAssignedUsersDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionAssignedUsersDTO` - """ - model = ServicingPermissionAssignedUsersDTO() - if include_optional: - return ServicingPermissionAssignedUsersDTO( - tenants = [ - visier_platform_sdk.models.servicing/permission_assigned_by_tenant_dto.servicing.PermissionAssignedByTenantDTO( - tenant_code = '', - users = [ - visier_platform_sdk.models.servicing/permission_assigned_user_dto.servicing.PermissionAssignedUserDTO( - user_id = '', - username = '', - permission_from = '', ) - ], ) - ], - limit = 56, - start = 56 - ) - else: - return ServicingPermissionAssignedUsersDTO( - ) - """ - - def testServicingPermissionAssignedUsersDTO(self): - """Test ServicingPermissionAssignedUsersDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_bulk_operation_response_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_bulk_operation_response_dto.py deleted file mode 100644 index 49d420f09c..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_bulk_operation_response_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_bulk_operation_response_dto import ServicingPermissionBulkOperationResponseDTO - -class TestServicingPermissionBulkOperationResponseDTO(unittest.TestCase): - """ServicingPermissionBulkOperationResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionBulkOperationResponseDTO: - """Test ServicingPermissionBulkOperationResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionBulkOperationResponseDTO` - """ - model = ServicingPermissionBulkOperationResponseDTO() - if include_optional: - return ServicingPermissionBulkOperationResponseDTO( - successes = [ - visier_platform_sdk.models.servicing/permission_success_dto.servicing.PermissionSuccessDTO( - permission_id = '', - display_name = '', ) - ], - failures = [ - visier_platform_sdk.models.servicing/permission_failure_dto.servicing.PermissionFailureDTO( - permission_id = '', - display_name = '', - error = None, ) - ] - ) - else: - return ServicingPermissionBulkOperationResponseDTO( - ) - """ - - def testServicingPermissionBulkOperationResponseDTO(self): - """Test ServicingPermissionBulkOperationResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_dto.py deleted file mode 100644 index 2ee71119f8..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_dto.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_dto import ServicingPermissionDTO - -class TestServicingPermissionDTO(unittest.TestCase): - """ServicingPermissionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionDTO: - """Test ServicingPermissionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionDTO` - """ - model = ServicingPermissionDTO() - if include_optional: - return ServicingPermissionDTO( - permission_id = '', - display_name = '', - description = '', - data_security_profiles = [ - visier_platform_sdk.models.servicing/data_security_profile_dto.servicing.DataSecurityProfileDTO( - analytic_object_id = '', - property_set_config = None, - all_data_point_access = True, - member_filter_configs = [ - visier_platform_sdk.models.servicing/member_filter_config_dto.servicing.MemberFilterConfigDTO( - dimension_filters = [ - visier_platform_sdk.models.servicing/dimension_filter_dto.servicing.DimensionFilterDTO( - static_dimension_filter = visier_platform_sdk.models.servicing/static_dimension_filter_dto.servicing.StaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset', ), - dynamic_dimension_filter = visier_platform_sdk.models.servicing/dynamic_dimension_filter_dto.servicing.DynamicDimensionFilterDTO( - dimension_id = '', - dynamic_property_mappings = [ - visier_platform_sdk.models.servicing/dynamic_property_mapping_dto.servicing.DynamicPropertyMappingDTO( - hierarchy_property_id = '', - user_property = None, - hierarchy_property_status = 'Unset', ) - ], - dimension_status = 'Unset', ), ) - ], ) - ], - inherited_access_configs = [ - visier_platform_sdk.models.servicing/inherited_access_config_dto.servicing.InheritedAccessConfigDTO( - analytic_object_id = '', - remove_access = True, ) - ], - inherited_reference_member_filter_config = None, - analytic_object_status = 'Unset', ) - ], - admin_capability_config = visier_platform_sdk.models.servicing/admin_capability_config_dto.servicing.AdminCapabilityConfigDTO( - all_capabilities_access = True, - capabilities = [ - '' - ], ), - role_modules_config = visier_platform_sdk.models.servicing/role_modules_config_dto.servicing.RoleModulesConfigDTO( - content_package_ids = [ - '' - ], ) - ) - else: - return ServicingPermissionDTO( - ) - """ - - def testServicingPermissionDTO(self): - """Test ServicingPermissionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_error_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_error_dto.py deleted file mode 100644 index bd09031c75..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_error_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_error_dto import ServicingPermissionErrorDTO - -class TestServicingPermissionErrorDTO(unittest.TestCase): - """ServicingPermissionErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionErrorDTO: - """Test ServicingPermissionErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionErrorDTO` - """ - model = ServicingPermissionErrorDTO() - if include_optional: - return ServicingPermissionErrorDTO( - message = '', - rci = '' - ) - else: - return ServicingPermissionErrorDTO( - ) - """ - - def testServicingPermissionErrorDTO(self): - """Test ServicingPermissionErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_failure_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_failure_dto.py deleted file mode 100644 index 101e00f51a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_failure_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_failure_dto import ServicingPermissionFailureDTO - -class TestServicingPermissionFailureDTO(unittest.TestCase): - """ServicingPermissionFailureDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionFailureDTO: - """Test ServicingPermissionFailureDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionFailureDTO` - """ - model = ServicingPermissionFailureDTO() - if include_optional: - return ServicingPermissionFailureDTO( - permission_id = '', - display_name = '', - error = visier_platform_sdk.models.servicing/permission_error_dto.servicing.PermissionErrorDTO( - message = '', - rci = '', ) - ) - else: - return ServicingPermissionFailureDTO( - ) - """ - - def testServicingPermissionFailureDTO(self): - """Test ServicingPermissionFailureDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_permission_success_dto.py b/src/visier_platform_sdk/test/test_servicing_permission_success_dto.py deleted file mode 100644 index 5563290883..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_permission_success_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_permission_success_dto import ServicingPermissionSuccessDTO - -class TestServicingPermissionSuccessDTO(unittest.TestCase): - """ServicingPermissionSuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPermissionSuccessDTO: - """Test ServicingPermissionSuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPermissionSuccessDTO` - """ - model = ServicingPermissionSuccessDTO() - if include_optional: - return ServicingPermissionSuccessDTO( - permission_id = '', - display_name = '' - ) - else: - return ServicingPermissionSuccessDTO( - ) - """ - - def testServicingPermissionSuccessDTO(self): - """Test ServicingPermissionSuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_production_version_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_servicing_production_version_api_operation_request_dto.py deleted file mode 100644 index 786622eb50..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_production_version_api_operation_request_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_production_version_api_operation_request_dto import ServicingProductionVersionAPIOperationRequestDTO - -class TestServicingProductionVersionAPIOperationRequestDTO(unittest.TestCase): - """ServicingProductionVersionAPIOperationRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProductionVersionAPIOperationRequestDTO: - """Test ServicingProductionVersionAPIOperationRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProductionVersionAPIOperationRequestDTO` - """ - model = ServicingProductionVersionAPIOperationRequestDTO() - if include_optional: - return ServicingProductionVersionAPIOperationRequestDTO( - operation = 'unknownProductionVersionAPIOperation' - ) - else: - return ServicingProductionVersionAPIOperationRequestDTO( - ) - """ - - def testServicingProductionVersionAPIOperationRequestDTO(self): - """Test ServicingProductionVersionAPIOperationRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_production_version_api_operation_response_dto.py b/src/visier_platform_sdk/test/test_servicing_production_version_api_operation_response_dto.py deleted file mode 100644 index 7d921172a4..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_production_version_api_operation_response_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_production_version_api_operation_response_dto import ServicingProductionVersionAPIOperationResponseDTO - -class TestServicingProductionVersionAPIOperationResponseDTO(unittest.TestCase): - """ServicingProductionVersionAPIOperationResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProductionVersionAPIOperationResponseDTO: - """Test ServicingProductionVersionAPIOperationResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProductionVersionAPIOperationResponseDTO` - """ - model = ServicingProductionVersionAPIOperationResponseDTO() - if include_optional: - return ServicingProductionVersionAPIOperationResponseDTO( - roll_back_to = visier_platform_sdk.models.servicing/project_dto.servicing.ProjectDTO( - id = '', - name = '', - description = '', - release_version = '', - ticket_number = '', - version_number = 56, - capabilities = [ - 'canRead' - ], ) - ) - else: - return ServicingProductionVersionAPIOperationResponseDTO( - ) - """ - - def testServicingProductionVersionAPIOperationResponseDTO(self): - """Test ServicingProductionVersionAPIOperationResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_production_versions_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_servicing_production_versions_api_operation_request_dto.py deleted file mode 100644 index 0ebabc25f0..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_production_versions_api_operation_request_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_production_versions_api_operation_request_dto import ServicingProductionVersionsAPIOperationRequestDTO - -class TestServicingProductionVersionsAPIOperationRequestDTO(unittest.TestCase): - """ServicingProductionVersionsAPIOperationRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProductionVersionsAPIOperationRequestDTO: - """Test ServicingProductionVersionsAPIOperationRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProductionVersionsAPIOperationRequestDTO` - """ - model = ServicingProductionVersionsAPIOperationRequestDTO() - if include_optional: - return ServicingProductionVersionsAPIOperationRequestDTO( - operation = 'unknownProductionVersionsAPIOperation', - export_parameters = visier_platform_sdk.models.servicing/export_production_versions_api_operation_parameters_dto.servicing.ExportProductionVersionsAPIOperationParametersDTO( - start_version = '', - end_version = '', - excluded_versions = [ - '' - ], ) - ) - else: - return ServicingProductionVersionsAPIOperationRequestDTO( - ) - """ - - def testServicingProductionVersionsAPIOperationRequestDTO(self): - """Test ServicingProductionVersionsAPIOperationRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_production_versions_api_operation_response_dto.py b/src/visier_platform_sdk/test/test_servicing_production_versions_api_operation_response_dto.py deleted file mode 100644 index 8a1b63fa46..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_production_versions_api_operation_response_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_production_versions_api_operation_response_dto import ServicingProductionVersionsAPIOperationResponseDTO - -class TestServicingProductionVersionsAPIOperationResponseDTO(unittest.TestCase): - """ServicingProductionVersionsAPIOperationResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProductionVersionsAPIOperationResponseDTO: - """Test ServicingProductionVersionsAPIOperationResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProductionVersionsAPIOperationResponseDTO` - """ - model = ServicingProductionVersionsAPIOperationResponseDTO() - if include_optional: - return ServicingProductionVersionsAPIOperationResponseDTO( - export = None - ) - else: - return ServicingProductionVersionsAPIOperationResponseDTO( - ) - """ - - def testServicingProductionVersionsAPIOperationResponseDTO(self): - """Test ServicingProductionVersionsAPIOperationResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_profile_assigned_for_accessible_tenant_dto.py deleted file mode 100644 index 25160350bb..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_profile_assigned_for_accessible_tenant_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_profile_assigned_for_accessible_tenant_dto import ServicingProfileAssignedForAccessibleTenantDTO - -class TestServicingProfileAssignedForAccessibleTenantDTO(unittest.TestCase): - """ServicingProfileAssignedForAccessibleTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProfileAssignedForAccessibleTenantDTO: - """Test ServicingProfileAssignedForAccessibleTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProfileAssignedForAccessibleTenantDTO` - """ - model = ServicingProfileAssignedForAccessibleTenantDTO() - if include_optional: - return ServicingProfileAssignedForAccessibleTenantDTO( - profile_id = '', - display_name = '', - tenant_code = '', - for_all_children = True, - validity_start_time = '', - validity_end_time = '' - ) - else: - return ServicingProfileAssignedForAccessibleTenantDTO( - ) - """ - - def testServicingProfileAssignedForAccessibleTenantDTO(self): - """Test ServicingProfileAssignedForAccessibleTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_profile_assigned_for_local_tenant_dto.py deleted file mode 100644 index 1ac7556c28..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_profile_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_profile_assigned_for_local_tenant_dto import ServicingProfileAssignedForLocalTenantDTO - -class TestServicingProfileAssignedForLocalTenantDTO(unittest.TestCase): - """ServicingProfileAssignedForLocalTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProfileAssignedForLocalTenantDTO: - """Test ServicingProfileAssignedForLocalTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProfileAssignedForLocalTenantDTO` - """ - model = ServicingProfileAssignedForLocalTenantDTO() - if include_optional: - return ServicingProfileAssignedForLocalTenantDTO( - profile_id = '', - display_name = '', - validity_start_time = '', - validity_end_time = '', - capabilities = [ - visier_platform_sdk.models.servicing/capabilities_dto.servicing.CapabilitiesDTO( - capability = '', - access_level = '', - view_level = '', ) - ], - additional_capabilities = visier_platform_sdk.models.servicing/additional_capabilities_dto.servicing.AdditionalCapabilitiesDTO( - additional_capabilities = [ - '' - ], ) - ) - else: - return ServicingProfileAssignedForLocalTenantDTO( - ) - """ - - def testServicingProfileAssignedForLocalTenantDTO(self): - """Test ServicingProfileAssignedForLocalTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_profile_get_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_profile_get_api_response_dto.py deleted file mode 100644 index a0feb5cb73..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_profile_get_api_response_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_profile_get_api_response_dto import ServicingProfileGetAPIResponseDTO - -class TestServicingProfileGetAPIResponseDTO(unittest.TestCase): - """ServicingProfileGetAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProfileGetAPIResponseDTO: - """Test ServicingProfileGetAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProfileGetAPIResponseDTO` - """ - model = ServicingProfileGetAPIResponseDTO() - if include_optional: - return ServicingProfileGetAPIResponseDTO( - profile_id = '', - display_name = '', - capabilities = [ - visier_platform_sdk.models.servicing/capabilities_dto.servicing.CapabilitiesDTO( - capability = '', - access_level = '', - view_level = '', ) - ], - additional_capabilities = [ - '' - ] - ) - else: - return ServicingProfileGetAPIResponseDTO( - ) - """ - - def testServicingProfileGetAPIResponseDTO(self): - """Test ServicingProfileGetAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_profiles_get_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_profiles_get_api_response_dto.py deleted file mode 100644 index 19250126b1..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_profiles_get_api_response_dto.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_profiles_get_api_response_dto import ServicingProfilesGetAPIResponseDTO - -class TestServicingProfilesGetAPIResponseDTO(unittest.TestCase): - """ServicingProfilesGetAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProfilesGetAPIResponseDTO: - """Test ServicingProfilesGetAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProfilesGetAPIResponseDTO` - """ - model = ServicingProfilesGetAPIResponseDTO() - if include_optional: - return ServicingProfilesGetAPIResponseDTO( - profiles = [ - visier_platform_sdk.models.servicing/profile_get_api_response_dto.servicing.ProfileGetAPIResponseDTO( - profile_id = '', - display_name = '', - capabilities = [ - visier_platform_sdk.models.servicing/capabilities_dto.servicing.CapabilitiesDTO( - capability = '', - access_level = '', - view_level = '', ) - ], - additional_capabilities = [ - '' - ], ) - ] - ) - else: - return ServicingProfilesGetAPIResponseDTO( - ) - """ - - def testServicingProfilesGetAPIResponseDTO(self): - """Test ServicingProfilesGetAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_project_commits_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_project_commits_api_response_dto.py deleted file mode 100644 index 2cc18c5a50..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_project_commits_api_response_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_project_commits_api_response_dto import ServicingProjectCommitsAPIResponseDTO - -class TestServicingProjectCommitsAPIResponseDTO(unittest.TestCase): - """ServicingProjectCommitsAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProjectCommitsAPIResponseDTO: - """Test ServicingProjectCommitsAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProjectCommitsAPIResponseDTO` - """ - model = ServicingProjectCommitsAPIResponseDTO() - if include_optional: - return ServicingProjectCommitsAPIResponseDTO( - commits = [ - visier_platform_sdk.models.servicing/commit_dto.servicing.CommitDTO( - id = '', - name = '', - description = '', ) - ] - ) - else: - return ServicingProjectCommitsAPIResponseDTO( - ) - """ - - def testServicingProjectCommitsAPIResponseDTO(self): - """Test ServicingProjectCommitsAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_project_dto.py b/src/visier_platform_sdk/test/test_servicing_project_dto.py deleted file mode 100644 index c01bcca6ce..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_project_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO - -class TestServicingProjectDTO(unittest.TestCase): - """ServicingProjectDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProjectDTO: - """Test ServicingProjectDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProjectDTO` - """ - model = ServicingProjectDTO() - if include_optional: - return ServicingProjectDTO( - id = '', - name = '', - description = '', - release_version = '', - ticket_number = '', - version_number = 56, - capabilities = [ - 'canRead' - ] - ) - else: - return ServicingProjectDTO( - ) - """ - - def testServicingProjectDTO(self): - """Test ServicingProjectDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_project_operation_request_dto.py b/src/visier_platform_sdk/test/test_servicing_project_operation_request_dto.py deleted file mode 100644 index 54349285e0..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_project_operation_request_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_project_operation_request_dto import ServicingProjectOperationRequestDTO - -class TestServicingProjectOperationRequestDTO(unittest.TestCase): - """ServicingProjectOperationRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProjectOperationRequestDTO: - """Test ServicingProjectOperationRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProjectOperationRequestDTO` - """ - model = ServicingProjectOperationRequestDTO() - if include_optional: - return ServicingProjectOperationRequestDTO( - operation = 'unknown' - ) - else: - return ServicingProjectOperationRequestDTO( - ) - """ - - def testServicingProjectOperationRequestDTO(self): - """Test ServicingProjectOperationRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_project_operation_response_dto.py b/src/visier_platform_sdk/test/test_servicing_project_operation_response_dto.py deleted file mode 100644 index e8ddd7a6fb..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_project_operation_response_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_project_operation_response_dto import ServicingProjectOperationResponseDTO - -class TestServicingProjectOperationResponseDTO(unittest.TestCase): - """ServicingProjectOperationResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingProjectOperationResponseDTO: - """Test ServicingProjectOperationResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingProjectOperationResponseDTO` - """ - model = ServicingProjectOperationResponseDTO() - if include_optional: - return ServicingProjectOperationResponseDTO( - commit_and_publish = visier_platform_sdk.models.servicing/commit_and_publish_operation_response_dto.servicing.CommitAndPublishOperationResponseDTO( - published_version = None, ) - ) - else: - return ServicingProjectOperationResponseDTO( - ) - """ - - def testServicingProjectOperationResponseDTO(self): - """Test ServicingProjectOperationResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_property_access_config_dto.py b/src/visier_platform_sdk/test/test_servicing_property_access_config_dto.py deleted file mode 100644 index b2ec550992..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_property_access_config_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_property_access_config_dto import ServicingPropertyAccessConfigDTO - -class TestServicingPropertyAccessConfigDTO(unittest.TestCase): - """ServicingPropertyAccessConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPropertyAccessConfigDTO: - """Test ServicingPropertyAccessConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPropertyAccessConfigDTO` - """ - model = ServicingPropertyAccessConfigDTO() - if include_optional: - return ServicingPropertyAccessConfigDTO( - property_id = '', - analytic_object_id = '', - analytic_object_reference_paths = [ - '' - ], - access_level = 'None', - property_status = 'Unset' - ) - else: - return ServicingPropertyAccessConfigDTO( - ) - """ - - def testServicingPropertyAccessConfigDTO(self): - """Test ServicingPropertyAccessConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_property_set_config_dto.py b/src/visier_platform_sdk/test/test_servicing_property_set_config_dto.py deleted file mode 100644 index c97ac70579..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_property_set_config_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_property_set_config_dto import ServicingPropertySetConfigDTO - -class TestServicingPropertySetConfigDTO(unittest.TestCase): - """ServicingPropertySetConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingPropertySetConfigDTO: - """Test ServicingPropertySetConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingPropertySetConfigDTO` - """ - model = ServicingPropertySetConfigDTO() - if include_optional: - return ServicingPropertySetConfigDTO( - property_access_configs = [ - visier_platform_sdk.models.servicing/property_access_config_dto.servicing.PropertyAccessConfigDTO( - property_id = '', - analytic_object_id = '', - analytic_object_reference_paths = [ - '' - ], - access_level = 'None', - property_status = 'Unset', ) - ], - shareable_data_access_set = visier_platform_sdk.models.servicing/shareable_data_access_set.servicing.ShareableDataAccessSet( - data_access_set_id = '', ) - ) - else: - return ServicingPropertySetConfigDTO( - ) - """ - - def testServicingPropertySetConfigDTO(self): - """Test ServicingPropertySetConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_question_categories_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_question_categories_api_response_dto.py deleted file mode 100644 index daa144702f..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_question_categories_api_response_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_question_categories_api_response_dto import ServicingQuestionCategoriesAPIResponseDTO - -class TestServicingQuestionCategoriesAPIResponseDTO(unittest.TestCase): - """ServicingQuestionCategoriesAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingQuestionCategoriesAPIResponseDTO: - """Test ServicingQuestionCategoriesAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingQuestionCategoriesAPIResponseDTO` - """ - model = ServicingQuestionCategoriesAPIResponseDTO() - if include_optional: - return ServicingQuestionCategoriesAPIResponseDTO( - categories = [ - visier_platform_sdk.models.servicing/question_category_api_response_dto.servicing.QuestionCategoryAPIResponseDTO( - category_id = '', - display_name = '', ) - ] - ) - else: - return ServicingQuestionCategoriesAPIResponseDTO( - ) - """ - - def testServicingQuestionCategoriesAPIResponseDTO(self): - """Test ServicingQuestionCategoriesAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_question_category_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_question_category_api_response_dto.py deleted file mode 100644 index 157711c873..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_question_category_api_response_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_question_category_api_response_dto import ServicingQuestionCategoryAPIResponseDTO - -class TestServicingQuestionCategoryAPIResponseDTO(unittest.TestCase): - """ServicingQuestionCategoryAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingQuestionCategoryAPIResponseDTO: - """Test ServicingQuestionCategoryAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingQuestionCategoryAPIResponseDTO` - """ - model = ServicingQuestionCategoryAPIResponseDTO() - if include_optional: - return ServicingQuestionCategoryAPIResponseDTO( - category_id = '', - display_name = '' - ) - else: - return ServicingQuestionCategoryAPIResponseDTO( - ) - """ - - def testServicingQuestionCategoryAPIResponseDTO(self): - """Test ServicingQuestionCategoryAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_reduced_error_dto.py b/src/visier_platform_sdk/test/test_servicing_reduced_error_dto.py deleted file mode 100644 index 6081e02a8c..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_reduced_error_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_reduced_error_dto import ServicingReducedErrorDTO - -class TestServicingReducedErrorDTO(unittest.TestCase): - """ServicingReducedErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingReducedErrorDTO: - """Test ServicingReducedErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingReducedErrorDTO` - """ - model = ServicingReducedErrorDTO() - if include_optional: - return ServicingReducedErrorDTO( - error_message = '' - ) - else: - return ServicingReducedErrorDTO( - ) - """ - - def testServicingReducedErrorDTO(self): - """Test ServicingReducedErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_reduced_tenant_code_error_dto.py b/src/visier_platform_sdk/test/test_servicing_reduced_tenant_code_error_dto.py deleted file mode 100644 index f95688a347..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_reduced_tenant_code_error_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_reduced_tenant_code_error_dto import ServicingReducedTenantCodeErrorDTO - -class TestServicingReducedTenantCodeErrorDTO(unittest.TestCase): - """ServicingReducedTenantCodeErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingReducedTenantCodeErrorDTO: - """Test ServicingReducedTenantCodeErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingReducedTenantCodeErrorDTO` - """ - model = ServicingReducedTenantCodeErrorDTO() - if include_optional: - return ServicingReducedTenantCodeErrorDTO( - tenant_code = '', - for_all_children = True, - error = visier_platform_sdk.models.servicing/reduced_error_dto.servicing.ReducedErrorDTO( - error_message = '', ) - ) - else: - return ServicingReducedTenantCodeErrorDTO( - ) - """ - - def testServicingReducedTenantCodeErrorDTO(self): - """Test ServicingReducedTenantCodeErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_reduced_user_id_error_dto.py b/src/visier_platform_sdk/test/test_servicing_reduced_user_id_error_dto.py deleted file mode 100644 index 2d7db803af..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_reduced_user_id_error_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_reduced_user_id_error_dto import ServicingReducedUserIdErrorDTO - -class TestServicingReducedUserIdErrorDTO(unittest.TestCase): - """ServicingReducedUserIdErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingReducedUserIdErrorDTO: - """Test ServicingReducedUserIdErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingReducedUserIdErrorDTO` - """ - model = ServicingReducedUserIdErrorDTO() - if include_optional: - return ServicingReducedUserIdErrorDTO( - user_id = '', - error = visier_platform_sdk.models.servicing/reduced_error_dto.servicing.ReducedErrorDTO( - error_message = '', ) - ) - else: - return ServicingReducedUserIdErrorDTO( - ) - """ - - def testServicingReducedUserIdErrorDTO(self): - """Test ServicingReducedUserIdErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_related_analytic_object_dto.py b/src/visier_platform_sdk/test/test_servicing_related_analytic_object_dto.py deleted file mode 100644 index 1a6c52676d..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_related_analytic_object_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_related_analytic_object_dto import ServicingRelatedAnalyticObjectDTO - -class TestServicingRelatedAnalyticObjectDTO(unittest.TestCase): - """ServicingRelatedAnalyticObjectDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingRelatedAnalyticObjectDTO: - """Test ServicingRelatedAnalyticObjectDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingRelatedAnalyticObjectDTO` - """ - model = ServicingRelatedAnalyticObjectDTO() - if include_optional: - return ServicingRelatedAnalyticObjectDTO( - analytic_object_id = '', - display_name = '' - ) - else: - return ServicingRelatedAnalyticObjectDTO( - ) - """ - - def testServicingRelatedAnalyticObjectDTO(self): - """Test ServicingRelatedAnalyticObjectDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_role_modules_config_dto.py b/src/visier_platform_sdk/test/test_servicing_role_modules_config_dto.py deleted file mode 100644 index 9d0c448766..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_role_modules_config_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_role_modules_config_dto import ServicingRoleModulesConfigDTO - -class TestServicingRoleModulesConfigDTO(unittest.TestCase): - """ServicingRoleModulesConfigDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingRoleModulesConfigDTO: - """Test ServicingRoleModulesConfigDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingRoleModulesConfigDTO` - """ - model = ServicingRoleModulesConfigDTO() - if include_optional: - return ServicingRoleModulesConfigDTO( - content_package_ids = [ - '' - ] - ) - else: - return ServicingRoleModulesConfigDTO( - ) - """ - - def testServicingRoleModulesConfigDTO(self): - """Test ServicingRoleModulesConfigDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_sample_question_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_sample_question_api_response_dto.py deleted file mode 100644 index 3251501643..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_sample_question_api_response_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_sample_question_api_response_dto import ServicingSampleQuestionAPIResponseDTO - -class TestServicingSampleQuestionAPIResponseDTO(unittest.TestCase): - """ServicingSampleQuestionAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSampleQuestionAPIResponseDTO: - """Test ServicingSampleQuestionAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSampleQuestionAPIResponseDTO` - """ - model = ServicingSampleQuestionAPIResponseDTO() - if include_optional: - return ServicingSampleQuestionAPIResponseDTO( - question = '', - question_id = '', - visible_in_vee = True, - category_id = '', - user_group_assignment = visier_platform_sdk.models.servicing/user_group_assignment_dto.servicing.UserGroupAssignmentDTO( - user_group_ids = [ - '' - ], ) - ) - else: - return ServicingSampleQuestionAPIResponseDTO( - ) - """ - - def testServicingSampleQuestionAPIResponseDTO(self): - """Test ServicingSampleQuestionAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_sample_questions_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_sample_questions_api_response_dto.py deleted file mode 100644 index 67f675abab..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_sample_questions_api_response_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_sample_questions_api_response_dto import ServicingSampleQuestionsAPIResponseDTO - -class TestServicingSampleQuestionsAPIResponseDTO(unittest.TestCase): - """ServicingSampleQuestionsAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSampleQuestionsAPIResponseDTO: - """Test ServicingSampleQuestionsAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSampleQuestionsAPIResponseDTO` - """ - model = ServicingSampleQuestionsAPIResponseDTO() - if include_optional: - return ServicingSampleQuestionsAPIResponseDTO( - questions = [ - visier_platform_sdk.models.servicing/sample_question_api_response_dto.servicing.SampleQuestionAPIResponseDTO( - question = '', - question_id = '', - visible_in_vee = True, - category_id = '', - user_group_assignment = None, ) - ] - ) - else: - return ServicingSampleQuestionsAPIResponseDTO( - ) - """ - - def testServicingSampleQuestionsAPIResponseDTO(self): - """Test ServicingSampleQuestionsAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_securable_dimension_dto.py b/src/visier_platform_sdk/test/test_servicing_securable_dimension_dto.py deleted file mode 100644 index a0927d7358..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_securable_dimension_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_securable_dimension_dto import ServicingSecurableDimensionDTO - -class TestServicingSecurableDimensionDTO(unittest.TestCase): - """ServicingSecurableDimensionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSecurableDimensionDTO: - """Test ServicingSecurableDimensionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSecurableDimensionDTO` - """ - model = ServicingSecurableDimensionDTO() - if include_optional: - return ServicingSecurableDimensionDTO( - dimension_id = '', - display_name = '', - analytic_object_ids = [ - '' - ], - hierarchy_properties = [ - visier_platform_sdk.models.servicing/hierarchy_property_dto.servicing.HierarchyPropertyDTO( - hierarchy_property_id = '', - display_name = '', ) - ] - ) - else: - return ServicingSecurableDimensionDTO( - ) - """ - - def testServicingSecurableDimensionDTO(self): - """Test ServicingSecurableDimensionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_securable_property_dto.py b/src/visier_platform_sdk/test/test_servicing_securable_property_dto.py deleted file mode 100644 index 7a6b5717d2..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_securable_property_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_securable_property_dto import ServicingSecurablePropertyDTO - -class TestServicingSecurablePropertyDTO(unittest.TestCase): - """ServicingSecurablePropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSecurablePropertyDTO: - """Test ServicingSecurablePropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSecurablePropertyDTO` - """ - model = ServicingSecurablePropertyDTO() - if include_optional: - return ServicingSecurablePropertyDTO( - property_id = '', - display_name = '', - analytic_object_id = '', - is_primary_key = True, - reference_symbol_name = '' - ) - else: - return ServicingSecurablePropertyDTO( - ) - """ - - def testServicingSecurablePropertyDTO(self): - """Test ServicingSecurablePropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_servicing_capability_proto_enum_access_lookup_dto.py b/src/visier_platform_sdk/test/test_servicing_servicing_capability_proto_enum_access_lookup_dto.py deleted file mode 100644 index d5ba69d26c..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_servicing_capability_proto_enum_access_lookup_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_servicing_capability_proto_enum_access_lookup_dto import ServicingServicingCapabilityProtoEnumAccessLookupDTO - -class TestServicingServicingCapabilityProtoEnumAccessLookupDTO(unittest.TestCase): - """ServicingServicingCapabilityProtoEnumAccessLookupDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingServicingCapabilityProtoEnumAccessLookupDTO: - """Test ServicingServicingCapabilityProtoEnumAccessLookupDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingServicingCapabilityProtoEnumAccessLookupDTO` - """ - model = ServicingServicingCapabilityProtoEnumAccessLookupDTO() - if include_optional: - return ServicingServicingCapabilityProtoEnumAccessLookupDTO( - capability_groups = [ - visier_platform_sdk.models.servicing/capability_group_dto.servicing.CapabilityGroupDTO( - group = 'unknown', - access_level = 'NoAccess', - view_level = 'Simple', - api_access_level = 'NoAccess', - api_view_level = 'Simple', ) - ] - ) - else: - return ServicingServicingCapabilityProtoEnumAccessLookupDTO( - ) - """ - - def testServicingServicingCapabilityProtoEnumAccessLookupDTO(self): - """Test ServicingServicingCapabilityProtoEnumAccessLookupDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_shareable_data_access_set.py b/src/visier_platform_sdk/test/test_servicing_shareable_data_access_set.py deleted file mode 100644 index f2271b4a05..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_shareable_data_access_set.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_shareable_data_access_set import ServicingShareableDataAccessSet - -class TestServicingShareableDataAccessSet(unittest.TestCase): - """ServicingShareableDataAccessSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingShareableDataAccessSet: - """Test ServicingShareableDataAccessSet - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingShareableDataAccessSet` - """ - model = ServicingShareableDataAccessSet() - if include_optional: - return ServicingShareableDataAccessSet( - data_access_set_id = '' - ) - else: - return ServicingShareableDataAccessSet( - ) - """ - - def testServicingShareableDataAccessSet(self): - """Test ServicingShareableDataAccessSet""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_simple_document_header_search_response_dto.py b/src/visier_platform_sdk/test/test_servicing_simple_document_header_search_response_dto.py deleted file mode 100644 index 3e64d67142..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_simple_document_header_search_response_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_simple_document_header_search_response_dto import ServicingSimpleDocumentHeaderSearchResponseDTO - -class TestServicingSimpleDocumentHeaderSearchResponseDTO(unittest.TestCase): - """ServicingSimpleDocumentHeaderSearchResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSimpleDocumentHeaderSearchResponseDTO: - """Test ServicingSimpleDocumentHeaderSearchResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSimpleDocumentHeaderSearchResponseDTO` - """ - model = ServicingSimpleDocumentHeaderSearchResponseDTO() - if include_optional: - return ServicingSimpleDocumentHeaderSearchResponseDTO( - document_headers = [ - visier_platform_sdk.models.servicing/simple_document_header_search_result_dto.servicing.SimpleDocumentHeaderSearchResultDTO( - display_name = '', - description = '', - relevance = 1.337, - view_link = None, ) - ] - ) - else: - return ServicingSimpleDocumentHeaderSearchResponseDTO( - ) - """ - - def testServicingSimpleDocumentHeaderSearchResponseDTO(self): - """Test ServicingSimpleDocumentHeaderSearchResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_simple_document_header_search_result_dto.py b/src/visier_platform_sdk/test/test_servicing_simple_document_header_search_result_dto.py deleted file mode 100644 index f59b739e56..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_simple_document_header_search_result_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_simple_document_header_search_result_dto import ServicingSimpleDocumentHeaderSearchResultDTO - -class TestServicingSimpleDocumentHeaderSearchResultDTO(unittest.TestCase): - """ServicingSimpleDocumentHeaderSearchResultDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSimpleDocumentHeaderSearchResultDTO: - """Test ServicingSimpleDocumentHeaderSearchResultDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSimpleDocumentHeaderSearchResultDTO` - """ - model = ServicingSimpleDocumentHeaderSearchResultDTO() - if include_optional: - return ServicingSimpleDocumentHeaderSearchResultDTO( - display_name = '', - description = '', - relevance = 1.337, - view_link = visier_platform_sdk.models.servicing/document_search_link_dto.servicing.DocumentSearchLinkDTO( - href = '', - verb = '', ) - ) - else: - return ServicingSimpleDocumentHeaderSearchResultDTO( - ) - """ - - def testServicingSimpleDocumentHeaderSearchResultDTO(self): - """Test ServicingSimpleDocumentHeaderSearchResultDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_sources_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_servicing_sources_api_operation_request_dto.py deleted file mode 100644 index aea420baf2..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_sources_api_operation_request_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_sources_api_operation_request_dto import ServicingSourcesAPIOperationRequestDTO - -class TestServicingSourcesAPIOperationRequestDTO(unittest.TestCase): - """ServicingSourcesAPIOperationRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSourcesAPIOperationRequestDTO: - """Test ServicingSourcesAPIOperationRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSourcesAPIOperationRequestDTO` - """ - model = ServicingSourcesAPIOperationRequestDTO() - if include_optional: - return ServicingSourcesAPIOperationRequestDTO( - operation = 'unknownSourcesAPIOperation', - clone_files_into_source_parameters = visier_platform_sdk.models.servicing/clone_files_into_source_parameters_dto.servicing.CloneFilesIntoSourceParametersDTO( - origin_source = '', - target_source = '', - date_range = None, ) - ) - else: - return ServicingSourcesAPIOperationRequestDTO( - ) - """ - - def testServicingSourcesAPIOperationRequestDTO(self): - """Test ServicingSourcesAPIOperationRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_static_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_servicing_static_dimension_filter_dto.py deleted file mode 100644 index ad37a205a1..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_static_dimension_filter_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_static_dimension_filter_dto import ServicingStaticDimensionFilterDTO - -class TestServicingStaticDimensionFilterDTO(unittest.TestCase): - """ServicingStaticDimensionFilterDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingStaticDimensionFilterDTO: - """Test ServicingStaticDimensionFilterDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingStaticDimensionFilterDTO` - """ - model = ServicingStaticDimensionFilterDTO() - if include_optional: - return ServicingStaticDimensionFilterDTO( - dimension_id = '', - subject_reference_path = [ - '' - ], - member_selections = [ - visier_platform_sdk.models.servicing/member_selection_dto.servicing.MemberSelectionDTO( - name_path = [ - '' - ], - excluded = True, - dimension_member_status = 'Unset', ) - ], - dimension_status = 'Unset' - ) - else: - return ServicingStaticDimensionFilterDTO( - ) - """ - - def testServicingStaticDimensionFilterDTO(self): - """Test ServicingStaticDimensionFilterDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_successful_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_servicing_successful_accessible_tenant_profile_assignment_dto.py deleted file mode 100644 index a4a2c5d102..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_successful_accessible_tenant_profile_assignment_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_successful_accessible_tenant_profile_assignment_dto import ServicingSuccessfulAccessibleTenantProfileAssignmentDTO - -class TestServicingSuccessfulAccessibleTenantProfileAssignmentDTO(unittest.TestCase): - """ServicingSuccessfulAccessibleTenantProfileAssignmentDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSuccessfulAccessibleTenantProfileAssignmentDTO: - """Test ServicingSuccessfulAccessibleTenantProfileAssignmentDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSuccessfulAccessibleTenantProfileAssignmentDTO` - """ - model = ServicingSuccessfulAccessibleTenantProfileAssignmentDTO() - if include_optional: - return ServicingSuccessfulAccessibleTenantProfileAssignmentDTO( - user_id = '', - tenant_code = '', - for_all_children = True - ) - else: - return ServicingSuccessfulAccessibleTenantProfileAssignmentDTO( - ) - """ - - def testServicingSuccessfulAccessibleTenantProfileAssignmentDTO(self): - """Test ServicingSuccessfulAccessibleTenantProfileAssignmentDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_successful_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_servicing_successful_local_tenant_profile_assignment_dto.py deleted file mode 100644 index bfb16cbbbb..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_successful_local_tenant_profile_assignment_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_successful_local_tenant_profile_assignment_dto import ServicingSuccessfulLocalTenantProfileAssignmentDTO - -class TestServicingSuccessfulLocalTenantProfileAssignmentDTO(unittest.TestCase): - """ServicingSuccessfulLocalTenantProfileAssignmentDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingSuccessfulLocalTenantProfileAssignmentDTO: - """Test ServicingSuccessfulLocalTenantProfileAssignmentDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingSuccessfulLocalTenantProfileAssignmentDTO` - """ - model = ServicingSuccessfulLocalTenantProfileAssignmentDTO() - if include_optional: - return ServicingSuccessfulLocalTenantProfileAssignmentDTO( - user_id = '' - ) - else: - return ServicingSuccessfulLocalTenantProfileAssignmentDTO( - ) - """ - - def testServicingSuccessfulLocalTenantProfileAssignmentDTO(self): - """Test ServicingSuccessfulLocalTenantProfileAssignmentDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_target_tenant_code_dto.py b/src/visier_platform_sdk/test/test_servicing_target_tenant_code_dto.py deleted file mode 100644 index b971a27e15..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_target_tenant_code_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_target_tenant_code_dto import ServicingTargetTenantCodeDTO - -class TestServicingTargetTenantCodeDTO(unittest.TestCase): - """ServicingTargetTenantCodeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingTargetTenantCodeDTO: - """Test ServicingTargetTenantCodeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingTargetTenantCodeDTO` - """ - model = ServicingTargetTenantCodeDTO() - if include_optional: - return ServicingTargetTenantCodeDTO( - tenant_code = '', - for_all_children = True - ) - else: - return ServicingTargetTenantCodeDTO( - ) - """ - - def testServicingTargetTenantCodeDTO(self): - """Test ServicingTargetTenantCodeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_tenant_code_error_dto.py b/src/visier_platform_sdk/test/test_servicing_tenant_code_error_dto.py deleted file mode 100644 index 68f1f6b793..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_tenant_code_error_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_tenant_code_error_dto import ServicingTenantCodeErrorDTO - -class TestServicingTenantCodeErrorDTO(unittest.TestCase): - """ServicingTenantCodeErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingTenantCodeErrorDTO: - """Test ServicingTenantCodeErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingTenantCodeErrorDTO` - """ - model = ServicingTenantCodeErrorDTO() - if include_optional: - return ServicingTenantCodeErrorDTO( - tenant_code = '', - for_all_children = True, - error = visier_platform_sdk.models.servicing/error_dto.servicing.ErrorDTO( - root_cause_id = '', - error_code = '', - error_message = '', ) - ) - else: - return ServicingTenantCodeErrorDTO( - ) - """ - - def testServicingTenantCodeErrorDTO(self): - """Test ServicingTenantCodeErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_tenant_data_upload_status_response_dto.py b/src/visier_platform_sdk/test/test_servicing_tenant_data_upload_status_response_dto.py deleted file mode 100644 index 0c0d87cb1e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_tenant_data_upload_status_response_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_tenant_data_upload_status_response_dto import ServicingTenantDataUploadStatusResponseDTO - -class TestServicingTenantDataUploadStatusResponseDTO(unittest.TestCase): - """ServicingTenantDataUploadStatusResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingTenantDataUploadStatusResponseDTO: - """Test ServicingTenantDataUploadStatusResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingTenantDataUploadStatusResponseDTO` - """ - model = ServicingTenantDataUploadStatusResponseDTO() - if include_optional: - return ServicingTenantDataUploadStatusResponseDTO( - upload_time = '', - included = True - ) - else: - return ServicingTenantDataUploadStatusResponseDTO( - ) - """ - - def testServicingTenantDataUploadStatusResponseDTO(self): - """Test ServicingTenantDataUploadStatusResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_tenant_data_upload_update_status_response_dto.py b/src/visier_platform_sdk/test/test_servicing_tenant_data_upload_update_status_response_dto.py deleted file mode 100644 index 7b92c7b295..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_tenant_data_upload_update_status_response_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_tenant_data_upload_update_status_response_dto import ServicingTenantDataUploadUpdateStatusResponseDTO - -class TestServicingTenantDataUploadUpdateStatusResponseDTO(unittest.TestCase): - """ServicingTenantDataUploadUpdateStatusResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingTenantDataUploadUpdateStatusResponseDTO: - """Test ServicingTenantDataUploadUpdateStatusResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingTenantDataUploadUpdateStatusResponseDTO` - """ - model = ServicingTenantDataUploadUpdateStatusResponseDTO() - if include_optional: - return ServicingTenantDataUploadUpdateStatusResponseDTO( - tenant_code = '', - upload_time = '', - status = '', - message = '' - ) - else: - return ServicingTenantDataUploadUpdateStatusResponseDTO( - ) - """ - - def testServicingTenantDataUploadUpdateStatusResponseDTO(self): - """Test ServicingTenantDataUploadUpdateStatusResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_list_response_dto.py b/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_list_response_dto.py deleted file mode 100644 index 6b42f81ca3..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_list_response_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_tenant_data_uploads_list_response_dto import ServicingTenantDataUploadsListResponseDTO - -class TestServicingTenantDataUploadsListResponseDTO(unittest.TestCase): - """ServicingTenantDataUploadsListResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingTenantDataUploadsListResponseDTO: - """Test ServicingTenantDataUploadsListResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingTenantDataUploadsListResponseDTO` - """ - model = ServicingTenantDataUploadsListResponseDTO() - if include_optional: - return ServicingTenantDataUploadsListResponseDTO( - tenants = [ - visier_platform_sdk.models.servicing/tenant_data_uploads_response_dto.servicing.TenantDataUploadsResponseDTO( - tenant_code = '', - uploads = [ - visier_platform_sdk.models.servicing/tenant_data_upload_status_response_dto.servicing.TenantDataUploadStatusResponseDTO( - upload_time = '', - included = True, ) - ], ) - ], - limit = 56, - start = 56 - ) - else: - return ServicingTenantDataUploadsListResponseDTO( - ) - """ - - def testServicingTenantDataUploadsListResponseDTO(self): - """Test ServicingTenantDataUploadsListResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_response_dto.py b/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_response_dto.py deleted file mode 100644 index 5170cf4055..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_response_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_tenant_data_uploads_response_dto import ServicingTenantDataUploadsResponseDTO - -class TestServicingTenantDataUploadsResponseDTO(unittest.TestCase): - """ServicingTenantDataUploadsResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingTenantDataUploadsResponseDTO: - """Test ServicingTenantDataUploadsResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingTenantDataUploadsResponseDTO` - """ - model = ServicingTenantDataUploadsResponseDTO() - if include_optional: - return ServicingTenantDataUploadsResponseDTO( - tenant_code = '', - uploads = [ - visier_platform_sdk.models.servicing/tenant_data_upload_status_response_dto.servicing.TenantDataUploadStatusResponseDTO( - upload_time = '', - included = True, ) - ] - ) - else: - return ServicingTenantDataUploadsResponseDTO( - ) - """ - - def testServicingTenantDataUploadsResponseDTO(self): - """Test ServicingTenantDataUploadsResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_update_response_dto.py b/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_update_response_dto.py deleted file mode 100644 index 89b51dfcd0..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_tenant_data_uploads_update_response_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_tenant_data_uploads_update_response_dto import ServicingTenantDataUploadsUpdateResponseDTO - -class TestServicingTenantDataUploadsUpdateResponseDTO(unittest.TestCase): - """ServicingTenantDataUploadsUpdateResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingTenantDataUploadsUpdateResponseDTO: - """Test ServicingTenantDataUploadsUpdateResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingTenantDataUploadsUpdateResponseDTO` - """ - model = ServicingTenantDataUploadsUpdateResponseDTO() - if include_optional: - return ServicingTenantDataUploadsUpdateResponseDTO( - total_failures = 56, - total_success = 56, - uploads = [ - visier_platform_sdk.models.servicing/tenant_data_upload_update_status_response_dto.servicing.TenantDataUploadUpdateStatusResponseDTO( - tenant_code = '', - upload_time = '', - status = '', - message = '', ) - ] - ) - else: - return ServicingTenantDataUploadsUpdateResponseDTO( - ) - """ - - def testServicingTenantDataUploadsUpdateResponseDTO(self): - """Test ServicingTenantDataUploadsUpdateResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_user_creation_api_request_dto.py b/src/visier_platform_sdk/test/test_servicing_user_creation_api_request_dto.py deleted file mode 100644 index 071720da6a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_user_creation_api_request_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_user_creation_api_request_dto import ServicingUserCreationAPIRequestDTO - -class TestServicingUserCreationAPIRequestDTO(unittest.TestCase): - """ServicingUserCreationAPIRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUserCreationAPIRequestDTO: - """Test ServicingUserCreationAPIRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUserCreationAPIRequestDTO` - """ - model = ServicingUserCreationAPIRequestDTO() - if include_optional: - return ServicingUserCreationAPIRequestDTO( - username = '', - display_name = '', - employee_id = '', - account_enabled = '', - email = '' - ) - else: - return ServicingUserCreationAPIRequestDTO( - ) - """ - - def testServicingUserCreationAPIRequestDTO(self): - """Test ServicingUserCreationAPIRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_user_get_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_user_get_api_response_dto.py deleted file mode 100644 index 5c8a450226..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_user_get_api_response_dto.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_user_get_api_response_dto import ServicingUserGetAPIResponseDTO - -class TestServicingUserGetAPIResponseDTO(unittest.TestCase): - """ServicingUserGetAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUserGetAPIResponseDTO: - """Test ServicingUserGetAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUserGetAPIResponseDTO` - """ - model = ServicingUserGetAPIResponseDTO() - if include_optional: - return ServicingUserGetAPIResponseDTO( - user_id = '', - username = '', - display_name = '', - employee_id = '', - account_enabled = True, - profiles = visier_platform_sdk.models.servicing/all_profile_assigned_for_local_tenant_dto.servicing.AllProfileAssignedForLocalTenantDTO( - assigned_profiles = [ - visier_platform_sdk.models.servicing/profile_assigned_for_local_tenant_dto.servicing.ProfileAssignedForLocalTenantDTO( - profile_id = '', - display_name = '', - validity_start_time = '', - validity_end_time = '', - capabilities = [ - visier_platform_sdk.models.servicing/capabilities_dto.servicing.CapabilitiesDTO( - capability = '', - access_level = '', - view_level = '', ) - ], - additional_capabilities = None, ) - ], ), - permissions = visier_platform_sdk.models.servicing/all_permissions_assigned_for_local_tenant_dto.servicing.AllPermissionsAssignedForLocalTenantDTO( - assigned_permissions = [ - visier_platform_sdk.models.servicing/permission_assigned_for_local_tenant_dto.servicing.PermissionAssignedForLocalTenantDTO( - permission_id = '', - display_name = '', - description = '', ) - ], ), - user_groups = visier_platform_sdk.models.servicing/all_user_groups_assigned_for_local_tenant_dto.servicing.AllUserGroupsAssignedForLocalTenantDTO( - assigned_user_groups = [ - visier_platform_sdk.models.servicing/user_group_assigned_for_local_tenant_dto.servicing.UserGroupAssignedForLocalTenantDTO( - user_group_id = '', - display_name = '', ) - ], ), - last_login = visier_platform_sdk.models.servicing/last_login_dto.servicing.LastLoginDTO( - timestamp = '', ), - email = '' - ) - else: - return ServicingUserGetAPIResponseDTO( - ) - """ - - def testServicingUserGetAPIResponseDTO(self): - """Test ServicingUserGetAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_user_group_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_user_group_assigned_for_local_tenant_dto.py deleted file mode 100644 index ac1277d3d1..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_user_group_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_user_group_assigned_for_local_tenant_dto import ServicingUserGroupAssignedForLocalTenantDTO - -class TestServicingUserGroupAssignedForLocalTenantDTO(unittest.TestCase): - """ServicingUserGroupAssignedForLocalTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUserGroupAssignedForLocalTenantDTO: - """Test ServicingUserGroupAssignedForLocalTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUserGroupAssignedForLocalTenantDTO` - """ - model = ServicingUserGroupAssignedForLocalTenantDTO() - if include_optional: - return ServicingUserGroupAssignedForLocalTenantDTO( - user_group_id = '', - display_name = '' - ) - else: - return ServicingUserGroupAssignedForLocalTenantDTO( - ) - """ - - def testServicingUserGroupAssignedForLocalTenantDTO(self): - """Test ServicingUserGroupAssignedForLocalTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_user_group_assignment_dto.py b/src/visier_platform_sdk/test/test_servicing_user_group_assignment_dto.py deleted file mode 100644 index ec527e83b3..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_user_group_assignment_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_user_group_assignment_dto import ServicingUserGroupAssignmentDTO - -class TestServicingUserGroupAssignmentDTO(unittest.TestCase): - """ServicingUserGroupAssignmentDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUserGroupAssignmentDTO: - """Test ServicingUserGroupAssignmentDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUserGroupAssignmentDTO` - """ - model = ServicingUserGroupAssignmentDTO() - if include_optional: - return ServicingUserGroupAssignmentDTO( - user_group_ids = [ - '' - ] - ) - else: - return ServicingUserGroupAssignmentDTO( - ) - """ - - def testServicingUserGroupAssignmentDTO(self): - """Test ServicingUserGroupAssignmentDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_user_id_error_dto.py b/src/visier_platform_sdk/test/test_servicing_user_id_error_dto.py deleted file mode 100644 index a352fe966b..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_user_id_error_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_user_id_error_dto import ServicingUserIdErrorDTO - -class TestServicingUserIdErrorDTO(unittest.TestCase): - """ServicingUserIdErrorDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUserIdErrorDTO: - """Test ServicingUserIdErrorDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUserIdErrorDTO` - """ - model = ServicingUserIdErrorDTO() - if include_optional: - return ServicingUserIdErrorDTO( - user_id = '', - error = visier_platform_sdk.models.servicing/error_dto.servicing.ErrorDTO( - root_cause_id = '', - error_code = '', - error_message = '', ) - ) - else: - return ServicingUserIdErrorDTO( - ) - """ - - def testServicingUserIdErrorDTO(self): - """Test ServicingUserIdErrorDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_user_property_dto.py b/src/visier_platform_sdk/test/test_servicing_user_property_dto.py deleted file mode 100644 index a05d859121..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_user_property_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_user_property_dto import ServicingUserPropertyDTO - -class TestServicingUserPropertyDTO(unittest.TestCase): - """ServicingUserPropertyDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUserPropertyDTO: - """Test ServicingUserPropertyDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUserPropertyDTO` - """ - model = ServicingUserPropertyDTO() - if include_optional: - return ServicingUserPropertyDTO( - name = '' - ) - else: - return ServicingUserPropertyDTO( - ) - """ - - def testServicingUserPropertyDTO(self): - """Test ServicingUserPropertyDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_user_update_api_request_dto.py b/src/visier_platform_sdk/test/test_servicing_user_update_api_request_dto.py deleted file mode 100644 index 72030ab052..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_user_update_api_request_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_user_update_api_request_dto import ServicingUserUpdateAPIRequestDTO - -class TestServicingUserUpdateAPIRequestDTO(unittest.TestCase): - """ServicingUserUpdateAPIRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUserUpdateAPIRequestDTO: - """Test ServicingUserUpdateAPIRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUserUpdateAPIRequestDTO` - """ - model = ServicingUserUpdateAPIRequestDTO() - if include_optional: - return ServicingUserUpdateAPIRequestDTO( - display_name = '', - employee_id = '', - account_enabled = '', - email = '', - username = '' - ) - else: - return ServicingUserUpdateAPIRequestDTO( - ) - """ - - def testServicingUserUpdateAPIRequestDTO(self): - """Test ServicingUserUpdateAPIRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_users_api_error_message_dto.py b/src/visier_platform_sdk/test/test_servicing_users_api_error_message_dto.py deleted file mode 100644 index 6dff412258..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_users_api_error_message_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_users_api_error_message_dto import ServicingUsersAPIErrorMessageDTO - -class TestServicingUsersAPIErrorMessageDTO(unittest.TestCase): - """ServicingUsersAPIErrorMessageDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUsersAPIErrorMessageDTO: - """Test ServicingUsersAPIErrorMessageDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUsersAPIErrorMessageDTO` - """ - model = ServicingUsersAPIErrorMessageDTO() - if include_optional: - return ServicingUsersAPIErrorMessageDTO( - message = '', - rci = '' - ) - else: - return ServicingUsersAPIErrorMessageDTO( - ) - """ - - def testServicingUsersAPIErrorMessageDTO(self): - """Test ServicingUsersAPIErrorMessageDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_users_api_failure_dto.py b/src/visier_platform_sdk/test/test_servicing_users_api_failure_dto.py deleted file mode 100644 index bc8bfb83d1..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_users_api_failure_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_users_api_failure_dto import ServicingUsersAPIFailureDTO - -class TestServicingUsersAPIFailureDTO(unittest.TestCase): - """ServicingUsersAPIFailureDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUsersAPIFailureDTO: - """Test ServicingUsersAPIFailureDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUsersAPIFailureDTO` - """ - model = ServicingUsersAPIFailureDTO() - if include_optional: - return ServicingUsersAPIFailureDTO( - user_id = '', - user_name = '', - display_name = '', - error = visier_platform_sdk.models.servicing/users_api_error_message_dto.servicing.UsersAPIErrorMessageDTO( - message = '', - rci = '', ) - ) - else: - return ServicingUsersAPIFailureDTO( - ) - """ - - def testServicingUsersAPIFailureDTO(self): - """Test ServicingUsersAPIFailureDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_users_api_response_dto.py b/src/visier_platform_sdk/test/test_servicing_users_api_response_dto.py deleted file mode 100644 index aadda46671..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_users_api_response_dto.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_users_api_response_dto import ServicingUsersAPIResponseDTO - -class TestServicingUsersAPIResponseDTO(unittest.TestCase): - """ServicingUsersAPIResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUsersAPIResponseDTO: - """Test ServicingUsersAPIResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUsersAPIResponseDTO` - """ - model = ServicingUsersAPIResponseDTO() - if include_optional: - return ServicingUsersAPIResponseDTO( - successes = [ - visier_platform_sdk.models.servicing/users_api_success_dto.servicing.UsersAPISuccessDTO( - user_id = '', - username = '', - display_name = '', - employee_id = '', - account_enabled = '', - email = '', ) - ], - failures = [ - visier_platform_sdk.models.servicing/users_api_failure_dto.servicing.UsersAPIFailureDTO( - user_id = '', - user_name = '', - display_name = '', - error = None, ) - ] - ) - else: - return ServicingUsersAPIResponseDTO( - ) - """ - - def testServicingUsersAPIResponseDTO(self): - """Test ServicingUsersAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_users_api_success_dto.py b/src/visier_platform_sdk/test/test_servicing_users_api_success_dto.py deleted file mode 100644 index c5f510f3c3..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_users_api_success_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_users_api_success_dto import ServicingUsersAPISuccessDTO - -class TestServicingUsersAPISuccessDTO(unittest.TestCase): - """ServicingUsersAPISuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUsersAPISuccessDTO: - """Test ServicingUsersAPISuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUsersAPISuccessDTO` - """ - model = ServicingUsersAPISuccessDTO() - if include_optional: - return ServicingUsersAPISuccessDTO( - user_id = '', - username = '', - display_name = '', - employee_id = '', - account_enabled = '', - email = '' - ) - else: - return ServicingUsersAPISuccessDTO( - ) - """ - - def testServicingUsersAPISuccessDTO(self): - """Test ServicingUsersAPISuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_users_creation_api_request_dto.py b/src/visier_platform_sdk/test/test_servicing_users_creation_api_request_dto.py deleted file mode 100644 index 60562f5054..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_users_creation_api_request_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_users_creation_api_request_dto import ServicingUsersCreationAPIRequestDTO - -class TestServicingUsersCreationAPIRequestDTO(unittest.TestCase): - """ServicingUsersCreationAPIRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUsersCreationAPIRequestDTO: - """Test ServicingUsersCreationAPIRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUsersCreationAPIRequestDTO` - """ - model = ServicingUsersCreationAPIRequestDTO() - if include_optional: - return ServicingUsersCreationAPIRequestDTO( - users = [ - visier_platform_sdk.models.servicing/user_creation_api_request_dto.servicing.UserCreationAPIRequestDTO( - username = '', - display_name = '', - employee_id = '', - account_enabled = '', - email = '', ) - ] - ) - else: - return ServicingUsersCreationAPIRequestDTO( - ) - """ - - def testServicingUsersCreationAPIRequestDTO(self): - """Test ServicingUsersCreationAPIRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_users_delete_api_request_dto.py b/src/visier_platform_sdk/test/test_servicing_users_delete_api_request_dto.py deleted file mode 100644 index d2d27e8c00..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_users_delete_api_request_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_users_delete_api_request_dto import ServicingUsersDeleteAPIRequestDTO - -class TestServicingUsersDeleteAPIRequestDTO(unittest.TestCase): - """ServicingUsersDeleteAPIRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUsersDeleteAPIRequestDTO: - """Test ServicingUsersDeleteAPIRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUsersDeleteAPIRequestDTO` - """ - model = ServicingUsersDeleteAPIRequestDTO() - if include_optional: - return ServicingUsersDeleteAPIRequestDTO( - user_ids = [ - '' - ] - ) - else: - return ServicingUsersDeleteAPIRequestDTO( - ) - """ - - def testServicingUsersDeleteAPIRequestDTO(self): - """Test ServicingUsersDeleteAPIRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_users_update_api_request_dto.py b/src/visier_platform_sdk/test/test_servicing_users_update_api_request_dto.py deleted file mode 100644 index 54a98de888..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_users_update_api_request_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_users_update_api_request_dto import ServicingUsersUpdateAPIRequestDTO - -class TestServicingUsersUpdateAPIRequestDTO(unittest.TestCase): - """ServicingUsersUpdateAPIRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUsersUpdateAPIRequestDTO: - """Test ServicingUsersUpdateAPIRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUsersUpdateAPIRequestDTO` - """ - model = ServicingUsersUpdateAPIRequestDTO() - if include_optional: - return ServicingUsersUpdateAPIRequestDTO( - users = [ - visier_platform_sdk.models.servicing/users_update_api_user_dto.servicing.UsersUpdateAPIUserDTO( - user_id = '', - display_name = '', - employee_id = '', - account_enabled = '', - email = '', - username = '', ) - ] - ) - else: - return ServicingUsersUpdateAPIRequestDTO( - ) - """ - - def testServicingUsersUpdateAPIRequestDTO(self): - """Test ServicingUsersUpdateAPIRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_users_update_api_user_dto.py b/src/visier_platform_sdk/test/test_servicing_users_update_api_user_dto.py deleted file mode 100644 index 12a4a04672..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_users_update_api_user_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_users_update_api_user_dto import ServicingUsersUpdateAPIUserDTO - -class TestServicingUsersUpdateAPIUserDTO(unittest.TestCase): - """ServicingUsersUpdateAPIUserDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingUsersUpdateAPIUserDTO: - """Test ServicingUsersUpdateAPIUserDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingUsersUpdateAPIUserDTO` - """ - model = ServicingUsersUpdateAPIUserDTO() - if include_optional: - return ServicingUsersUpdateAPIUserDTO( - user_id = '', - display_name = '', - employee_id = '', - account_enabled = '', - email = '', - username = '' - ) - else: - return ServicingUsersUpdateAPIUserDTO( - ) - """ - - def testServicingUsersUpdateAPIUserDTO(self): - """Test ServicingUsersUpdateAPIUserDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_definition_dto.py deleted file mode 100644 index c4e48097a7..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_definition_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_definition_dto import ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO - -class TestServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO: - """Test ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO` - """ - model = ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO() - if include_optional: - return ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO( - uuid = '', - object_name = '', - update_operation = 'unspecified' - ) - else: - return ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO( - ) - """ - - def testServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO(self): - """Test ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_request_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_request_dto.py deleted file mode 100644 index dbf334a3f6..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_request_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_request_dto import ServicingV2ObjectconfigurationAnalyticObjectRequestDTO - -class TestServicingV2ObjectconfigurationAnalyticObjectRequestDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationAnalyticObjectRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationAnalyticObjectRequestDTO: - """Test ServicingV2ObjectconfigurationAnalyticObjectRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationAnalyticObjectRequestDTO` - """ - model = ServicingV2ObjectconfigurationAnalyticObjectRequestDTO() - if include_optional: - return ServicingV2ObjectconfigurationAnalyticObjectRequestDTO( - analytic_objects = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/analytic_object_with_context_dto.servicing.v2.objectconfiguration.AnalyticObjectWithContextDTO( - execution_context = None, - analytic_object = None, ) - ] - ) - else: - return ServicingV2ObjectconfigurationAnalyticObjectRequestDTO( - ) - """ - - def testServicingV2ObjectconfigurationAnalyticObjectRequestDTO(self): - """Test ServicingV2ObjectconfigurationAnalyticObjectRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_with_context_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_with_context_dto.py deleted file mode 100644 index 333c1965e4..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_analytic_object_with_context_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_with_context_dto import ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO - -class TestServicingV2ObjectconfigurationAnalyticObjectWithContextDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO: - """Test ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO` - """ - model = ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO() - if include_optional: - return ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO( - execution_context = visier_platform_sdk.models.servicing/v2/objectconfiguration/execution_context_dto.servicing.v2.objectconfiguration.ExecutionContextDTO( - tenant_code = '', - project_id = '', ), - analytic_object = visier_platform_sdk.models.servicing/v2/objectconfiguration/analytic_object_definition_dto.servicing.v2.objectconfiguration.AnalyticObjectDefinitionDTO( - uuid = '', - object_name = '', - update_operation = 'unspecified', ) - ) - else: - return ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO( - ) - """ - - def testServicingV2ObjectconfigurationAnalyticObjectWithContextDTO(self): - """Test ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_basic_information_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_basic_information_dto.py deleted file mode 100644 index 6e8db6b08a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_basic_information_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_basic_information_dto import ServicingV2ObjectconfigurationBasicInformationDTO - -class TestServicingV2ObjectconfigurationBasicInformationDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationBasicInformationDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationBasicInformationDTO: - """Test ServicingV2ObjectconfigurationBasicInformationDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationBasicInformationDTO` - """ - model = ServicingV2ObjectconfigurationBasicInformationDTO() - if include_optional: - return ServicingV2ObjectconfigurationBasicInformationDTO( - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - synonym_list = visier_platform_sdk.models.servicing/v2/objectconfiguration/synonym_list_dto.servicing.v2.objectconfiguration.SynonymListDTO( - synonyms = [ - '' - ], ) - ) - else: - return ServicingV2ObjectconfigurationBasicInformationDTO( - ) - """ - - def testServicingV2ObjectconfigurationBasicInformationDTO(self): - """Test ServicingV2ObjectconfigurationBasicInformationDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_bulk_change_response_dto.py deleted file mode 100644 index 004cde0bfb..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_bulk_change_response_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_bulk_change_response_dto import ServicingV2ObjectconfigurationBulkChangeResponseDTO - -class TestServicingV2ObjectconfigurationBulkChangeResponseDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationBulkChangeResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationBulkChangeResponseDTO: - """Test ServicingV2ObjectconfigurationBulkChangeResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationBulkChangeResponseDTO` - """ - model = ServicingV2ObjectconfigurationBulkChangeResponseDTO() - if include_optional: - return ServicingV2ObjectconfigurationBulkChangeResponseDTO( - successes = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/successful_change_dto.servicing.v2.objectconfiguration.SuccessfulChangeDTO( - execution_context = None, - object_name = '', - uuid = '', - display_name = '', ) - ], - failures = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/failed_change_dto.servicing.v2.objectconfiguration.FailedChangeDTO( - execution_context = None, - object_name = '', - uuid = '', - display_name = '', - messages = [ - '' - ], ) - ] - ) - else: - return ServicingV2ObjectconfigurationBulkChangeResponseDTO( - ) - """ - - def testServicingV2ObjectconfigurationBulkChangeResponseDTO(self): - """Test ServicingV2ObjectconfigurationBulkChangeResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_calculated_property_type_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_calculated_property_type_dto.py deleted file mode 100644 index 32863ec387..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_calculated_property_type_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_calculated_property_type_dto import ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO - -class TestServicingV2ObjectconfigurationCalculatedPropertyTypeDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO: - """Test ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO` - """ - model = ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO() - if include_optional: - return ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO( - data_type = '', - primitive_type = '', - formula = '' - ) - else: - return ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO( - ) - """ - - def testServicingV2ObjectconfigurationCalculatedPropertyTypeDTO(self): - """Test ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_definition_dto.py deleted file mode 100644 index 08e22d937a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_definition_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_definition_dto import ServicingV2ObjectconfigurationConceptDefinitionDTO - -class TestServicingV2ObjectconfigurationConceptDefinitionDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationConceptDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationConceptDefinitionDTO: - """Test ServicingV2ObjectconfigurationConceptDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationConceptDefinitionDTO` - """ - model = ServicingV2ObjectconfigurationConceptDefinitionDTO() - if include_optional: - return ServicingV2ObjectconfigurationConceptDefinitionDTO( - uuid = '', - object_name = '', - basic_information = visier_platform_sdk.models.servicing/v2/objectconfiguration/basic_information_dto.servicing.v2.objectconfiguration.BasicInformationDTO( - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - synonym_list = None, ), - details = visier_platform_sdk.models.servicing/v2/objectconfiguration/concept_type_details_dto.servicing.v2.objectconfiguration.ConceptTypeDetailsDTO( - process = None, ) - ) - else: - return ServicingV2ObjectconfigurationConceptDefinitionDTO( - ) - """ - - def testServicingV2ObjectconfigurationConceptDefinitionDTO(self): - """Test ServicingV2ObjectconfigurationConceptDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_delete_request_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_delete_request_dto.py deleted file mode 100644 index f46252c199..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_delete_request_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_delete_request_dto import ServicingV2ObjectconfigurationConceptDeleteRequestDTO - -class TestServicingV2ObjectconfigurationConceptDeleteRequestDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationConceptDeleteRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationConceptDeleteRequestDTO: - """Test ServicingV2ObjectconfigurationConceptDeleteRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationConceptDeleteRequestDTO` - """ - model = ServicingV2ObjectconfigurationConceptDeleteRequestDTO() - if include_optional: - return ServicingV2ObjectconfigurationConceptDeleteRequestDTO( - concepts = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/concept_delete_with_context_dto.servicing.v2.objectconfiguration.ConceptDeleteWithContextDTO( - execution_context = None, - concept = None, ) - ] - ) - else: - return ServicingV2ObjectconfigurationConceptDeleteRequestDTO( - ) - """ - - def testServicingV2ObjectconfigurationConceptDeleteRequestDTO(self): - """Test ServicingV2ObjectconfigurationConceptDeleteRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_delete_with_context_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_delete_with_context_dto.py deleted file mode 100644 index 2a83bc5ce2..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_delete_with_context_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_delete_with_context_dto import ServicingV2ObjectconfigurationConceptDeleteWithContextDTO - -class TestServicingV2ObjectconfigurationConceptDeleteWithContextDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationConceptDeleteWithContextDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationConceptDeleteWithContextDTO: - """Test ServicingV2ObjectconfigurationConceptDeleteWithContextDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationConceptDeleteWithContextDTO` - """ - model = ServicingV2ObjectconfigurationConceptDeleteWithContextDTO() - if include_optional: - return ServicingV2ObjectconfigurationConceptDeleteWithContextDTO( - execution_context = visier_platform_sdk.models.servicing/v2/objectconfiguration/execution_context_dto.servicing.v2.objectconfiguration.ExecutionContextDTO( - tenant_code = '', - project_id = '', ), - concept = visier_platform_sdk.models.servicing/v2/objectconfiguration/object_id_dto.servicing.v2.objectconfiguration.ObjectIdDTO( - uuid = '', - object_name = '', ) - ) - else: - return ServicingV2ObjectconfigurationConceptDeleteWithContextDTO( - ) - """ - - def testServicingV2ObjectconfigurationConceptDeleteWithContextDTO(self): - """Test ServicingV2ObjectconfigurationConceptDeleteWithContextDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_request_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_request_dto.py deleted file mode 100644 index 78c5da5fe1..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_request_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_request_dto import ServicingV2ObjectconfigurationConceptRequestDTO - -class TestServicingV2ObjectconfigurationConceptRequestDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationConceptRequestDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationConceptRequestDTO: - """Test ServicingV2ObjectconfigurationConceptRequestDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationConceptRequestDTO` - """ - model = ServicingV2ObjectconfigurationConceptRequestDTO() - if include_optional: - return ServicingV2ObjectconfigurationConceptRequestDTO( - concepts = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/concept_with_context_dto.servicing.v2.objectconfiguration.ConceptWithContextDTO( - execution_context = None, - concept = None, ) - ] - ) - else: - return ServicingV2ObjectconfigurationConceptRequestDTO( - ) - """ - - def testServicingV2ObjectconfigurationConceptRequestDTO(self): - """Test ServicingV2ObjectconfigurationConceptRequestDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_response_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_response_dto.py deleted file mode 100644 index b2a6f92c41..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_response_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_response_dto import ServicingV2ObjectconfigurationConceptResponseDTO - -class TestServicingV2ObjectconfigurationConceptResponseDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationConceptResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationConceptResponseDTO: - """Test ServicingV2ObjectconfigurationConceptResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationConceptResponseDTO` - """ - model = ServicingV2ObjectconfigurationConceptResponseDTO() - if include_optional: - return ServicingV2ObjectconfigurationConceptResponseDTO( - concepts = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/concept_with_context_dto.servicing.v2.objectconfiguration.ConceptWithContextDTO( - execution_context = None, - concept = None, ) - ] - ) - else: - return ServicingV2ObjectconfigurationConceptResponseDTO( - ) - """ - - def testServicingV2ObjectconfigurationConceptResponseDTO(self): - """Test ServicingV2ObjectconfigurationConceptResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_type_details_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_type_details_dto.py deleted file mode 100644 index 9aef888417..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_type_details_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_type_details_dto import ServicingV2ObjectconfigurationConceptTypeDetailsDTO - -class TestServicingV2ObjectconfigurationConceptTypeDetailsDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationConceptTypeDetailsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationConceptTypeDetailsDTO: - """Test ServicingV2ObjectconfigurationConceptTypeDetailsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationConceptTypeDetailsDTO` - """ - model = ServicingV2ObjectconfigurationConceptTypeDetailsDTO() - if include_optional: - return ServicingV2ObjectconfigurationConceptTypeDetailsDTO( - process = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_definition_dto.servicing.v2.objectconfiguration.ProcessConceptDefinitionDTO( - analytic_object_name = '', - status_dimension_object_name = '', - participation_concept_uuid = '', - on_hold_concept_uuid = '', - stage_list = None, - outcome_list = None, - metric_list = None, - property_list = None, - tag_list = None, - visible_in_analytics = True, - include_with_vee = True, ) - ) - else: - return ServicingV2ObjectconfigurationConceptTypeDetailsDTO( - ) - """ - - def testServicingV2ObjectconfigurationConceptTypeDetailsDTO(self): - """Test ServicingV2ObjectconfigurationConceptTypeDetailsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_with_context_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_with_context_dto.py deleted file mode 100644 index ad71f0c8da..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_concept_with_context_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_with_context_dto import ServicingV2ObjectconfigurationConceptWithContextDTO - -class TestServicingV2ObjectconfigurationConceptWithContextDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationConceptWithContextDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationConceptWithContextDTO: - """Test ServicingV2ObjectconfigurationConceptWithContextDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationConceptWithContextDTO` - """ - model = ServicingV2ObjectconfigurationConceptWithContextDTO() - if include_optional: - return ServicingV2ObjectconfigurationConceptWithContextDTO( - execution_context = visier_platform_sdk.models.servicing/v2/objectconfiguration/execution_context_dto.servicing.v2.objectconfiguration.ExecutionContextDTO( - tenant_code = '', - project_id = '', ), - concept = visier_platform_sdk.models.servicing/v2/objectconfiguration/concept_definition_dto.servicing.v2.objectconfiguration.ConceptDefinitionDTO( - uuid = '', - object_name = '', - basic_information = None, - details = None, ) - ) - else: - return ServicingV2ObjectconfigurationConceptWithContextDTO( - ) - """ - - def testServicingV2ObjectconfigurationConceptWithContextDTO(self): - """Test ServicingV2ObjectconfigurationConceptWithContextDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_execution_context_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_execution_context_dto.py deleted file mode 100644 index b93cf940cb..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_execution_context_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_execution_context_dto import ServicingV2ObjectconfigurationExecutionContextDTO - -class TestServicingV2ObjectconfigurationExecutionContextDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationExecutionContextDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationExecutionContextDTO: - """Test ServicingV2ObjectconfigurationExecutionContextDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationExecutionContextDTO` - """ - model = ServicingV2ObjectconfigurationExecutionContextDTO() - if include_optional: - return ServicingV2ObjectconfigurationExecutionContextDTO( - tenant_code = '', - project_id = '' - ) - else: - return ServicingV2ObjectconfigurationExecutionContextDTO( - ) - """ - - def testServicingV2ObjectconfigurationExecutionContextDTO(self): - """Test ServicingV2ObjectconfigurationExecutionContextDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_failed_change_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_failed_change_dto.py deleted file mode 100644 index 53cf1f2493..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_failed_change_dto.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_failed_change_dto import ServicingV2ObjectconfigurationFailedChangeDTO - -class TestServicingV2ObjectconfigurationFailedChangeDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationFailedChangeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationFailedChangeDTO: - """Test ServicingV2ObjectconfigurationFailedChangeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationFailedChangeDTO` - """ - model = ServicingV2ObjectconfigurationFailedChangeDTO() - if include_optional: - return ServicingV2ObjectconfigurationFailedChangeDTO( - execution_context = visier_platform_sdk.models.servicing/v2/objectconfiguration/execution_context_dto.servicing.v2.objectconfiguration.ExecutionContextDTO( - tenant_code = '', - project_id = '', ), - object_name = '', - uuid = '', - display_name = '', - messages = [ - '' - ] - ) - else: - return ServicingV2ObjectconfigurationFailedChangeDTO( - ) - """ - - def testServicingV2ObjectconfigurationFailedChangeDTO(self): - """Test ServicingV2ObjectconfigurationFailedChangeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_metric_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_metric_definition_dto.py deleted file mode 100644 index 94ba1e8bad..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_metric_definition_dto.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_metric_definition_dto import ServicingV2ObjectconfigurationMetricDefinitionDTO - -class TestServicingV2ObjectconfigurationMetricDefinitionDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationMetricDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationMetricDefinitionDTO: - """Test ServicingV2ObjectconfigurationMetricDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationMetricDefinitionDTO` - """ - model = ServicingV2ObjectconfigurationMetricDefinitionDTO() - if include_optional: - return ServicingV2ObjectconfigurationMetricDefinitionDTO( - uuid = '', - object_name = '', - basic_information = visier_platform_sdk.models.servicing/v2/objectconfiguration/basic_information_dto.servicing.v2.objectconfiguration.BasicInformationDTO( - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - synonym_list = None, ), - details = visier_platform_sdk.models.servicing/v2/objectconfiguration/metric_type_details_dto.servicing.v2.objectconfiguration.MetricTypeDetailsDTO( - process_concept = None, ), - additive_type = 'fullyAdditive' - ) - else: - return ServicingV2ObjectconfigurationMetricDefinitionDTO( - ) - """ - - def testServicingV2ObjectconfigurationMetricDefinitionDTO(self): - """Test ServicingV2ObjectconfigurationMetricDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_metric_type_details_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_metric_type_details_dto.py deleted file mode 100644 index 3eb70632e0..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_metric_type_details_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_metric_type_details_dto import ServicingV2ObjectconfigurationMetricTypeDetailsDTO - -class TestServicingV2ObjectconfigurationMetricTypeDetailsDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationMetricTypeDetailsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationMetricTypeDetailsDTO: - """Test ServicingV2ObjectconfigurationMetricTypeDetailsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationMetricTypeDetailsDTO` - """ - model = ServicingV2ObjectconfigurationMetricTypeDetailsDTO() - if include_optional: - return ServicingV2ObjectconfigurationMetricTypeDetailsDTO( - process_concept = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_metric_definition_dto.servicing.v2.objectconfiguration.ProcessConceptMetricDefinitionDTO( - formula = '', - data_type = '', - visible_in_analytics = True, ) - ) - else: - return ServicingV2ObjectconfigurationMetricTypeDetailsDTO( - ) - """ - - def testServicingV2ObjectconfigurationMetricTypeDetailsDTO(self): - """Test ServicingV2ObjectconfigurationMetricTypeDetailsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_object_id_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_object_id_dto.py deleted file mode 100644 index bb41b83731..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_object_id_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_object_id_dto import ServicingV2ObjectconfigurationObjectIdDTO - -class TestServicingV2ObjectconfigurationObjectIdDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationObjectIdDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationObjectIdDTO: - """Test ServicingV2ObjectconfigurationObjectIdDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationObjectIdDTO` - """ - model = ServicingV2ObjectconfigurationObjectIdDTO() - if include_optional: - return ServicingV2ObjectconfigurationObjectIdDTO( - uuid = '', - object_name = '' - ) - else: - return ServicingV2ObjectconfigurationObjectIdDTO( - ) - """ - - def testServicingV2ObjectconfigurationObjectIdDTO(self): - """Test ServicingV2ObjectconfigurationObjectIdDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_definition_dto.py deleted file mode 100644 index ab8964441e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_definition_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_definition_dto import ServicingV2ObjectconfigurationProcessConceptDefinitionDTO - -class TestServicingV2ObjectconfigurationProcessConceptDefinitionDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptDefinitionDTO: - """Test ServicingV2ObjectconfigurationProcessConceptDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptDefinitionDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptDefinitionDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptDefinitionDTO( - analytic_object_name = '', - status_dimension_object_name = '', - participation_concept_uuid = '', - on_hold_concept_uuid = '', - stage_list = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_stage_list_dto.servicing.v2.objectconfiguration.ProcessConceptStageListDTO( - stages = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_stage_dto.servicing.v2.objectconfiguration.ProcessConceptStageDTO( - uuid = '', - object_name = '', - basic_information = None, - mapped_member_list = None, ) - ], ), - outcome_list = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_outcome_list_dto.servicing.v2.objectconfiguration.ProcessConceptOutcomeListDTO( - outcomes = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_outcome_dto.servicing.v2.objectconfiguration.ProcessConceptOutcomeDTO( - uuid = '', - object_name = '', - basic_information = None, - outcome_semantic = 'Success', - mapped_member_list = None, ) - ], ), - metric_list = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_metric_list_dto.servicing.v2.objectconfiguration.ProcessConceptMetricListDTO( - metrics = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/metric_definition_dto.servicing.v2.objectconfiguration.MetricDefinitionDTO( - uuid = '', - object_name = '', - basic_information = None, - details = None, - additive_type = 'fullyAdditive', ) - ], ), - property_list = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_property_list_dto.servicing.v2.objectconfiguration.ProcessConceptPropertyListDTO( - properties = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/property_definition_dto.servicing.v2.objectconfiguration.PropertyDefinitionDTO( - uuid = '', - object_name = '', - basic_information = None, - details = None, ) - ], ), - tag_list = visier_platform_sdk.models.servicing/v2/objectconfiguration/tag_reference_list_dto.servicing.v2.objectconfiguration.TagReferenceListDTO( - tags = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/tag_reference_dto.servicing.v2.objectconfiguration.TagReferenceDTO( - object_name = '', ) - ], ), - visible_in_analytics = True, - include_with_vee = True - ) - else: - return ServicingV2ObjectconfigurationProcessConceptDefinitionDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptDefinitionDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_member_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_member_dto.py deleted file mode 100644 index 62d2dc5473..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_member_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_dto import ServicingV2ObjectconfigurationProcessConceptMemberDTO - -class TestServicingV2ObjectconfigurationProcessConceptMemberDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptMemberDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptMemberDTO: - """Test ServicingV2ObjectconfigurationProcessConceptMemberDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptMemberDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptMemberDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptMemberDTO( - display_name = '', - name_path = [ - '' - ] - ) - else: - return ServicingV2ObjectconfigurationProcessConceptMemberDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptMemberDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptMemberDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_member_list_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_member_list_dto.py deleted file mode 100644 index c8b82ecaf6..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_member_list_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_list_dto import ServicingV2ObjectconfigurationProcessConceptMemberListDTO - -class TestServicingV2ObjectconfigurationProcessConceptMemberListDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptMemberListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptMemberListDTO: - """Test ServicingV2ObjectconfigurationProcessConceptMemberListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptMemberListDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptMemberListDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptMemberListDTO( - members = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_member_dto.servicing.v2.objectconfiguration.ProcessConceptMemberDTO( - display_name = '', - name_path = [ - '' - ], ) - ] - ) - else: - return ServicingV2ObjectconfigurationProcessConceptMemberListDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptMemberListDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptMemberListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py deleted file mode 100644 index fe3611ea8c..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_metric_definition_dto import ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO - -class TestServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO: - """Test ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO( - formula = '', - data_type = '', - visible_in_analytics = True - ) - else: - return ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_metric_list_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_metric_list_dto.py deleted file mode 100644 index 07b3c98dd8..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_metric_list_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_metric_list_dto import ServicingV2ObjectconfigurationProcessConceptMetricListDTO - -class TestServicingV2ObjectconfigurationProcessConceptMetricListDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptMetricListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptMetricListDTO: - """Test ServicingV2ObjectconfigurationProcessConceptMetricListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptMetricListDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptMetricListDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptMetricListDTO( - metrics = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/metric_definition_dto.servicing.v2.objectconfiguration.MetricDefinitionDTO( - uuid = '', - object_name = '', - basic_information = None, - details = None, - additive_type = 'fullyAdditive', ) - ] - ) - else: - return ServicingV2ObjectconfigurationProcessConceptMetricListDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptMetricListDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptMetricListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_outcome_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_outcome_dto.py deleted file mode 100644 index e3ead9465e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_outcome_dto.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_outcome_dto import ServicingV2ObjectconfigurationProcessConceptOutcomeDTO - -class TestServicingV2ObjectconfigurationProcessConceptOutcomeDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptOutcomeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptOutcomeDTO: - """Test ServicingV2ObjectconfigurationProcessConceptOutcomeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptOutcomeDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptOutcomeDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptOutcomeDTO( - uuid = '', - object_name = '', - basic_information = visier_platform_sdk.models.servicing/v2/objectconfiguration/basic_information_dto.servicing.v2.objectconfiguration.BasicInformationDTO( - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - synonym_list = None, ), - outcome_semantic = 'Success', - mapped_member_list = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_member_list_dto.servicing.v2.objectconfiguration.ProcessConceptMemberListDTO( - members = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_member_dto.servicing.v2.objectconfiguration.ProcessConceptMemberDTO( - display_name = '', - name_path = [ - '' - ], ) - ], ) - ) - else: - return ServicingV2ObjectconfigurationProcessConceptOutcomeDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptOutcomeDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptOutcomeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py deleted file mode 100644 index 921f7421a6..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_outcome_list_dto import ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO - -class TestServicingV2ObjectconfigurationProcessConceptOutcomeListDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO: - """Test ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO( - outcomes = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_outcome_dto.servicing.v2.objectconfiguration.ProcessConceptOutcomeDTO( - uuid = '', - object_name = '', - basic_information = None, - outcome_semantic = 'Success', - mapped_member_list = None, ) - ] - ) - else: - return ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptOutcomeListDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_property_list_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_property_list_dto.py deleted file mode 100644 index 69aa42526b..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_property_list_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_property_list_dto import ServicingV2ObjectconfigurationProcessConceptPropertyListDTO - -class TestServicingV2ObjectconfigurationProcessConceptPropertyListDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptPropertyListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptPropertyListDTO: - """Test ServicingV2ObjectconfigurationProcessConceptPropertyListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptPropertyListDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptPropertyListDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptPropertyListDTO( - properties = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/property_definition_dto.servicing.v2.objectconfiguration.PropertyDefinitionDTO( - uuid = '', - object_name = '', - basic_information = None, - details = None, ) - ] - ) - else: - return ServicingV2ObjectconfigurationProcessConceptPropertyListDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptPropertyListDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptPropertyListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_property_type_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_property_type_dto.py deleted file mode 100644 index 10acffd651..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_property_type_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_property_type_dto import ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO - -class TestServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO: - """Test ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO( - data_type = '', - primitive_type = '', - formula = '' - ) - else: - return ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_stage_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_stage_dto.py deleted file mode 100644 index d3de7b6e2a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_stage_dto.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_stage_dto import ServicingV2ObjectconfigurationProcessConceptStageDTO - -class TestServicingV2ObjectconfigurationProcessConceptStageDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptStageDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptStageDTO: - """Test ServicingV2ObjectconfigurationProcessConceptStageDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptStageDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptStageDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptStageDTO( - uuid = '', - object_name = '', - basic_information = visier_platform_sdk.models.servicing/v2/objectconfiguration/basic_information_dto.servicing.v2.objectconfiguration.BasicInformationDTO( - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - synonym_list = None, ), - mapped_member_list = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_member_list_dto.servicing.v2.objectconfiguration.ProcessConceptMemberListDTO( - members = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_member_dto.servicing.v2.objectconfiguration.ProcessConceptMemberDTO( - display_name = '', - name_path = [ - '' - ], ) - ], ) - ) - else: - return ServicingV2ObjectconfigurationProcessConceptStageDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptStageDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptStageDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_stage_list_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_stage_list_dto.py deleted file mode 100644 index fd8fa5b849..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_process_concept_stage_list_dto.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_stage_list_dto import ServicingV2ObjectconfigurationProcessConceptStageListDTO - -class TestServicingV2ObjectconfigurationProcessConceptStageListDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationProcessConceptStageListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationProcessConceptStageListDTO: - """Test ServicingV2ObjectconfigurationProcessConceptStageListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationProcessConceptStageListDTO` - """ - model = ServicingV2ObjectconfigurationProcessConceptStageListDTO() - if include_optional: - return ServicingV2ObjectconfigurationProcessConceptStageListDTO( - stages = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_stage_dto.servicing.v2.objectconfiguration.ProcessConceptStageDTO( - uuid = '', - object_name = '', - basic_information = None, - mapped_member_list = None, ) - ] - ) - else: - return ServicingV2ObjectconfigurationProcessConceptStageListDTO( - ) - """ - - def testServicingV2ObjectconfigurationProcessConceptStageListDTO(self): - """Test ServicingV2ObjectconfigurationProcessConceptStageListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_property_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_property_definition_dto.py deleted file mode 100644 index d1cb05ab3e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_property_definition_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_property_definition_dto import ServicingV2ObjectconfigurationPropertyDefinitionDTO - -class TestServicingV2ObjectconfigurationPropertyDefinitionDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationPropertyDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationPropertyDefinitionDTO: - """Test ServicingV2ObjectconfigurationPropertyDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationPropertyDefinitionDTO` - """ - model = ServicingV2ObjectconfigurationPropertyDefinitionDTO() - if include_optional: - return ServicingV2ObjectconfigurationPropertyDefinitionDTO( - uuid = '', - object_name = '', - basic_information = visier_platform_sdk.models.servicing/v2/objectconfiguration/basic_information_dto.servicing.v2.objectconfiguration.BasicInformationDTO( - display_name = '', - short_display_name = '', - description = '', - explanation = '', - designer_notes = '', - synonym_list = None, ), - details = visier_platform_sdk.models.servicing/v2/objectconfiguration/property_type_details_dto.servicing.v2.objectconfiguration.PropertyTypeDetailsDTO( - simple = None, - calculated = None, - process_concept = None, ) - ) - else: - return ServicingV2ObjectconfigurationPropertyDefinitionDTO( - ) - """ - - def testServicingV2ObjectconfigurationPropertyDefinitionDTO(self): - """Test ServicingV2ObjectconfigurationPropertyDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_property_type_details_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_property_type_details_dto.py deleted file mode 100644 index 08527af594..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_property_type_details_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_property_type_details_dto import ServicingV2ObjectconfigurationPropertyTypeDetailsDTO - -class TestServicingV2ObjectconfigurationPropertyTypeDetailsDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationPropertyTypeDetailsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationPropertyTypeDetailsDTO: - """Test ServicingV2ObjectconfigurationPropertyTypeDetailsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationPropertyTypeDetailsDTO` - """ - model = ServicingV2ObjectconfigurationPropertyTypeDetailsDTO() - if include_optional: - return ServicingV2ObjectconfigurationPropertyTypeDetailsDTO( - simple = visier_platform_sdk.models.servicing/v2/objectconfiguration/simple_property_type_dto.servicing.v2.objectconfiguration.SimplePropertyTypeDTO( - data_type = '', - primitive_type = '', ), - calculated = visier_platform_sdk.models.servicing/v2/objectconfiguration/calculated_property_type_dto.servicing.v2.objectconfiguration.CalculatedPropertyTypeDTO( - data_type = '', - primitive_type = '', - formula = '', ), - process_concept = visier_platform_sdk.models.servicing/v2/objectconfiguration/process_concept_property_type_dto.servicing.v2.objectconfiguration.ProcessConceptPropertyTypeDTO( - data_type = '', - primitive_type = '', - formula = '', ) - ) - else: - return ServicingV2ObjectconfigurationPropertyTypeDetailsDTO( - ) - """ - - def testServicingV2ObjectconfigurationPropertyTypeDetailsDTO(self): - """Test ServicingV2ObjectconfigurationPropertyTypeDetailsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_simple_property_type_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_simple_property_type_dto.py deleted file mode 100644 index 5d6694e42a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_simple_property_type_dto.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_simple_property_type_dto import ServicingV2ObjectconfigurationSimplePropertyTypeDTO - -class TestServicingV2ObjectconfigurationSimplePropertyTypeDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationSimplePropertyTypeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationSimplePropertyTypeDTO: - """Test ServicingV2ObjectconfigurationSimplePropertyTypeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationSimplePropertyTypeDTO` - """ - model = ServicingV2ObjectconfigurationSimplePropertyTypeDTO() - if include_optional: - return ServicingV2ObjectconfigurationSimplePropertyTypeDTO( - data_type = '', - primitive_type = '' - ) - else: - return ServicingV2ObjectconfigurationSimplePropertyTypeDTO( - ) - """ - - def testServicingV2ObjectconfigurationSimplePropertyTypeDTO(self): - """Test ServicingV2ObjectconfigurationSimplePropertyTypeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_successful_change_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_successful_change_dto.py deleted file mode 100644 index 3a60c021f4..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_successful_change_dto.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_successful_change_dto import ServicingV2ObjectconfigurationSuccessfulChangeDTO - -class TestServicingV2ObjectconfigurationSuccessfulChangeDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationSuccessfulChangeDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationSuccessfulChangeDTO: - """Test ServicingV2ObjectconfigurationSuccessfulChangeDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationSuccessfulChangeDTO` - """ - model = ServicingV2ObjectconfigurationSuccessfulChangeDTO() - if include_optional: - return ServicingV2ObjectconfigurationSuccessfulChangeDTO( - execution_context = visier_platform_sdk.models.servicing/v2/objectconfiguration/execution_context_dto.servicing.v2.objectconfiguration.ExecutionContextDTO( - tenant_code = '', - project_id = '', ), - object_name = '', - uuid = '', - display_name = '' - ) - else: - return ServicingV2ObjectconfigurationSuccessfulChangeDTO( - ) - """ - - def testServicingV2ObjectconfigurationSuccessfulChangeDTO(self): - """Test ServicingV2ObjectconfigurationSuccessfulChangeDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_synonym_list_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_synonym_list_dto.py deleted file mode 100644 index dd060fc09a..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_synonym_list_dto.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_synonym_list_dto import ServicingV2ObjectconfigurationSynonymListDTO - -class TestServicingV2ObjectconfigurationSynonymListDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationSynonymListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationSynonymListDTO: - """Test ServicingV2ObjectconfigurationSynonymListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationSynonymListDTO` - """ - model = ServicingV2ObjectconfigurationSynonymListDTO() - if include_optional: - return ServicingV2ObjectconfigurationSynonymListDTO( - synonyms = [ - '' - ] - ) - else: - return ServicingV2ObjectconfigurationSynonymListDTO( - ) - """ - - def testServicingV2ObjectconfigurationSynonymListDTO(self): - """Test ServicingV2ObjectconfigurationSynonymListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_tag_reference_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_tag_reference_dto.py deleted file mode 100644 index c65d222a94..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_tag_reference_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_tag_reference_dto import ServicingV2ObjectconfigurationTagReferenceDTO - -class TestServicingV2ObjectconfigurationTagReferenceDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationTagReferenceDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationTagReferenceDTO: - """Test ServicingV2ObjectconfigurationTagReferenceDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationTagReferenceDTO` - """ - model = ServicingV2ObjectconfigurationTagReferenceDTO() - if include_optional: - return ServicingV2ObjectconfigurationTagReferenceDTO( - object_name = '' - ) - else: - return ServicingV2ObjectconfigurationTagReferenceDTO( - ) - """ - - def testServicingV2ObjectconfigurationTagReferenceDTO(self): - """Test ServicingV2ObjectconfigurationTagReferenceDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_tag_reference_list_dto.py b/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_tag_reference_list_dto.py deleted file mode 100644 index 0cfd796d8e..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_v2_objectconfiguration_tag_reference_list_dto.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_v2_objectconfiguration_tag_reference_list_dto import ServicingV2ObjectconfigurationTagReferenceListDTO - -class TestServicingV2ObjectconfigurationTagReferenceListDTO(unittest.TestCase): - """ServicingV2ObjectconfigurationTagReferenceListDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingV2ObjectconfigurationTagReferenceListDTO: - """Test ServicingV2ObjectconfigurationTagReferenceListDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingV2ObjectconfigurationTagReferenceListDTO` - """ - model = ServicingV2ObjectconfigurationTagReferenceListDTO() - if include_optional: - return ServicingV2ObjectconfigurationTagReferenceListDTO( - tags = [ - visier_platform_sdk.models.servicing/v2/objectconfiguration/tag_reference_dto.servicing.v2.objectconfiguration.TagReferenceDTO( - object_name = '', ) - ] - ) - else: - return ServicingV2ObjectconfigurationTagReferenceListDTO( - ) - """ - - def testServicingV2ObjectconfigurationTagReferenceListDTO(self): - """Test ServicingV2ObjectconfigurationTagReferenceListDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_vee_question_change_definition_dto.py b/src/visier_platform_sdk/test/test_servicing_vee_question_change_definition_dto.py deleted file mode 100644 index ca08154f45..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_vee_question_change_definition_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_vee_question_change_definition_dto import ServicingVeeQuestionChangeDefinitionDTO - -class TestServicingVeeQuestionChangeDefinitionDTO(unittest.TestCase): - """ServicingVeeQuestionChangeDefinitionDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingVeeQuestionChangeDefinitionDTO: - """Test ServicingVeeQuestionChangeDefinitionDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingVeeQuestionChangeDefinitionDTO` - """ - model = ServicingVeeQuestionChangeDefinitionDTO() - if include_optional: - return ServicingVeeQuestionChangeDefinitionDTO( - question = '', - question_id = '', - visible_in_vee = True, - category_id = '', - user_group_assignment = visier_platform_sdk.models.servicing/user_group_assignment_dto.servicing.UserGroupAssignmentDTO( - user_group_ids = [ - '' - ], ) - ) - else: - return ServicingVeeQuestionChangeDefinitionDTO( - ) - """ - - def testServicingVeeQuestionChangeDefinitionDTO(self): - """Test ServicingVeeQuestionChangeDefinitionDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_vee_question_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_vee_question_change_definitions_by_tenant_dto.py deleted file mode 100644 index 91959e1a67..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_vee_question_change_definitions_by_tenant_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_vee_question_change_definitions_by_tenant_dto import ServicingVeeQuestionChangeDefinitionsByTenantDTO - -class TestServicingVeeQuestionChangeDefinitionsByTenantDTO(unittest.TestCase): - """ServicingVeeQuestionChangeDefinitionsByTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingVeeQuestionChangeDefinitionsByTenantDTO: - """Test ServicingVeeQuestionChangeDefinitionsByTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingVeeQuestionChangeDefinitionsByTenantDTO` - """ - model = ServicingVeeQuestionChangeDefinitionsByTenantDTO() - if include_optional: - return ServicingVeeQuestionChangeDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - questions = [ - visier_platform_sdk.models.servicing/vee_question_change_definition_dto.servicing.VeeQuestionChangeDefinitionDTO( - question = '', - question_id = '', - visible_in_vee = True, - category_id = '', - user_group_assignment = None, ) - ] - ) - else: - return ServicingVeeQuestionChangeDefinitionsByTenantDTO( - ) - """ - - def testServicingVeeQuestionChangeDefinitionsByTenantDTO(self): - """Test ServicingVeeQuestionChangeDefinitionsByTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_vee_question_change_failure_dto.py b/src/visier_platform_sdk/test/test_servicing_vee_question_change_failure_dto.py deleted file mode 100644 index 777240b738..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_vee_question_change_failure_dto.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_vee_question_change_failure_dto import ServicingVeeQuestionChangeFailureDTO - -class TestServicingVeeQuestionChangeFailureDTO(unittest.TestCase): - """ServicingVeeQuestionChangeFailureDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingVeeQuestionChangeFailureDTO: - """Test ServicingVeeQuestionChangeFailureDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingVeeQuestionChangeFailureDTO` - """ - model = ServicingVeeQuestionChangeFailureDTO() - if include_optional: - return ServicingVeeQuestionChangeFailureDTO( - question = '', - question_id = '', - category_id = '', - user_group_assignment = visier_platform_sdk.models.servicing/user_group_assignment_dto.servicing.UserGroupAssignmentDTO( - user_group_ids = [ - '' - ], ), - message = '', - rci = '', - tenant_code = '', - project_id = '' - ) - else: - return ServicingVeeQuestionChangeFailureDTO( - ) - """ - - def testServicingVeeQuestionChangeFailureDTO(self): - """Test ServicingVeeQuestionChangeFailureDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_vee_question_change_success_dto.py b/src/visier_platform_sdk/test/test_servicing_vee_question_change_success_dto.py deleted file mode 100644 index f6c0ae0bba..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_vee_question_change_success_dto.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_vee_question_change_success_dto import ServicingVeeQuestionChangeSuccessDTO - -class TestServicingVeeQuestionChangeSuccessDTO(unittest.TestCase): - """ServicingVeeQuestionChangeSuccessDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingVeeQuestionChangeSuccessDTO: - """Test ServicingVeeQuestionChangeSuccessDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingVeeQuestionChangeSuccessDTO` - """ - model = ServicingVeeQuestionChangeSuccessDTO() - if include_optional: - return ServicingVeeQuestionChangeSuccessDTO( - question = '', - question_id = '', - visible_in_vee = True, - category_id = '', - user_group_assignment = visier_platform_sdk.models.servicing/user_group_assignment_dto.servicing.UserGroupAssignmentDTO( - user_group_ids = [ - '' - ], ), - tenant_code = '', - project_id = '' - ) - else: - return ServicingVeeQuestionChangeSuccessDTO( - ) - """ - - def testServicingVeeQuestionChangeSuccessDTO(self): - """Test ServicingVeeQuestionChangeSuccessDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_vee_question_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_servicing_vee_question_delete_definitions_by_tenant_dto.py deleted file mode 100644 index f003da5f21..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_vee_question_delete_definitions_by_tenant_dto.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_vee_question_delete_definitions_by_tenant_dto import ServicingVeeQuestionDeleteDefinitionsByTenantDTO - -class TestServicingVeeQuestionDeleteDefinitionsByTenantDTO(unittest.TestCase): - """ServicingVeeQuestionDeleteDefinitionsByTenantDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingVeeQuestionDeleteDefinitionsByTenantDTO: - """Test ServicingVeeQuestionDeleteDefinitionsByTenantDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingVeeQuestionDeleteDefinitionsByTenantDTO` - """ - model = ServicingVeeQuestionDeleteDefinitionsByTenantDTO() - if include_optional: - return ServicingVeeQuestionDeleteDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - question_ids = [ - '' - ] - ) - else: - return ServicingVeeQuestionDeleteDefinitionsByTenantDTO( - ) - """ - - def testServicingVeeQuestionDeleteDefinitionsByTenantDTO(self): - """Test ServicingVeeQuestionDeleteDefinitionsByTenantDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_vee_questions_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_servicing_vee_questions_bulk_change_response_dto.py deleted file mode 100644 index 37df638e10..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_vee_questions_bulk_change_response_dto.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_vee_questions_bulk_change_response_dto import ServicingVeeQuestionsBulkChangeResponseDTO - -class TestServicingVeeQuestionsBulkChangeResponseDTO(unittest.TestCase): - """ServicingVeeQuestionsBulkChangeResponseDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingVeeQuestionsBulkChangeResponseDTO: - """Test ServicingVeeQuestionsBulkChangeResponseDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingVeeQuestionsBulkChangeResponseDTO` - """ - model = ServicingVeeQuestionsBulkChangeResponseDTO() - if include_optional: - return ServicingVeeQuestionsBulkChangeResponseDTO( - successes = [ - visier_platform_sdk.models.servicing/vee_question_change_success_dto.servicing.VeeQuestionChangeSuccessDTO( - question = '', - question_id = '', - visible_in_vee = True, - category_id = '', - user_group_assignment = None, - tenant_code = '', - project_id = '', ) - ], - failures = [ - visier_platform_sdk.models.servicing/vee_question_change_failure_dto.servicing.VeeQuestionChangeFailureDTO( - question = '', - question_id = '', - category_id = '', - user_group_assignment = None, - message = '', - rci = '', - tenant_code = '', - project_id = '', ) - ] - ) - else: - return ServicingVeeQuestionsBulkChangeResponseDTO( - ) - """ - - def testServicingVeeQuestionsBulkChangeResponseDTO(self): - """Test ServicingVeeQuestionsBulkChangeResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_vee_questions_change_definitions_dto.py b/src/visier_platform_sdk/test/test_servicing_vee_questions_change_definitions_dto.py deleted file mode 100644 index 4201d010bc..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_vee_questions_change_definitions_dto.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_vee_questions_change_definitions_dto import ServicingVeeQuestionsChangeDefinitionsDTO - -class TestServicingVeeQuestionsChangeDefinitionsDTO(unittest.TestCase): - """ServicingVeeQuestionsChangeDefinitionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingVeeQuestionsChangeDefinitionsDTO: - """Test ServicingVeeQuestionsChangeDefinitionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingVeeQuestionsChangeDefinitionsDTO` - """ - model = ServicingVeeQuestionsChangeDefinitionsDTO() - if include_optional: - return ServicingVeeQuestionsChangeDefinitionsDTO( - questions_by_tenant = [ - visier_platform_sdk.models.servicing/vee_question_change_definitions_by_tenant_dto.servicing.VeeQuestionChangeDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - questions = [ - visier_platform_sdk.models.servicing/vee_question_change_definition_dto.servicing.VeeQuestionChangeDefinitionDTO( - question = '', - question_id = '', - visible_in_vee = True, - category_id = '', - user_group_assignment = None, ) - ], ) - ] - ) - else: - return ServicingVeeQuestionsChangeDefinitionsDTO( - ) - """ - - def testServicingVeeQuestionsChangeDefinitionsDTO(self): - """Test ServicingVeeQuestionsChangeDefinitionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_servicing_vee_questions_delete_definitions_dto.py b/src/visier_platform_sdk/test/test_servicing_vee_questions_delete_definitions_dto.py deleted file mode 100644 index 9969244189..0000000000 --- a/src/visier_platform_sdk/test/test_servicing_vee_questions_delete_definitions_dto.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.servicing_vee_questions_delete_definitions_dto import ServicingVeeQuestionsDeleteDefinitionsDTO - -class TestServicingVeeQuestionsDeleteDefinitionsDTO(unittest.TestCase): - """ServicingVeeQuestionsDeleteDefinitionsDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> ServicingVeeQuestionsDeleteDefinitionsDTO: - """Test ServicingVeeQuestionsDeleteDefinitionsDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `ServicingVeeQuestionsDeleteDefinitionsDTO` - """ - model = ServicingVeeQuestionsDeleteDefinitionsDTO() - if include_optional: - return ServicingVeeQuestionsDeleteDefinitionsDTO( - questions_by_tenant = [ - visier_platform_sdk.models.servicing/vee_question_delete_definitions_by_tenant_dto.servicing.VeeQuestionDeleteDefinitionsByTenantDTO( - tenant_code = '', - project_id = '', - question_ids = [ - '' - ], ) - ] - ) - else: - return ServicingVeeQuestionsDeleteDefinitionsDTO( - ) - """ - - def testServicingVeeQuestionsDeleteDefinitionsDTO(self): - """Test ServicingVeeQuestionsDeleteDefinitionsDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_set_connector_setting_request_dto.py b/src/visier_platform_sdk/test/test_set_connector_setting_request_dto.py new file mode 100644 index 0000000000..4007f106a1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_set_connector_setting_request_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.set_connector_setting_request_dto import SetConnectorSettingRequestDTO + +class TestSetConnectorSettingRequestDTO(unittest.TestCase): + """SetConnectorSettingRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SetConnectorSettingRequestDTO: + """Test SetConnectorSettingRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SetConnectorSettingRequestDTO( + connector_id = '', + tenants = [ + visier_platform_sdk.models.tenant_connector_settings_request_dto.TenantConnectorSettingsRequestDTO( + tenant_code = '', + connector_settings = [ + visier_platform_sdk.models.connector_setting_request_dto.ConnectorSettingRequestDTO( + setting_key = '', + value = '', ) + ], ) + ] + ) + else: + return SetConnectorSettingRequestDTO( + ) + + def testSetConnectorSettingRequestDTO(self): + """Test SetConnectorSettingRequestDTO""" + def validate_instance(instance): + SetConnectorSettingRequestDTO.model_validate(inst_req_only) + instance_deserialized = SetConnectorSettingRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_set_connector_setting_response_dto.py b/src/visier_platform_sdk/test/test_set_connector_setting_response_dto.py new file mode 100644 index 0000000000..b57765a2a0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_set_connector_setting_response_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.set_connector_setting_response_dto import SetConnectorSettingResponseDTO + +class TestSetConnectorSettingResponseDTO(unittest.TestCase): + """SetConnectorSettingResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SetConnectorSettingResponseDTO: + """Test SetConnectorSettingResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SetConnectorSettingResponseDTO( + tenant_code = '', + connectors = [ + visier_platform_sdk.models.connector_settings_response_dto.ConnectorSettingsResponseDTO( + connector = None, + settings = [ + visier_platform_sdk.models.connector_setting_response_dto.ConnectorSettingResponseDTO( + key = '', + value = '', + message = '', ) + ], ) + ], + status = 'Unknown', + message = '' + ) + else: + return SetConnectorSettingResponseDTO( + ) + + def testSetConnectorSettingResponseDTO(self): + """Test SetConnectorSettingResponseDTO""" + def validate_instance(instance): + SetConnectorSettingResponseDTO.model_validate(inst_req_only) + instance_deserialized = SetConnectorSettingResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_set_connector_settings_request_dto.py b/src/visier_platform_sdk/test/test_set_connector_settings_request_dto.py new file mode 100644 index 0000000000..477ccba7cf --- /dev/null +++ b/src/visier_platform_sdk/test/test_set_connector_settings_request_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.set_connector_settings_request_dto import SetConnectorSettingsRequestDTO + +class TestSetConnectorSettingsRequestDTO(unittest.TestCase): + """SetConnectorSettingsRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SetConnectorSettingsRequestDTO: + """Test SetConnectorSettingsRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SetConnectorSettingsRequestDTO( + connectors = [ + visier_platform_sdk.models.set_connector_setting_request_dto.SetConnectorSettingRequestDTO( + connector_id = '', + tenants = [ + visier_platform_sdk.models.tenant_connector_settings_request_dto.TenantConnectorSettingsRequestDTO( + tenant_code = '', + connector_settings = [ + visier_platform_sdk.models.connector_setting_request_dto.ConnectorSettingRequestDTO( + setting_key = '', + value = '', ) + ], ) + ], ) + ] + ) + else: + return SetConnectorSettingsRequestDTO( + ) + + def testSetConnectorSettingsRequestDTO(self): + """Test SetConnectorSettingsRequestDTO""" + def validate_instance(instance): + SetConnectorSettingsRequestDTO.model_validate(inst_req_only) + instance_deserialized = SetConnectorSettingsRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_set_connector_settings_response_dto.py b/src/visier_platform_sdk/test/test_set_connector_settings_response_dto.py new file mode 100644 index 0000000000..0249e8e597 --- /dev/null +++ b/src/visier_platform_sdk/test/test_set_connector_settings_response_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.set_connector_settings_response_dto import SetConnectorSettingsResponseDTO + +class TestSetConnectorSettingsResponseDTO(unittest.TestCase): + """SetConnectorSettingsResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SetConnectorSettingsResponseDTO: + """Test SetConnectorSettingsResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SetConnectorSettingsResponseDTO( + tenants = [ + visier_platform_sdk.models.set_connector_setting_response_dto.SetConnectorSettingResponseDTO( + tenant_code = '', + connectors = [ + visier_platform_sdk.models.connector_settings_response_dto.ConnectorSettingsResponseDTO( + connector = None, + settings = [ + visier_platform_sdk.models.connector_setting_response_dto.ConnectorSettingResponseDTO( + key = '', + value = '', + message = '', ) + ], ) + ], + status = 'Unknown', + message = '', ) + ] + ) + else: + return SetConnectorSettingsResponseDTO( + ) + + def testSetConnectorSettingsResponseDTO(self): + """Test SetConnectorSettingsResponseDTO""" + def validate_instance(instance): + SetConnectorSettingsResponseDTO.model_validate(inst_req_only) + instance_deserialized = SetConnectorSettingsResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_shareable_data_access_set.py b/src/visier_platform_sdk/test/test_shareable_data_access_set.py new file mode 100644 index 0000000000..b1ca6ec6f8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_shareable_data_access_set.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.shareable_data_access_set import ShareableDataAccessSet + +class TestShareableDataAccessSet(unittest.TestCase): + """ShareableDataAccessSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ShareableDataAccessSet: + """Test ShareableDataAccessSet + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ShareableDataAccessSet( + data_access_set_id = '' + ) + else: + return ShareableDataAccessSet( + ) + + def testShareableDataAccessSet(self): + """Test ShareableDataAccessSet""" + def validate_instance(instance): + ShareableDataAccessSet.model_validate(inst_req_only) + instance_deserialized = ShareableDataAccessSet.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_simple_document_header_search_response_dto.py b/src/visier_platform_sdk/test/test_simple_document_header_search_response_dto.py new file mode 100644 index 0000000000..633d93c2c7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_simple_document_header_search_response_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.simple_document_header_search_response_dto import SimpleDocumentHeaderSearchResponseDTO + +class TestSimpleDocumentHeaderSearchResponseDTO(unittest.TestCase): + """SimpleDocumentHeaderSearchResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SimpleDocumentHeaderSearchResponseDTO: + """Test SimpleDocumentHeaderSearchResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SimpleDocumentHeaderSearchResponseDTO( + document_headers = [ + visier_platform_sdk.models.simple_document_header_search_result_dto.SimpleDocumentHeaderSearchResultDTO( + display_name = '', + description = '', + relevance = 1.337, + view_link = None, ) + ] + ) + else: + return SimpleDocumentHeaderSearchResponseDTO( + ) + + def testSimpleDocumentHeaderSearchResponseDTO(self): + """Test SimpleDocumentHeaderSearchResponseDTO""" + def validate_instance(instance): + SimpleDocumentHeaderSearchResponseDTO.model_validate(inst_req_only) + instance_deserialized = SimpleDocumentHeaderSearchResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_simple_document_header_search_result_dto.py b/src/visier_platform_sdk/test/test_simple_document_header_search_result_dto.py new file mode 100644 index 0000000000..b84f609935 --- /dev/null +++ b/src/visier_platform_sdk/test/test_simple_document_header_search_result_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.simple_document_header_search_result_dto import SimpleDocumentHeaderSearchResultDTO + +class TestSimpleDocumentHeaderSearchResultDTO(unittest.TestCase): + """SimpleDocumentHeaderSearchResultDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SimpleDocumentHeaderSearchResultDTO: + """Test SimpleDocumentHeaderSearchResultDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SimpleDocumentHeaderSearchResultDTO( + display_name = '', + description = '', + relevance = 1.337, + view_link = visier_platform_sdk.models.document_search_link_dto.DocumentSearchLinkDTO( + href = '', + verb = '', ) + ) + else: + return SimpleDocumentHeaderSearchResultDTO( + ) + + def testSimpleDocumentHeaderSearchResultDTO(self): + """Test SimpleDocumentHeaderSearchResultDTO""" + def validate_instance(instance): + SimpleDocumentHeaderSearchResultDTO.model_validate(inst_req_only) + instance_deserialized = SimpleDocumentHeaderSearchResultDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_simple_property_type_dto.py b/src/visier_platform_sdk/test/test_simple_property_type_dto.py new file mode 100644 index 0000000000..85e3a3f122 --- /dev/null +++ b/src/visier_platform_sdk/test/test_simple_property_type_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.simple_property_type_dto import SimplePropertyTypeDTO + +class TestSimplePropertyTypeDTO(unittest.TestCase): + """SimplePropertyTypeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SimplePropertyTypeDTO: + """Test SimplePropertyTypeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SimplePropertyTypeDTO( + data_type = '' + ) + else: + return SimplePropertyTypeDTO( + ) + + def testSimplePropertyTypeDTO(self): + """Test SimplePropertyTypeDTO""" + def validate_instance(instance): + SimplePropertyTypeDTO.model_validate(inst_req_only) + instance_deserialized = SimplePropertyTypeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_simple_user_dto.py b/src/visier_platform_sdk/test/test_simple_user_dto.py new file mode 100644 index 0000000000..5297a3d624 --- /dev/null +++ b/src/visier_platform_sdk/test/test_simple_user_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.simple_user_dto import SimpleUserDTO + +class TestSimpleUserDTO(unittest.TestCase): + """SimpleUserDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SimpleUserDTO: + """Test SimpleUserDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SimpleUserDTO( + user_id = '', + username = '' + ) + else: + return SimpleUserDTO( + ) + + def testSimpleUserDTO(self): + """Test SimpleUserDTO""" + def validate_instance(instance): + SimpleUserDTO.model_validate(inst_req_only) + instance_deserialized = SimpleUserDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_skill.py b/src/visier_platform_sdk/test/test_skill.py index 50b28e408a..30f594bffd 100644 --- a/src/visier_platform_sdk/test/test_skill.py +++ b/src/visier_platform_sdk/test/test_skill.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.skill import Skill class TestSkill(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> Skill: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `Skill` - """ - model = Skill() + if include_optional: return Skill( id = '', @@ -62,12 +61,19 @@ def make_instance(self, include_optional) -> Skill: '' ], ) - """ def testSkill(self): """Test Skill""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + Skill.model_validate(inst_req_only) + instance_deserialized = Skill.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_skill_category.py b/src/visier_platform_sdk/test/test_skill_category.py index c157dcba71..85b0819732 100644 --- a/src/visier_platform_sdk/test/test_skill_category.py +++ b/src/visier_platform_sdk/test/test_skill_category.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.skill_category import SkillCategory class TestSkillCategory(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SkillCategory: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SkillCategory` - """ - model = SkillCategory() + if include_optional: return SkillCategory( id = '', @@ -90,12 +89,19 @@ def make_instance(self, include_optional) -> SkillCategory: ], ) ], ) - """ def testSkillCategory(self): """Test SkillCategory""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SkillCategory.model_validate(inst_req_only) + instance_deserialized = SkillCategory.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_skill_category_entry.py b/src/visier_platform_sdk/test/test_skill_category_entry.py index 0c70d333b7..f510d1b895 100644 --- a/src/visier_platform_sdk/test/test_skill_category_entry.py +++ b/src/visier_platform_sdk/test/test_skill_category_entry.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.skill_category_entry import SkillCategoryEntry class TestSkillCategoryEntry(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SkillCategoryEntry: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SkillCategoryEntry` - """ - model = SkillCategoryEntry() + if include_optional: return SkillCategoryEntry( id = '', @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> SkillCategoryEntry: name = '', description = '', ) - """ def testSkillCategoryEntry(self): """Test SkillCategoryEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SkillCategoryEntry.model_validate(inst_req_only) + instance_deserialized = SkillCategoryEntry.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_skill_entry.py b/src/visier_platform_sdk/test/test_skill_entry.py index 76db900c28..4bb32a9231 100644 --- a/src/visier_platform_sdk/test/test_skill_entry.py +++ b/src/visier_platform_sdk/test/test_skill_entry.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.skill_entry import SkillEntry class TestSkillEntry(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SkillEntry: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SkillEntry` - """ - model = SkillEntry() + if include_optional: return SkillEntry( id = '', @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> SkillEntry: name = '', description = '', ) - """ def testSkillEntry(self): """Test SkillEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SkillEntry.model_validate(inst_req_only) + instance_deserialized = SkillEntry.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_skill_extraction_input.py b/src/visier_platform_sdk/test/test_skill_extraction_input.py index bdd0e869b4..c80039d0d7 100644 --- a/src/visier_platform_sdk/test/test_skill_extraction_input.py +++ b/src/visier_platform_sdk/test/test_skill_extraction_input.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.skill_extraction_input import SkillExtractionInput class TestSkillExtractionInput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SkillExtractionInput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SkillExtractionInput` - """ - model = SkillExtractionInput() + if include_optional: return SkillExtractionInput( content = '0123', @@ -44,12 +43,19 @@ def make_instance(self, include_optional) -> SkillExtractionInput: return SkillExtractionInput( content = '0123', ) - """ def testSkillExtractionInput(self): """Test SkillExtractionInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SkillExtractionInput.model_validate(inst_req_only) + instance_deserialized = SkillExtractionInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_skill_group.py b/src/visier_platform_sdk/test/test_skill_group.py index eb76ef18a7..388d075d28 100644 --- a/src/visier_platform_sdk/test/test_skill_group.py +++ b/src/visier_platform_sdk/test/test_skill_group.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.skill_group import SkillGroup class TestSkillGroup(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SkillGroup: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SkillGroup` - """ - model = SkillGroup() + if include_optional: return SkillGroup( id = '', @@ -78,12 +77,19 @@ def make_instance(self, include_optional) -> SkillGroup: automation_index = 56, ) ], ) - """ def testSkillGroup(self): """Test SkillGroup""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SkillGroup.model_validate(inst_req_only) + instance_deserialized = SkillGroup.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_skill_group_entry.py b/src/visier_platform_sdk/test/test_skill_group_entry.py index 7e8676b3d3..695d0e805b 100644 --- a/src/visier_platform_sdk/test/test_skill_group_entry.py +++ b/src/visier_platform_sdk/test/test_skill_group_entry.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.skill_group_entry import SkillGroupEntry class TestSkillGroupEntry(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SkillGroupEntry: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SkillGroupEntry` - """ - model = SkillGroupEntry() + if include_optional: return SkillGroupEntry( id = '', @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> SkillGroupEntry: name = '', description = '', ) - """ def testSkillGroupEntry(self): """Test SkillGroupEntry""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SkillGroupEntry.model_validate(inst_req_only) + instance_deserialized = SkillGroupEntry.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_skill_match_input.py b/src/visier_platform_sdk/test/test_skill_match_input.py index c2e7e5d570..bdbdb6b98c 100644 --- a/src/visier_platform_sdk/test/test_skill_match_input.py +++ b/src/visier_platform_sdk/test/test_skill_match_input.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.skill_match_input import SkillMatchInput class TestSkillMatchInput(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SkillMatchInput: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SkillMatchInput` - """ - model = SkillMatchInput() + if include_optional: return SkillMatchInput( skill_set = [["21795",85],["19391",50],["21577",40]], @@ -42,12 +41,19 @@ def make_instance(self, include_optional) -> SkillMatchInput: else: return SkillMatchInput( ) - """ def testSkillMatchInput(self): """Test SkillMatchInput""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SkillMatchInput.model_validate(inst_req_only) + instance_deserialized = SkillMatchInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_slack_auth_params_dto.py b/src/visier_platform_sdk/test/test_slack_auth_params_dto.py new file mode 100644 index 0000000000..5d318c36ea --- /dev/null +++ b/src/visier_platform_sdk/test/test_slack_auth_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.slack_auth_params_dto import SlackAuthParamsDTO + +class TestSlackAuthParamsDTO(unittest.TestCase): + """SlackAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SlackAuthParamsDTO: + """Test SlackAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SlackAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '' + ) + else: + return SlackAuthParamsDTO( + ) + + def testSlackAuthParamsDTO(self): + """Test SlackAuthParamsDTO""" + def validate_instance(instance): + SlackAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = SlackAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_snapshot_query_execution_dto.py b/src/visier_platform_sdk/test/test_snapshot_query_execution_dto.py new file mode 100644 index 0000000000..192124275b --- /dev/null +++ b/src/visier_platform_sdk/test/test_snapshot_query_execution_dto.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.snapshot_query_execution_dto import SnapshotQueryExecutionDTO + +class TestSnapshotQueryExecutionDTO(unittest.TestCase): + """SnapshotQueryExecutionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SnapshotQueryExecutionDTO: + """Test SnapshotQueryExecutionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SnapshotQueryExecutionDTO( + source = visier_platform_sdk.models.list_query_source_dto.ListQuerySourceDTO( + formula = '', + metric = '', + analytic_object = '', + text_concept = '', ), + columns = [ + visier_platform_sdk.models.property_column_dto.PropertyColumnDTO( + column_name = '', + column_definition = None, ) + ], + sort_options = [ + visier_platform_sdk.models.sort_option_dto.SortOptionDTO( + column_index = 56, + sort_direction = 'SORT_ASCENDING', ) + ], + filters = [ + visier_platform_sdk.models.query_filter_dto.QueryFilterDTO( + formula = '', + selection_concept = None, + member_set = None, + cohort = None, ) + ], + time_intervals = visier_platform_sdk.models.query_time_intervals_dto.QueryTimeIntervalsDTO( + from_instant = '', + from_date_time = '', + dynamic_date_from = 'SOURCE', + interval_period_type = 'MONTH', + interval_period_count = 56, + interval_count = 56, + direction = 'BACKWARD', + shift = None, + trailing_period_type = 'MONTH', + trailing_period_count = 56, ), + parameter_values = [ + visier_platform_sdk.models.query_parameter_value_dto.QueryParameterValueDTO( + member_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) + ], + options = visier_platform_sdk.models.snapshot_query_execution_options_dto.SnapshotQueryExecutionOptionsDTO( + limit = 56, + query_mode = 'DEFAULT', + omit_header = True, + calendar_type = 'TENANT_CALENDAR', + currency_conversion_date = '', + page = 56, + multiple_tables = True, + currency_conversion_code = '', + date_time_display_mode = 'EPOCH', ) + ) + else: + return SnapshotQueryExecutionDTO( + ) + + def testSnapshotQueryExecutionDTO(self): + """Test SnapshotQueryExecutionDTO""" + def validate_instance(instance): + SnapshotQueryExecutionDTO.model_validate(inst_req_only) + instance_deserialized = SnapshotQueryExecutionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_snapshot_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_snapshot_query_execution_options_dto.py new file mode 100644 index 0000000000..16ba5965ff --- /dev/null +++ b/src/visier_platform_sdk/test/test_snapshot_query_execution_options_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.snapshot_query_execution_options_dto import SnapshotQueryExecutionOptionsDTO + +class TestSnapshotQueryExecutionOptionsDTO(unittest.TestCase): + """SnapshotQueryExecutionOptionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SnapshotQueryExecutionOptionsDTO: + """Test SnapshotQueryExecutionOptionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SnapshotQueryExecutionOptionsDTO( + limit = 56, + query_mode = 'DEFAULT', + omit_header = True, + calendar_type = 'TENANT_CALENDAR', + currency_conversion_date = '', + page = 56, + multiple_tables = True, + currency_conversion_code = '', + date_time_display_mode = 'EPOCH' + ) + else: + return SnapshotQueryExecutionOptionsDTO( + ) + + def testSnapshotQueryExecutionOptionsDTO(self): + """Test SnapshotQueryExecutionOptionsDTO""" + def validate_instance(instance): + SnapshotQueryExecutionOptionsDTO.model_validate(inst_req_only) + instance_deserialized = SnapshotQueryExecutionOptionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_snowflake_auth_params_dto.py b/src/visier_platform_sdk/test/test_snowflake_auth_params_dto.py new file mode 100644 index 0000000000..c51606dc56 --- /dev/null +++ b/src/visier_platform_sdk/test/test_snowflake_auth_params_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.snowflake_auth_params_dto import SnowflakeAuthParamsDTO + +class TestSnowflakeAuthParamsDTO(unittest.TestCase): + """SnowflakeAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SnowflakeAuthParamsDTO: + """Test SnowflakeAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SnowflakeAuthParamsDTO( + account_identifier = '', + database = '', + var_schema = '', + username = '', + password = '', + warehouse = '', + private_key = '' + ) + else: + return SnowflakeAuthParamsDTO( + ) + + def testSnowflakeAuthParamsDTO(self): + """Test SnowflakeAuthParamsDTO""" + def validate_instance(instance): + SnowflakeAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = SnowflakeAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_sort_option_dto.py b/src/visier_platform_sdk/test/test_sort_option_dto.py new file mode 100644 index 0000000000..e263e01f4f --- /dev/null +++ b/src/visier_platform_sdk/test/test_sort_option_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.sort_option_dto import SortOptionDTO + +class TestSortOptionDTO(unittest.TestCase): + """SortOptionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SortOptionDTO: + """Test SortOptionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SortOptionDTO( + column_index = 56, + sort_direction = 'SORT_ASCENDING' + ) + else: + return SortOptionDTO( + ) + + def testSortOptionDTO(self): + """Test SortOptionDTO""" + def validate_instance(instance): + SortOptionDTO.model_validate(inst_req_only) + instance_deserialized = SortOptionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_source.py b/src/visier_platform_sdk/test/test_source.py new file mode 100644 index 0000000000..667418df9c --- /dev/null +++ b/src/visier_platform_sdk/test/test_source.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.source import Source + +class TestSource(unittest.TestCase): + """Source unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Source: + """Test Source + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return Source( + source_id = '', + source_name = '', + data_size = '', + rows = '', + status = '', + message = '' + ) + else: + return Source( + ) + + def testSource(self): + """Test Source""" + def validate_instance(instance): + Source.model_validate(inst_req_only) + instance_deserialized = Source.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_source_import_result_summary_dto.py b/src/visier_platform_sdk/test/test_source_import_result_summary_dto.py index 9fd73666d2..48056259c9 100644 --- a/src/visier_platform_sdk/test/test_source_import_result_summary_dto.py +++ b/src/visier_platform_sdk/test/test_source_import_result_summary_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.source_import_result_summary_dto import SourceImportResultSummaryDTO class TestSourceImportResultSummaryDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SourceImportResultSummaryDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SourceImportResultSummaryDTO` - """ - model = SourceImportResultSummaryDTO() + if include_optional: return SourceImportResultSummaryDTO( created = 56, @@ -44,12 +43,19 @@ def make_instance(self, include_optional) -> SourceImportResultSummaryDTO: else: return SourceImportResultSummaryDTO( ) - """ def testSourceImportResultSummaryDTO(self): """Test SourceImportResultSummaryDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SourceImportResultSummaryDTO.model_validate(inst_req_only) + instance_deserialized = SourceImportResultSummaryDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_sources_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_sources_api_operation_request_dto.py new file mode 100644 index 0000000000..25663ba021 --- /dev/null +++ b/src/visier_platform_sdk/test/test_sources_api_operation_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.sources_api_operation_request_dto import SourcesAPIOperationRequestDTO + +class TestSourcesAPIOperationRequestDTO(unittest.TestCase): + """SourcesAPIOperationRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SourcesAPIOperationRequestDTO: + """Test SourcesAPIOperationRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SourcesAPIOperationRequestDTO( + operation = 'unknownSourcesAPIOperation', + clone_files_into_source_parameters = visier_platform_sdk.models.clone_files_into_source_parameters_dto.CloneFilesIntoSourceParametersDTO( + origin_source = '', + target_source = '', + date_range = None, ) + ) + else: + return SourcesAPIOperationRequestDTO( + ) + + def testSourcesAPIOperationRequestDTO(self): + """Test SourcesAPIOperationRequestDTO""" + def validate_instance(instance): + SourcesAPIOperationRequestDTO.model_validate(inst_req_only) + instance_deserialized = SourcesAPIOperationRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_sources_api_put_response_dto.py b/src/visier_platform_sdk/test/test_sources_api_put_response_dto.py index 9bd16c15fb..7246aabb2a 100644 --- a/src/visier_platform_sdk/test/test_sources_api_put_response_dto.py +++ b/src/visier_platform_sdk/test/test_sources_api_put_response_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.sources_api_put_response_dto import SourcesAPIPutResponseDTO class TestSourcesAPIPutResponseDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> SourcesAPIPutResponseDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `SourcesAPIPutResponseDTO` - """ - model = SourcesAPIPutResponseDTO() + if include_optional: return SourcesAPIPutResponseDTO( summary = visier_platform_sdk.models.source_import_result_summary_dto.SourceImportResultSummaryDTO( @@ -45,12 +44,19 @@ def make_instance(self, include_optional) -> SourcesAPIPutResponseDTO: else: return SourcesAPIPutResponseDTO( ) - """ def testSourcesAPIPutResponseDTO(self): """Test SourcesAPIPutResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + SourcesAPIPutResponseDTO.model_validate(inst_req_only) + instance_deserialized = SourcesAPIPutResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_sql_like_query_execution_dto.py b/src/visier_platform_sdk/test/test_sql_like_query_execution_dto.py new file mode 100644 index 0000000000..283d25ea59 --- /dev/null +++ b/src/visier_platform_sdk/test/test_sql_like_query_execution_dto.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.sql_like_query_execution_dto import SqlLikeQueryExecutionDTO + +class TestSqlLikeQueryExecutionDTO(unittest.TestCase): + """SqlLikeQueryExecutionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SqlLikeQueryExecutionDTO: + """Test SqlLikeQueryExecutionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SqlLikeQueryExecutionDTO( + query = '', + options = visier_platform_sdk.models.query_execution_options_dto.QueryExecutionOptionsDTO( + calendar_type = 'TENANT_CALENDAR', + currency_conversion_mode = 'TENANT_CURRENCY_CONVERSION', + currency_conversion_date = '', + lineage_depth = 56, + zero_visibility = 'SHOW', + null_visibility = 'SHOW', + cell_distribution_options = visier_platform_sdk.models.cell_distribution_options_dto.CellDistributionOptionsDTO( + bin_count = 56, ), + axis_visibility = 'SIMPLE', + enable_sparse_results = True, + internal = visier_platform_sdk.models.internal_query_execution_options_dto.InternalQueryExecutionOptionsDTO( + sparse_handling_mode = 'ALLOW', + align_time_axis_to_period_end = True, ), + enable_descending_space = True, + currency_conversion_code = '', + member_display_mode = 'DEFAULT', + axes_overall_value_mode = 'NONE', ) + ) + else: + return SqlLikeQueryExecutionDTO( + ) + + def testSqlLikeQueryExecutionDTO(self): + """Test SqlLikeQueryExecutionDTO""" + def validate_instance(instance): + SqlLikeQueryExecutionDTO.model_validate(inst_req_only) + instance_deserialized = SqlLikeQueryExecutionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_sql_server_auth_params_dto.py b/src/visier_platform_sdk/test/test_sql_server_auth_params_dto.py new file mode 100644 index 0000000000..8c382b27f2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_sql_server_auth_params_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.sql_server_auth_params_dto import SqlServerAuthParamsDTO + +class TestSqlServerAuthParamsDTO(unittest.TestCase): + """SqlServerAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SqlServerAuthParamsDTO: + """Test SqlServerAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SqlServerAuthParamsDTO( + host = '', + port = '', + username = '', + password = '', + database = '' + ) + else: + return SqlServerAuthParamsDTO( + ) + + def testSqlServerAuthParamsDTO(self): + """Test SqlServerAuthParamsDTO""" + def validate_instance(instance): + SqlServerAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = SqlServerAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_start_extraction_response.py b/src/visier_platform_sdk/test/test_start_extraction_response.py new file mode 100644 index 0000000000..74a2e8f547 --- /dev/null +++ b/src/visier_platform_sdk/test/test_start_extraction_response.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.start_extraction_response import StartExtractionResponse + +class TestStartExtractionResponse(unittest.TestCase): + """StartExtractionResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StartExtractionResponse: + """Test StartExtractionResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return StartExtractionResponse( + job_id = '' + ) + else: + return StartExtractionResponse( + ) + + def testStartExtractionResponse(self): + """Test StartExtractionResponse""" + def validate_instance(instance): + StartExtractionResponse.model_validate(inst_req_only) + instance_deserialized = StartExtractionResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_start_transfer_response.py b/src/visier_platform_sdk/test/test_start_transfer_response.py new file mode 100644 index 0000000000..fe7307370a --- /dev/null +++ b/src/visier_platform_sdk/test/test_start_transfer_response.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.start_transfer_response import StartTransferResponse + +class TestStartTransferResponse(unittest.TestCase): + """StartTransferResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StartTransferResponse: + """Test StartTransferResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return StartTransferResponse( + transfer_session_id = '' + ) + else: + return StartTransferResponse( + ) + + def testStartTransferResponse(self): + """Test StartTransferResponse""" + def validate_instance(instance): + StartTransferResponse.model_validate(inst_req_only) + instance_deserialized = StartTransferResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_static_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_static_dimension_filter_dto.py new file mode 100644 index 0000000000..e7e3048eb7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_static_dimension_filter_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.static_dimension_filter_dto import StaticDimensionFilterDTO + +class TestStaticDimensionFilterDTO(unittest.TestCase): + """StaticDimensionFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StaticDimensionFilterDTO: + """Test StaticDimensionFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return StaticDimensionFilterDTO( + dimension_id = '', + subject_reference_path = [ + '' + ], + member_selections = [ + visier_platform_sdk.models.member_selection_dto.MemberSelectionDTO( + name_path = [ + '' + ], + excluded = True, + dimension_member_status = 'Unset', ) + ], + dimension_status = 'Unset' + ) + else: + return StaticDimensionFilterDTO( + ) + + def testStaticDimensionFilterDTO(self): + """Test StaticDimensionFilterDTO""" + def validate_instance(instance): + StaticDimensionFilterDTO.model_validate(inst_req_only) + instance_deserialized = StaticDimensionFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_status.py b/src/visier_platform_sdk/test/test_status.py index b9f0adf6c7..a6a55b9168 100644 --- a/src/visier_platform_sdk/test/test_status.py +++ b/src/visier_platform_sdk/test/test_status.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.status import Status class TestStatus(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> Status: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `Status` - """ - model = Status() + if include_optional: return Status( localized_message = '', @@ -45,12 +44,19 @@ def make_instance(self, include_optional) -> Status: else: return Status( ) - """ def testStatus(self): """Test Status""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + Status.model_validate(inst_req_only) + instance_deserialized = Status.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_subject_missing_access_dto.py b/src/visier_platform_sdk/test/test_subject_missing_access_dto.py new file mode 100644 index 0000000000..97c72a3043 --- /dev/null +++ b/src/visier_platform_sdk/test/test_subject_missing_access_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.subject_missing_access_dto import SubjectMissingAccessDTO + +class TestSubjectMissingAccessDTO(unittest.TestCase): + """SubjectMissingAccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SubjectMissingAccessDTO: + """Test SubjectMissingAccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SubjectMissingAccessDTO( + subject = 'Employee', + attributes = [ + '' + ], + error_message = '' + ) + else: + return SubjectMissingAccessDTO( + ) + + def testSubjectMissingAccessDTO(self): + """Test SubjectMissingAccessDTO""" + def validate_instance(instance): + SubjectMissingAccessDTO.model_validate(inst_req_only) + instance_deserialized = SubjectMissingAccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_success_factors_auth_params_dto.py b/src/visier_platform_sdk/test/test_success_factors_auth_params_dto.py new file mode 100644 index 0000000000..89b9ff931e --- /dev/null +++ b/src/visier_platform_sdk/test/test_success_factors_auth_params_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.success_factors_auth_params_dto import SuccessFactorsAuthParamsDTO + +class TestSuccessFactorsAuthParamsDTO(unittest.TestCase): + """SuccessFactorsAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SuccessFactorsAuthParamsDTO: + """Test SuccessFactorsAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SuccessFactorsAuthParamsDTO( + host_domain_name = '', + company_id = '', + username = '', + password = '', + o_auth = visier_platform_sdk.models.success_factors_o_auth_params_dto.SuccessFactorsOAuthParamsDTO( + api_key = '', + private_x509_key = '', + public_x509_cert = '', ) + ) + else: + return SuccessFactorsAuthParamsDTO( + ) + + def testSuccessFactorsAuthParamsDTO(self): + """Test SuccessFactorsAuthParamsDTO""" + def validate_instance(instance): + SuccessFactorsAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = SuccessFactorsAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_success_factors_o_auth_params_dto.py b/src/visier_platform_sdk/test/test_success_factors_o_auth_params_dto.py new file mode 100644 index 0000000000..4a7248e310 --- /dev/null +++ b/src/visier_platform_sdk/test/test_success_factors_o_auth_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.success_factors_o_auth_params_dto import SuccessFactorsOAuthParamsDTO + +class TestSuccessFactorsOAuthParamsDTO(unittest.TestCase): + """SuccessFactorsOAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SuccessFactorsOAuthParamsDTO: + """Test SuccessFactorsOAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SuccessFactorsOAuthParamsDTO( + api_key = '', + private_x509_key = '', + public_x509_cert = '' + ) + else: + return SuccessFactorsOAuthParamsDTO( + ) + + def testSuccessFactorsOAuthParamsDTO(self): + """Test SuccessFactorsOAuthParamsDTO""" + def validate_instance(instance): + SuccessFactorsOAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = SuccessFactorsOAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_successful_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_successful_accessible_tenant_profile_assignment_dto.py new file mode 100644 index 0000000000..cf2d2695a4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_successful_accessible_tenant_profile_assignment_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.successful_accessible_tenant_profile_assignment_dto import SuccessfulAccessibleTenantProfileAssignmentDTO + +class TestSuccessfulAccessibleTenantProfileAssignmentDTO(unittest.TestCase): + """SuccessfulAccessibleTenantProfileAssignmentDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SuccessfulAccessibleTenantProfileAssignmentDTO: + """Test SuccessfulAccessibleTenantProfileAssignmentDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SuccessfulAccessibleTenantProfileAssignmentDTO( + user_id = '', + tenant_code = '', + for_all_children = True + ) + else: + return SuccessfulAccessibleTenantProfileAssignmentDTO( + ) + + def testSuccessfulAccessibleTenantProfileAssignmentDTO(self): + """Test SuccessfulAccessibleTenantProfileAssignmentDTO""" + def validate_instance(instance): + SuccessfulAccessibleTenantProfileAssignmentDTO.model_validate(inst_req_only) + instance_deserialized = SuccessfulAccessibleTenantProfileAssignmentDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_successful_change_dto.py b/src/visier_platform_sdk/test/test_successful_change_dto.py new file mode 100644 index 0000000000..1267a0ff67 --- /dev/null +++ b/src/visier_platform_sdk/test/test_successful_change_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.successful_change_dto import SuccessfulChangeDTO + +class TestSuccessfulChangeDTO(unittest.TestCase): + """SuccessfulChangeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SuccessfulChangeDTO: + """Test SuccessfulChangeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SuccessfulChangeDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + object_name = '', + uuid = '', + display_name = '' + ) + else: + return SuccessfulChangeDTO( + ) + + def testSuccessfulChangeDTO(self): + """Test SuccessfulChangeDTO""" + def validate_instance(instance): + SuccessfulChangeDTO.model_validate(inst_req_only) + instance_deserialized = SuccessfulChangeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_successful_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_successful_local_tenant_profile_assignment_dto.py new file mode 100644 index 0000000000..b6089103ff --- /dev/null +++ b/src/visier_platform_sdk/test/test_successful_local_tenant_profile_assignment_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto import SuccessfulLocalTenantProfileAssignmentDTO + +class TestSuccessfulLocalTenantProfileAssignmentDTO(unittest.TestCase): + """SuccessfulLocalTenantProfileAssignmentDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SuccessfulLocalTenantProfileAssignmentDTO: + """Test SuccessfulLocalTenantProfileAssignmentDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SuccessfulLocalTenantProfileAssignmentDTO( + user_id = '' + ) + else: + return SuccessfulLocalTenantProfileAssignmentDTO( + ) + + def testSuccessfulLocalTenantProfileAssignmentDTO(self): + """Test SuccessfulLocalTenantProfileAssignmentDTO""" + def validate_instance(instance): + SuccessfulLocalTenantProfileAssignmentDTO.model_validate(inst_req_only) + instance_deserialized = SuccessfulLocalTenantProfileAssignmentDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_synonym_list_dto.py b/src/visier_platform_sdk/test/test_synonym_list_dto.py new file mode 100644 index 0000000000..0c7f041561 --- /dev/null +++ b/src/visier_platform_sdk/test/test_synonym_list_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.synonym_list_dto import SynonymListDTO + +class TestSynonymListDTO(unittest.TestCase): + """SynonymListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SynonymListDTO: + """Test SynonymListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SynonymListDTO( + synonyms = [ + '' + ] + ) + else: + return SynonymListDTO( + ) + + def testSynonymListDTO(self): + """Test SynonymListDTO""" + def validate_instance(instance): + SynonymListDTO.model_validate(inst_req_only) + instance_deserialized = SynonymListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_system_status_dto.py b/src/visier_platform_sdk/test/test_system_status_dto.py new file mode 100644 index 0000000000..941707ee37 --- /dev/null +++ b/src/visier_platform_sdk/test/test_system_status_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.system_status_dto import SystemStatusDTO + +class TestSystemStatusDTO(unittest.TestCase): + """SystemStatusDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SystemStatusDTO: + """Test SystemStatusDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SystemStatusDTO( + overall = '' + ) + else: + return SystemStatusDTO( + ) + + def testSystemStatusDTO(self): + """Test SystemStatusDTO""" + def validate_instance(instance): + SystemStatusDTO.model_validate(inst_req_only) + instance_deserialized = SystemStatusDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_systemstatus_system_status_dto.py b/src/visier_platform_sdk/test/test_systemstatus_system_status_dto.py deleted file mode 100644 index 04adf813b8..0000000000 --- a/src/visier_platform_sdk/test/test_systemstatus_system_status_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.systemstatus_system_status_dto import SystemstatusSystemStatusDTO - -class TestSystemstatusSystemStatusDTO(unittest.TestCase): - """SystemstatusSystemStatusDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SystemstatusSystemStatusDTO: - """Test SystemstatusSystemStatusDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SystemstatusSystemStatusDTO` - """ - model = SystemstatusSystemStatusDTO() - if include_optional: - return SystemstatusSystemStatusDTO( - overall = '' - ) - else: - return SystemstatusSystemStatusDTO( - ) - """ - - def testSystemstatusSystemStatusDTO(self): - """Test SystemstatusSystemStatusDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_systemstatus_vee_status_dto.py b/src/visier_platform_sdk/test/test_systemstatus_vee_status_dto.py deleted file mode 100644 index 118bfb6d89..0000000000 --- a/src/visier_platform_sdk/test/test_systemstatus_vee_status_dto.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -from visier_platform_sdk.models.systemstatus_vee_status_dto import SystemstatusVeeStatusDTO - -class TestSystemstatusVeeStatusDTO(unittest.TestCase): - """SystemstatusVeeStatusDTO unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> SystemstatusVeeStatusDTO: - """Test SystemstatusVeeStatusDTO - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # uncomment below to create an instance of `SystemstatusVeeStatusDTO` - """ - model = SystemstatusVeeStatusDTO() - if include_optional: - return SystemstatusVeeStatusDTO( - overall = '' - ) - else: - return SystemstatusVeeStatusDTO( - ) - """ - - def testSystemstatusVeeStatusDTO(self): - """Test SystemstatusVeeStatusDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_table_response_dto.py b/src/visier_platform_sdk/test/test_table_response_dto.py index 423725b193..87217dccd0 100644 --- a/src/visier_platform_sdk/test/test_table_response_dto.py +++ b/src/visier_platform_sdk/test/test_table_response_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.table_response_dto import TableResponseDTO class TestTableResponseDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> TableResponseDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `TableResponseDTO` - """ - model = TableResponseDTO() + if include_optional: return TableResponseDTO( header = { @@ -48,12 +47,19 @@ def make_instance(self, include_optional) -> TableResponseDTO: else: return TableResponseDTO( ) - """ def testTableResponseDTO(self): """Test TableResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + TableResponseDTO.model_validate(inst_req_only) + instance_deserialized = TableResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_tag_map_element_dto.py b/src/visier_platform_sdk/test/test_tag_map_element_dto.py new file mode 100644 index 0000000000..2e85c5bb75 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tag_map_element_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tag_map_element_dto import TagMapElementDTO + +class TestTagMapElementDTO(unittest.TestCase): + """TagMapElementDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TagMapElementDTO: + """Test TagMapElementDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TagMapElementDTO( + id = '', + display_name = '' + ) + else: + return TagMapElementDTO( + ) + + def testTagMapElementDTO(self): + """Test TagMapElementDTO""" + def validate_instance(instance): + TagMapElementDTO.model_validate(inst_req_only) + instance_deserialized = TagMapElementDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tag_reference_dto.py b/src/visier_platform_sdk/test/test_tag_reference_dto.py new file mode 100644 index 0000000000..efc046af4d --- /dev/null +++ b/src/visier_platform_sdk/test/test_tag_reference_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tag_reference_dto import TagReferenceDTO + +class TestTagReferenceDTO(unittest.TestCase): + """TagReferenceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TagReferenceDTO: + """Test TagReferenceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TagReferenceDTO( + object_name = '' + ) + else: + return TagReferenceDTO( + ) + + def testTagReferenceDTO(self): + """Test TagReferenceDTO""" + def validate_instance(instance): + TagReferenceDTO.model_validate(inst_req_only) + instance_deserialized = TagReferenceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tag_reference_list_dto.py b/src/visier_platform_sdk/test/test_tag_reference_list_dto.py new file mode 100644 index 0000000000..276db16f8e --- /dev/null +++ b/src/visier_platform_sdk/test/test_tag_reference_list_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tag_reference_list_dto import TagReferenceListDTO + +class TestTagReferenceListDTO(unittest.TestCase): + """TagReferenceListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TagReferenceListDTO: + """Test TagReferenceListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TagReferenceListDTO( + tags = [ + visier_platform_sdk.models.tag_reference_dto.TagReferenceDTO( + object_name = '', ) + ] + ) + else: + return TagReferenceListDTO( + ) + + def testTagReferenceListDTO(self): + """Test TagReferenceListDTO""" + def validate_instance(instance): + TagReferenceListDTO.model_validate(inst_req_only) + instance_deserialized = TagReferenceListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tags_dto.py b/src/visier_platform_sdk/test/test_tags_dto.py new file mode 100644 index 0000000000..0a5422ad54 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tags_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tags_dto import TagsDTO + +class TestTagsDTO(unittest.TestCase): + """TagsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TagsDTO: + """Test TagsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TagsDTO( + ids = [ + '' + ] + ) + else: + return TagsDTO( + ) + + def testTagsDTO(self): + """Test TagsDTO""" + def validate_instance(instance): + TagsDTO.model_validate(inst_req_only) + instance_deserialized = TagsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_target_project_for_tenant_dto.py b/src/visier_platform_sdk/test/test_target_project_for_tenant_dto.py new file mode 100644 index 0000000000..836d3103a8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_target_project_for_tenant_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.target_project_for_tenant_dto import TargetProjectForTenantDTO + +class TestTargetProjectForTenantDTO(unittest.TestCase): + """TargetProjectForTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TargetProjectForTenantDTO: + """Test TargetProjectForTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TargetProjectForTenantDTO( + tenant_code = '', + project_id = '' + ) + else: + return TargetProjectForTenantDTO( + ) + + def testTargetProjectForTenantDTO(self): + """Test TargetProjectForTenantDTO""" + def validate_instance(instance): + TargetProjectForTenantDTO.model_validate(inst_req_only) + instance_deserialized = TargetProjectForTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_target_project_for_tenants_list_dto.py b/src/visier_platform_sdk/test/test_target_project_for_tenants_list_dto.py new file mode 100644 index 0000000000..93f509a959 --- /dev/null +++ b/src/visier_platform_sdk/test/test_target_project_for_tenants_list_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.target_project_for_tenants_list_dto import TargetProjectForTenantsListDTO + +class TestTargetProjectForTenantsListDTO(unittest.TestCase): + """TargetProjectForTenantsListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TargetProjectForTenantsListDTO: + """Test TargetProjectForTenantsListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TargetProjectForTenantsListDTO( + target_project_for_tenants = [ + visier_platform_sdk.models.target_project_for_tenant_dto.TargetProjectForTenantDTO( + tenant_code = '', + project_id = '', ) + ] + ) + else: + return TargetProjectForTenantsListDTO( + ) + + def testTargetProjectForTenantsListDTO(self): + """Test TargetProjectForTenantsListDTO""" + def validate_instance(instance): + TargetProjectForTenantsListDTO.model_validate(inst_req_only) + instance_deserialized = TargetProjectForTenantsListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_target_tenant_code_dto.py b/src/visier_platform_sdk/test/test_target_tenant_code_dto.py new file mode 100644 index 0000000000..4a13f60a31 --- /dev/null +++ b/src/visier_platform_sdk/test/test_target_tenant_code_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.target_tenant_code_dto import TargetTenantCodeDTO + +class TestTargetTenantCodeDTO(unittest.TestCase): + """TargetTenantCodeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TargetTenantCodeDTO: + """Test TargetTenantCodeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TargetTenantCodeDTO( + tenant_code = '', + for_all_children = True + ) + else: + return TargetTenantCodeDTO( + ) + + def testTargetTenantCodeDTO(self): + """Test TargetTenantCodeDTO""" + def validate_instance(instance): + TargetTenantCodeDTO.model_validate(inst_req_only) + instance_deserialized = TargetTenantCodeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant.py b/src/visier_platform_sdk/test/test_tenant.py new file mode 100644 index 0000000000..31b478c754 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant import Tenant + +class TestTenant(unittest.TestCase): + """Tenant unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> Tenant: + """Test Tenant + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return Tenant( + tenant_code = '', + status = '', + sources = [ + visier_platform_sdk.models.source.Source( + source_id = '', + source_name = '', + data_size = '', + rows = '', + status = '', + message = '', ) + ] + ) + else: + return Tenant( + ) + + def testTenant(self): + """Test Tenant""" + def validate_instance(instance): + Tenant.model_validate(inst_req_only) + instance_deserialized = Tenant.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_and_credential.py b/src/visier_platform_sdk/test/test_tenant_and_credential.py new file mode 100644 index 0000000000..0ccf569789 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_and_credential.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_and_credential import TenantAndCredential + +class TestTenantAndCredential(unittest.TestCase): + """TenantAndCredential unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantAndCredential: + """Test TenantAndCredential + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantAndCredential( + tenant_code = '', + credential_id = '' + ) + else: + return TenantAndCredential( + ) + + def testTenantAndCredential(self): + """Test TenantAndCredential""" + def validate_instance(instance): + TenantAndCredential.model_validate(inst_req_only) + instance_deserialized = TenantAndCredential.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_assignments_dto.py b/src/visier_platform_sdk/test/test_tenant_assignments_dto.py new file mode 100644 index 0000000000..dc29484fd0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_assignments_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_assignments_dto import TenantAssignmentsDTO + +class TestTenantAssignmentsDTO(unittest.TestCase): + """TenantAssignmentsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantAssignmentsDTO: + """Test TenantAssignmentsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantAssignmentsDTO( + tenant_code = '', + status = 'Unknown', + message = '', + assignments = [ + visier_platform_sdk.models.user_security_assignments_dto.UserSecurityAssignmentsDTO( + id = '', + name = '', + users = [ + visier_platform_sdk.models.simple_user_dto.SimpleUserDTO( + user_id = '', + username = '', ) + ], ) + ], + project_id = '' + ) + else: + return TenantAssignmentsDTO( + ) + + def testTenantAssignmentsDTO(self): + """Test TenantAssignmentsDTO""" + def validate_instance(instance): + TenantAssignmentsDTO.model_validate(inst_req_only) + instance_deserialized = TenantAssignmentsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_code_body.py b/src/visier_platform_sdk/test/test_tenant_code_body.py new file mode 100644 index 0000000000..3967b0f393 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_code_body.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_code_body import TenantCodeBody + +class TestTenantCodeBody(unittest.TestCase): + """TenantCodeBody unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantCodeBody: + """Test TenantCodeBody + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantCodeBody( + tenant_codes = [ + '' + ] + ) + else: + return TenantCodeBody( + ) + + def testTenantCodeBody(self): + """Test TenantCodeBody""" + def validate_instance(instance): + TenantCodeBody.model_validate(inst_req_only) + instance_deserialized = TenantCodeBody.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_code_error_dto.py b/src/visier_platform_sdk/test/test_tenant_code_error_dto.py new file mode 100644 index 0000000000..20a3b54686 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_code_error_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_code_error_dto import TenantCodeErrorDTO + +class TestTenantCodeErrorDTO(unittest.TestCase): + """TenantCodeErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantCodeErrorDTO: + """Test TenantCodeErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantCodeErrorDTO( + tenant_code = '', + for_all_children = True, + error = visier_platform_sdk.models.error_dto.ErrorDTO( + root_cause_id = '', + error_code = '', + error_message = '', ) + ) + else: + return TenantCodeErrorDTO( + ) + + def testTenantCodeErrorDTO(self): + """Test TenantCodeErrorDTO""" + def validate_instance(instance): + TenantCodeErrorDTO.model_validate(inst_req_only) + instance_deserialized = TenantCodeErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_connector_settings_request_dto.py b/src/visier_platform_sdk/test/test_tenant_connector_settings_request_dto.py new file mode 100644 index 0000000000..dd23c5054e --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_connector_settings_request_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_connector_settings_request_dto import TenantConnectorSettingsRequestDTO + +class TestTenantConnectorSettingsRequestDTO(unittest.TestCase): + """TenantConnectorSettingsRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantConnectorSettingsRequestDTO: + """Test TenantConnectorSettingsRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantConnectorSettingsRequestDTO( + tenant_code = '', + connector_settings = [ + visier_platform_sdk.models.connector_setting_request_dto.ConnectorSettingRequestDTO( + setting_key = '', + value = '', ) + ] + ) + else: + return TenantConnectorSettingsRequestDTO( + ) + + def testTenantConnectorSettingsRequestDTO(self): + """Test TenantConnectorSettingsRequestDTO""" + def validate_instance(instance): + TenantConnectorSettingsRequestDTO.model_validate(inst_req_only) + instance_deserialized = TenantConnectorSettingsRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_data_upload_status_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_upload_status_response_dto.py new file mode 100644 index 0000000000..1e75f67b39 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_data_upload_status_response_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_data_upload_status_response_dto import TenantDataUploadStatusResponseDTO + +class TestTenantDataUploadStatusResponseDTO(unittest.TestCase): + """TenantDataUploadStatusResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantDataUploadStatusResponseDTO: + """Test TenantDataUploadStatusResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantDataUploadStatusResponseDTO( + upload_time = '', + included = True + ) + else: + return TenantDataUploadStatusResponseDTO( + ) + + def testTenantDataUploadStatusResponseDTO(self): + """Test TenantDataUploadStatusResponseDTO""" + def validate_instance(instance): + TenantDataUploadStatusResponseDTO.model_validate(inst_req_only) + instance_deserialized = TenantDataUploadStatusResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_data_upload_update_status_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_upload_update_status_response_dto.py new file mode 100644 index 0000000000..7037c491c0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_data_upload_update_status_response_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_data_upload_update_status_response_dto import TenantDataUploadUpdateStatusResponseDTO + +class TestTenantDataUploadUpdateStatusResponseDTO(unittest.TestCase): + """TenantDataUploadUpdateStatusResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantDataUploadUpdateStatusResponseDTO: + """Test TenantDataUploadUpdateStatusResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantDataUploadUpdateStatusResponseDTO( + tenant_code = '', + upload_time = '', + status = '', + message = '' + ) + else: + return TenantDataUploadUpdateStatusResponseDTO( + ) + + def testTenantDataUploadUpdateStatusResponseDTO(self): + """Test TenantDataUploadUpdateStatusResponseDTO""" + def validate_instance(instance): + TenantDataUploadUpdateStatusResponseDTO.model_validate(inst_req_only) + instance_deserialized = TenantDataUploadUpdateStatusResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_data_uploads_list_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_uploads_list_response_dto.py new file mode 100644 index 0000000000..2b9ee5fbe2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_data_uploads_list_response_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_data_uploads_list_response_dto import TenantDataUploadsListResponseDTO + +class TestTenantDataUploadsListResponseDTO(unittest.TestCase): + """TenantDataUploadsListResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantDataUploadsListResponseDTO: + """Test TenantDataUploadsListResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantDataUploadsListResponseDTO( + tenants = [ + visier_platform_sdk.models.tenant_data_uploads_response_dto.TenantDataUploadsResponseDTO( + tenant_code = '', + uploads = [ + visier_platform_sdk.models.tenant_data_upload_status_response_dto.TenantDataUploadStatusResponseDTO( + upload_time = '', + included = True, ) + ], ) + ], + limit = 56, + start = 56 + ) + else: + return TenantDataUploadsListResponseDTO( + ) + + def testTenantDataUploadsListResponseDTO(self): + """Test TenantDataUploadsListResponseDTO""" + def validate_instance(instance): + TenantDataUploadsListResponseDTO.model_validate(inst_req_only) + instance_deserialized = TenantDataUploadsListResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_data_uploads_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_uploads_response_dto.py new file mode 100644 index 0000000000..d9d50c4d6f --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_data_uploads_response_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_data_uploads_response_dto import TenantDataUploadsResponseDTO + +class TestTenantDataUploadsResponseDTO(unittest.TestCase): + """TenantDataUploadsResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantDataUploadsResponseDTO: + """Test TenantDataUploadsResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantDataUploadsResponseDTO( + tenant_code = '', + uploads = [ + visier_platform_sdk.models.tenant_data_upload_status_response_dto.TenantDataUploadStatusResponseDTO( + upload_time = '', + included = True, ) + ] + ) + else: + return TenantDataUploadsResponseDTO( + ) + + def testTenantDataUploadsResponseDTO(self): + """Test TenantDataUploadsResponseDTO""" + def validate_instance(instance): + TenantDataUploadsResponseDTO.model_validate(inst_req_only) + instance_deserialized = TenantDataUploadsResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_data_uploads_update_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_uploads_update_response_dto.py new file mode 100644 index 0000000000..3c14979b97 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_data_uploads_update_response_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_data_uploads_update_response_dto import TenantDataUploadsUpdateResponseDTO + +class TestTenantDataUploadsUpdateResponseDTO(unittest.TestCase): + """TenantDataUploadsUpdateResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantDataUploadsUpdateResponseDTO: + """Test TenantDataUploadsUpdateResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantDataUploadsUpdateResponseDTO( + total_failures = 56, + total_success = 56, + uploads = [ + visier_platform_sdk.models.tenant_data_upload_update_status_response_dto.TenantDataUploadUpdateStatusResponseDTO( + tenant_code = '', + upload_time = '', + status = '', + message = '', ) + ] + ) + else: + return TenantDataUploadsUpdateResponseDTO( + ) + + def testTenantDataUploadsUpdateResponseDTO(self): + """Test TenantDataUploadsUpdateResponseDTO""" + def validate_instance(instance): + TenantDataUploadsUpdateResponseDTO.model_validate(inst_req_only) + instance_deserialized = TenantDataUploadsUpdateResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_detail_apidto.py b/src/visier_platform_sdk/test/test_tenant_detail_apidto.py new file mode 100644 index 0000000000..661aa35311 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_detail_apidto.py @@ -0,0 +1,86 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_detail_apidto import TenantDetailAPIDTO + +class TestTenantDetailAPIDTO(unittest.TestCase): + """TenantDetailAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantDetailAPIDTO: + """Test TenantDetailAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantDetailAPIDTO( + tenant_code = '', + tenant_display_name = '', + status = '', + provision_date = '', + current_data_version = '', + data_version_date = '', + modules = [ + visier_platform_sdk.models.tenant_module_dto.TenantModuleDTO( + display_name = '', + symbol_name = '', + module_settings = None, ) + ], + industry_code = 56, + can_administer_other_tenants = True, + embeddable_domains = [ + '' + ], + custom_properties = [ + visier_platform_sdk.models.custom_tenant_property_dto.CustomTenantPropertyDTO( + key = '', + value = '', ) + ], + sso_instance_issuers = [ + '' + ], + vanity_url_name = '', + allowed_o_auth_idp_url_domains = [ + '' + ] + ) + else: + return TenantDetailAPIDTO( + ) + + def testTenantDetailAPIDTO(self): + """Test TenantDetailAPIDTO""" + def validate_instance(instance): + TenantDetailAPIDTO.model_validate(inst_req_only) + instance_deserialized = TenantDetailAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_details_traits_dto.py b/src/visier_platform_sdk/test/test_tenant_details_traits_dto.py new file mode 100644 index 0000000000..f9f11e7de3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_details_traits_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_details_traits_dto import TenantDetailsTraitsDTO + +class TestTenantDetailsTraitsDTO(unittest.TestCase): + """TenantDetailsTraitsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantDetailsTraitsDTO: + """Test TenantDetailsTraitsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantDetailsTraitsDTO( + aggregation_rights = True, + tenant_type = 'ROOT_ADMIN', + data_profile_type = 'Regular' + ) + else: + return TenantDetailsTraitsDTO( + ) + + def testTenantDetailsTraitsDTO(self): + """Test TenantDetailsTraitsDTO""" + def validate_instance(instance): + TenantDetailsTraitsDTO.model_validate(inst_req_only) + instance_deserialized = TenantDetailsTraitsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_encryption_key_details_dto.py b/src/visier_platform_sdk/test/test_tenant_encryption_key_details_dto.py new file mode 100644 index 0000000000..39d5f47fab --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_encryption_key_details_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_encryption_key_details_dto import TenantEncryptionKeyDetailsDTO + +class TestTenantEncryptionKeyDetailsDTO(unittest.TestCase): + """TenantEncryptionKeyDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantEncryptionKeyDetailsDTO: + """Test TenantEncryptionKeyDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantEncryptionKeyDetailsDTO( + key_name = '', + algorithm = '', + generated_by = '', + date_generated = '', + expiry_date = '' + ) + else: + return TenantEncryptionKeyDetailsDTO( + ) + + def testTenantEncryptionKeyDetailsDTO(self): + """Test TenantEncryptionKeyDetailsDTO""" + def validate_instance(instance): + TenantEncryptionKeyDetailsDTO.model_validate(inst_req_only) + instance_deserialized = TenantEncryptionKeyDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_encryption_key_dto.py b/src/visier_platform_sdk/test/test_tenant_encryption_key_dto.py new file mode 100644 index 0000000000..caff050362 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_encryption_key_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_encryption_key_dto import TenantEncryptionKeyDTO + +class TestTenantEncryptionKeyDTO(unittest.TestCase): + """TenantEncryptionKeyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantEncryptionKeyDTO: + """Test TenantEncryptionKeyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantEncryptionKeyDTO( + detail = visier_platform_sdk.models.tenant_encryption_key_details_dto.TenantEncryptionKeyDetailsDTO( + key_name = '', + algorithm = '', + generated_by = '', + date_generated = '', + expiry_date = '', ), + key = '' + ) + else: + return TenantEncryptionKeyDTO( + ) + + def testTenantEncryptionKeyDTO(self): + """Test TenantEncryptionKeyDTO""" + def validate_instance(instance): + TenantEncryptionKeyDTO.model_validate(inst_req_only) + instance_deserialized = TenantEncryptionKeyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_management_api_get_response_dto.py b/src/visier_platform_sdk/test/test_tenant_management_api_get_response_dto.py new file mode 100644 index 0000000000..fdb924c7f1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_management_api_get_response_dto.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_management_api_get_response_dto import TenantManagementAPIGetResponseDTO + +class TestTenantManagementAPIGetResponseDTO(unittest.TestCase): + """TenantManagementAPIGetResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantManagementAPIGetResponseDTO: + """Test TenantManagementAPIGetResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantManagementAPIGetResponseDTO( + tenant_code = '', + tenant_display_name = '', + status = '', + provision_date = '', + current_data_version = '', + data_version_date = '', + purchased_modules = [ + '' + ], + industry_code = 56, + primary_business_location = visier_platform_sdk.models.business_location_dto.BusinessLocationDTO( + country_code = '', + postal_code = '', ), + can_administer_other_tenants = True, + embeddable_domains = [ + '' + ], + custom_properties = [ + visier_platform_sdk.models.custom_property_dto.CustomPropertyDTO( + key = '', + value = '', ) + ], + sso_instance_issuers = [ + '' + ], + vanity_url_name = '', + home_analysis_id = '', + home_analysis_by_user_group = [ + visier_platform_sdk.models.home_analysis_by_user_group_dto.HomeAnalysisByUserGroupDTO( + user_group_id = '', + home_analysis_id = '', ) + ], + click_through_link = '', + click_through_link_enabled = '', + default_currency = '', + allowed_o_auth_idp_url_domains = [ + '' + ], + effective_industry_code = 56, + company_size = 56, + traits = visier_platform_sdk.models.tenant_details_traits_dto.TenantDetailsTraitsDTO( + aggregation_rights = True, + tenant_type = 'ROOT_ADMIN', + data_profile_type = 'Regular', ) + ) + else: + return TenantManagementAPIGetResponseDTO( + ) + + def testTenantManagementAPIGetResponseDTO(self): + """Test TenantManagementAPIGetResponseDTO""" + def validate_instance(instance): + TenantManagementAPIGetResponseDTO.model_validate(inst_req_only) + instance_deserialized = TenantManagementAPIGetResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_management_api_list_response_dto.py b/src/visier_platform_sdk/test/test_tenant_management_api_list_response_dto.py new file mode 100644 index 0000000000..d714ede293 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_management_api_list_response_dto.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_management_api_list_response_dto import TenantManagementAPIListResponseDTO + +class TestTenantManagementAPIListResponseDTO(unittest.TestCase): + """TenantManagementAPIListResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantManagementAPIListResponseDTO: + """Test TenantManagementAPIListResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantManagementAPIListResponseDTO( + tenants = [ + visier_platform_sdk.models.tenant_management_api_get_response_dto.TenantManagementAPIGetResponseDTO( + tenant_code = '', + tenant_display_name = '', + status = '', + provision_date = '', + current_data_version = '', + data_version_date = '', + purchased_modules = [ + '' + ], + industry_code = 56, + primary_business_location = None, + can_administer_other_tenants = True, + embeddable_domains = [ + '' + ], + custom_properties = [ + visier_platform_sdk.models.custom_property_dto.CustomPropertyDTO( + key = '', + value = '', ) + ], + sso_instance_issuers = [ + '' + ], + vanity_url_name = '', + home_analysis_id = '', + home_analysis_by_user_group = [ + visier_platform_sdk.models.home_analysis_by_user_group_dto.HomeAnalysisByUserGroupDTO( + user_group_id = '', + home_analysis_id = '', ) + ], + click_through_link = '', + click_through_link_enabled = '', + default_currency = '', + allowed_o_auth_idp_url_domains = [ + '' + ], + effective_industry_code = 56, + company_size = 56, + traits = None, ) + ], + limit = 56, + start = 56 + ) + else: + return TenantManagementAPIListResponseDTO( + ) + + def testTenantManagementAPIListResponseDTO(self): + """Test TenantManagementAPIListResponseDTO""" + def validate_instance(instance): + TenantManagementAPIListResponseDTO.model_validate(inst_req_only) + instance_deserialized = TenantManagementAPIListResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_management_api_update_request_dto.py b/src/visier_platform_sdk/test/test_tenant_management_api_update_request_dto.py new file mode 100644 index 0000000000..479ed45f31 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_management_api_update_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_management_api_update_request_dto import TenantManagementAPIUpdateRequestDTO + +class TestTenantManagementAPIUpdateRequestDTO(unittest.TestCase): + """TenantManagementAPIUpdateRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantManagementAPIUpdateRequestDTO: + """Test TenantManagementAPIUpdateRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantManagementAPIUpdateRequestDTO( + tenant_code = '', + tenant_display_name = '', + tenant_short_name = '', + vanity_url_name = '', + industry_code = 56, + primary_business_location = visier_platform_sdk.models.business_location_dto.BusinessLocationDTO( + country_code = '', + postal_code = '', ), + purchased_modules = [ + '' + ], + embeddable_domains = [ + '' + ], + custom_properties = [ + visier_platform_sdk.models.custom_property_dto.CustomPropertyDTO( + key = '', + value = '', ) + ], + sso_instance_issuers = [ + '' + ], + home_analysis_id = '', + home_analysis_by_user_group = [ + visier_platform_sdk.models.home_analysis_by_user_group_dto.HomeAnalysisByUserGroupDTO( + user_group_id = '', + home_analysis_id = '', ) + ], + update_action = 'MERGE', + enabled = True, + click_through_link = '', + default_currency = '', + allowed_o_auth_idp_url_domains = [ + '' + ], + traits = visier_platform_sdk.models.tenant_details_traits_dto.TenantDetailsTraitsDTO( + aggregation_rights = True, + tenant_type = 'ROOT_ADMIN', + data_profile_type = 'Regular', ) + ) + else: + return TenantManagementAPIUpdateRequestDTO( + ) + + def testTenantManagementAPIUpdateRequestDTO(self): + """Test TenantManagementAPIUpdateRequestDTO""" + def validate_instance(instance): + TenantManagementAPIUpdateRequestDTO.model_validate(inst_req_only) + instance_deserialized = TenantManagementAPIUpdateRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_management_api_update_response_dto.py b/src/visier_platform_sdk/test/test_tenant_management_api_update_response_dto.py new file mode 100644 index 0000000000..02f16a9880 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_management_api_update_response_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_management_api_update_response_dto import TenantManagementAPIUpdateResponseDTO + +class TestTenantManagementAPIUpdateResponseDTO(unittest.TestCase): + """TenantManagementAPIUpdateResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantManagementAPIUpdateResponseDTO: + """Test TenantManagementAPIUpdateResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantManagementAPIUpdateResponseDTO( + tenant_code = '', + tenant_display_name = '', + industry_code = 56, + primary_business_location = visier_platform_sdk.models.business_location_dto.BusinessLocationDTO( + country_code = '', + postal_code = '', ), + purchased_modules = [ + '' + ], + embeddable_domains = [ + '' + ], + custom_properties = [ + visier_platform_sdk.models.custom_property_dto.CustomPropertyDTO( + key = '', + value = '', ) + ], + sso_instance_issuers = [ + '' + ], + home_analysis_id = '', + home_analysis_by_user_group = [ + visier_platform_sdk.models.home_analysis_by_user_group_dto.HomeAnalysisByUserGroupDTO( + user_group_id = '', + home_analysis_id = '', ) + ], + status = '', + click_through_link = '', + vanity_url_name = '', + default_currency = '', + allowed_o_auth_idp_url_domains = [ + '' + ] + ) + else: + return TenantManagementAPIUpdateResponseDTO( + ) + + def testTenantManagementAPIUpdateResponseDTO(self): + """Test TenantManagementAPIUpdateResponseDTO""" + def validate_instance(instance): + TenantManagementAPIUpdateResponseDTO.model_validate(inst_req_only) + instance_deserialized = TenantManagementAPIUpdateResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_module_dto.py b/src/visier_platform_sdk/test/test_tenant_module_dto.py new file mode 100644 index 0000000000..e4e2aeab16 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_module_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_module_dto import TenantModuleDTO + +class TestTenantModuleDTO(unittest.TestCase): + """TenantModuleDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantModuleDTO: + """Test TenantModuleDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantModuleDTO( + display_name = '', + symbol_name = '', + module_settings = visier_platform_sdk.models.module_settings_dto.ModuleSettingsDTO( + unavailable_for_assignment = True, + special_handling_instruction = '', + locale = '', ) + ) + else: + return TenantModuleDTO( + ) + + def testTenantModuleDTO(self): + """Test TenantModuleDTO""" + def validate_instance(instance): + TenantModuleDTO.model_validate(inst_req_only) + instance_deserialized = TenantModuleDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_dto.py b/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_dto.py new file mode 100644 index 0000000000..6497ea433f --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_preview_entries_summary_dto import TenantPreviewEntriesSummaryDTO + +class TestTenantPreviewEntriesSummaryDTO(unittest.TestCase): + """TenantPreviewEntriesSummaryDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantPreviewEntriesSummaryDTO: + """Test TenantPreviewEntriesSummaryDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantPreviewEntriesSummaryDTO( + tenant_code = '', + data_version = '', + data_version_date = '', + metrics = [ + visier_platform_sdk.models.metric_validation_summary_dto.MetricValidationSummaryDTO( + symbol_name = '', + display_name = '', + value = 1.337, ) + ] + ) + else: + return TenantPreviewEntriesSummaryDTO( + ) + + def testTenantPreviewEntriesSummaryDTO(self): + """Test TenantPreviewEntriesSummaryDTO""" + def validate_instance(instance): + TenantPreviewEntriesSummaryDTO.model_validate(inst_req_only) + instance_deserialized = TenantPreviewEntriesSummaryDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_list_dto.py b/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_list_dto.py new file mode 100644 index 0000000000..26a88ba6e3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_list_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_preview_entries_summary_list_dto import TenantPreviewEntriesSummaryListDTO + +class TestTenantPreviewEntriesSummaryListDTO(unittest.TestCase): + """TenantPreviewEntriesSummaryListDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantPreviewEntriesSummaryListDTO: + """Test TenantPreviewEntriesSummaryListDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantPreviewEntriesSummaryListDTO( + tenants = [ + visier_platform_sdk.models.tenant_preview_entries_summary_dto.TenantPreviewEntriesSummaryDTO( + tenant_code = '', + data_version = '', + data_version_date = '', + metrics = [ + visier_platform_sdk.models.metric_validation_summary_dto.MetricValidationSummaryDTO( + symbol_name = '', + display_name = '', + value = 1.337, ) + ], ) + ], + limit = 56, + start = 56 + ) + else: + return TenantPreviewEntriesSummaryListDTO( + ) + + def testTenantPreviewEntriesSummaryListDTO(self): + """Test TenantPreviewEntriesSummaryListDTO""" + def validate_instance(instance): + TenantPreviewEntriesSummaryListDTO.model_validate(inst_req_only) + instance_deserialized = TenantPreviewEntriesSummaryListDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_provision_apidto.py b/src/visier_platform_sdk/test/test_tenant_provision_apidto.py new file mode 100644 index 0000000000..6b8d819e07 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_provision_apidto.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_provision_apidto import TenantProvisionAPIDTO + +class TestTenantProvisionAPIDTO(unittest.TestCase): + """TenantProvisionAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantProvisionAPIDTO: + """Test TenantProvisionAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantProvisionAPIDTO( + tenant_code = '', + tenant_display_name = '', + purchased_modules = [ + '' + ], + industry_code = 56, + embeddable_domains = [ + '' + ], + custom_properties = [ + visier_platform_sdk.models.custom_tenant_property_dto.CustomTenantPropertyDTO( + key = '', + value = '', ) + ], + sso_instance_issuers = [ + '' + ], + allowed_o_auth_idp_url_domains = [ + '' + ] + ) + else: + return TenantProvisionAPIDTO( + ) + + def testTenantProvisionAPIDTO(self): + """Test TenantProvisionAPIDTO""" + def validate_instance(instance): + TenantProvisionAPIDTO.model_validate(inst_req_only) + instance_deserialized = TenantProvisionAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_tenant_status_apidto.py b/src/visier_platform_sdk/test/test_tenant_status_apidto.py new file mode 100644 index 0000000000..435bdb1bc0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_tenant_status_apidto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.tenant_status_apidto import TenantStatusAPIDTO + +class TestTenantStatusAPIDTO(unittest.TestCase): + """TenantStatusAPIDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TenantStatusAPIDTO: + """Test TenantStatusAPIDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TenantStatusAPIDTO( + tenant_code = '', + status = '', + tenant_display_name = '', + can_administer_other_tenants = True + ) + else: + return TenantStatusAPIDTO( + ) + + def testTenantStatusAPIDTO(self): + """Test TenantStatusAPIDTO""" + def validate_instance(instance): + TenantStatusAPIDTO.model_validate(inst_req_only) + instance_deserialized = TenantStatusAPIDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_time_shift_dto.py b/src/visier_platform_sdk/test/test_time_shift_dto.py new file mode 100644 index 0000000000..24b7131179 --- /dev/null +++ b/src/visier_platform_sdk/test/test_time_shift_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.time_shift_dto import TimeShiftDTO + +class TestTimeShiftDTO(unittest.TestCase): + """TimeShiftDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TimeShiftDTO: + """Test TimeShiftDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TimeShiftDTO( + period_type = 'MONTH', + period_count = 56, + direction = 'BACKWARD' + ) + else: + return TimeShiftDTO( + ) + + def testTimeShiftDTO(self): + """Test TimeShiftDTO""" + def validate_instance(instance): + TimeShiftDTO.model_validate(inst_req_only) + instance_deserialized = TimeShiftDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_token_response.py b/src/visier_platform_sdk/test/test_token_response.py index 565de7f326..0feac42deb 100644 --- a/src/visier_platform_sdk/test/test_token_response.py +++ b/src/visier_platform_sdk/test/test_token_response.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.token_response import TokenResponse class TestTokenResponse(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> TokenResponse: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `TokenResponse` - """ - model = TokenResponse() + if include_optional: return TokenResponse( access_token = '', @@ -45,12 +44,19 @@ def make_instance(self, include_optional) -> TokenResponse: else: return TokenResponse( ) - """ def testTokenResponse(self): """Test TokenResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + TokenResponse.model_validate(inst_req_only) + instance_deserialized = TokenResponse.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_ultimate_auth_params_dto.py b/src/visier_platform_sdk/test/test_ultimate_auth_params_dto.py new file mode 100644 index 0000000000..5d1e02bbc7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_ultimate_auth_params_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.ultimate_auth_params_dto import UltimateAuthParamsDTO + +class TestUltimateAuthParamsDTO(unittest.TestCase): + """UltimateAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UltimateAuthParamsDTO: + """Test UltimateAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UltimateAuthParamsDTO( + host_domain_name = '', + api_key = '', + username = '', + password = '', + user_access_key = '' + ) + else: + return UltimateAuthParamsDTO( + ) + + def testUltimateAuthParamsDTO(self): + """Test UltimateAuthParamsDTO""" + def validate_instance(instance): + UltimateAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = UltimateAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_update_tenant_model.py b/src/visier_platform_sdk/test/test_update_tenant_model.py new file mode 100644 index 0000000000..b23627f1e9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_update_tenant_model.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.update_tenant_model import UpdateTenantModel + +class TestUpdateTenantModel(unittest.TestCase): + """UpdateTenantModel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UpdateTenantModel: + """Test UpdateTenantModel + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UpdateTenantModel( + tenant_display_name = '', + industry_code = 56, + purchased_modules = [ + '' + ], + embeddable_domains = [ + '' + ], + custom_properties = { + 'key' : '' + }, + sso_instance_issuers = [ + '' + ] + ) + else: + return UpdateTenantModel( + ) + + def testUpdateTenantModel(self): + """Test UpdateTenantModel""" + def validate_instance(instance): + UpdateTenantModel.model_validate(inst_req_only) + instance_deserialized = UpdateTenantModel.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_upload_to_exclude.py b/src/visier_platform_sdk/test/test_upload_to_exclude.py new file mode 100644 index 0000000000..db742073f9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_upload_to_exclude.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.upload_to_exclude import UploadToExclude + +class TestUploadToExclude(unittest.TestCase): + """UploadToExclude unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UploadToExclude: + """Test UploadToExclude + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UploadToExclude( + tenant_code = '', + exclude_all = True, + upload_times = [ + '' + ], + min_upload_time = '', + max_upload_time = '', + sources = [ + '' + ], + file_name_regex = '', + file_identifiers = [ + '' + ] + ) + else: + return UploadToExclude( + ) + + def testUploadToExclude(self): + """Test UploadToExclude""" + def validate_instance(instance): + UploadToExclude.model_validate(inst_req_only) + instance_deserialized = UploadToExclude.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_upload_to_include.py b/src/visier_platform_sdk/test/test_upload_to_include.py new file mode 100644 index 0000000000..74945538c1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_upload_to_include.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.upload_to_include import UploadToInclude + +class TestUploadToInclude(unittest.TestCase): + """UploadToInclude unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UploadToInclude: + """Test UploadToInclude + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UploadToInclude( + tenant_code = '', + include_all = True, + upload_times = [ + '' + ], + min_upload_time = '', + max_upload_time = '', + sources = [ + '' + ], + file_name_regex = '', + file_identifiers = [ + '' + ] + ) + else: + return UploadToInclude( + ) + + def testUploadToInclude(self): + """Test UploadToInclude""" + def validate_instance(instance): + UploadToInclude.model_validate(inst_req_only) + instance_deserialized = UploadToInclude.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_creation_api_request_dto.py b/src/visier_platform_sdk/test/test_user_creation_api_request_dto.py new file mode 100644 index 0000000000..4d39f5258e --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_creation_api_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_creation_api_request_dto import UserCreationAPIRequestDTO + +class TestUserCreationAPIRequestDTO(unittest.TestCase): + """UserCreationAPIRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserCreationAPIRequestDTO: + """Test UserCreationAPIRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserCreationAPIRequestDTO( + username = '', + display_name = '', + employee_id = '', + account_enabled = '', + email = '' + ) + else: + return UserCreationAPIRequestDTO( + ) + + def testUserCreationAPIRequestDTO(self): + """Test UserCreationAPIRequestDTO""" + def validate_instance(instance): + UserCreationAPIRequestDTO.model_validate(inst_req_only) + instance_deserialized = UserCreationAPIRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_creation_api_response_dto.py b/src/visier_platform_sdk/test/test_user_creation_api_response_dto.py index 0206b7378e..e2ac4b5ff1 100644 --- a/src/visier_platform_sdk/test/test_user_creation_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_creation_api_response_dto.py @@ -15,6 +15,7 @@ import unittest +import visier_platform_sdk.models from visier_platform_sdk.models.user_creation_api_response_dto import UserCreationAPIResponseDTO class TestUserCreationAPIResponseDTO(unittest.TestCase): @@ -31,9 +32,7 @@ def make_instance(self, include_optional) -> UserCreationAPIResponseDTO: include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ - # uncomment below to create an instance of `UserCreationAPIResponseDTO` - """ - model = UserCreationAPIResponseDTO() + if include_optional: return UserCreationAPIResponseDTO( user_id = '', @@ -46,12 +45,19 @@ def make_instance(self, include_optional) -> UserCreationAPIResponseDTO: else: return UserCreationAPIResponseDTO( ) - """ def testUserCreationAPIResponseDTO(self): """Test UserCreationAPIResponseDTO""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) + def validate_instance(instance): + UserCreationAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = UserCreationAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_get_api_response_dto.py b/src/visier_platform_sdk/test/test_user_get_api_response_dto.py new file mode 100644 index 0000000000..0d8a1074a2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_get_api_response_dto.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_get_api_response_dto import UserGetAPIResponseDTO + +class TestUserGetAPIResponseDTO(unittest.TestCase): + """UserGetAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGetAPIResponseDTO: + """Test UserGetAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGetAPIResponseDTO( + user_id = '', + username = '', + display_name = '', + employee_id = '', + account_enabled = True, + profiles = visier_platform_sdk.models.all_profile_assigned_for_local_tenant_dto.AllProfileAssignedForLocalTenantDTO( + assigned_profiles = [ + visier_platform_sdk.models.profile_assigned_for_local_tenant_dto.ProfileAssignedForLocalTenantDTO( + profile_id = '', + display_name = '', + validity_start_time = '', + validity_end_time = '', + capabilities = [ + visier_platform_sdk.models.capabilities_dto.CapabilitiesDTO( + capability = '', + access_level = '', + view_level = '', ) + ], + additional_capabilities = None, ) + ], ), + permissions = visier_platform_sdk.models.all_permissions_assigned_for_local_tenant_dto.AllPermissionsAssignedForLocalTenantDTO( + assigned_permissions = [ + visier_platform_sdk.models.permission_assigned_for_local_tenant_dto.PermissionAssignedForLocalTenantDTO( + permission_id = '', + display_name = '', + description = '', ) + ], ), + user_groups = visier_platform_sdk.models.all_user_groups_assigned_for_local_tenant_dto.AllUserGroupsAssignedForLocalTenantDTO( + assigned_user_groups = [ + visier_platform_sdk.models.user_group_assigned_for_local_tenant_dto.UserGroupAssignedForLocalTenantDTO( + user_group_id = '', + display_name = '', ) + ], ), + last_login = visier_platform_sdk.models.last_login_dto.LastLoginDTO( + timestamp = '', ), + email = '' + ) + else: + return UserGetAPIResponseDTO( + ) + + def testUserGetAPIResponseDTO(self): + """Test UserGetAPIResponseDTO""" + def validate_instance(instance): + UserGetAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = UserGetAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_user_group_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..93ed528502 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_assigned_for_local_tenant_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_assigned_for_local_tenant_dto import UserGroupAssignedForLocalTenantDTO + +class TestUserGroupAssignedForLocalTenantDTO(unittest.TestCase): + """UserGroupAssignedForLocalTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupAssignedForLocalTenantDTO: + """Test UserGroupAssignedForLocalTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupAssignedForLocalTenantDTO( + user_group_id = '', + display_name = '' + ) + else: + return UserGroupAssignedForLocalTenantDTO( + ) + + def testUserGroupAssignedForLocalTenantDTO(self): + """Test UserGroupAssignedForLocalTenantDTO""" + def validate_instance(instance): + UserGroupAssignedForLocalTenantDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupAssignedForLocalTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_assignment_dto.py b/src/visier_platform_sdk/test/test_user_group_assignment_dto.py new file mode 100644 index 0000000000..1efecd2974 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_assignment_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_assignment_dto import UserGroupAssignmentDTO + +class TestUserGroupAssignmentDTO(unittest.TestCase): + """UserGroupAssignmentDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupAssignmentDTO: + """Test UserGroupAssignmentDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupAssignmentDTO( + user_group_ids = [ + '' + ] + ) + else: + return UserGroupAssignmentDTO( + ) + + def testUserGroupAssignmentDTO(self): + """Test UserGroupAssignmentDTO""" + def validate_instance(instance): + UserGroupAssignmentDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupAssignmentDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_change_definition_dto.py b/src/visier_platform_sdk/test/test_user_group_change_definition_dto.py new file mode 100644 index 0000000000..eb82da5aa0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_change_definition_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_change_definition_dto import UserGroupChangeDefinitionDTO + +class TestUserGroupChangeDefinitionDTO(unittest.TestCase): + """UserGroupChangeDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupChangeDefinitionDTO: + """Test UserGroupChangeDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupChangeDefinitionDTO( + user_group_id = '', + display_name = '', + description = '', + permission_ids = visier_platform_sdk.models.element_ids_dto.ElementIDsDTO( + ids = [ + '' + ], ), + users = visier_platform_sdk.models.user_group_change_users_dto.UserGroupChangeUsersDTO( + include_all_users = True, + manually_included_ids = None, + manually_excluded_ids = None, + dynamic_filter_definition = None, ), + tenant_code = '', + project_id = '' + ) + else: + return UserGroupChangeDefinitionDTO( + ) + + def testUserGroupChangeDefinitionDTO(self): + """Test UserGroupChangeDefinitionDTO""" + def validate_instance(instance): + UserGroupChangeDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupChangeDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_change_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_user_group_change_dimension_filter_dto.py new file mode 100644 index 0000000000..609767ebba --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_change_dimension_filter_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_change_dimension_filter_dto import UserGroupChangeDimensionFilterDTO + +class TestUserGroupChangeDimensionFilterDTO(unittest.TestCase): + """UserGroupChangeDimensionFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupChangeDimensionFilterDTO: + """Test UserGroupChangeDimensionFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupChangeDimensionFilterDTO( + dimension_id = '', + subject_reference_path = visier_platform_sdk.models.element_ids_dto.ElementIDsDTO( + ids = [ + '' + ], ), + member_selections = [ + visier_platform_sdk.models.user_group_change_member_selection_dto.UserGroupChangeMemberSelectionDTO( + is_excluded = True, + name_path = [ + '' + ], ) + ] + ) + else: + return UserGroupChangeDimensionFilterDTO( + ) + + def testUserGroupChangeDimensionFilterDTO(self): + """Test UserGroupChangeDimensionFilterDTO""" + def validate_instance(instance): + UserGroupChangeDimensionFilterDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupChangeDimensionFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_change_failure_dto.py b/src/visier_platform_sdk/test/test_user_group_change_failure_dto.py new file mode 100644 index 0000000000..16bc7a4a39 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_change_failure_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_change_failure_dto import UserGroupChangeFailureDTO + +class TestUserGroupChangeFailureDTO(unittest.TestCase): + """UserGroupChangeFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupChangeFailureDTO: + """Test UserGroupChangeFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupChangeFailureDTO( + display_name = '', + message = '', + rci = '', + tenant_code = '', + project_id = '' + ) + else: + return UserGroupChangeFailureDTO( + ) + + def testUserGroupChangeFailureDTO(self): + """Test UserGroupChangeFailureDTO""" + def validate_instance(instance): + UserGroupChangeFailureDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupChangeFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_change_filter_dto.py b/src/visier_platform_sdk/test/test_user_group_change_filter_dto.py new file mode 100644 index 0000000000..f9be40a119 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_change_filter_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_change_filter_dto import UserGroupChangeFilterDTO + +class TestUserGroupChangeFilterDTO(unittest.TestCase): + """UserGroupChangeFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupChangeFilterDTO: + """Test UserGroupChangeFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupChangeFilterDTO( + filter_id = '', + analytic_object_id = '', + dimension_filters = [ + visier_platform_sdk.models.user_group_change_dimension_filter_dto.UserGroupChangeDimensionFilterDTO( + dimension_id = '', + subject_reference_path = None, + member_selections = [ + visier_platform_sdk.models.user_group_change_member_selection_dto.UserGroupChangeMemberSelectionDTO( + is_excluded = True, + name_path = [ + '' + ], ) + ], ) + ] + ) + else: + return UserGroupChangeFilterDTO( + ) + + def testUserGroupChangeFilterDTO(self): + """Test UserGroupChangeFilterDTO""" + def validate_instance(instance): + UserGroupChangeFilterDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupChangeFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_change_member_selection_dto.py b/src/visier_platform_sdk/test/test_user_group_change_member_selection_dto.py new file mode 100644 index 0000000000..a5ce075679 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_change_member_selection_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_change_member_selection_dto import UserGroupChangeMemberSelectionDTO + +class TestUserGroupChangeMemberSelectionDTO(unittest.TestCase): + """UserGroupChangeMemberSelectionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupChangeMemberSelectionDTO: + """Test UserGroupChangeMemberSelectionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupChangeMemberSelectionDTO( + is_excluded = True, + name_path = [ + '' + ] + ) + else: + return UserGroupChangeMemberSelectionDTO( + ) + + def testUserGroupChangeMemberSelectionDTO(self): + """Test UserGroupChangeMemberSelectionDTO""" + def validate_instance(instance): + UserGroupChangeMemberSelectionDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupChangeMemberSelectionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_change_response_dto.py b/src/visier_platform_sdk/test/test_user_group_change_response_dto.py new file mode 100644 index 0000000000..cb9705174c --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_change_response_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_change_response_dto import UserGroupChangeResponseDTO + +class TestUserGroupChangeResponseDTO(unittest.TestCase): + """UserGroupChangeResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupChangeResponseDTO: + """Test UserGroupChangeResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupChangeResponseDTO( + successes = [ + visier_platform_sdk.models.user_group_change_success_dto.UserGroupChangeSuccessDTO( + display_name = '', + user_group_id = '', + tenant_code = '', + project_id = '', ) + ], + failures = [ + visier_platform_sdk.models.user_group_change_failure_dto.UserGroupChangeFailureDTO( + display_name = '', + message = '', + rci = '', + tenant_code = '', + project_id = '', ) + ] + ) + else: + return UserGroupChangeResponseDTO( + ) + + def testUserGroupChangeResponseDTO(self): + """Test UserGroupChangeResponseDTO""" + def validate_instance(instance): + UserGroupChangeResponseDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupChangeResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_change_success_dto.py b/src/visier_platform_sdk/test/test_user_group_change_success_dto.py new file mode 100644 index 0000000000..aec249302b --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_change_success_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_change_success_dto import UserGroupChangeSuccessDTO + +class TestUserGroupChangeSuccessDTO(unittest.TestCase): + """UserGroupChangeSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupChangeSuccessDTO: + """Test UserGroupChangeSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupChangeSuccessDTO( + display_name = '', + user_group_id = '', + tenant_code = '', + project_id = '' + ) + else: + return UserGroupChangeSuccessDTO( + ) + + def testUserGroupChangeSuccessDTO(self): + """Test UserGroupChangeSuccessDTO""" + def validate_instance(instance): + UserGroupChangeSuccessDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupChangeSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_change_users_dto.py b/src/visier_platform_sdk/test/test_user_group_change_users_dto.py new file mode 100644 index 0000000000..845a454e18 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_change_users_dto.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_change_users_dto import UserGroupChangeUsersDTO + +class TestUserGroupChangeUsersDTO(unittest.TestCase): + """UserGroupChangeUsersDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupChangeUsersDTO: + """Test UserGroupChangeUsersDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupChangeUsersDTO( + include_all_users = True, + manually_included_ids = visier_platform_sdk.models.element_ids_dto.ElementIDsDTO( + ids = [ + '' + ], ), + manually_excluded_ids = visier_platform_sdk.models.element_ids_dto.ElementIDsDTO( + ids = [ + '' + ], ), + dynamic_filter_definition = visier_platform_sdk.models.user_group_filters_dto.UserGroupFiltersDTO( + filters = [ + visier_platform_sdk.models.user_group_change_filter_dto.UserGroupChangeFilterDTO( + filter_id = '', + analytic_object_id = '', + dimension_filters = [ + visier_platform_sdk.models.user_group_change_dimension_filter_dto.UserGroupChangeDimensionFilterDTO( + dimension_id = '', + subject_reference_path = None, + member_selections = [ + visier_platform_sdk.models.user_group_change_member_selection_dto.UserGroupChangeMemberSelectionDTO( + is_excluded = True, + name_path = [ + '' + ], ) + ], ) + ], ) + ], ) + ) + else: + return UserGroupChangeUsersDTO( + ) + + def testUserGroupChangeUsersDTO(self): + """Test UserGroupChangeUsersDTO""" + def validate_instance(instance): + UserGroupChangeUsersDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupChangeUsersDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_delete_dto.py b/src/visier_platform_sdk/test/test_user_group_delete_dto.py new file mode 100644 index 0000000000..5fcb036282 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_delete_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_delete_dto import UserGroupDeleteDTO + +class TestUserGroupDeleteDTO(unittest.TestCase): + """UserGroupDeleteDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupDeleteDTO: + """Test UserGroupDeleteDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupDeleteDTO( + tenant_code = '', + user_group_id = '', + project_id = '' + ) + else: + return UserGroupDeleteDTO( + ) + + def testUserGroupDeleteDTO(self): + """Test UserGroupDeleteDTO""" + def validate_instance(instance): + UserGroupDeleteDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupDeleteDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_delete_failure_dto.py b/src/visier_platform_sdk/test/test_user_group_delete_failure_dto.py new file mode 100644 index 0000000000..a3d4405839 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_delete_failure_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_delete_failure_dto import UserGroupDeleteFailureDTO + +class TestUserGroupDeleteFailureDTO(unittest.TestCase): + """UserGroupDeleteFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupDeleteFailureDTO: + """Test UserGroupDeleteFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupDeleteFailureDTO( + tenant_code = '', + user_group_id = '', + message = '', + rci = '', + project_id = '' + ) + else: + return UserGroupDeleteFailureDTO( + ) + + def testUserGroupDeleteFailureDTO(self): + """Test UserGroupDeleteFailureDTO""" + def validate_instance(instance): + UserGroupDeleteFailureDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupDeleteFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_delete_response_dto.py b/src/visier_platform_sdk/test/test_user_group_delete_response_dto.py new file mode 100644 index 0000000000..348c315f98 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_delete_response_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_delete_response_dto import UserGroupDeleteResponseDTO + +class TestUserGroupDeleteResponseDTO(unittest.TestCase): + """UserGroupDeleteResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupDeleteResponseDTO: + """Test UserGroupDeleteResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupDeleteResponseDTO( + successes = [ + visier_platform_sdk.models.user_group_delete_success_dto.UserGroupDeleteSuccessDTO( + tenant_code = '', + user_group_id = '', + project_id = '', ) + ], + failures = [ + visier_platform_sdk.models.user_group_delete_failure_dto.UserGroupDeleteFailureDTO( + tenant_code = '', + user_group_id = '', + message = '', + rci = '', + project_id = '', ) + ] + ) + else: + return UserGroupDeleteResponseDTO( + ) + + def testUserGroupDeleteResponseDTO(self): + """Test UserGroupDeleteResponseDTO""" + def validate_instance(instance): + UserGroupDeleteResponseDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupDeleteResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_delete_success_dto.py b/src/visier_platform_sdk/test/test_user_group_delete_success_dto.py new file mode 100644 index 0000000000..0a9173e5f2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_delete_success_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_delete_success_dto import UserGroupDeleteSuccessDTO + +class TestUserGroupDeleteSuccessDTO(unittest.TestCase): + """UserGroupDeleteSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupDeleteSuccessDTO: + """Test UserGroupDeleteSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupDeleteSuccessDTO( + tenant_code = '', + user_group_id = '', + project_id = '' + ) + else: + return UserGroupDeleteSuccessDTO( + ) + + def testUserGroupDeleteSuccessDTO(self): + """Test UserGroupDeleteSuccessDTO""" + def validate_instance(instance): + UserGroupDeleteSuccessDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupDeleteSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_filters_dto.py b/src/visier_platform_sdk/test/test_user_group_filters_dto.py new file mode 100644 index 0000000000..3a1c289fc3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_filters_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_filters_dto import UserGroupFiltersDTO + +class TestUserGroupFiltersDTO(unittest.TestCase): + """UserGroupFiltersDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupFiltersDTO: + """Test UserGroupFiltersDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupFiltersDTO( + filters = [ + visier_platform_sdk.models.user_group_change_filter_dto.UserGroupChangeFilterDTO( + filter_id = '', + analytic_object_id = '', + dimension_filters = [ + visier_platform_sdk.models.user_group_change_dimension_filter_dto.UserGroupChangeDimensionFilterDTO( + dimension_id = '', + subject_reference_path = None, + member_selections = [ + visier_platform_sdk.models.user_group_change_member_selection_dto.UserGroupChangeMemberSelectionDTO( + is_excluded = True, + name_path = [ + '' + ], ) + ], ) + ], ) + ] + ) + else: + return UserGroupFiltersDTO( + ) + + def testUserGroupFiltersDTO(self): + """Test UserGroupFiltersDTO""" + def validate_instance(instance): + UserGroupFiltersDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupFiltersDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_get_api_response_dto.py b/src/visier_platform_sdk/test/test_user_group_get_api_response_dto.py new file mode 100644 index 0000000000..0838ced24f --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_get_api_response_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_get_api_response_dto import UserGroupGetAPIResponseDTO + +class TestUserGroupGetAPIResponseDTO(unittest.TestCase): + """UserGroupGetAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupGetAPIResponseDTO: + """Test UserGroupGetAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupGetAPIResponseDTO( + user_group_id = '', + display_name = '', + permissions = [ + visier_platform_sdk.models.permission_response_dto.PermissionResponseDTO( + permission_id = '', + display_name = '', ) + ] + ) + else: + return UserGroupGetAPIResponseDTO( + ) + + def testUserGroupGetAPIResponseDTO(self): + """Test UserGroupGetAPIResponseDTO""" + def validate_instance(instance): + UserGroupGetAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupGetAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_group_single_delete_response_dto.py b/src/visier_platform_sdk/test/test_user_group_single_delete_response_dto.py new file mode 100644 index 0000000000..81e3a1b5da --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_group_single_delete_response_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_group_single_delete_response_dto import UserGroupSingleDeleteResponseDTO + +class TestUserGroupSingleDeleteResponseDTO(unittest.TestCase): + """UserGroupSingleDeleteResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupSingleDeleteResponseDTO: + """Test UserGroupSingleDeleteResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupSingleDeleteResponseDTO( + success = visier_platform_sdk.models.user_group_delete_success_dto.UserGroupDeleteSuccessDTO( + tenant_code = '', + user_group_id = '', + project_id = '', ), + failure = visier_platform_sdk.models.user_group_delete_failure_dto.UserGroupDeleteFailureDTO( + tenant_code = '', + user_group_id = '', + message = '', + rci = '', + project_id = '', ) + ) + else: + return UserGroupSingleDeleteResponseDTO( + ) + + def testUserGroupSingleDeleteResponseDTO(self): + """Test UserGroupSingleDeleteResponseDTO""" + def validate_instance(instance): + UserGroupSingleDeleteResponseDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupSingleDeleteResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_groups_change_dto.py b/src/visier_platform_sdk/test/test_user_groups_change_dto.py new file mode 100644 index 0000000000..0337ce6ed8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_groups_change_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_groups_change_dto import UserGroupsChangeDTO + +class TestUserGroupsChangeDTO(unittest.TestCase): + """UserGroupsChangeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupsChangeDTO: + """Test UserGroupsChangeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupsChangeDTO( + user_groups = [ + visier_platform_sdk.models.user_group_change_definition_dto.UserGroupChangeDefinitionDTO( + user_group_id = '', + display_name = '', + description = '', + permission_ids = None, + users = None, + tenant_code = '', + project_id = '', ) + ] + ) + else: + return UserGroupsChangeDTO( + ) + + def testUserGroupsChangeDTO(self): + """Test UserGroupsChangeDTO""" + def validate_instance(instance): + UserGroupsChangeDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupsChangeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_groups_delete_request_dto.py b/src/visier_platform_sdk/test/test_user_groups_delete_request_dto.py new file mode 100644 index 0000000000..e19c44bf1c --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_groups_delete_request_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_groups_delete_request_dto import UserGroupsDeleteRequestDTO + +class TestUserGroupsDeleteRequestDTO(unittest.TestCase): + """UserGroupsDeleteRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupsDeleteRequestDTO: + """Test UserGroupsDeleteRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupsDeleteRequestDTO( + user_groups = [ + visier_platform_sdk.models.user_group_delete_dto.UserGroupDeleteDTO( + tenant_code = '', + user_group_id = '', + project_id = '', ) + ] + ) + else: + return UserGroupsDeleteRequestDTO( + ) + + def testUserGroupsDeleteRequestDTO(self): + """Test UserGroupsDeleteRequestDTO""" + def validate_instance(instance): + UserGroupsDeleteRequestDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupsDeleteRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_groups_get_api_response_dto.py b/src/visier_platform_sdk/test/test_user_groups_get_api_response_dto.py new file mode 100644 index 0000000000..4d52fb9589 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_groups_get_api_response_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_groups_get_api_response_dto import UserGroupsGetAPIResponseDTO + +class TestUserGroupsGetAPIResponseDTO(unittest.TestCase): + """UserGroupsGetAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupsGetAPIResponseDTO: + """Test UserGroupsGetAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupsGetAPIResponseDTO( + user_groups = [ + visier_platform_sdk.models.user_group_get_api_response_dto.UserGroupGetAPIResponseDTO( + user_group_id = '', + display_name = '', + permissions = [ + visier_platform_sdk.models.permission_response_dto.PermissionResponseDTO( + permission_id = '', + display_name = '', ) + ], ) + ], + limit = 56, + start = 56 + ) + else: + return UserGroupsGetAPIResponseDTO( + ) + + def testUserGroupsGetAPIResponseDTO(self): + """Test UserGroupsGetAPIResponseDTO""" + def validate_instance(instance): + UserGroupsGetAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupsGetAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_groups_users_dto.py b/src/visier_platform_sdk/test/test_user_groups_users_dto.py new file mode 100644 index 0000000000..161020494d --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_groups_users_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_groups_users_dto import UserGroupsUsersDTO + +class TestUserGroupsUsersDTO(unittest.TestCase): + """UserGroupsUsersDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupsUsersDTO: + """Test UserGroupsUsersDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupsUsersDTO( + tenants = [ + visier_platform_sdk.models.user_groups_users_for_tenant_dto.UserGroupsUsersForTenantDTO( + tenant_code = '', + users = [ + visier_platform_sdk.models.simple_user_dto.SimpleUserDTO( + user_id = '', + username = '', ) + ], ) + ], + limit = 56, + start = 56 + ) + else: + return UserGroupsUsersDTO( + ) + + def testUserGroupsUsersDTO(self): + """Test UserGroupsUsersDTO""" + def validate_instance(instance): + UserGroupsUsersDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupsUsersDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_groups_users_for_tenant_dto.py b/src/visier_platform_sdk/test/test_user_groups_users_for_tenant_dto.py new file mode 100644 index 0000000000..04f2af7334 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_groups_users_for_tenant_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_groups_users_for_tenant_dto import UserGroupsUsersForTenantDTO + +class TestUserGroupsUsersForTenantDTO(unittest.TestCase): + """UserGroupsUsersForTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserGroupsUsersForTenantDTO: + """Test UserGroupsUsersForTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserGroupsUsersForTenantDTO( + tenant_code = '', + users = [ + visier_platform_sdk.models.simple_user_dto.SimpleUserDTO( + user_id = '', + username = '', ) + ] + ) + else: + return UserGroupsUsersForTenantDTO( + ) + + def testUserGroupsUsersForTenantDTO(self): + """Test UserGroupsUsersForTenantDTO""" + def validate_instance(instance): + UserGroupsUsersForTenantDTO.model_validate(inst_req_only) + instance_deserialized = UserGroupsUsersForTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_id_error_dto.py b/src/visier_platform_sdk/test/test_user_id_error_dto.py new file mode 100644 index 0000000000..5e7dee0238 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_id_error_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_id_error_dto import UserIdErrorDTO + +class TestUserIdErrorDTO(unittest.TestCase): + """UserIdErrorDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserIdErrorDTO: + """Test UserIdErrorDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserIdErrorDTO( + user_id = '', + error = visier_platform_sdk.models.error_dto.ErrorDTO( + root_cause_id = '', + error_code = '', + error_message = '', ) + ) + else: + return UserIdErrorDTO( + ) + + def testUserIdErrorDTO(self): + """Test UserIdErrorDTO""" + def validate_instance(instance): + UserIdErrorDTO.model_validate(inst_req_only) + instance_deserialized = UserIdErrorDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_property_dto.py b/src/visier_platform_sdk/test/test_user_property_dto.py new file mode 100644 index 0000000000..43238a18ba --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_property_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_property_dto import UserPropertyDTO + +class TestUserPropertyDTO(unittest.TestCase): + """UserPropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserPropertyDTO: + """Test UserPropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserPropertyDTO( + name = '' + ) + else: + return UserPropertyDTO( + ) + + def testUserPropertyDTO(self): + """Test UserPropertyDTO""" + def validate_instance(instance): + UserPropertyDTO.model_validate(inst_req_only) + instance_deserialized = UserPropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_security_assignments_dto.py b/src/visier_platform_sdk/test/test_user_security_assignments_dto.py new file mode 100644 index 0000000000..c95bbd9e0f --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_security_assignments_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_security_assignments_dto import UserSecurityAssignmentsDTO + +class TestUserSecurityAssignmentsDTO(unittest.TestCase): + """UserSecurityAssignmentsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserSecurityAssignmentsDTO: + """Test UserSecurityAssignmentsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserSecurityAssignmentsDTO( + id = '', + name = '', + users = [ + visier_platform_sdk.models.simple_user_dto.SimpleUserDTO( + user_id = '', + username = '', ) + ] + ) + else: + return UserSecurityAssignmentsDTO( + ) + + def testUserSecurityAssignmentsDTO(self): + """Test UserSecurityAssignmentsDTO""" + def validate_instance(instance): + UserSecurityAssignmentsDTO.model_validate(inst_req_only) + instance_deserialized = UserSecurityAssignmentsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_user_update_api_request_dto.py b/src/visier_platform_sdk/test/test_user_update_api_request_dto.py new file mode 100644 index 0000000000..79aff0af63 --- /dev/null +++ b/src/visier_platform_sdk/test/test_user_update_api_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.user_update_api_request_dto import UserUpdateAPIRequestDTO + +class TestUserUpdateAPIRequestDTO(unittest.TestCase): + """UserUpdateAPIRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UserUpdateAPIRequestDTO: + """Test UserUpdateAPIRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UserUpdateAPIRequestDTO( + display_name = '', + employee_id = '', + account_enabled = '', + email = '', + username = '' + ) + else: + return UserUpdateAPIRequestDTO( + ) + + def testUserUpdateAPIRequestDTO(self): + """Test UserUpdateAPIRequestDTO""" + def validate_instance(instance): + UserUpdateAPIRequestDTO.model_validate(inst_req_only) + instance_deserialized = UserUpdateAPIRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_api_error_message_dto.py b/src/visier_platform_sdk/test/test_users_api_error_message_dto.py new file mode 100644 index 0000000000..d79a7ea3a4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_api_error_message_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_api_error_message_dto import UsersAPIErrorMessageDTO + +class TestUsersAPIErrorMessageDTO(unittest.TestCase): + """UsersAPIErrorMessageDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersAPIErrorMessageDTO: + """Test UsersAPIErrorMessageDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersAPIErrorMessageDTO( + message = '', + rci = '' + ) + else: + return UsersAPIErrorMessageDTO( + ) + + def testUsersAPIErrorMessageDTO(self): + """Test UsersAPIErrorMessageDTO""" + def validate_instance(instance): + UsersAPIErrorMessageDTO.model_validate(inst_req_only) + instance_deserialized = UsersAPIErrorMessageDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_api_failure_dto.py b/src/visier_platform_sdk/test/test_users_api_failure_dto.py new file mode 100644 index 0000000000..49692d9e2f --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_api_failure_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_api_failure_dto import UsersAPIFailureDTO + +class TestUsersAPIFailureDTO(unittest.TestCase): + """UsersAPIFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersAPIFailureDTO: + """Test UsersAPIFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersAPIFailureDTO( + user_id = '', + user_name = '', + display_name = '', + error = visier_platform_sdk.models.users_api_error_message_dto.UsersAPIErrorMessageDTO( + message = '', + rci = '', ) + ) + else: + return UsersAPIFailureDTO( + ) + + def testUsersAPIFailureDTO(self): + """Test UsersAPIFailureDTO""" + def validate_instance(instance): + UsersAPIFailureDTO.model_validate(inst_req_only) + instance_deserialized = UsersAPIFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_api_response_dto.py b/src/visier_platform_sdk/test/test_users_api_response_dto.py new file mode 100644 index 0000000000..1e46bbb659 --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_api_response_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_api_response_dto import UsersAPIResponseDTO + +class TestUsersAPIResponseDTO(unittest.TestCase): + """UsersAPIResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersAPIResponseDTO: + """Test UsersAPIResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersAPIResponseDTO( + successes = [ + visier_platform_sdk.models.users_api_success_dto.UsersAPISuccessDTO( + user_id = '', + username = '', + display_name = '', + employee_id = '', + account_enabled = '', + email = '', ) + ], + failures = [ + visier_platform_sdk.models.users_api_failure_dto.UsersAPIFailureDTO( + user_id = '', + user_name = '', + display_name = '', + error = None, ) + ] + ) + else: + return UsersAPIResponseDTO( + ) + + def testUsersAPIResponseDTO(self): + """Test UsersAPIResponseDTO""" + def validate_instance(instance): + UsersAPIResponseDTO.model_validate(inst_req_only) + instance_deserialized = UsersAPIResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_api_success_dto.py b/src/visier_platform_sdk/test/test_users_api_success_dto.py new file mode 100644 index 0000000000..625289f794 --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_api_success_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_api_success_dto import UsersAPISuccessDTO + +class TestUsersAPISuccessDTO(unittest.TestCase): + """UsersAPISuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersAPISuccessDTO: + """Test UsersAPISuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersAPISuccessDTO( + user_id = '', + username = '', + display_name = '', + employee_id = '', + account_enabled = '', + email = '' + ) + else: + return UsersAPISuccessDTO( + ) + + def testUsersAPISuccessDTO(self): + """Test UsersAPISuccessDTO""" + def validate_instance(instance): + UsersAPISuccessDTO.model_validate(inst_req_only) + instance_deserialized = UsersAPISuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_creation_api_request_dto.py b/src/visier_platform_sdk/test/test_users_creation_api_request_dto.py new file mode 100644 index 0000000000..3d80e3b832 --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_creation_api_request_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_creation_api_request_dto import UsersCreationAPIRequestDTO + +class TestUsersCreationAPIRequestDTO(unittest.TestCase): + """UsersCreationAPIRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersCreationAPIRequestDTO: + """Test UsersCreationAPIRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersCreationAPIRequestDTO( + users = [ + visier_platform_sdk.models.user_creation_api_request_dto.UserCreationAPIRequestDTO( + username = '', + display_name = '', + employee_id = '', + account_enabled = '', + email = '', ) + ] + ) + else: + return UsersCreationAPIRequestDTO( + ) + + def testUsersCreationAPIRequestDTO(self): + """Test UsersCreationAPIRequestDTO""" + def validate_instance(instance): + UsersCreationAPIRequestDTO.model_validate(inst_req_only) + instance_deserialized = UsersCreationAPIRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_delete_api_request_dto.py b/src/visier_platform_sdk/test/test_users_delete_api_request_dto.py new file mode 100644 index 0000000000..31b4e956f0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_delete_api_request_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_delete_api_request_dto import UsersDeleteAPIRequestDTO + +class TestUsersDeleteAPIRequestDTO(unittest.TestCase): + """UsersDeleteAPIRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersDeleteAPIRequestDTO: + """Test UsersDeleteAPIRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersDeleteAPIRequestDTO( + user_ids = [ + '' + ] + ) + else: + return UsersDeleteAPIRequestDTO( + ) + + def testUsersDeleteAPIRequestDTO(self): + """Test UsersDeleteAPIRequestDTO""" + def validate_instance(instance): + UsersDeleteAPIRequestDTO.model_validate(inst_req_only) + instance_deserialized = UsersDeleteAPIRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_to_user_group_request_dto.py b/src/visier_platform_sdk/test/test_users_to_user_group_request_dto.py new file mode 100644 index 0000000000..9c97030d23 --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_to_user_group_request_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_to_user_group_request_dto import UsersToUserGroupRequestDTO + +class TestUsersToUserGroupRequestDTO(unittest.TestCase): + """UsersToUserGroupRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersToUserGroupRequestDTO: + """Test UsersToUserGroupRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersToUserGroupRequestDTO( + user_group_id = '', + user_ids = [ + '' + ] + ) + else: + return UsersToUserGroupRequestDTO( + ) + + def testUsersToUserGroupRequestDTO(self): + """Test UsersToUserGroupRequestDTO""" + def validate_instance(instance): + UsersToUserGroupRequestDTO.model_validate(inst_req_only) + instance_deserialized = UsersToUserGroupRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_to_user_groups_request_dto.py b/src/visier_platform_sdk/test/test_users_to_user_groups_request_dto.py new file mode 100644 index 0000000000..7e4c1ee4fc --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_to_user_groups_request_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_to_user_groups_request_dto import UsersToUserGroupsRequestDTO + +class TestUsersToUserGroupsRequestDTO(unittest.TestCase): + """UsersToUserGroupsRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersToUserGroupsRequestDTO: + """Test UsersToUserGroupsRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersToUserGroupsRequestDTO( + user_groups = [ + visier_platform_sdk.models.users_to_user_group_request_dto.UsersToUserGroupRequestDTO( + user_group_id = '', + user_ids = [ + '' + ], ) + ], + target_project_for_tenants_list = visier_platform_sdk.models.target_project_for_tenants_list_dto.TargetProjectForTenantsListDTO( + target_project_for_tenants = [ + visier_platform_sdk.models.target_project_for_tenant_dto.TargetProjectForTenantDTO( + tenant_code = '', + project_id = '', ) + ], ) + ) + else: + return UsersToUserGroupsRequestDTO( + ) + + def testUsersToUserGroupsRequestDTO(self): + """Test UsersToUserGroupsRequestDTO""" + def validate_instance(instance): + UsersToUserGroupsRequestDTO.model_validate(inst_req_only) + instance_deserialized = UsersToUserGroupsRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_update_api_request_dto.py b/src/visier_platform_sdk/test/test_users_update_api_request_dto.py new file mode 100644 index 0000000000..3f4c6045f5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_update_api_request_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_update_api_request_dto import UsersUpdateAPIRequestDTO + +class TestUsersUpdateAPIRequestDTO(unittest.TestCase): + """UsersUpdateAPIRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersUpdateAPIRequestDTO: + """Test UsersUpdateAPIRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersUpdateAPIRequestDTO( + users = [ + visier_platform_sdk.models.users_update_api_user_dto.UsersUpdateAPIUserDTO( + user_id = '', + display_name = '', + employee_id = '', + account_enabled = '', + email = '', + username = '', ) + ] + ) + else: + return UsersUpdateAPIRequestDTO( + ) + + def testUsersUpdateAPIRequestDTO(self): + """Test UsersUpdateAPIRequestDTO""" + def validate_instance(instance): + UsersUpdateAPIRequestDTO.model_validate(inst_req_only) + instance_deserialized = UsersUpdateAPIRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_users_update_api_user_dto.py b/src/visier_platform_sdk/test/test_users_update_api_user_dto.py new file mode 100644 index 0000000000..090b6cb2e8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_users_update_api_user_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.users_update_api_user_dto import UsersUpdateAPIUserDTO + +class TestUsersUpdateAPIUserDTO(unittest.TestCase): + """UsersUpdateAPIUserDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UsersUpdateAPIUserDTO: + """Test UsersUpdateAPIUserDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UsersUpdateAPIUserDTO( + user_id = '', + display_name = '', + employee_id = '', + account_enabled = '', + email = '', + username = '' + ) + else: + return UsersUpdateAPIUserDTO( + ) + + def testUsersUpdateAPIUserDTO(self): + """Test UsersUpdateAPIUserDTO""" + def validate_instance(instance): + UsersUpdateAPIUserDTO.model_validate(inst_req_only) + instance_deserialized = UsersUpdateAPIUserDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_v2_calculated_property_type_dto.py b/src/visier_platform_sdk/test/test_v2_calculated_property_type_dto.py new file mode 100644 index 0000000000..e7db423741 --- /dev/null +++ b/src/visier_platform_sdk/test/test_v2_calculated_property_type_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.v2_calculated_property_type_dto import V2CalculatedPropertyTypeDTO + +class TestV2CalculatedPropertyTypeDTO(unittest.TestCase): + """V2CalculatedPropertyTypeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2CalculatedPropertyTypeDTO: + """Test V2CalculatedPropertyTypeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return V2CalculatedPropertyTypeDTO( + data_type = '', + primitive_type = '', + formula = '' + ) + else: + return V2CalculatedPropertyTypeDTO( + ) + + def testV2CalculatedPropertyTypeDTO(self): + """Test V2CalculatedPropertyTypeDTO""" + def validate_instance(instance): + V2CalculatedPropertyTypeDTO.model_validate(inst_req_only) + instance_deserialized = V2CalculatedPropertyTypeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_v2_simple_property_type_dto.py b/src/visier_platform_sdk/test/test_v2_simple_property_type_dto.py new file mode 100644 index 0000000000..b75a2ddf3e --- /dev/null +++ b/src/visier_platform_sdk/test/test_v2_simple_property_type_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.v2_simple_property_type_dto import V2SimplePropertyTypeDTO + +class TestV2SimplePropertyTypeDTO(unittest.TestCase): + """V2SimplePropertyTypeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2SimplePropertyTypeDTO: + """Test V2SimplePropertyTypeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return V2SimplePropertyTypeDTO( + data_type = '', + primitive_type = '' + ) + else: + return V2SimplePropertyTypeDTO( + ) + + def testV2SimplePropertyTypeDTO(self): + """Test V2SimplePropertyTypeDTO""" + def validate_instance(instance): + V2SimplePropertyTypeDTO.model_validate(inst_req_only) + instance_deserialized = V2SimplePropertyTypeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_validity_range_dto.py b/src/visier_platform_sdk/test/test_validity_range_dto.py new file mode 100644 index 0000000000..0a31df4593 --- /dev/null +++ b/src/visier_platform_sdk/test/test_validity_range_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.validity_range_dto import ValidityRangeDTO + +class TestValidityRangeDTO(unittest.TestCase): + """ValidityRangeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ValidityRangeDTO: + """Test ValidityRangeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ValidityRangeDTO( + start = '', + end = '' + ) + else: + return ValidityRangeDTO( + ) + + def testValidityRangeDTO(self): + """Test ValidityRangeDTO""" + def validate_instance(instance): + ValidityRangeDTO.model_validate(inst_req_only) + instance_deserialized = ValidityRangeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_clarification_dto.py b/src/visier_platform_sdk/test/test_vee_clarification_dto.py new file mode 100644 index 0000000000..92d6cbfd0a --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_clarification_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_clarification_dto import VeeClarificationDTO + +class TestVeeClarificationDTO(unittest.TestCase): + """VeeClarificationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeClarificationDTO: + """Test VeeClarificationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeClarificationDTO( + message = '', + questions = [ + '' + ], + metrics = [ + '' + ], + dimensions = [ + '' + ], + filters = [ + '' + ], + attributes = [ + '' + ] + ) + else: + return VeeClarificationDTO( + ) + + def testVeeClarificationDTO(self): + """Test VeeClarificationDTO""" + def validate_instance(instance): + VeeClarificationDTO.model_validate(inst_req_only) + instance_deserialized = VeeClarificationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_conversation_dto.py b/src/visier_platform_sdk/test/test_vee_conversation_dto.py new file mode 100644 index 0000000000..989828e75f --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_conversation_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_conversation_dto import VeeConversationDTO + +class TestVeeConversationDTO(unittest.TestCase): + """VeeConversationDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeConversationDTO: + """Test VeeConversationDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeConversationDTO( + conversation_state = visier_platform_sdk.models.vee_conversation_state_dto.VeeConversationStateDTO( + question_state = [ + '' + ], ) + ) + else: + return VeeConversationDTO( + ) + + def testVeeConversationDTO(self): + """Test VeeConversationDTO""" + def validate_instance(instance): + VeeConversationDTO.model_validate(inst_req_only) + instance_deserialized = VeeConversationDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_conversation_state_dto.py b/src/visier_platform_sdk/test/test_vee_conversation_state_dto.py new file mode 100644 index 0000000000..23638c427b --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_conversation_state_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO + +class TestVeeConversationStateDTO(unittest.TestCase): + """VeeConversationStateDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeConversationStateDTO: + """Test VeeConversationStateDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeConversationStateDTO( + question_state = [ + '' + ] + ) + else: + return VeeConversationStateDTO( + ) + + def testVeeConversationStateDTO(self): + """Test VeeConversationStateDTO""" + def validate_instance(instance): + VeeConversationStateDTO.model_validate(inst_req_only) + instance_deserialized = VeeConversationStateDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_corrections_dto.py b/src/visier_platform_sdk/test/test_vee_corrections_dto.py new file mode 100644 index 0000000000..2c90e210fe --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_corrections_dto.py @@ -0,0 +1,79 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_corrections_dto import VeeCorrectionsDTO + +class TestVeeCorrectionsDTO(unittest.TestCase): + """VeeCorrectionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeCorrectionsDTO: + """Test VeeCorrectionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeCorrectionsDTO( + warning = [ + 'VEE_NO_WARNING' + ], + clarifications = [ + visier_platform_sdk.models.vee_clarification_dto.VeeClarificationDTO( + message = '', + questions = [ + '' + ], + metrics = [ + '' + ], + dimensions = [ + '' + ], + filters = [ + '' + ], + attributes = [ + '' + ], ) + ] + ) + else: + return VeeCorrectionsDTO( + ) + + def testVeeCorrectionsDTO(self): + """Test VeeCorrectionsDTO""" + def validate_instance(instance): + VeeCorrectionsDTO.model_validate(inst_req_only) + instance_deserialized = VeeCorrectionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_data_dto.py b/src/visier_platform_sdk/test/test_vee_data_dto.py new file mode 100644 index 0000000000..d4f482b9a2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_data_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_data_dto import VeeDataDTO + +class TestVeeDataDTO(unittest.TestCase): + """VeeDataDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeDataDTO: + """Test VeeDataDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeDataDTO( + data_json = '', + context = '' + ) + else: + return VeeDataDTO( + ) + + def testVeeDataDTO(self): + """Test VeeDataDTO""" + def validate_instance(instance): + VeeDataDTO.model_validate(inst_req_only) + instance_deserialized = VeeDataDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_feedback_dto.py b/src/visier_platform_sdk/test/test_vee_feedback_dto.py new file mode 100644 index 0000000000..6ca43351b2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_feedback_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_feedback_dto import VeeFeedbackDTO + +class TestVeeFeedbackDTO(unittest.TestCase): + """VeeFeedbackDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeFeedbackDTO: + """Test VeeFeedbackDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeFeedbackDTO( + conversation = visier_platform_sdk.models.vee_conversation_dto.VeeConversationDTO( + conversation_state = None, ), + is_approved = True, + description = '' + ) + else: + return VeeFeedbackDTO( + ) + + def testVeeFeedbackDTO(self): + """Test VeeFeedbackDTO""" + def validate_instance(instance): + VeeFeedbackDTO.model_validate(inst_req_only) + instance_deserialized = VeeFeedbackDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_options_dto.py b/src/visier_platform_sdk/test/test_vee_options_dto.py new file mode 100644 index 0000000000..9d604c3bfe --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_options_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_options_dto import VeeOptionsDTO + +class TestVeeOptionsDTO(unittest.TestCase): + """VeeOptionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeOptionsDTO: + """Test VeeOptionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeOptionsDTO( + include_visual = True, + visual_options = visier_platform_sdk.models.vee_visual_options_dto.VeeVisualOptionsDTO( + width = 56, + height = 56, ), + include_data = True, + data_format = 'json', + include_reworded_question = True + ) + else: + return VeeOptionsDTO( + ) + + def testVeeOptionsDTO(self): + """Test VeeOptionsDTO""" + def validate_instance(instance): + VeeOptionsDTO.model_validate(inst_req_only) + instance_deserialized = VeeOptionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_change_definition_dto.py b/src/visier_platform_sdk/test/test_vee_question_change_definition_dto.py new file mode 100644 index 0000000000..8f65468b28 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_change_definition_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_change_definition_dto import VeeQuestionChangeDefinitionDTO + +class TestVeeQuestionChangeDefinitionDTO(unittest.TestCase): + """VeeQuestionChangeDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionChangeDefinitionDTO: + """Test VeeQuestionChangeDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionChangeDefinitionDTO( + question = '', + question_id = '', + visible_in_vee = True, + category_id = '', + user_group_assignment = visier_platform_sdk.models.user_group_assignment_dto.UserGroupAssignmentDTO( + user_group_ids = [ + '' + ], ) + ) + else: + return VeeQuestionChangeDefinitionDTO( + ) + + def testVeeQuestionChangeDefinitionDTO(self): + """Test VeeQuestionChangeDefinitionDTO""" + def validate_instance(instance): + VeeQuestionChangeDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionChangeDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_vee_question_change_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..60b194496a --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_change_definitions_by_tenant_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_change_definitions_by_tenant_dto import VeeQuestionChangeDefinitionsByTenantDTO + +class TestVeeQuestionChangeDefinitionsByTenantDTO(unittest.TestCase): + """VeeQuestionChangeDefinitionsByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionChangeDefinitionsByTenantDTO: + """Test VeeQuestionChangeDefinitionsByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionChangeDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + questions = [ + visier_platform_sdk.models.vee_question_change_definition_dto.VeeQuestionChangeDefinitionDTO( + question = '', + question_id = '', + visible_in_vee = True, + category_id = '', + user_group_assignment = None, ) + ] + ) + else: + return VeeQuestionChangeDefinitionsByTenantDTO( + ) + + def testVeeQuestionChangeDefinitionsByTenantDTO(self): + """Test VeeQuestionChangeDefinitionsByTenantDTO""" + def validate_instance(instance): + VeeQuestionChangeDefinitionsByTenantDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionChangeDefinitionsByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_change_failure_dto.py b/src/visier_platform_sdk/test/test_vee_question_change_failure_dto.py new file mode 100644 index 0000000000..aca12fb3e2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_change_failure_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_change_failure_dto import VeeQuestionChangeFailureDTO + +class TestVeeQuestionChangeFailureDTO(unittest.TestCase): + """VeeQuestionChangeFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionChangeFailureDTO: + """Test VeeQuestionChangeFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionChangeFailureDTO( + question = '', + question_id = '', + category_id = '', + user_group_assignment = visier_platform_sdk.models.user_group_assignment_dto.UserGroupAssignmentDTO( + user_group_ids = [ + '' + ], ), + message = '', + rci = '', + tenant_code = '', + project_id = '' + ) + else: + return VeeQuestionChangeFailureDTO( + ) + + def testVeeQuestionChangeFailureDTO(self): + """Test VeeQuestionChangeFailureDTO""" + def validate_instance(instance): + VeeQuestionChangeFailureDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionChangeFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_change_success_dto.py b/src/visier_platform_sdk/test/test_vee_question_change_success_dto.py new file mode 100644 index 0000000000..bfbc79cb5c --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_change_success_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_change_success_dto import VeeQuestionChangeSuccessDTO + +class TestVeeQuestionChangeSuccessDTO(unittest.TestCase): + """VeeQuestionChangeSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionChangeSuccessDTO: + """Test VeeQuestionChangeSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionChangeSuccessDTO( + question = '', + question_id = '', + visible_in_vee = True, + category_id = '', + user_group_assignment = visier_platform_sdk.models.user_group_assignment_dto.UserGroupAssignmentDTO( + user_group_ids = [ + '' + ], ), + tenant_code = '', + project_id = '' + ) + else: + return VeeQuestionChangeSuccessDTO( + ) + + def testVeeQuestionChangeSuccessDTO(self): + """Test VeeQuestionChangeSuccessDTO""" + def validate_instance(instance): + VeeQuestionChangeSuccessDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionChangeSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_vee_question_delete_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..5008cedf68 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_delete_definitions_by_tenant_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_delete_definitions_by_tenant_dto import VeeQuestionDeleteDefinitionsByTenantDTO + +class TestVeeQuestionDeleteDefinitionsByTenantDTO(unittest.TestCase): + """VeeQuestionDeleteDefinitionsByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionDeleteDefinitionsByTenantDTO: + """Test VeeQuestionDeleteDefinitionsByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionDeleteDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + question_ids = [ + '' + ] + ) + else: + return VeeQuestionDeleteDefinitionsByTenantDTO( + ) + + def testVeeQuestionDeleteDefinitionsByTenantDTO(self): + """Test VeeQuestionDeleteDefinitionsByTenantDTO""" + def validate_instance(instance): + VeeQuestionDeleteDefinitionsByTenantDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionDeleteDefinitionsByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_dto.py b/src/visier_platform_sdk/test/test_vee_question_dto.py new file mode 100644 index 0000000000..4c2e6c3b6a --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_dto import VeeQuestionDTO + +class TestVeeQuestionDTO(unittest.TestCase): + """VeeQuestionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionDTO: + """Test VeeQuestionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionDTO( + question = '', + conversation_state = visier_platform_sdk.models.vee_conversation_state_dto.VeeConversationStateDTO( + question_state = [ + '' + ], ), + options = visier_platform_sdk.models.vee_options_dto.VeeOptionsDTO( + include_visual = True, + visual_options = None, + include_data = True, + data_format = 'json', + include_reworded_question = True, ), + max_view_details_members = 56 + ) + else: + return VeeQuestionDTO( + ) + + def testVeeQuestionDTO(self): + """Test VeeQuestionDTO""" + def validate_instance(instance): + VeeQuestionDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_questions_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_vee_questions_bulk_change_response_dto.py new file mode 100644 index 0000000000..4d63118331 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_questions_bulk_change_response_dto.py @@ -0,0 +1,78 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_questions_bulk_change_response_dto import VeeQuestionsBulkChangeResponseDTO + +class TestVeeQuestionsBulkChangeResponseDTO(unittest.TestCase): + """VeeQuestionsBulkChangeResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionsBulkChangeResponseDTO: + """Test VeeQuestionsBulkChangeResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionsBulkChangeResponseDTO( + successes = [ + visier_platform_sdk.models.vee_question_change_success_dto.VeeQuestionChangeSuccessDTO( + question = '', + question_id = '', + visible_in_vee = True, + category_id = '', + user_group_assignment = None, + tenant_code = '', + project_id = '', ) + ], + failures = [ + visier_platform_sdk.models.vee_question_change_failure_dto.VeeQuestionChangeFailureDTO( + question = '', + question_id = '', + category_id = '', + user_group_assignment = None, + message = '', + rci = '', + tenant_code = '', + project_id = '', ) + ] + ) + else: + return VeeQuestionsBulkChangeResponseDTO( + ) + + def testVeeQuestionsBulkChangeResponseDTO(self): + """Test VeeQuestionsBulkChangeResponseDTO""" + def validate_instance(instance): + VeeQuestionsBulkChangeResponseDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionsBulkChangeResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_questions_change_definitions_dto.py b/src/visier_platform_sdk/test/test_vee_questions_change_definitions_dto.py new file mode 100644 index 0000000000..bbdb8546ec --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_questions_change_definitions_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_questions_change_definitions_dto import VeeQuestionsChangeDefinitionsDTO + +class TestVeeQuestionsChangeDefinitionsDTO(unittest.TestCase): + """VeeQuestionsChangeDefinitionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionsChangeDefinitionsDTO: + """Test VeeQuestionsChangeDefinitionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionsChangeDefinitionsDTO( + questions_by_tenant = [ + visier_platform_sdk.models.vee_question_change_definitions_by_tenant_dto.VeeQuestionChangeDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + questions = [ + visier_platform_sdk.models.vee_question_change_definition_dto.VeeQuestionChangeDefinitionDTO( + question = '', + question_id = '', + visible_in_vee = True, + category_id = '', + user_group_assignment = None, ) + ], ) + ] + ) + else: + return VeeQuestionsChangeDefinitionsDTO( + ) + + def testVeeQuestionsChangeDefinitionsDTO(self): + """Test VeeQuestionsChangeDefinitionsDTO""" + def validate_instance(instance): + VeeQuestionsChangeDefinitionsDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionsChangeDefinitionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_questions_delete_definitions_dto.py b/src/visier_platform_sdk/test/test_vee_questions_delete_definitions_dto.py new file mode 100644 index 0000000000..e6961d8de9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_questions_delete_definitions_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_questions_delete_definitions_dto import VeeQuestionsDeleteDefinitionsDTO + +class TestVeeQuestionsDeleteDefinitionsDTO(unittest.TestCase): + """VeeQuestionsDeleteDefinitionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionsDeleteDefinitionsDTO: + """Test VeeQuestionsDeleteDefinitionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionsDeleteDefinitionsDTO( + questions_by_tenant = [ + visier_platform_sdk.models.vee_question_delete_definitions_by_tenant_dto.VeeQuestionDeleteDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + question_ids = [ + '' + ], ) + ] + ) + else: + return VeeQuestionsDeleteDefinitionsDTO( + ) + + def testVeeQuestionsDeleteDefinitionsDTO(self): + """Test VeeQuestionsDeleteDefinitionsDTO""" + def validate_instance(instance): + VeeQuestionsDeleteDefinitionsDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionsDeleteDefinitionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_response_dto.py b/src/visier_platform_sdk/test/test_vee_response_dto.py new file mode 100644 index 0000000000..613d696b96 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_response_dto.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_response_dto import VeeResponseDTO + +class TestVeeResponseDTO(unittest.TestCase): + """VeeResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeResponseDTO: + """Test VeeResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeResponseDTO( + conversation_state = visier_platform_sdk.models.vee_conversation_state_dto.VeeConversationStateDTO( + question_state = [ + '' + ], ), + status_code = visier_platform_sdk.models.vee_status_code_dto.VeeStatusCodeDTO( + status_code = 'UNDEFINED', + status_msg = '', ), + narrative = '', + chart_url = '', + var_schema = visier_platform_sdk.models.vee_response_schema_dto.VeeResponseSchemaDTO( + metrics = [ + '' + ], + dimensions = [ + visier_platform_sdk.models.vee_response_schema_reference_dto.VeeResponseSchemaReferenceDTO( + name = '', + paths = [ + '' + ], ) + ], + concepts = [ + visier_platform_sdk.models.vee_response_schema_reference_dto.VeeResponseSchemaReferenceDTO( + name = '', ) + ], ), + corrections = [ + visier_platform_sdk.models.vee_corrections_dto.VeeCorrectionsDTO( + warning = [ + 'VEE_NO_WARNING' + ], + clarifications = [ + visier_platform_sdk.models.vee_clarification_dto.VeeClarificationDTO( + message = '', + questions = [ + '' + ], + metrics = [ + '' + ], + dimensions = [ + '' + ], + filters = [ + '' + ], + attributes = [ + '' + ], ) + ], ) + ], + data = visier_platform_sdk.models.vee_data_dto.VeeDataDTO( + data_json = '', + context = '', ), + visual = visier_platform_sdk.models.vee_visual_dto.VeeVisualDTO( + image = '', + title = '', + context = '', ), + reworded_question = '' + ) + else: + return VeeResponseDTO( + ) + + def testVeeResponseDTO(self): + """Test VeeResponseDTO""" + def validate_instance(instance): + VeeResponseDTO.model_validate(inst_req_only) + instance_deserialized = VeeResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_response_schema_dto.py b/src/visier_platform_sdk/test/test_vee_response_schema_dto.py new file mode 100644 index 0000000000..583904e378 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_response_schema_dto.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_response_schema_dto import VeeResponseSchemaDTO + +class TestVeeResponseSchemaDTO(unittest.TestCase): + """VeeResponseSchemaDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeResponseSchemaDTO: + """Test VeeResponseSchemaDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeResponseSchemaDTO( + metrics = [ + '' + ], + dimensions = [ + visier_platform_sdk.models.vee_response_schema_reference_dto.VeeResponseSchemaReferenceDTO( + name = '', + paths = [ + '' + ], ) + ], + concepts = [ + visier_platform_sdk.models.vee_response_schema_reference_dto.VeeResponseSchemaReferenceDTO( + name = '', + paths = [ + '' + ], ) + ] + ) + else: + return VeeResponseSchemaDTO( + ) + + def testVeeResponseSchemaDTO(self): + """Test VeeResponseSchemaDTO""" + def validate_instance(instance): + VeeResponseSchemaDTO.model_validate(inst_req_only) + instance_deserialized = VeeResponseSchemaDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_response_schema_reference_dto.py b/src/visier_platform_sdk/test/test_vee_response_schema_reference_dto.py new file mode 100644 index 0000000000..91abc0e541 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_response_schema_reference_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_response_schema_reference_dto import VeeResponseSchemaReferenceDTO + +class TestVeeResponseSchemaReferenceDTO(unittest.TestCase): + """VeeResponseSchemaReferenceDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeResponseSchemaReferenceDTO: + """Test VeeResponseSchemaReferenceDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeResponseSchemaReferenceDTO( + name = '', + paths = [ + '' + ] + ) + else: + return VeeResponseSchemaReferenceDTO( + ) + + def testVeeResponseSchemaReferenceDTO(self): + """Test VeeResponseSchemaReferenceDTO""" + def validate_instance(instance): + VeeResponseSchemaReferenceDTO.model_validate(inst_req_only) + instance_deserialized = VeeResponseSchemaReferenceDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_sample_question_dto.py b/src/visier_platform_sdk/test/test_vee_sample_question_dto.py new file mode 100644 index 0000000000..e114b2ec58 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_sample_question_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_sample_question_dto import VeeSampleQuestionDTO + +class TestVeeSampleQuestionDTO(unittest.TestCase): + """VeeSampleQuestionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeSampleQuestionDTO: + """Test VeeSampleQuestionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeSampleQuestionDTO( + question = '', + question_id = '', + category_id = '', + is_assigned_to_user = True + ) + else: + return VeeSampleQuestionDTO( + ) + + def testVeeSampleQuestionDTO(self): + """Test VeeSampleQuestionDTO""" + def validate_instance(instance): + VeeSampleQuestionDTO.model_validate(inst_req_only) + instance_deserialized = VeeSampleQuestionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_sample_question_library_dto.py b/src/visier_platform_sdk/test/test_vee_sample_question_library_dto.py new file mode 100644 index 0000000000..959a5f9393 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_sample_question_library_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_sample_question_library_dto import VeeSampleQuestionLibraryDTO + +class TestVeeSampleQuestionLibraryDTO(unittest.TestCase): + """VeeSampleQuestionLibraryDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeSampleQuestionLibraryDTO: + """Test VeeSampleQuestionLibraryDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeSampleQuestionLibraryDTO( + questions = [ + visier_platform_sdk.models.vee_sample_question_dto.VeeSampleQuestionDTO( + question = '', + question_id = '', + category_id = '', + is_assigned_to_user = True, ) + ] + ) + else: + return VeeSampleQuestionLibraryDTO( + ) + + def testVeeSampleQuestionLibraryDTO(self): + """Test VeeSampleQuestionLibraryDTO""" + def validate_instance(instance): + VeeSampleQuestionLibraryDTO.model_validate(inst_req_only) + instance_deserialized = VeeSampleQuestionLibraryDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_status_code_dto.py b/src/visier_platform_sdk/test/test_vee_status_code_dto.py new file mode 100644 index 0000000000..3034e844eb --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_status_code_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_status_code_dto import VeeStatusCodeDTO + +class TestVeeStatusCodeDTO(unittest.TestCase): + """VeeStatusCodeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeStatusCodeDTO: + """Test VeeStatusCodeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeStatusCodeDTO( + status_code = 'UNDEFINED', + status_msg = '' + ) + else: + return VeeStatusCodeDTO( + ) + + def testVeeStatusCodeDTO(self): + """Test VeeStatusCodeDTO""" + def validate_instance(instance): + VeeStatusCodeDTO.model_validate(inst_req_only) + instance_deserialized = VeeStatusCodeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_status_dto.py b/src/visier_platform_sdk/test/test_vee_status_dto.py new file mode 100644 index 0000000000..b44c2714d2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_status_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_status_dto import VeeStatusDTO + +class TestVeeStatusDTO(unittest.TestCase): + """VeeStatusDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeStatusDTO: + """Test VeeStatusDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeStatusDTO( + overall = '' + ) + else: + return VeeStatusDTO( + ) + + def testVeeStatusDTO(self): + """Test VeeStatusDTO""" + def validate_instance(instance): + VeeStatusDTO.model_validate(inst_req_only) + instance_deserialized = VeeStatusDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_visual_dto.py b/src/visier_platform_sdk/test/test_vee_visual_dto.py new file mode 100644 index 0000000000..f37ef090f1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_visual_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_visual_dto import VeeVisualDTO + +class TestVeeVisualDTO(unittest.TestCase): + """VeeVisualDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeVisualDTO: + """Test VeeVisualDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeVisualDTO( + image = '', + title = '', + context = '' + ) + else: + return VeeVisualDTO( + ) + + def testVeeVisualDTO(self): + """Test VeeVisualDTO""" + def validate_instance(instance): + VeeVisualDTO.model_validate(inst_req_only) + instance_deserialized = VeeVisualDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_visual_options_dto.py b/src/visier_platform_sdk/test/test_vee_visual_options_dto.py new file mode 100644 index 0000000000..f4d3102007 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_visual_options_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_visual_options_dto import VeeVisualOptionsDTO + +class TestVeeVisualOptionsDTO(unittest.TestCase): + """VeeVisualOptionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeVisualOptionsDTO: + """Test VeeVisualOptionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeVisualOptionsDTO( + width = 56, + height = 56 + ) + else: + return VeeVisualOptionsDTO( + ) + + def testVeeVisualOptionsDTO(self): + """Test VeeVisualOptionsDTO""" + def validate_instance(instance): + VeeVisualOptionsDTO.model_validate(inst_req_only) + instance_deserialized = VeeVisualOptionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_webhook_basic_auth_credential_dto.py b/src/visier_platform_sdk/test/test_webhook_basic_auth_credential_dto.py new file mode 100644 index 0000000000..d38120e5d1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_webhook_basic_auth_credential_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.webhook_basic_auth_credential_dto import WebhookBasicAuthCredentialDTO + +class TestWebhookBasicAuthCredentialDTO(unittest.TestCase): + """WebhookBasicAuthCredentialDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookBasicAuthCredentialDTO: + """Test WebhookBasicAuthCredentialDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WebhookBasicAuthCredentialDTO( + username = '', + password = '' + ) + else: + return WebhookBasicAuthCredentialDTO( + ) + + def testWebhookBasicAuthCredentialDTO(self): + """Test WebhookBasicAuthCredentialDTO""" + def validate_instance(instance): + WebhookBasicAuthCredentialDTO.model_validate(inst_req_only) + instance_deserialized = WebhookBasicAuthCredentialDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_webhook_credentials_dto.py b/src/visier_platform_sdk/test/test_webhook_credentials_dto.py new file mode 100644 index 0000000000..e0297bd801 --- /dev/null +++ b/src/visier_platform_sdk/test/test_webhook_credentials_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.webhook_credentials_dto import WebhookCredentialsDTO + +class TestWebhookCredentialsDTO(unittest.TestCase): + """WebhookCredentialsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookCredentialsDTO: + """Test WebhookCredentialsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WebhookCredentialsDTO( + basic_auth = visier_platform_sdk.models.webhook_basic_auth_credential_dto.WebhookBasicAuthCredentialDTO( + username = '', + password = '', ), + access_token = '' + ) + else: + return WebhookCredentialsDTO( + ) + + def testWebhookCredentialsDTO(self): + """Test WebhookCredentialsDTO""" + def validate_instance(instance): + WebhookCredentialsDTO.model_validate(inst_req_only) + instance_deserialized = WebhookCredentialsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_webhook_details_dto.py b/src/visier_platform_sdk/test/test_webhook_details_dto.py new file mode 100644 index 0000000000..e5e809a86c --- /dev/null +++ b/src/visier_platform_sdk/test/test_webhook_details_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.webhook_details_dto import WebhookDetailsDTO + +class TestWebhookDetailsDTO(unittest.TestCase): + """WebhookDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookDetailsDTO: + """Test WebhookDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WebhookDetailsDTO( + target_url = '', + is_active = True, + events = [ + visier_platform_sdk.models.webhook_event_type_dto.WebhookEventTypeDTO( + event_type = '', ) + ], + key_name = '', + display_name = '' + ) + else: + return WebhookDetailsDTO( + ) + + def testWebhookDetailsDTO(self): + """Test WebhookDetailsDTO""" + def validate_instance(instance): + WebhookDetailsDTO.model_validate(inst_req_only) + instance_deserialized = WebhookDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_webhook_dto.py b/src/visier_platform_sdk/test/test_webhook_dto.py new file mode 100644 index 0000000000..58b87ddb26 --- /dev/null +++ b/src/visier_platform_sdk/test/test_webhook_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.webhook_dto import WebhookDTO + +class TestWebhookDTO(unittest.TestCase): + """WebhookDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookDTO: + """Test WebhookDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WebhookDTO( + webhook_id = '', + details = visier_platform_sdk.models.webhook_details_dto.WebhookDetailsDTO( + target_url = '', + is_active = True, + events = [ + visier_platform_sdk.models.webhook_event_type_dto.WebhookEventTypeDTO( + event_type = '', ) + ], + key_name = '', + display_name = '', ), + credential_reference = '' + ) + else: + return WebhookDTO( + ) + + def testWebhookDTO(self): + """Test WebhookDTO""" + def validate_instance(instance): + WebhookDTO.model_validate(inst_req_only) + instance_deserialized = WebhookDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_webhook_event_type_dto.py b/src/visier_platform_sdk/test/test_webhook_event_type_dto.py new file mode 100644 index 0000000000..2c41022f11 --- /dev/null +++ b/src/visier_platform_sdk/test/test_webhook_event_type_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.webhook_event_type_dto import WebhookEventTypeDTO + +class TestWebhookEventTypeDTO(unittest.TestCase): + """WebhookEventTypeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookEventTypeDTO: + """Test WebhookEventTypeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WebhookEventTypeDTO( + event_type = '' + ) + else: + return WebhookEventTypeDTO( + ) + + def testWebhookEventTypeDTO(self): + """Test WebhookEventTypeDTO""" + def validate_instance(instance): + WebhookEventTypeDTO.model_validate(inst_req_only) + instance_deserialized = WebhookEventTypeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_webhook_message_response_dto.py b/src/visier_platform_sdk/test/test_webhook_message_response_dto.py new file mode 100644 index 0000000000..73cc241732 --- /dev/null +++ b/src/visier_platform_sdk/test/test_webhook_message_response_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.webhook_message_response_dto import WebhookMessageResponseDTO + +class TestWebhookMessageResponseDTO(unittest.TestCase): + """WebhookMessageResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookMessageResponseDTO: + """Test WebhookMessageResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WebhookMessageResponseDTO( + status_code = 56, + message = '', + message_id = '', + event_id = '' + ) + else: + return WebhookMessageResponseDTO( + ) + + def testWebhookMessageResponseDTO(self): + """Test WebhookMessageResponseDTO""" + def validate_instance(instance): + WebhookMessageResponseDTO.model_validate(inst_req_only) + instance_deserialized = WebhookMessageResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_webhook_request_dto.py b/src/visier_platform_sdk/test/test_webhook_request_dto.py new file mode 100644 index 0000000000..607c2ed006 --- /dev/null +++ b/src/visier_platform_sdk/test/test_webhook_request_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.webhook_request_dto import WebhookRequestDTO + +class TestWebhookRequestDTO(unittest.TestCase): + """WebhookRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhookRequestDTO: + """Test WebhookRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WebhookRequestDTO( + details = visier_platform_sdk.models.webhook_details_dto.WebhookDetailsDTO( + target_url = '', + is_active = True, + events = [ + visier_platform_sdk.models.webhook_event_type_dto.WebhookEventTypeDTO( + event_type = '', ) + ], + key_name = '', + display_name = '', ), + credentials = visier_platform_sdk.models.webhook_credentials_dto.WebhookCredentialsDTO( + basic_auth = None, + access_token = '', ) + ) + else: + return WebhookRequestDTO( + ) + + def testWebhookRequestDTO(self): + """Test WebhookRequestDTO""" + def validate_instance(instance): + WebhookRequestDTO.model_validate(inst_req_only) + instance_deserialized = WebhookRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_webhooks_dto.py b/src/visier_platform_sdk/test/test_webhooks_dto.py new file mode 100644 index 0000000000..1fffede8b2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_webhooks_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.webhooks_dto import WebhooksDTO + +class TestWebhooksDTO(unittest.TestCase): + """WebhooksDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WebhooksDTO: + """Test WebhooksDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WebhooksDTO( + webhooks = [ + visier_platform_sdk.models.webhook_dto.WebhookDTO( + webhook_id = '', + details = None, + credential_reference = '', ) + ] + ) + else: + return WebhooksDTO( + ) + + def testWebhooksDTO(self): + """Test WebhooksDTO""" + def validate_instance(instance): + WebhooksDTO.model_validate(inst_req_only) + instance_deserialized = WebhooksDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_willow_auth_params_dto.py b/src/visier_platform_sdk/test/test_willow_auth_params_dto.py new file mode 100644 index 0000000000..c610801d31 --- /dev/null +++ b/src/visier_platform_sdk/test/test_willow_auth_params_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.willow_auth_params_dto import WillowAuthParamsDTO + +class TestWillowAuthParamsDTO(unittest.TestCase): + """WillowAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WillowAuthParamsDTO: + """Test WillowAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WillowAuthParamsDTO( + api_token = '', + host_name = '' + ) + else: + return WillowAuthParamsDTO( + ) + + def testWillowAuthParamsDTO(self): + """Test WillowAuthParamsDTO""" + def validate_instance(instance): + WillowAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = WillowAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_workday_auth_params_dto.py b/src/visier_platform_sdk/test/test_workday_auth_params_dto.py new file mode 100644 index 0000000000..9c89dc18e7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_workday_auth_params_dto.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.workday_auth_params_dto import WorkdayAuthParamsDTO + +class TestWorkdayAuthParamsDTO(unittest.TestCase): + """WorkdayAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WorkdayAuthParamsDTO: + """Test WorkdayAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WorkdayAuthParamsDTO( + user_id = '', + domain_name = '', + implementation_name = '', + password = '', + o_auth = visier_platform_sdk.models.workday_o_auth_params_dto.WorkdayOAuthParamsDTO( + api_client_id = '', + public_x509_cert = '', + private_x509_key = '', ), + ref_token = visier_platform_sdk.models.workday_refresh_token_params_dto.WorkdayRefreshTokenParamsDTO( + api_client_id = '', + client_secret = '', + refresh_token = '', ), + integration_system_id = '', + additional_header_params = [ + visier_platform_sdk.models.pair_dto.PairDTO( + key = '', + value = '', ) + ] + ) + else: + return WorkdayAuthParamsDTO( + ) + + def testWorkdayAuthParamsDTO(self): + """Test WorkdayAuthParamsDTO""" + def validate_instance(instance): + WorkdayAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = WorkdayAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_workday_o_auth_params_dto.py b/src/visier_platform_sdk/test/test_workday_o_auth_params_dto.py new file mode 100644 index 0000000000..d852b52e96 --- /dev/null +++ b/src/visier_platform_sdk/test/test_workday_o_auth_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.workday_o_auth_params_dto import WorkdayOAuthParamsDTO + +class TestWorkdayOAuthParamsDTO(unittest.TestCase): + """WorkdayOAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WorkdayOAuthParamsDTO: + """Test WorkdayOAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WorkdayOAuthParamsDTO( + api_client_id = '', + public_x509_cert = '', + private_x509_key = '' + ) + else: + return WorkdayOAuthParamsDTO( + ) + + def testWorkdayOAuthParamsDTO(self): + """Test WorkdayOAuthParamsDTO""" + def validate_instance(instance): + WorkdayOAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = WorkdayOAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_workday_raas_auth_params_dto.py b/src/visier_platform_sdk/test/test_workday_raas_auth_params_dto.py new file mode 100644 index 0000000000..54f037e8af --- /dev/null +++ b/src/visier_platform_sdk/test/test_workday_raas_auth_params_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.workday_raas_auth_params_dto import WorkdayRaasAuthParamsDTO + +class TestWorkdayRaasAuthParamsDTO(unittest.TestCase): + """WorkdayRaasAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WorkdayRaasAuthParamsDTO: + """Test WorkdayRaasAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WorkdayRaasAuthParamsDTO( + user_id = '', + domain_name = '', + implementation_name = '', + password = '', + test_report_url = '' + ) + else: + return WorkdayRaasAuthParamsDTO( + ) + + def testWorkdayRaasAuthParamsDTO(self): + """Test WorkdayRaasAuthParamsDTO""" + def validate_instance(instance): + WorkdayRaasAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = WorkdayRaasAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_workday_refresh_token_params_dto.py b/src/visier_platform_sdk/test/test_workday_refresh_token_params_dto.py new file mode 100644 index 0000000000..e8c4c272de --- /dev/null +++ b/src/visier_platform_sdk/test/test_workday_refresh_token_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.workday_refresh_token_params_dto import WorkdayRefreshTokenParamsDTO + +class TestWorkdayRefreshTokenParamsDTO(unittest.TestCase): + """WorkdayRefreshTokenParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> WorkdayRefreshTokenParamsDTO: + """Test WorkdayRefreshTokenParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return WorkdayRefreshTokenParamsDTO( + api_client_id = '', + client_secret = '', + refresh_token = '' + ) + else: + return WorkdayRefreshTokenParamsDTO( + ) + + def testWorkdayRefreshTokenParamsDTO(self): + """Test WorkdayRefreshTokenParamsDTO""" + def validate_instance(instance): + WorkdayRefreshTokenParamsDTO.model_validate(inst_req_only) + instance_deserialized = WorkdayRefreshTokenParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_zoom_auth_params_dto.py b/src/visier_platform_sdk/test/test_zoom_auth_params_dto.py new file mode 100644 index 0000000000..c7630175b0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_zoom_auth_params_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.zoom_auth_params_dto import ZoomAuthParamsDTO + +class TestZoomAuthParamsDTO(unittest.TestCase): + """ZoomAuthParamsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ZoomAuthParamsDTO: + """Test ZoomAuthParamsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ZoomAuthParamsDTO( + auth_code = '', + client_id = '', + client_secret = '' + ) + else: + return ZoomAuthParamsDTO( + ) + + def testZoomAuthParamsDTO(self): + """Test ZoomAuthParamsDTO""" + def validate_instance(instance): + ZoomAuthParamsDTO.model_validate(inst_req_only) + instance_deserialized = ZoomAuthParamsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/visier_platform_sdk/__init__.py b/src/visier_platform_sdk/visier_platform_sdk/__init__.py index 2d5d24bbee..acf9fb28fb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/__init__.py +++ b/src/visier_platform_sdk/visier_platform_sdk/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "22222222.99201.1914" +__version__ = "22222222.99201.1914.beta6" # import apis into sdk package from visier_platform_sdk.api.basic_authentication_api import BasicAuthenticationApi @@ -69,606 +69,472 @@ from visier_platform_sdk.exceptions import ApiException # import models into sdk package -from visier_platform_sdk.models.admin_all_tenants_status_apidto import AdminAllTenantsStatusAPIDTO -from visier_platform_sdk.models.admin_assign_connector_credentials_by_tenant_response_dto import AdminAssignConnectorCredentialsByTenantResponseDTO -from visier_platform_sdk.models.admin_assign_connector_credentials_response_dto import AdminAssignConnectorCredentialsResponseDTO -from visier_platform_sdk.models.admin_assign_connector_with_credentials_response_dto import AdminAssignConnectorWithCredentialsResponseDTO -from visier_platform_sdk.models.admin_assigned_credential_info_response_dto import AdminAssignedCredentialInfoResponseDTO -from visier_platform_sdk.models.admin_batch_tenant_provision_apidto import AdminBatchTenantProvisionAPIDTO -from visier_platform_sdk.models.admin_business_location_dto import AdminBusinessLocationDTO -from visier_platform_sdk.models.admin_connector_info_response_dto import AdminConnectorInfoResponseDTO -from visier_platform_sdk.models.admin_connector_setting_request_dto import AdminConnectorSettingRequestDTO -from visier_platform_sdk.models.admin_connector_setting_response_dto import AdminConnectorSettingResponseDTO -from visier_platform_sdk.models.admin_connector_settings_response_dto import AdminConnectorSettingsResponseDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_excluded_source_list_dto import AdminConsolidatedAnalyticsAPIExcludedSourceListDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_source_tenant_list_dto import AdminConsolidatedAnalyticsAPISourceTenantListDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_create_request_dto import AdminConsolidatedAnalyticsAPITenantCreateRequestDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_list_response_dto import AdminConsolidatedAnalyticsAPITenantListResponseDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details import AdminConsolidatedAnalyticsAPITenantWithDetails -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details_list_response_dto import AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO -from visier_platform_sdk.models.admin_custom_property_dto import AdminCustomPropertyDTO -from visier_platform_sdk.models.admin_custom_tenant_property_dto import AdminCustomTenantPropertyDTO -from visier_platform_sdk.models.admin_data_import_definition_apidto import AdminDataImportDefinitionAPIDTO -from visier_platform_sdk.models.admin_data_import_definitions_apidto import AdminDataImportDefinitionsAPIDTO -from visier_platform_sdk.models.admin_data_version_and_date_dto import AdminDataVersionAndDateDTO -from visier_platform_sdk.models.admin_delete_user_group_v2_request import AdminDeleteUserGroupV2Request -from visier_platform_sdk.models.admin_element_ids_dto import AdminElementIDsDTO -from visier_platform_sdk.models.admin_email_domains_dto import AdminEmailDomainsDTO -from visier_platform_sdk.models.admin_excluded_sources_body import AdminExcludedSourcesBody -from visier_platform_sdk.models.admin_extractor_setting_apidto import AdminExtractorSettingAPIDTO -from visier_platform_sdk.models.admin_extractor_setting_key_value_apidto import AdminExtractorSettingKeyValueAPIDTO -from visier_platform_sdk.models.admin_extractor_settings_apidto import AdminExtractorSettingsAPIDTO -from visier_platform_sdk.models.admin_home_analysis_by_user_group_dto import AdminHomeAnalysisByUserGroupDTO -from visier_platform_sdk.models.admin_jobs_consolidated_analytics_job_request_dto import AdminJobsConsolidatedAnalyticsJobRequestDTO -from visier_platform_sdk.models.admin_jobs_extract_data_and_load_dto import AdminJobsExtractDataAndLoadDTO -from visier_platform_sdk.models.admin_jobs_processing_job_request_dto import AdminJobsProcessingJobRequestDTO -from visier_platform_sdk.models.admin_key_name import AdminKeyName -from visier_platform_sdk.models.admin_mask_message import AdminMaskMessage -from visier_platform_sdk.models.admin_multiple_tenant_data_versions_details_dto import AdminMultipleTenantDataVersionsDetailsDTO -from visier_platform_sdk.models.admin_multiple_tenant_data_versions_list_dto import AdminMultipleTenantDataVersionsListDTO -from visier_platform_sdk.models.admin_network_subnets_message_request import AdminNetworkSubnetsMessageRequest -from visier_platform_sdk.models.admin_network_subnets_message_response import AdminNetworkSubnetsMessageResponse -from visier_platform_sdk.models.admin_permission_response_dto import AdminPermissionResponseDTO -from visier_platform_sdk.models.admin_permissions_list_dto import AdminPermissionsListDTO -from visier_platform_sdk.models.admin_permissions_to_user_group_for_tenant_dto import AdminPermissionsToUserGroupForTenantDTO -from visier_platform_sdk.models.admin_permissions_to_user_group_request_dto import AdminPermissionsToUserGroupRequestDTO -from visier_platform_sdk.models.admin_permissions_to_user_groups_request_dto import AdminPermissionsToUserGroupsRequestDTO -from visier_platform_sdk.models.admin_product_release_dto import AdminProductReleaseDTO -from visier_platform_sdk.models.admin_product_releases_dto import AdminProductReleasesDTO -from visier_platform_sdk.models.admin_product_version_dto import AdminProductVersionDTO -from visier_platform_sdk.models.admin_product_versions_dto import AdminProductVersionsDTO -from visier_platform_sdk.models.admin_product_versions_update_failure_tenant_response_dto import AdminProductVersionsUpdateFailureTenantResponseDTO -from visier_platform_sdk.models.admin_product_versions_update_response_dto import AdminProductVersionsUpdateResponseDTO -from visier_platform_sdk.models.admin_product_versions_update_successful_tenant_response_dto import AdminProductVersionsUpdateSuccessfulTenantResponseDTO -from visier_platform_sdk.models.admin_put_project_commits_request import AdminPutProjectCommitsRequest -from visier_platform_sdk.models.admin_security_assignment_response_dto import AdminSecurityAssignmentResponseDTO -from visier_platform_sdk.models.admin_set_connector_setting_request_dto import AdminSetConnectorSettingRequestDTO -from visier_platform_sdk.models.admin_set_connector_setting_response_dto import AdminSetConnectorSettingResponseDTO -from visier_platform_sdk.models.admin_set_connector_settings_request_dto import AdminSetConnectorSettingsRequestDTO -from visier_platform_sdk.models.admin_set_connector_settings_response_dto import AdminSetConnectorSettingsResponseDTO -from visier_platform_sdk.models.admin_simple_user_dto import AdminSimpleUserDTO -from visier_platform_sdk.models.admin_target_project_for_tenant_dto import AdminTargetProjectForTenantDTO -from visier_platform_sdk.models.admin_target_project_for_tenants_list_dto import AdminTargetProjectForTenantsListDTO -from visier_platform_sdk.models.admin_tenant_assignments_dto import AdminTenantAssignmentsDTO -from visier_platform_sdk.models.admin_tenant_code_body import AdminTenantCodeBody -from visier_platform_sdk.models.admin_tenant_connector_settings_request_dto import AdminTenantConnectorSettingsRequestDTO -from visier_platform_sdk.models.admin_tenant_detail_apidto import AdminTenantDetailAPIDTO -from visier_platform_sdk.models.admin_tenant_details_traits_dto import AdminTenantDetailsTraitsDTO -from visier_platform_sdk.models.admin_tenant_management_api_get_response_dto import AdminTenantManagementAPIGetResponseDTO -from visier_platform_sdk.models.admin_tenant_management_api_list_response_dto import AdminTenantManagementAPIListResponseDTO -from visier_platform_sdk.models.admin_tenant_management_api_update_request_dto import AdminTenantManagementAPIUpdateRequestDTO -from visier_platform_sdk.models.admin_tenant_management_api_update_response_dto import AdminTenantManagementAPIUpdateResponseDTO -from visier_platform_sdk.models.admin_tenant_provision_apidto import AdminTenantProvisionAPIDTO -from visier_platform_sdk.models.admin_tenant_status_apidto import AdminTenantStatusAPIDTO -from visier_platform_sdk.models.admin_update_tenant_model import AdminUpdateTenantModel -from visier_platform_sdk.models.admin_user_group_change_definition_dto import AdminUserGroupChangeDefinitionDTO -from visier_platform_sdk.models.admin_user_group_change_dimension_filter_dto import AdminUserGroupChangeDimensionFilterDTO -from visier_platform_sdk.models.admin_user_group_change_failure_dto import AdminUserGroupChangeFailureDTO -from visier_platform_sdk.models.admin_user_group_change_filter_dto import AdminUserGroupChangeFilterDTO -from visier_platform_sdk.models.admin_user_group_change_member_selection_dto import AdminUserGroupChangeMemberSelectionDTO -from visier_platform_sdk.models.admin_user_group_change_response_dto import AdminUserGroupChangeResponseDTO -from visier_platform_sdk.models.admin_user_group_change_success_dto import AdminUserGroupChangeSuccessDTO -from visier_platform_sdk.models.admin_user_group_change_users_dto import AdminUserGroupChangeUsersDTO -from visier_platform_sdk.models.admin_user_group_delete_dto import AdminUserGroupDeleteDTO -from visier_platform_sdk.models.admin_user_group_delete_failure_dto import AdminUserGroupDeleteFailureDTO -from visier_platform_sdk.models.admin_user_group_delete_response_dto import AdminUserGroupDeleteResponseDTO -from visier_platform_sdk.models.admin_user_group_delete_success_dto import AdminUserGroupDeleteSuccessDTO -from visier_platform_sdk.models.admin_user_group_filters_dto import AdminUserGroupFiltersDTO -from visier_platform_sdk.models.admin_user_group_get_api_response_dto import AdminUserGroupGetAPIResponseDTO -from visier_platform_sdk.models.admin_user_group_single_delete_response_dto import AdminUserGroupSingleDeleteResponseDTO -from visier_platform_sdk.models.admin_user_groups_change_dto import AdminUserGroupsChangeDTO -from visier_platform_sdk.models.admin_user_groups_delete_request_dto import AdminUserGroupsDeleteRequestDTO -from visier_platform_sdk.models.admin_user_groups_get_api_response_dto import AdminUserGroupsGetAPIResponseDTO -from visier_platform_sdk.models.admin_user_groups_users_dto import AdminUserGroupsUsersDTO -from visier_platform_sdk.models.admin_user_groups_users_for_tenant_dto import AdminUserGroupsUsersForTenantDTO -from visier_platform_sdk.models.admin_user_security_assignments_dto import AdminUserSecurityAssignmentsDTO -from visier_platform_sdk.models.admin_users_to_user_group_request_dto import AdminUsersToUserGroupRequestDTO -from visier_platform_sdk.models.admin_users_to_user_groups_request_dto import AdminUsersToUserGroupsRequestDTO -from visier_platform_sdk.models.analysis_common_report_create_request_dto import AnalysisCommonReportCreateRequestDTO -from visier_platform_sdk.models.analysis_common_report_dto import AnalysisCommonReportDTO -from visier_platform_sdk.models.analysis_common_report_delete_success_dto import AnalysisCommonReportDeleteSuccessDTO -from visier_platform_sdk.models.analysis_common_report_list_response_dto import AnalysisCommonReportListResponseDTO -from visier_platform_sdk.models.analysis_common_vee_clarification_dto import AnalysisCommonVeeClarificationDTO -from visier_platform_sdk.models.analysis_common_vee_conversation_dto import AnalysisCommonVeeConversationDTO -from visier_platform_sdk.models.analysis_common_vee_conversation_state_dto import AnalysisCommonVeeConversationStateDTO -from visier_platform_sdk.models.analysis_common_vee_corrections_dto import AnalysisCommonVeeCorrectionsDTO -from visier_platform_sdk.models.analysis_common_vee_data_dto import AnalysisCommonVeeDataDTO -from visier_platform_sdk.models.analysis_common_vee_feedback_dto import AnalysisCommonVeeFeedbackDTO -from visier_platform_sdk.models.analysis_common_vee_options_dto import AnalysisCommonVeeOptionsDTO -from visier_platform_sdk.models.analysis_common_vee_question_dto import AnalysisCommonVeeQuestionDTO -from visier_platform_sdk.models.analysis_common_vee_response_dto import AnalysisCommonVeeResponseDTO -from visier_platform_sdk.models.analysis_common_vee_response_schema_dto import AnalysisCommonVeeResponseSchemaDTO -from visier_platform_sdk.models.analysis_common_vee_response_schema_reference_dto import AnalysisCommonVeeResponseSchemaReferenceDTO -from visier_platform_sdk.models.analysis_common_vee_sample_question_dto import AnalysisCommonVeeSampleQuestionDTO -from visier_platform_sdk.models.analysis_common_vee_sample_question_library_dto import AnalysisCommonVeeSampleQuestionLibraryDTO -from visier_platform_sdk.models.analysis_common_vee_status_code_dto import AnalysisCommonVeeStatusCodeDTO -from visier_platform_sdk.models.analysis_common_vee_visual_dto import AnalysisCommonVeeVisualDTO -from visier_platform_sdk.models.analysis_common_vee_visual_options_dto import AnalysisCommonVeeVisualOptionsDTO +from visier_platform_sdk.models.accessible_tenant_profile_assignment_request_dto import AccessibleTenantProfileAssignmentRequestDTO +from visier_platform_sdk.models.accessible_tenant_profile_assignment_response_dto import AccessibleTenantProfileAssignmentResponseDTO +from visier_platform_sdk.models.accessible_tenant_profile_revoke_request_dto import AccessibleTenantProfileRevokeRequestDTO +from visier_platform_sdk.models.accessible_tenant_profile_revoke_response_dto import AccessibleTenantProfileRevokeResponseDTO +from visier_platform_sdk.models.additional_capabilities_dto import AdditionalCapabilitiesDTO +from visier_platform_sdk.models.admin_capability_config_dto import AdminCapabilityConfigDTO +from visier_platform_sdk.models.adp_auth_params_dto import AdpAuthParamsDTO +from visier_platform_sdk.models.aggregation_query_dto import AggregationQueryDTO +from visier_platform_sdk.models.aggregation_query_execution_dto import AggregationQueryExecutionDTO +from visier_platform_sdk.models.aggregation_query_source_dto import AggregationQuerySourceDTO +from visier_platform_sdk.models.aggregation_query_source_metric_dto import AggregationQuerySourceMetricDTO +from visier_platform_sdk.models.aggregation_query_source_metrics_dto import AggregationQuerySourceMetricsDTO +from visier_platform_sdk.models.aggregation_type_option_dto import AggregationTypeOptionDTO +from visier_platform_sdk.models.aggregation_type_parameter_dto import AggregationTypeParameterDTO +from visier_platform_sdk.models.aggregation_type_parameter_value_dto import AggregationTypeParameterValueDTO +from visier_platform_sdk.models.all_permissions_assigned_for_local_tenant_dto import AllPermissionsAssignedForLocalTenantDTO +from visier_platform_sdk.models.all_profile_assigned_for_accessible_tenant_dto import AllProfileAssignedForAccessibleTenantDTO +from visier_platform_sdk.models.all_profile_assigned_for_local_tenant_dto import AllProfileAssignedForLocalTenantDTO +from visier_platform_sdk.models.all_tenants_status_apidto import AllTenantsStatusAPIDTO +from visier_platform_sdk.models.all_user_groups_assigned_for_local_tenant_dto import AllUserGroupsAssignedForLocalTenantDTO +from visier_platform_sdk.models.all_users_get_api_response_dto import AllUsersGetAPIResponseDTO +from visier_platform_sdk.models.analytic_object_dto import AnalyticObjectDTO +from visier_platform_sdk.models.analytic_object_definition_dto import AnalyticObjectDefinitionDTO +from visier_platform_sdk.models.analytic_object_filter_dto import AnalyticObjectFilterDTO +from visier_platform_sdk.models.analytic_object_request_dto import AnalyticObjectRequestDTO +from visier_platform_sdk.models.analytic_object_with_context_dto import AnalyticObjectWithContextDTO +from visier_platform_sdk.models.analytic_objects_dto import AnalyticObjectsDTO +from visier_platform_sdk.models.any import Any from visier_platform_sdk.models.api_error import ApiError -from visier_platform_sdk.models.authentication_o_auth2_user_info_dto import AuthenticationOAuth2UserInfoDTO -from visier_platform_sdk.models.authentication_o_auth2_user_subnet_info_dto import AuthenticationOAuth2UserSubnetInfoDTO -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_detail_dto import AuthenticationOAuth2UserTenantDetailDTO -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_details_dto import AuthenticationOAuth2UserTenantDetailsDTO -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_properties_dto import AuthenticationOAuth2UserTenantPropertiesDTO +from visier_platform_sdk.models.assign_connector_credential_request import AssignConnectorCredentialRequest +from visier_platform_sdk.models.assign_connector_credentials_by_tenant_response_dto import AssignConnectorCredentialsByTenantResponseDTO +from visier_platform_sdk.models.assign_connector_credentials_response_dto import AssignConnectorCredentialsResponseDTO +from visier_platform_sdk.models.assign_connector_with_credentials_response_dto import AssignConnectorWithCredentialsResponseDTO +from visier_platform_sdk.models.assign_revoke_permission_by_permission_dto import AssignRevokePermissionByPermissionDTO +from visier_platform_sdk.models.assign_revoke_permission_by_tenant_dto import AssignRevokePermissionByTenantDTO +from visier_platform_sdk.models.assign_revoke_permission_by_user_dto import AssignRevokePermissionByUserDTO +from visier_platform_sdk.models.assign_revoke_permission_request_dto import AssignRevokePermissionRequestDTO +from visier_platform_sdk.models.assign_revoke_permissions_request_dto import AssignRevokePermissionsRequestDTO +from visier_platform_sdk.models.assign_revoke_permissions_response_dto import AssignRevokePermissionsResponseDTO +from visier_platform_sdk.models.assigned_credential_info_response_dto import AssignedCredentialInfoResponseDTO +from visier_platform_sdk.models.bamboo_auth_params_dto import BambooAuthParamsDTO +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.basic_s3_auth_params_dto import BasicS3AuthParamsDTO +from visier_platform_sdk.models.batch_tenant_provision_apidto import BatchTenantProvisionAPIDTO from visier_platform_sdk.models.benchmark_info import BenchmarkInfo from visier_platform_sdk.models.benchmark_value import BenchmarkValue -from visier_platform_sdk.models.data_in_assign_connector_credential_request import DataInAssignConnectorCredentialRequest -from visier_platform_sdk.models.data_in_connector import DataInConnector -from visier_platform_sdk.models.data_in_data_load_request import DataInDataLoadRequest -from visier_platform_sdk.models.data_in_data_load_request_model import DataInDataLoadRequestModel -from visier_platform_sdk.models.data_in_data_load_response import DataInDataLoadResponse -from visier_platform_sdk.models.data_in_data_transfer_result_detail import DataInDataTransferResultDetail -from visier_platform_sdk.models.data_in_data_version_object import DataInDataVersionObject -from visier_platform_sdk.models.data_in_disable_dv_model import DataInDisableDVModel -from visier_platform_sdk.models.data_in_disable_dv_request import DataInDisableDVRequest -from visier_platform_sdk.models.data_in_disable_dv_response import DataInDisableDVResponse -from visier_platform_sdk.models.data_in_dispatching_job_status_response import DataInDispatchingJobStatusResponse -from visier_platform_sdk.models.data_in_exclude_data_uploads_request import DataInExcludeDataUploadsRequest -from visier_platform_sdk.models.data_in_extraction_job import DataInExtractionJob -from visier_platform_sdk.models.data_in_extraction_job_and_status_response import DataInExtractionJobAndStatusResponse -from visier_platform_sdk.models.data_in_include_data_uploads_request import DataInIncludeDataUploadsRequest -from visier_platform_sdk.models.data_in_job_status_list_response import DataInJobStatusListResponse -from visier_platform_sdk.models.data_in_job_status_with_start_time import DataInJobStatusWithStartTime -from visier_platform_sdk.models.data_in_processing_job import DataInProcessingJob -from visier_platform_sdk.models.data_in_processing_job_and_status_response import DataInProcessingJobAndStatusResponse -from visier_platform_sdk.models.data_in_processing_job_status_response import DataInProcessingJobStatusResponse -from visier_platform_sdk.models.data_in_push_data_cancel_response import DataInPushDataCancelResponse -from visier_platform_sdk.models.data_in_push_data_complete_request import DataInPushDataCompleteRequest -from visier_platform_sdk.models.data_in_push_data_complete_response import DataInPushDataCompleteResponse -from visier_platform_sdk.models.data_in_push_data_response import DataInPushDataResponse -from visier_platform_sdk.models.data_in_receiving_job import DataInReceivingJob -from visier_platform_sdk.models.data_in_receiving_job_and_status_response import DataInReceivingJobAndStatusResponse -from visier_platform_sdk.models.data_in_receiving_job_status_response import DataInReceivingJobStatusResponse -from visier_platform_sdk.models.data_in_result import DataInResult -from visier_platform_sdk.models.data_in_source import DataInSource -from visier_platform_sdk.models.data_in_start_extraction_response import DataInStartExtractionResponse -from visier_platform_sdk.models.data_in_start_transfer_response import DataInStartTransferResponse -from visier_platform_sdk.models.data_in_tenant import DataInTenant -from visier_platform_sdk.models.data_in_tenant_and_credential import DataInTenantAndCredential -from visier_platform_sdk.models.data_in_upload_to_exclude import DataInUploadToExclude -from visier_platform_sdk.models.data_in_upload_to_include import DataInUploadToInclude -from visier_platform_sdk.models.data_out_list_response import DataOutListResponse -from visier_platform_sdk.models.dataservices_common_dimension_member_reference_dto import DataservicesCommonDimensionMemberReferenceDTO -from visier_platform_sdk.models.dataservices_common_member_values_dto import DataservicesCommonMemberValuesDTO -from visier_platform_sdk.models.dataservices_datamodel_aggregation_type_option_dto import DataservicesDatamodelAggregationTypeOptionDTO -from visier_platform_sdk.models.dataservices_datamodel_aggregation_type_parameter_dto import DataservicesDatamodelAggregationTypeParameterDTO -from visier_platform_sdk.models.dataservices_datamodel_analytic_object_dto import DataservicesDatamodelAnalyticObjectDTO -from visier_platform_sdk.models.dataservices_datamodel_analytic_objects_dto import DataservicesDatamodelAnalyticObjectsDTO -from visier_platform_sdk.models.dataservices_datamodel_currencies_dto import DataservicesDatamodelCurrenciesDTO -from visier_platform_sdk.models.dataservices_datamodel_currency_dto import DataservicesDatamodelCurrencyDTO -from visier_platform_sdk.models.dataservices_datamodel_currency_rate_dto import DataservicesDatamodelCurrencyRateDTO -from visier_platform_sdk.models.dataservices_datamodel_currency_rates_dto import DataservicesDatamodelCurrencyRatesDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_dto import DataservicesDatamodelDimensionDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_mapping_validation_dto import DataservicesDatamodelDimensionMappingValidationDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_mapping_validation_execution_dto import DataservicesDatamodelDimensionMappingValidationExecutionDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_dimensions_dto import DataservicesDatamodelDimensionsDTO -from visier_platform_sdk.models.dataservices_datamodel_level_dto import DataservicesDatamodelLevelDTO -from visier_platform_sdk.models.dataservices_datamodel_member_dto import DataservicesDatamodelMemberDTO -from visier_platform_sdk.models.dataservices_datamodel_member_parameter_definition_dto import DataservicesDatamodelMemberParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_members_dto import DataservicesDatamodelMembersDTO -from visier_platform_sdk.models.dataservices_datamodel_metric_dto import DataservicesDatamodelMetricDTO -from visier_platform_sdk.models.dataservices_datamodel_metrics_dto import DataservicesDatamodelMetricsDTO -from visier_platform_sdk.models.dataservices_datamodel_numeric_parameter_definition_dto import DataservicesDatamodelNumericParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_object_reference_dto import DataservicesDatamodelObjectReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_parameter_definition_dto import DataservicesDatamodelParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_plan_parameter_definition_dto import DataservicesDatamodelPlanParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_concept_filter_context_dto import DataservicesDatamodelPlanningConceptFilterContextDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_hierarchy_filter_context_dto import DataservicesDatamodelPlanningHierarchyFilterContextDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_model_dto import DataservicesDatamodelPlanningModelDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_models_dto import DataservicesDatamodelPlanningModelsDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_context_dto import DataservicesDatamodelPlanningPlanContextDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_dto import DataservicesDatamodelPlanningPlanDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_plans_dto import DataservicesDatamodelPlanningPlansDTO -from visier_platform_sdk.models.dataservices_datamodel_population_configuration_dto import DataservicesDatamodelPopulationConfigurationDTO -from visier_platform_sdk.models.dataservices_datamodel_prediction_dto import DataservicesDatamodelPredictionDTO -from visier_platform_sdk.models.dataservices_datamodel_predictions_dto import DataservicesDatamodelPredictionsDTO -from visier_platform_sdk.models.dataservices_datamodel_properties_dto import DataservicesDatamodelPropertiesDTO -from visier_platform_sdk.models.dataservices_datamodel_property_dto import DataservicesDatamodelPropertyDTO -from visier_platform_sdk.models.dataservices_datamodel_property_reference_dto import DataservicesDatamodelPropertyReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_scenario_or_snapshot_dto import DataservicesDatamodelScenarioOrSnapshotDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_dto import DataservicesDatamodelSelectionConceptDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_reference_dto import DataservicesDatamodelSelectionConceptReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concepts_dto import DataservicesDatamodelSelectionConceptsDTO -from visier_platform_sdk.models.dataservices_datamodel_tag_map_element_dto import DataservicesDatamodelTagMapElementDTO -from visier_platform_sdk.models.dataservices_datamodel_validity_range_dto import DataservicesDatamodelValidityRangeDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_dto import DataservicesQueryAggregationQueryDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_execution_dto import DataservicesQueryAggregationQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_dto import DataservicesQueryAggregationQuerySourceDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_metric_dto import DataservicesQueryAggregationQuerySourceMetricDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_metrics_dto import DataservicesQueryAggregationQuerySourceMetricsDTO -from visier_platform_sdk.models.dataservices_query_aggregation_type_parameter_value_dto import DataservicesQueryAggregationTypeParameterValueDTO -from visier_platform_sdk.models.dataservices_query_cell_dto import DataservicesQueryCellDTO -from visier_platform_sdk.models.dataservices_query_cell_distribution_bin_dto import DataservicesQueryCellDistributionBinDTO -from visier_platform_sdk.models.dataservices_query_cell_distribution_options_dto import DataservicesQueryCellDistributionOptionsDTO -from visier_platform_sdk.models.dataservices_query_cell_set_axis_dto import DataservicesQueryCellSetAxisDTO -from visier_platform_sdk.models.dataservices_query_cell_set_axis_position_dto import DataservicesQueryCellSetAxisPositionDTO -from visier_platform_sdk.models.dataservices_query_cell_set_dto import DataservicesQueryCellSetDTO -from visier_platform_sdk.models.dataservices_query_cell_set_or_error_dto import DataservicesQueryCellSetOrErrorDTO -from visier_platform_sdk.models.dataservices_query_cohort_filter_dto import DataservicesQueryCohortFilterDTO -from visier_platform_sdk.models.dataservices_query_internal_query_execution_options_dto import DataservicesQueryInternalQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_key_group_filter_dto import DataservicesQueryKeyGroupFilterDTO -from visier_platform_sdk.models.dataservices_query_key_group_filter_item_dto import DataservicesQueryKeyGroupFilterItemDTO -from visier_platform_sdk.models.dataservices_query_lineage_dto import DataservicesQueryLineageDTO -from visier_platform_sdk.models.dataservices_query_list_query_execution_dto import DataservicesQueryListQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_list_query_execution_options_dto import DataservicesQueryListQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_list_query_source_dto import DataservicesQueryListQuerySourceDTO -from visier_platform_sdk.models.dataservices_query_member_filter_dto import DataservicesQueryMemberFilterDTO -from visier_platform_sdk.models.dataservices_query_member_parameter_value_dto import DataservicesQueryMemberParameterValueDTO -from visier_platform_sdk.models.dataservices_query_numeric_parameter_value_dto import DataservicesQueryNumericParameterValueDTO -from visier_platform_sdk.models.dataservices_query_plan_parameter_value_dto import DataservicesQueryPlanParameterValueDTO -from visier_platform_sdk.models.dataservices_query_property_column_dto import DataservicesQueryPropertyColumnDTO -from visier_platform_sdk.models.dataservices_query_query_axis_dto import DataservicesQueryQueryAxisDTO -from visier_platform_sdk.models.dataservices_query_query_axis_options_dto import DataservicesQueryQueryAxisOptionsDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_data_member_selection_dto import DataservicesQueryQueryDimensionDataMemberSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_leaf_selection_dto import DataservicesQueryQueryDimensionLeafSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_level_property_dto import DataservicesQueryQueryDimensionLevelPropertyDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_level_selection_dto import DataservicesQueryQueryDimensionLevelSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_member_selection_dto import DataservicesQueryQueryDimensionMemberSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_execution_error_dto import DataservicesQueryQueryExecutionErrorDTO -from visier_platform_sdk.models.dataservices_query_query_execution_error_details_dto import DataservicesQueryQueryExecutionErrorDetailsDTO -from visier_platform_sdk.models.dataservices_query_query_execution_errors_dto import DataservicesQueryQueryExecutionErrorsDTO -from visier_platform_sdk.models.dataservices_query_query_execution_options_dto import DataservicesQueryQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_query_filter_dto import DataservicesQueryQueryFilterDTO -from visier_platform_sdk.models.dataservices_query_query_member_map_property_dto import DataservicesQueryQueryMemberMapPropertyDTO -from visier_platform_sdk.models.dataservices_query_query_member_map_selection_dto import DataservicesQueryQueryMemberMapSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_numeric_ranges_dto import DataservicesQueryQueryNumericRangesDTO -from visier_platform_sdk.models.dataservices_query_query_parameter_value_dto import DataservicesQueryQueryParameterValueDTO -from visier_platform_sdk.models.dataservices_query_query_property_dto import DataservicesQueryQueryPropertyDTO -from visier_platform_sdk.models.dataservices_query_query_time_interval_dto import DataservicesQueryQueryTimeIntervalDTO -from visier_platform_sdk.models.dataservices_query_query_time_intervals_dto import DataservicesQueryQueryTimeIntervalsDTO -from visier_platform_sdk.models.dataservices_query_snapshot_query_execution_dto import DataservicesQuerySnapshotQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_snapshot_query_execution_options_dto import DataservicesQuerySnapshotQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_sort_option_dto import DataservicesQuerySortOptionDTO -from visier_platform_sdk.models.dataservices_query_sql_like_query_execution_dto import DataservicesQuerySqlLikeQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_time_shift_dto import DataservicesQueryTimeShiftDTO +from visier_platform_sdk.models.big_query_auth_params_dto import BigQueryAuthParamsDTO +from visier_platform_sdk.models.big_query_service_account_params_dto import BigQueryServiceAccountParamsDTO +from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO +from visier_platform_sdk.models.bulk_data_access_set_response_dto import BulkDataAccessSetResponseDTO +from visier_platform_sdk.models.business_location_dto import BusinessLocationDTO +from visier_platform_sdk.models.calculated_property_type_dto import CalculatedPropertyTypeDTO +from visier_platform_sdk.models.calculation_concept_configuration_dto import CalculationConceptConfigurationDTO +from visier_platform_sdk.models.calculation_concept_configuration_map_dto import CalculationConceptConfigurationMapDTO +from visier_platform_sdk.models.calculation_concept_dto import CalculationConceptDTO +from visier_platform_sdk.models.calculation_concept_list_dto import CalculationConceptListDTO +from visier_platform_sdk.models.cancel_job_batch_from_job_id_dto import CancelJobBatchFromJobIdDTO +from visier_platform_sdk.models.capabilities_dto import CapabilitiesDTO +from visier_platform_sdk.models.capability_dto import CapabilityDTO +from visier_platform_sdk.models.capability_group_dto import CapabilityGroupDTO +from visier_platform_sdk.models.cell_dto import CellDTO +from visier_platform_sdk.models.cell_distribution_bin_dto import CellDistributionBinDTO +from visier_platform_sdk.models.cell_distribution_options_dto import CellDistributionOptionsDTO +from visier_platform_sdk.models.cell_set_axis_dto import CellSetAxisDTO +from visier_platform_sdk.models.cell_set_axis_position_dto import CellSetAxisPositionDTO +from visier_platform_sdk.models.cell_set_dto import CellSetDTO +from visier_platform_sdk.models.cell_set_or_error_dto import CellSetOrErrorDTO +from visier_platform_sdk.models.clone_files_into_source_parameters_dto import CloneFilesIntoSourceParametersDTO +from visier_platform_sdk.models.cohort_filter_dto import CohortFilterDTO +from visier_platform_sdk.models.commit_and_publish_operation_response_dto import CommitAndPublishOperationResponseDTO +from visier_platform_sdk.models.commit_dto import CommitDTO +from visier_platform_sdk.models.concept_configuration_result_dto import ConceptConfigurationResultDTO +from visier_platform_sdk.models.concept_definition_dto import ConceptDefinitionDTO +from visier_platform_sdk.models.concept_delete_request_dto import ConceptDeleteRequestDTO +from visier_platform_sdk.models.concept_delete_with_context_dto import ConceptDeleteWithContextDTO +from visier_platform_sdk.models.concept_request_dto import ConceptRequestDTO +from visier_platform_sdk.models.concept_response_dto import ConceptResponseDTO +from visier_platform_sdk.models.concept_type_details_dto import ConceptTypeDetailsDTO +from visier_platform_sdk.models.concept_with_context_dto import ConceptWithContextDTO +from visier_platform_sdk.models.connector import Connector +from visier_platform_sdk.models.connector_info_response_dto import ConnectorInfoResponseDTO +from visier_platform_sdk.models.connector_setting_request_dto import ConnectorSettingRequestDTO +from visier_platform_sdk.models.connector_setting_response_dto import ConnectorSettingResponseDTO +from visier_platform_sdk.models.connector_settings_response_dto import ConnectorSettingsResponseDTO +from visier_platform_sdk.models.consolidated_analytics_api_excluded_source_list_dto import ConsolidatedAnalyticsAPIExcludedSourceListDTO +from visier_platform_sdk.models.consolidated_analytics_api_source_tenant_list_dto import ConsolidatedAnalyticsAPISourceTenantListDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_create_request_dto import ConsolidatedAnalyticsAPITenantCreateRequestDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_list_response_dto import ConsolidatedAnalyticsAPITenantListResponseDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details import ConsolidatedAnalyticsAPITenantWithDetails +from visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details_list_response_dto import ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO +from visier_platform_sdk.models.consolidated_analytics_job_request_dto import ConsolidatedAnalyticsJobRequestDTO +from visier_platform_sdk.models.content_package_dto import ContentPackageDTO +from visier_platform_sdk.models.copy_s3_auth_params_dto import CopyS3AuthParamsDTO +from visier_platform_sdk.models.create_data_access_set_request_dto import CreateDataAccessSetRequestDTO +from visier_platform_sdk.models.credential_creation_api_response_dto import CredentialCreationAPIResponseDTO +from visier_platform_sdk.models.currencies_dto import CurrenciesDTO +from visier_platform_sdk.models.currency_dto import CurrencyDTO +from visier_platform_sdk.models.currency_rate_dto import CurrencyRateDTO +from visier_platform_sdk.models.currency_rates_dto import CurrencyRatesDTO +from visier_platform_sdk.models.custom_property_dto import CustomPropertyDTO +from visier_platform_sdk.models.custom_tenant_property_dto import CustomTenantPropertyDTO +from visier_platform_sdk.models.data_access_set_dto import DataAccessSetDTO +from visier_platform_sdk.models.data_access_set_error_dto import DataAccessSetErrorDTO +from visier_platform_sdk.models.data_access_set_failure_dto import DataAccessSetFailureDTO +from visier_platform_sdk.models.data_access_set_success_dto import DataAccessSetSuccessDTO +from visier_platform_sdk.models.data_categories_response_dto import DataCategoriesResponseDTO +from visier_platform_sdk.models.data_category_response_dto import DataCategoryResponseDTO +from visier_platform_sdk.models.data_load_request import DataLoadRequest +from visier_platform_sdk.models.data_load_request_model import DataLoadRequestModel +from visier_platform_sdk.models.data_load_response import DataLoadResponse +from visier_platform_sdk.models.data_model_analytic_object_dto import DataModelAnalyticObjectDTO +from visier_platform_sdk.models.data_provider_auth_information_dto import DataProviderAuthInformationDTO +from visier_platform_sdk.models.data_provider_auth_params_dto import DataProviderAuthParamsDTO +from visier_platform_sdk.models.data_provider_basic_information_dto import DataProviderBasicInformationDTO +from visier_platform_sdk.models.data_provider_basic_metadata_dto import DataProviderBasicMetadataDTO +from visier_platform_sdk.models.data_security_profile_dto import DataSecurityProfileDTO +from visier_platform_sdk.models.data_transfer_result_detail import DataTransferResultDetail +from visier_platform_sdk.models.data_version_and_date_dto import DataVersionAndDateDTO +from visier_platform_sdk.models.data_version_export_column_dto import DataVersionExportColumnDTO +from visier_platform_sdk.models.data_version_export_dto import DataVersionExportDTO +from visier_platform_sdk.models.data_version_export_data_version_summary_dto import DataVersionExportDataVersionSummaryDTO +from visier_platform_sdk.models.data_version_export_data_versions_dto import DataVersionExportDataVersionsDTO +from visier_platform_sdk.models.data_version_export_file_dto import DataVersionExportFileDTO +from visier_platform_sdk.models.data_version_export_job_status_dto import DataVersionExportJobStatusDTO +from visier_platform_sdk.models.data_version_export_part_file_dto import DataVersionExportPartFileDTO +from visier_platform_sdk.models.data_version_export_schedule_job_request_dto import DataVersionExportScheduleJobRequestDTO +from visier_platform_sdk.models.data_version_export_schedule_job_response_dto import DataVersionExportScheduleJobResponseDTO +from visier_platform_sdk.models.data_version_export_table_dto import DataVersionExportTableDTO +from visier_platform_sdk.models.data_version_exports_dto import DataVersionExportsDTO +from visier_platform_sdk.models.data_version_object import DataVersionObject +from visier_platform_sdk.models.databricks_auth_params_dto import DatabricksAuthParamsDTO +from visier_platform_sdk.models.date_range_dto import DateRangeDTO +from visier_platform_sdk.models.dayforce_v2_auth_params_dto import DayforceV2AuthParamsDTO +from visier_platform_sdk.models.delete_permissions_request_dto import DeletePermissionsRequestDTO +from visier_platform_sdk.models.delete_user_group_v2_request import DeleteUserGroupV2Request +from visier_platform_sdk.models.dependent_dto import DependentDTO from visier_platform_sdk.models.description_entry import DescriptionEntry -from visier_platform_sdk.models.designer_adp_auth_params_dto import DesignerAdpAuthParamsDTO -from visier_platform_sdk.models.designer_api_analytic_object_filter_dto import DesignerApiAnalyticObjectFilterDTO -from visier_platform_sdk.models.designer_api_calculation_concept_configuration_dto import DesignerApiCalculationConceptConfigurationDTO -from visier_platform_sdk.models.designer_api_calculation_concept_configuration_map_dto import DesignerApiCalculationConceptConfigurationMapDTO -from visier_platform_sdk.models.designer_api_calculation_concept_dto import DesignerApiCalculationConceptDTO -from visier_platform_sdk.models.designer_api_calculation_concept_list_dto import DesignerApiCalculationConceptListDTO -from visier_platform_sdk.models.designer_api_concept_configuration_result_dto import DesignerApiConceptConfigurationResultDTO -from visier_platform_sdk.models.designer_api_dimension_filter_dto import DesignerApiDimensionFilterDTO -from visier_platform_sdk.models.designer_api_dimension_member_dto import DesignerApiDimensionMemberDTO -from visier_platform_sdk.models.designer_api_perspective_configuration_dto import DesignerApiPerspectiveConfigurationDTO -from visier_platform_sdk.models.designer_api_perspective_node_dto import DesignerApiPerspectiveNodeDTO -from visier_platform_sdk.models.designer_api_selection_concept_configuration_dto import DesignerApiSelectionConceptConfigurationDTO -from visier_platform_sdk.models.designer_api_selection_concept_configuration_map_dto import DesignerApiSelectionConceptConfigurationMapDTO -from visier_platform_sdk.models.designer_api_selection_concept_dto import DesignerApiSelectionConceptDTO -from visier_platform_sdk.models.designer_api_selection_concept_list_dto import DesignerApiSelectionConceptListDTO -from visier_platform_sdk.models.designer_bamboo_auth_params_dto import DesignerBambooAuthParamsDTO -from visier_platform_sdk.models.designer_basic_s3_auth_params_dto import DesignerBasicS3AuthParamsDTO -from visier_platform_sdk.models.designer_big_query_auth_params_dto import DesignerBigQueryAuthParamsDTO -from visier_platform_sdk.models.designer_big_query_service_account_params_dto import DesignerBigQueryServiceAccountParamsDTO -from visier_platform_sdk.models.designer_copy_s3_auth_params_dto import DesignerCopyS3AuthParamsDTO -from visier_platform_sdk.models.designer_credential_creation_api_response_dto import DesignerCredentialCreationAPIResponseDTO -from visier_platform_sdk.models.designer_crypto_generate_key_request_dto import DesignerCryptoGenerateKeyRequestDTO -from visier_platform_sdk.models.designer_crypto_key_pair_delete_response_dto import DesignerCryptoKeyPairDeleteResponseDTO -from visier_platform_sdk.models.designer_crypto_key_pair_generate_request_dto import DesignerCryptoKeyPairGenerateRequestDTO -from visier_platform_sdk.models.designer_crypto_public_key_dto import DesignerCryptoPublicKeyDTO -from visier_platform_sdk.models.designer_crypto_public_keys_dto import DesignerCryptoPublicKeysDTO -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_dto import DesignerCryptoTenantEncryptionKeyDTO -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_details_dto import DesignerCryptoTenantEncryptionKeyDetailsDTO -from visier_platform_sdk.models.designer_data_provider_auth_information_dto import DesignerDataProviderAuthInformationDTO -from visier_platform_sdk.models.designer_data_provider_auth_params_dto import DesignerDataProviderAuthParamsDTO -from visier_platform_sdk.models.designer_data_provider_basic_information_dto import DesignerDataProviderBasicInformationDTO -from visier_platform_sdk.models.designer_data_provider_basic_metadata_dto import DesignerDataProviderBasicMetadataDTO -from visier_platform_sdk.models.designer_data_version_export_column_dto import DesignerDataVersionExportColumnDTO -from visier_platform_sdk.models.designer_data_version_export_dto import DesignerDataVersionExportDTO -from visier_platform_sdk.models.designer_data_version_export_data_version_summary_dto import DesignerDataVersionExportDataVersionSummaryDTO -from visier_platform_sdk.models.designer_data_version_export_data_versions_dto import DesignerDataVersionExportDataVersionsDTO -from visier_platform_sdk.models.designer_data_version_export_file_dto import DesignerDataVersionExportFileDTO -from visier_platform_sdk.models.designer_data_version_export_job_status_dto import DesignerDataVersionExportJobStatusDTO -from visier_platform_sdk.models.designer_data_version_export_part_file_dto import DesignerDataVersionExportPartFileDTO -from visier_platform_sdk.models.designer_data_version_export_schedule_job_request_dto import DesignerDataVersionExportScheduleJobRequestDTO -from visier_platform_sdk.models.designer_data_version_export_schedule_job_response_dto import DesignerDataVersionExportScheduleJobResponseDTO -from visier_platform_sdk.models.designer_data_version_export_table_dto import DesignerDataVersionExportTableDTO -from visier_platform_sdk.models.designer_data_version_exports_dto import DesignerDataVersionExportsDTO -from visier_platform_sdk.models.designer_databricks_auth_params_dto import DesignerDatabricksAuthParamsDTO -from visier_platform_sdk.models.designer_dayforce_v2_auth_params_dto import DesignerDayforceV2AuthParamsDTO -from visier_platform_sdk.models.designer_dimensions_auth_params_dto import DesignerDimensionsAuthParamsDTO -from visier_platform_sdk.models.designer_download_source_files_dto import DesignerDownloadSourceFilesDTO -from visier_platform_sdk.models.designer_download_source_files_response_dto import DesignerDownloadSourceFilesResponseDTO -from visier_platform_sdk.models.designer_extractor_credential_apidto import DesignerExtractorCredentialAPIDTO -from visier_platform_sdk.models.designer_extractor_credentials_apidto import DesignerExtractorCredentialsAPIDTO -from visier_platform_sdk.models.designer_fusion_auth_params_dto import DesignerFusionAuthParamsDTO -from visier_platform_sdk.models.designer_gong_auth_params_dto import DesignerGongAuthParamsDTO -from visier_platform_sdk.models.designer_google_sheets_auth_params_dto import DesignerGoogleSheetsAuthParamsDTO -from visier_platform_sdk.models.designer_google_workspace_auth_params_dto import DesignerGoogleWorkspaceAuthParamsDTO -from visier_platform_sdk.models.designer_greenhouse_auth_params_dto import DesignerGreenhouseAuthParamsDTO -from visier_platform_sdk.models.designer_icims_auth_params_dto import DesignerIcimsAuthParamsDTO -from visier_platform_sdk.models.designer_internal_s3_auth_params_dto import DesignerInternalS3AuthParamsDTO -from visier_platform_sdk.models.designer_jdbc_auth_params_dto import DesignerJdbcAuthParamsDTO -from visier_platform_sdk.models.designer_jira_auth_params_dto import DesignerJiraAuthParamsDTO -from visier_platform_sdk.models.designer_jira_connect_params_dto import DesignerJiraConnectParamsDTO -from visier_platform_sdk.models.designer_lever_auth_params_dto import DesignerLeverAuthParamsDTO -from visier_platform_sdk.models.designer_medallia_auth_params_dto import DesignerMedalliaAuthParamsDTO -from visier_platform_sdk.models.designer_microsoft365_auth_params_dto import DesignerMicrosoft365AuthParamsDTO -from visier_platform_sdk.models.designer_module_settings_dto import DesignerModuleSettingsDTO -from visier_platform_sdk.models.designer_my_sql_auth_params_dto import DesignerMySqlAuthParamsDTO -from visier_platform_sdk.models.designer_namely_auth_params_dto import DesignerNamelyAuthParamsDTO -from visier_platform_sdk.models.designer_oracle_db_auth_params_dto import DesignerOracleDbAuthParamsDTO -from visier_platform_sdk.models.designer_pair_dto import DesignerPairDTO -from visier_platform_sdk.models.designer_push_data_column_definition_dto import DesignerPushDataColumnDefinitionDTO -from visier_platform_sdk.models.designer_push_data_source_definition_dto import DesignerPushDataSourceDefinitionDTO -from visier_platform_sdk.models.designer_push_data_source_definitions_dto import DesignerPushDataSourceDefinitionsDTO -from visier_platform_sdk.models.designer_qualtrics_auth_params_dto import DesignerQualtricsAuthParamsDTO -from visier_platform_sdk.models.designer_redshift_auth_params_dto import DesignerRedshiftAuthParamsDTO -from visier_platform_sdk.models.designer_salesforce_auth_params_dto import DesignerSalesforceAuthParamsDTO -from visier_platform_sdk.models.designer_salesforce_v2_auth_params_dto import DesignerSalesforceV2AuthParamsDTO -from visier_platform_sdk.models.designer_service_now_auth_params_dto import DesignerServiceNowAuthParamsDTO -from visier_platform_sdk.models.designer_service_now_v2_auth_params_dto import DesignerServiceNowV2AuthParamsDTO -from visier_platform_sdk.models.designer_slack_auth_params_dto import DesignerSlackAuthParamsDTO -from visier_platform_sdk.models.designer_snowflake_auth_params_dto import DesignerSnowflakeAuthParamsDTO -from visier_platform_sdk.models.designer_sql_server_auth_params_dto import DesignerSqlServerAuthParamsDTO -from visier_platform_sdk.models.designer_subject_missing_access_dto import DesignerSubjectMissingAccessDTO -from visier_platform_sdk.models.designer_success_factors_auth_params_dto import DesignerSuccessFactorsAuthParamsDTO -from visier_platform_sdk.models.designer_success_factors_o_auth_params_dto import DesignerSuccessFactorsOAuthParamsDTO -from visier_platform_sdk.models.designer_tenant_module_dto import DesignerTenantModuleDTO -from visier_platform_sdk.models.designer_ultimate_auth_params_dto import DesignerUltimateAuthParamsDTO -from visier_platform_sdk.models.designer_webhook_webhook_basic_auth_credential_dto import DesignerWebhookWebhookBasicAuthCredentialDTO -from visier_platform_sdk.models.designer_webhook_webhook_credentials_dto import DesignerWebhookWebhookCredentialsDTO -from visier_platform_sdk.models.designer_webhook_webhook_dto import DesignerWebhookWebhookDTO -from visier_platform_sdk.models.designer_webhook_webhook_details_dto import DesignerWebhookWebhookDetailsDTO -from visier_platform_sdk.models.designer_webhook_webhook_event_type_dto import DesignerWebhookWebhookEventTypeDTO -from visier_platform_sdk.models.designer_webhook_webhook_message_response_dto import DesignerWebhookWebhookMessageResponseDTO -from visier_platform_sdk.models.designer_webhook_webhook_request_dto import DesignerWebhookWebhookRequestDTO -from visier_platform_sdk.models.designer_webhook_webhooks_dto import DesignerWebhookWebhooksDTO -from visier_platform_sdk.models.designer_willow_auth_params_dto import DesignerWillowAuthParamsDTO -from visier_platform_sdk.models.designer_workday_auth_params_dto import DesignerWorkdayAuthParamsDTO -from visier_platform_sdk.models.designer_workday_o_auth_params_dto import DesignerWorkdayOAuthParamsDTO -from visier_platform_sdk.models.designer_workday_raas_auth_params_dto import DesignerWorkdayRaasAuthParamsDTO -from visier_platform_sdk.models.designer_workday_refresh_token_params_dto import DesignerWorkdayRefreshTokenParamsDTO -from visier_platform_sdk.models.designer_zoom_auth_params_dto import DesignerZoomAuthParamsDTO +from visier_platform_sdk.models.designer_dimension_filter_dto import DesignerDimensionFilterDTO +from visier_platform_sdk.models.designer_selection_concept_dto import DesignerSelectionConceptDTO +from visier_platform_sdk.models.dimension_change_definition_dto import DimensionChangeDefinitionDTO +from visier_platform_sdk.models.dimension_change_definitions_by_tenant_dto import DimensionChangeDefinitionsByTenantDTO +from visier_platform_sdk.models.dimension_dto import DimensionDTO +from visier_platform_sdk.models.dimension_filter_dto import DimensionFilterDTO +from visier_platform_sdk.models.dimension_mapping_validation_dto import DimensionMappingValidationDTO +from visier_platform_sdk.models.dimension_mapping_validation_execution_dto import DimensionMappingValidationExecutionDTO from visier_platform_sdk.models.dimension_member import DimensionMember +from visier_platform_sdk.models.dimension_member_dto import DimensionMemberDTO +from visier_platform_sdk.models.dimension_member_reference_dto import DimensionMemberReferenceDTO +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from visier_platform_sdk.models.dimensions_auth_params_dto import DimensionsAuthParamsDTO +from visier_platform_sdk.models.dimensions_change_definitions_dto import DimensionsChangeDefinitionsDTO +from visier_platform_sdk.models.dimensions_dto import DimensionsDTO +from visier_platform_sdk.models.direct_data_job_config_dto import DirectDataJobConfigDTO +from visier_platform_sdk.models.direct_data_job_status_response_dto import DirectDataJobStatusResponseDTO +from visier_platform_sdk.models.direct_data_list_transactions_response_dto import DirectDataListTransactionsResponseDTO +from visier_platform_sdk.models.direct_data_load_config_dto import DirectDataLoadConfigDTO +from visier_platform_sdk.models.direct_data_schema_dto import DirectDataSchemaDTO +from visier_platform_sdk.models.direct_data_schema_field_dto import DirectDataSchemaFieldDTO +from visier_platform_sdk.models.direct_data_transaction_dto import DirectDataTransactionDTO +from visier_platform_sdk.models.direct_data_transaction_start_response_dto import DirectDataTransactionStartResponseDTO from visier_platform_sdk.models.direct_data_upload_file_response_dto import DirectDataUploadFileResponseDTO -from visier_platform_sdk.models.dp_automation_metric_validation_summary_dto import DpAutomationMetricValidationSummaryDTO -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_dto import DpAutomationTenantPreviewEntriesSummaryDTO -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_list_dto import DpAutomationTenantPreviewEntriesSummaryListDTO -from visier_platform_sdk.models.dp_cancel_job_batch_from_job_id_dto import DpCancelJobBatchFromJobIdDTO -from visier_platform_sdk.models.dp_job_cancellation_result_dto import DpJobCancellationResultDTO -from visier_platform_sdk.models.dp_job_cancellation_results_dto import DpJobCancellationResultsDTO +from visier_platform_sdk.models.disable_dv_model import DisableDVModel +from visier_platform_sdk.models.disable_dv_request import DisableDVRequest +from visier_platform_sdk.models.disable_dv_response import DisableDVResponse +from visier_platform_sdk.models.dispatching_job_status_response import DispatchingJobStatusResponse +from visier_platform_sdk.models.document_search_link_dto import DocumentSearchLinkDTO +from visier_platform_sdk.models.download_source_files_dto import DownloadSourceFilesDTO +from visier_platform_sdk.models.download_source_files_response_dto import DownloadSourceFilesResponseDTO from visier_platform_sdk.models.dv_export_status import DvExportStatus +from visier_platform_sdk.models.dynamic_dimension_filter_dto import DynamicDimensionFilterDTO +from visier_platform_sdk.models.dynamic_property_mapping_dto import DynamicPropertyMappingDTO +from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO +from visier_platform_sdk.models.email_domains_dto import EmailDomainsDTO +from visier_platform_sdk.models.error_dto import ErrorDTO +from visier_platform_sdk.models.exclude_data_uploads_request import ExcludeDataUploadsRequest +from visier_platform_sdk.models.excluded_sources_body import ExcludedSourcesBody +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from visier_platform_sdk.models.export_production_versions_api_operation_parameters_dto import ExportProductionVersionsAPIOperationParametersDTO +from visier_platform_sdk.models.extract_data_and_load_dto import ExtractDataAndLoadDTO from visier_platform_sdk.models.extracted_skill import ExtractedSkill +from visier_platform_sdk.models.extraction_job import ExtractionJob +from visier_platform_sdk.models.extraction_job_and_status_response import ExtractionJobAndStatusResponse +from visier_platform_sdk.models.extractor_credential_apidto import ExtractorCredentialAPIDTO +from visier_platform_sdk.models.extractor_credentials_apidto import ExtractorCredentialsAPIDTO +from visier_platform_sdk.models.extractor_setting_apidto import ExtractorSettingAPIDTO +from visier_platform_sdk.models.extractor_setting_key_value_apidto import ExtractorSettingKeyValueAPIDTO +from visier_platform_sdk.models.extractor_settings_apidto import ExtractorSettingsAPIDTO +from visier_platform_sdk.models.failed_accessible_tenant_profile_assignment_dto import FailedAccessibleTenantProfileAssignmentDTO +from visier_platform_sdk.models.failed_change_dto import FailedChangeDTO +from visier_platform_sdk.models.failed_local_tenant_profile_assignment_dto import FailedLocalTenantProfileAssignmentDTO +from visier_platform_sdk.models.failed_local_tenant_profile_revoke_dto import FailedLocalTenantProfileRevokeDTO +from visier_platform_sdk.models.fusion_auth_params_dto import FusionAuthParamsDTO from visier_platform_sdk.models.generate_impersonation_token_request import GenerateImpersonationTokenRequest -from visier_platform_sdk.models.google_protobuf_any import GoogleProtobufAny +from visier_platform_sdk.models.generate_key_request_dto import GenerateKeyRequestDTO +from visier_platform_sdk.models.get_capabilities_api_response_dto import GetCapabilitiesAPIResponseDTO +from visier_platform_sdk.models.get_content_packages_api_response_dto import GetContentPackagesAPIResponseDTO +from visier_platform_sdk.models.get_data_access_sets_api_response_dto import GetDataAccessSetsAPIResponseDTO +from visier_platform_sdk.models.get_data_security_objects_api_response_dto import GetDataSecurityObjectsAPIResponseDTO +from visier_platform_sdk.models.get_permissions_api_response_dto import GetPermissionsAPIResponseDTO +from visier_platform_sdk.models.get_plan_list_response_dto import GetPlanListResponseDTO +from visier_platform_sdk.models.get_production_versions_api_response_dto import GetProductionVersionsAPIResponseDTO +from visier_platform_sdk.models.get_projects_api_response_dto import GetProjectsAPIResponseDTO +from visier_platform_sdk.models.gong_auth_params_dto import GongAuthParamsDTO +from visier_platform_sdk.models.google_sheets_auth_params_dto import GoogleSheetsAuthParamsDTO +from visier_platform_sdk.models.google_workspace_auth_params_dto import GoogleWorkspaceAuthParamsDTO +from visier_platform_sdk.models.greenhouse_auth_params_dto import GreenhouseAuthParamsDTO from visier_platform_sdk.models.hierarchy import Hierarchy +from visier_platform_sdk.models.hierarchy_property_dto import HierarchyPropertyDTO +from visier_platform_sdk.models.home_analysis_by_user_group_dto import HomeAnalysisByUserGroupDTO +from visier_platform_sdk.models.icims_auth_params_dto import IcimsAuthParamsDTO +from visier_platform_sdk.models.import_definition_apidto import ImportDefinitionAPIDTO +from visier_platform_sdk.models.import_definitions_apidto import ImportDefinitionsAPIDTO +from visier_platform_sdk.models.include_data_uploads_request import IncludeDataUploadsRequest +from visier_platform_sdk.models.inherited_access_config_dto import InheritedAccessConfigDTO +from visier_platform_sdk.models.inherited_reference_member_filter_config_dto import InheritedReferenceMemberFilterConfigDTO +from visier_platform_sdk.models.internal_query_execution_options_dto import InternalQueryExecutionOptionsDTO +from visier_platform_sdk.models.internal_s3_auth_params_dto import InternalS3AuthParamsDTO +from visier_platform_sdk.models.jdbc_auth_params_dto import JdbcAuthParamsDTO +from visier_platform_sdk.models.jira_auth_params_dto import JiraAuthParamsDTO +from visier_platform_sdk.models.jira_connect_params_dto import JiraConnectParamsDTO from visier_platform_sdk.models.job import Job +from visier_platform_sdk.models.job_cancellation_result_dto import JobCancellationResultDTO +from visier_platform_sdk.models.job_cancellation_results_dto import JobCancellationResultsDTO from visier_platform_sdk.models.job_entry import JobEntry from visier_platform_sdk.models.job_feedback_input import JobFeedbackInput +from visier_platform_sdk.models.job_id_response import JobIdResponse from visier_platform_sdk.models.job_search_failure_output import JobSearchFailureOutput from visier_platform_sdk.models.job_search_input import JobSearchInput from visier_platform_sdk.models.job_search_output import JobSearchOutput from visier_platform_sdk.models.job_standardization_input import JobStandardizationInput from visier_platform_sdk.models.job_standardization_input_skills import JobStandardizationInputSkills +from visier_platform_sdk.models.job_status_list_response import JobStatusListResponse +from visier_platform_sdk.models.job_status_with_start_time import JobStatusWithStartTime +from visier_platform_sdk.models.key_group_filter_dto import KeyGroupFilterDTO +from visier_platform_sdk.models.key_group_filter_item_dto import KeyGroupFilterItemDTO +from visier_platform_sdk.models.key_name import KeyName +from visier_platform_sdk.models.key_pair_delete_response_dto import KeyPairDeleteResponseDTO +from visier_platform_sdk.models.key_pair_generate_request_dto import KeyPairGenerateRequestDTO +from visier_platform_sdk.models.last_login_dto import LastLoginDTO +from visier_platform_sdk.models.level_dto import LevelDTO +from visier_platform_sdk.models.lever_auth_params_dto import LeverAuthParamsDTO +from visier_platform_sdk.models.lineage_dto import LineageDTO +from visier_platform_sdk.models.list_query_execution_dto import ListQueryExecutionDTO +from visier_platform_sdk.models.list_query_execution_options_dto import ListQueryExecutionOptionsDTO +from visier_platform_sdk.models.list_query_source_dto import ListQuerySourceDTO +from visier_platform_sdk.models.list_response import ListResponse +from visier_platform_sdk.models.local_tenant_profile_assignment_request_dto import LocalTenantProfileAssignmentRequestDTO +from visier_platform_sdk.models.local_tenant_profile_assignment_response_dto import LocalTenantProfileAssignmentResponseDTO +from visier_platform_sdk.models.local_tenant_profile_revoke_request_dto import LocalTenantProfileRevokeRequestDTO +from visier_platform_sdk.models.local_tenant_profile_revoke_response_dto import LocalTenantProfileRevokeResponseDTO from visier_platform_sdk.models.location_search_failure_output import LocationSearchFailureOutput from visier_platform_sdk.models.location_search_input import LocationSearchInput from visier_platform_sdk.models.location_search_input1 import LocationSearchInput1 from visier_platform_sdk.models.location_search_output import LocationSearchOutput from visier_platform_sdk.models.location_search_successful_output import LocationSearchSuccessfulOutput +from visier_platform_sdk.models.mask_message import MaskMessage +from visier_platform_sdk.models.medallia_auth_params_dto import MedalliaAuthParamsDTO +from visier_platform_sdk.models.member_dto import MemberDTO +from visier_platform_sdk.models.member_filter_config_dto import MemberFilterConfigDTO +from visier_platform_sdk.models.member_filter_dto import MemberFilterDTO +from visier_platform_sdk.models.member_parameter_definition_dto import MemberParameterDefinitionDTO +from visier_platform_sdk.models.member_parameter_value_dto import MemberParameterValueDTO +from visier_platform_sdk.models.member_selection_dto import MemberSelectionDTO +from visier_platform_sdk.models.member_values_dto import MemberValuesDTO +from visier_platform_sdk.models.members_dto import MembersDTO +from visier_platform_sdk.models.metric_dto import MetricDTO +from visier_platform_sdk.models.metric_definition_dto import MetricDefinitionDTO +from visier_platform_sdk.models.metric_type_details_dto import MetricTypeDetailsDTO +from visier_platform_sdk.models.metric_validation_summary_dto import MetricValidationSummaryDTO +from visier_platform_sdk.models.metrics_dto import MetricsDTO +from visier_platform_sdk.models.microsoft365_auth_params_dto import Microsoft365AuthParamsDTO +from visier_platform_sdk.models.module_settings_dto import ModuleSettingsDTO +from visier_platform_sdk.models.multiple_tenant_data_versions_details_dto import MultipleTenantDataVersionsDetailsDTO +from visier_platform_sdk.models.multiple_tenant_data_versions_list_dto import MultipleTenantDataVersionsListDTO +from visier_platform_sdk.models.my_sql_auth_params_dto import MySqlAuthParamsDTO +from visier_platform_sdk.models.namely_auth_params_dto import NamelyAuthParamsDTO +from visier_platform_sdk.models.network_subnets_message_request import NetworkSubnetsMessageRequest +from visier_platform_sdk.models.network_subnets_message_response import NetworkSubnetsMessageResponse +from visier_platform_sdk.models.numeric_parameter_definition_dto import NumericParameterDefinitionDTO +from visier_platform_sdk.models.numeric_parameter_value_dto import NumericParameterValueDTO +from visier_platform_sdk.models.o_auth2_user_info_dto import OAuth2UserInfoDTO +from visier_platform_sdk.models.o_auth2_user_subnet_info_dto import OAuth2UserSubnetInfoDTO +from visier_platform_sdk.models.o_auth2_user_tenant_detail_dto import OAuth2UserTenantDetailDTO +from visier_platform_sdk.models.o_auth2_user_tenant_details_dto import OAuth2UserTenantDetailsDTO +from visier_platform_sdk.models.o_auth2_user_tenant_properties_dto import OAuth2UserTenantPropertiesDTO +from visier_platform_sdk.models.object_change_failure_dto import ObjectChangeFailureDTO +from visier_platform_sdk.models.object_change_success_dto import ObjectChangeSuccessDTO +from visier_platform_sdk.models.object_id_dto import ObjectIdDTO +from visier_platform_sdk.models.object_reference_dto import ObjectReferenceDTO +from visier_platform_sdk.models.objects_bulk_change_response_dto import ObjectsBulkChangeResponseDTO +from visier_platform_sdk.models.oracle_db_auth_params_dto import OracleDbAuthParamsDTO from visier_platform_sdk.models.output_entry import OutputEntry from visier_platform_sdk.models.output_entry1 import OutputEntry1 from visier_platform_sdk.models.output_entry1_matches_inner import OutputEntry1MatchesInner +from visier_platform_sdk.models.pair_dto import PairDTO +from visier_platform_sdk.models.parameter_definition_dto import ParameterDefinitionDTO +from visier_platform_sdk.models.permission_assigned_by_tenant_dto import PermissionAssignedByTenantDTO +from visier_platform_sdk.models.permission_assigned_for_local_tenant_dto import PermissionAssignedForLocalTenantDTO +from visier_platform_sdk.models.permission_assigned_user_dto import PermissionAssignedUserDTO +from visier_platform_sdk.models.permission_assigned_users_dto import PermissionAssignedUsersDTO +from visier_platform_sdk.models.permission_bulk_operation_response_dto import PermissionBulkOperationResponseDTO +from visier_platform_sdk.models.permission_dto import PermissionDTO +from visier_platform_sdk.models.permission_error_dto import PermissionErrorDTO +from visier_platform_sdk.models.permission_failure_dto import PermissionFailureDTO +from visier_platform_sdk.models.permission_response_dto import PermissionResponseDTO +from visier_platform_sdk.models.permission_success_dto import PermissionSuccessDTO +from visier_platform_sdk.models.permissions_list_dto import PermissionsListDTO +from visier_platform_sdk.models.permissions_to_user_group_for_tenant_dto import PermissionsToUserGroupForTenantDTO +from visier_platform_sdk.models.permissions_to_user_group_request_dto import PermissionsToUserGroupRequestDTO +from visier_platform_sdk.models.permissions_to_user_groups_request_dto import PermissionsToUserGroupsRequestDTO +from visier_platform_sdk.models.perspective_configuration_dto import PerspectiveConfigurationDTO +from visier_platform_sdk.models.perspective_node_dto import PerspectiveNodeDTO from visier_platform_sdk.models.plan_data_load_change_dto import PlanDataLoadChangeDTO from visier_platform_sdk.models.plan_data_load_change_list_dto import PlanDataLoadChangeListDTO +from visier_platform_sdk.models.plan_data_load_error_dto import PlanDataLoadErrorDTO from visier_platform_sdk.models.plan_data_upload_response_dto import PlanDataUploadResponseDTO +from visier_platform_sdk.models.plan_info_dto import PlanInfoDTO +from visier_platform_sdk.models.plan_item_dto import PlanItemDTO +from visier_platform_sdk.models.plan_parameter_definition_dto import PlanParameterDefinitionDTO +from visier_platform_sdk.models.plan_parameter_value_dto import PlanParameterValueDTO from visier_platform_sdk.models.plan_row_data_load_response_dto import PlanRowDataLoadResponseDTO -from visier_platform_sdk.models.planning_get_plan_list_response_dto import PlanningGetPlanListResponseDTO -from visier_platform_sdk.models.planning_plan_data_load_error_dto import PlanningPlanDataLoadErrorDTO -from visier_platform_sdk.models.planning_plan_info_dto import PlanningPlanInfoDTO -from visier_platform_sdk.models.planning_plan_item_dto import PlanningPlanItemDTO -from visier_platform_sdk.models.planning_plan_schema_dto import PlanningPlanSchemaDTO -from visier_platform_sdk.models.planning_plan_segment_level_dto import PlanningPlanSegmentLevelDTO -from visier_platform_sdk.models.planning_plan_segment_level_member_dto import PlanningPlanSegmentLevelMemberDTO -from visier_platform_sdk.models.planning_plan_segment_level_member_list_dto import PlanningPlanSegmentLevelMemberListDTO -from visier_platform_sdk.models.planning_plan_time_period_dto import PlanningPlanTimePeriodDTO -from visier_platform_sdk.models.planning_plan_with_schema_dto import PlanningPlanWithSchemaDTO -from visier_platform_sdk.models.planning_scenario_info_dto import PlanningScenarioInfoDTO +from visier_platform_sdk.models.plan_schema_dto import PlanSchemaDTO +from visier_platform_sdk.models.plan_segment_level_dto import PlanSegmentLevelDTO +from visier_platform_sdk.models.plan_segment_level_member_dto import PlanSegmentLevelMemberDTO +from visier_platform_sdk.models.plan_segment_level_member_list_dto import PlanSegmentLevelMemberListDTO +from visier_platform_sdk.models.plan_time_period_dto import PlanTimePeriodDTO +from visier_platform_sdk.models.plan_with_schema_dto import PlanWithSchemaDTO +from visier_platform_sdk.models.planning_concept_filter_context_dto import PlanningConceptFilterContextDTO +from visier_platform_sdk.models.planning_hierarchy_filter_context_dto import PlanningHierarchyFilterContextDTO +from visier_platform_sdk.models.planning_model_dto import PlanningModelDTO +from visier_platform_sdk.models.planning_models_dto import PlanningModelsDTO +from visier_platform_sdk.models.planning_plan_context_dto import PlanningPlanContextDTO +from visier_platform_sdk.models.planning_plan_dto import PlanningPlanDTO +from visier_platform_sdk.models.planning_plans_dto import PlanningPlansDTO +from visier_platform_sdk.models.population_configuration_dto import PopulationConfigurationDTO +from visier_platform_sdk.models.prediction_dto import PredictionDTO +from visier_platform_sdk.models.predictions_dto import PredictionsDTO +from visier_platform_sdk.models.process_concept_definition_dto import ProcessConceptDefinitionDTO +from visier_platform_sdk.models.process_concept_member_dto import ProcessConceptMemberDTO +from visier_platform_sdk.models.process_concept_member_list_dto import ProcessConceptMemberListDTO +from visier_platform_sdk.models.process_concept_metric_definition_dto import ProcessConceptMetricDefinitionDTO +from visier_platform_sdk.models.process_concept_metric_list_dto import ProcessConceptMetricListDTO +from visier_platform_sdk.models.process_concept_outcome_dto import ProcessConceptOutcomeDTO +from visier_platform_sdk.models.process_concept_outcome_list_dto import ProcessConceptOutcomeListDTO +from visier_platform_sdk.models.process_concept_property_list_dto import ProcessConceptPropertyListDTO +from visier_platform_sdk.models.process_concept_property_type_dto import ProcessConceptPropertyTypeDTO +from visier_platform_sdk.models.process_concept_stage_dto import ProcessConceptStageDTO +from visier_platform_sdk.models.process_concept_stage_list_dto import ProcessConceptStageListDTO +from visier_platform_sdk.models.processing_job import ProcessingJob +from visier_platform_sdk.models.processing_job_and_status_response import ProcessingJobAndStatusResponse +from visier_platform_sdk.models.processing_job_request_dto import ProcessingJobRequestDTO +from visier_platform_sdk.models.processing_job_status_response import ProcessingJobStatusResponse +from visier_platform_sdk.models.product_release_dto import ProductReleaseDTO +from visier_platform_sdk.models.product_releases_dto import ProductReleasesDTO +from visier_platform_sdk.models.product_version_dto import ProductVersionDTO +from visier_platform_sdk.models.product_versions_dto import ProductVersionsDTO +from visier_platform_sdk.models.product_versions_update_failure_tenant_response_dto import ProductVersionsUpdateFailureTenantResponseDTO +from visier_platform_sdk.models.product_versions_update_response_dto import ProductVersionsUpdateResponseDTO +from visier_platform_sdk.models.product_versions_update_successful_tenant_response_dto import ProductVersionsUpdateSuccessfulTenantResponseDTO +from visier_platform_sdk.models.production_version_api_operation_request_dto import ProductionVersionAPIOperationRequestDTO +from visier_platform_sdk.models.production_version_api_operation_response_dto import ProductionVersionAPIOperationResponseDTO +from visier_platform_sdk.models.production_versions_api_operation_request_dto import ProductionVersionsAPIOperationRequestDTO +from visier_platform_sdk.models.production_versions_api_operation_response_dto import ProductionVersionsAPIOperationResponseDTO +from visier_platform_sdk.models.profile_assigned_for_accessible_tenant_dto import ProfileAssignedForAccessibleTenantDTO +from visier_platform_sdk.models.profile_assigned_for_local_tenant_dto import ProfileAssignedForLocalTenantDTO +from visier_platform_sdk.models.profile_get_api_response_dto import ProfileGetAPIResponseDTO +from visier_platform_sdk.models.profiles_get_api_response_dto import ProfilesGetAPIResponseDTO +from visier_platform_sdk.models.project_commits_api_response_dto import ProjectCommitsAPIResponseDTO +from visier_platform_sdk.models.project_dto import ProjectDTO +from visier_platform_sdk.models.project_operation_request_dto import ProjectOperationRequestDTO +from visier_platform_sdk.models.project_operation_response_dto import ProjectOperationResponseDTO +from visier_platform_sdk.models.properties_change_definitions_dto import PropertiesChangeDefinitionsDTO +from visier_platform_sdk.models.properties_dto import PropertiesDTO +from visier_platform_sdk.models.properties_delete_definitions_dto import PropertiesDeleteDefinitionsDTO +from visier_platform_sdk.models.property_access_config_dto import PropertyAccessConfigDTO +from visier_platform_sdk.models.property_bulk_delete_response_dto import PropertyBulkDeleteResponseDTO +from visier_platform_sdk.models.property_change_definition_dto import PropertyChangeDefinitionDTO +from visier_platform_sdk.models.property_change_definitions_by_tenant_dto import PropertyChangeDefinitionsByTenantDTO +from visier_platform_sdk.models.property_column_dto import PropertyColumnDTO +from visier_platform_sdk.models.property_dto import PropertyDTO +from visier_platform_sdk.models.property_definition_dto import PropertyDefinitionDTO +from visier_platform_sdk.models.property_delete_definitions_by_tenant_dto import PropertyDeleteDefinitionsByTenantDTO +from visier_platform_sdk.models.property_delete_failure_dto import PropertyDeleteFailureDTO +from visier_platform_sdk.models.property_delete_success_dto import PropertyDeleteSuccessDTO +from visier_platform_sdk.models.property_reference_dto import PropertyReferenceDTO +from visier_platform_sdk.models.property_set_config_dto import PropertySetConfigDTO +from visier_platform_sdk.models.property_type_dto import PropertyTypeDTO +from visier_platform_sdk.models.property_type_details_dto import PropertyTypeDetailsDTO +from visier_platform_sdk.models.public_key_dto import PublicKeyDTO +from visier_platform_sdk.models.public_keys_dto import PublicKeysDTO +from visier_platform_sdk.models.push_data_cancel_response import PushDataCancelResponse +from visier_platform_sdk.models.push_data_column_definition_dto import PushDataColumnDefinitionDTO +from visier_platform_sdk.models.push_data_complete_request import PushDataCompleteRequest +from visier_platform_sdk.models.push_data_complete_response import PushDataCompleteResponse +from visier_platform_sdk.models.push_data_response import PushDataResponse +from visier_platform_sdk.models.push_data_source_definition_dto import PushDataSourceDefinitionDTO +from visier_platform_sdk.models.push_data_source_definitions_dto import PushDataSourceDefinitionsDTO +from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest +from visier_platform_sdk.models.qualtrics_auth_params_dto import QualtricsAuthParamsDTO +from visier_platform_sdk.models.query_axis_dto import QueryAxisDTO +from visier_platform_sdk.models.query_axis_options_dto import QueryAxisOptionsDTO +from visier_platform_sdk.models.query_dimension_data_member_selection_dto import QueryDimensionDataMemberSelectionDTO +from visier_platform_sdk.models.query_dimension_leaf_selection_dto import QueryDimensionLeafSelectionDTO +from visier_platform_sdk.models.query_dimension_level_property_dto import QueryDimensionLevelPropertyDTO +from visier_platform_sdk.models.query_dimension_level_selection_dto import QueryDimensionLevelSelectionDTO +from visier_platform_sdk.models.query_dimension_member_selection_dto import QueryDimensionMemberSelectionDTO +from visier_platform_sdk.models.query_execution_error_dto import QueryExecutionErrorDTO +from visier_platform_sdk.models.query_execution_error_details_dto import QueryExecutionErrorDetailsDTO +from visier_platform_sdk.models.query_execution_errors_dto import QueryExecutionErrorsDTO +from visier_platform_sdk.models.query_execution_options_dto import QueryExecutionOptionsDTO +from visier_platform_sdk.models.query_filter_dto import QueryFilterDTO +from visier_platform_sdk.models.query_member_map_property_dto import QueryMemberMapPropertyDTO +from visier_platform_sdk.models.query_member_map_selection_dto import QueryMemberMapSelectionDTO +from visier_platform_sdk.models.query_numeric_ranges_dto import QueryNumericRangesDTO +from visier_platform_sdk.models.query_parameter_value_dto import QueryParameterValueDTO +from visier_platform_sdk.models.query_property_dto import QueryPropertyDTO +from visier_platform_sdk.models.query_time_interval_dto import QueryTimeIntervalDTO +from visier_platform_sdk.models.query_time_intervals_dto import QueryTimeIntervalsDTO +from visier_platform_sdk.models.question_categories_api_response_dto import QuestionCategoriesAPIResponseDTO +from visier_platform_sdk.models.question_category_api_response_dto import QuestionCategoryAPIResponseDTO +from visier_platform_sdk.models.receiving_job import ReceivingJob +from visier_platform_sdk.models.receiving_job_and_status_response import ReceivingJobAndStatusResponse +from visier_platform_sdk.models.receiving_job_status_response import ReceivingJobStatusResponse +from visier_platform_sdk.models.redshift_auth_params_dto import RedshiftAuthParamsDTO +from visier_platform_sdk.models.reduced_error_dto import ReducedErrorDTO +from visier_platform_sdk.models.reduced_tenant_code_error_dto import ReducedTenantCodeErrorDTO +from visier_platform_sdk.models.reduced_user_id_error_dto import ReducedUserIdErrorDTO +from visier_platform_sdk.models.related_analytic_object_dto import RelatedAnalyticObjectDTO +from visier_platform_sdk.models.report_create_request_dto import ReportCreateRequestDTO +from visier_platform_sdk.models.report_dto import ReportDTO +from visier_platform_sdk.models.report_delete_success_dto import ReportDeleteSuccessDTO +from visier_platform_sdk.models.report_list_response_dto import ReportListResponseDTO +from visier_platform_sdk.models.result import Result +from visier_platform_sdk.models.role_modules_config_dto import RoleModulesConfigDTO from visier_platform_sdk.models.salary_benchmark_input import SalaryBenchmarkInput from visier_platform_sdk.models.salary_benchmarks_batch_processing_failure_output import SalaryBenchmarksBatchProcessingFailureOutput from visier_platform_sdk.models.salary_benchmarks_batch_processing_outputs import SalaryBenchmarksBatchProcessingOutputs from visier_platform_sdk.models.salary_benchmarks_batch_processing_successful_output import SalaryBenchmarksBatchProcessingSuccessfulOutput -from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_request_dto import ServicingAccessibleTenantProfileAssignmentRequestDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_response_dto import ServicingAccessibleTenantProfileAssignmentResponseDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_request_dto import ServicingAccessibleTenantProfileRevokeRequestDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_response_dto import ServicingAccessibleTenantProfileRevokeResponseDTO -from visier_platform_sdk.models.servicing_additional_capabilities_dto import ServicingAdditionalCapabilitiesDTO -from visier_platform_sdk.models.servicing_admin_capability_config_dto import ServicingAdminCapabilityConfigDTO -from visier_platform_sdk.models.servicing_all_permissions_assigned_for_local_tenant_dto import ServicingAllPermissionsAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_all_profile_assigned_for_accessible_tenant_dto import ServicingAllProfileAssignedForAccessibleTenantDTO -from visier_platform_sdk.models.servicing_all_profile_assigned_for_local_tenant_dto import ServicingAllProfileAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_all_user_groups_assigned_for_local_tenant_dto import ServicingAllUserGroupsAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_all_users_get_api_response_dto import ServicingAllUsersGetAPIResponseDTO -from visier_platform_sdk.models.servicing_analytic_object_dto import ServicingAnalyticObjectDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_permission_dto import ServicingAssignRevokePermissionByPermissionDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_tenant_dto import ServicingAssignRevokePermissionByTenantDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_user_dto import ServicingAssignRevokePermissionByUserDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_request_dto import ServicingAssignRevokePermissionRequestDTO -from visier_platform_sdk.models.servicing_assign_revoke_permissions_request_dto import ServicingAssignRevokePermissionsRequestDTO -from visier_platform_sdk.models.servicing_assign_revoke_permissions_response_dto import ServicingAssignRevokePermissionsResponseDTO -from visier_platform_sdk.models.servicing_bulk_data_access_set_response_dto import ServicingBulkDataAccessSetResponseDTO -from visier_platform_sdk.models.servicing_capabilities_dto import ServicingCapabilitiesDTO -from visier_platform_sdk.models.servicing_capability_dto import ServicingCapabilityDTO -from visier_platform_sdk.models.servicing_capability_group_dto import ServicingCapabilityGroupDTO -from visier_platform_sdk.models.servicing_clone_files_into_source_parameters_dto import ServicingCloneFilesIntoSourceParametersDTO -from visier_platform_sdk.models.servicing_commit_and_publish_operation_response_dto import ServicingCommitAndPublishOperationResponseDTO -from visier_platform_sdk.models.servicing_commit_dto import ServicingCommitDTO -from visier_platform_sdk.models.servicing_content_package_dto import ServicingContentPackageDTO -from visier_platform_sdk.models.servicing_create_data_access_set_request_dto import ServicingCreateDataAccessSetRequestDTO -from visier_platform_sdk.models.servicing_data_access_set_dto import ServicingDataAccessSetDTO -from visier_platform_sdk.models.servicing_data_access_set_error_dto import ServicingDataAccessSetErrorDTO -from visier_platform_sdk.models.servicing_data_access_set_failure_dto import ServicingDataAccessSetFailureDTO -from visier_platform_sdk.models.servicing_data_access_set_success_dto import ServicingDataAccessSetSuccessDTO -from visier_platform_sdk.models.servicing_data_categories_response_dto import ServicingDataCategoriesResponseDTO -from visier_platform_sdk.models.servicing_data_category_response_dto import ServicingDataCategoryResponseDTO -from visier_platform_sdk.models.servicing_data_security_profile_dto import ServicingDataSecurityProfileDTO -from visier_platform_sdk.models.servicing_date_range_dto import ServicingDateRangeDTO -from visier_platform_sdk.models.servicing_delete_permissions_request_dto import ServicingDeletePermissionsRequestDTO -from visier_platform_sdk.models.servicing_dimension_filter_dto import ServicingDimensionFilterDTO -from visier_platform_sdk.models.servicing_direct_data_job_config_dto import ServicingDirectDataJobConfigDTO -from visier_platform_sdk.models.servicing_direct_data_job_status_response_dto import ServicingDirectDataJobStatusResponseDTO -from visier_platform_sdk.models.servicing_direct_data_list_transactions_response_dto import ServicingDirectDataListTransactionsResponseDTO -from visier_platform_sdk.models.servicing_direct_data_load_config_dto import ServicingDirectDataLoadConfigDTO -from visier_platform_sdk.models.servicing_direct_data_schema_dto import ServicingDirectDataSchemaDTO -from visier_platform_sdk.models.servicing_direct_data_schema_field_dto import ServicingDirectDataSchemaFieldDTO -from visier_platform_sdk.models.servicing_direct_data_transaction_dto import ServicingDirectDataTransactionDTO -from visier_platform_sdk.models.servicing_direct_data_transaction_start_response_dto import ServicingDirectDataTransactionStartResponseDTO +from visier_platform_sdk.models.salesforce_auth_params_dto import SalesforceAuthParamsDTO +from visier_platform_sdk.models.salesforce_v2_auth_params_dto import SalesforceV2AuthParamsDTO +from visier_platform_sdk.models.sample_question_api_response_dto import SampleQuestionAPIResponseDTO +from visier_platform_sdk.models.sample_questions_api_response_dto import SampleQuestionsAPIResponseDTO +from visier_platform_sdk.models.scenario_info_dto import ScenarioInfoDTO +from visier_platform_sdk.models.scenario_or_snapshot_dto import ScenarioOrSnapshotDTO +from visier_platform_sdk.models.securable_dimension_dto import SecurableDimensionDTO +from visier_platform_sdk.models.securable_property_dto import SecurablePropertyDTO +from visier_platform_sdk.models.security_assignment_response_dto import SecurityAssignmentResponseDTO +from visier_platform_sdk.models.selection_concept_configuration_dto import SelectionConceptConfigurationDTO +from visier_platform_sdk.models.selection_concept_configuration_map_dto import SelectionConceptConfigurationMapDTO +from visier_platform_sdk.models.selection_concept_dto import SelectionConceptDTO +from visier_platform_sdk.models.selection_concept_list_dto import SelectionConceptListDTO +from visier_platform_sdk.models.selection_concept_reference_dto import SelectionConceptReferenceDTO +from visier_platform_sdk.models.selection_concepts_dto import SelectionConceptsDTO +from visier_platform_sdk.models.service_now_auth_params_dto import ServiceNowAuthParamsDTO +from visier_platform_sdk.models.service_now_v2_auth_params_dto import ServiceNowV2AuthParamsDTO +from visier_platform_sdk.models.servicing_capability_proto_enum_access_lookup_dto import ServicingCapabilityProtoEnumAccessLookupDTO from visier_platform_sdk.models.servicing_direct_data_upload_file_response_dto import ServicingDirectDataUploadFileResponseDTO -from visier_platform_sdk.models.servicing_document_search_link_dto import ServicingDocumentSearchLinkDTO -from visier_platform_sdk.models.servicing_dynamic_dimension_filter_dto import ServicingDynamicDimensionFilterDTO -from visier_platform_sdk.models.servicing_dynamic_property_mapping_dto import ServicingDynamicPropertyMappingDTO -from visier_platform_sdk.models.servicing_error_dto import ServicingErrorDTO -from visier_platform_sdk.models.servicing_export_production_versions_api_operation_parameters_dto import ServicingExportProductionVersionsAPIOperationParametersDTO -from visier_platform_sdk.models.servicing_failed_accessible_tenant_profile_assignment_dto import ServicingFailedAccessibleTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_failed_local_tenant_profile_assignment_dto import ServicingFailedLocalTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_failed_local_tenant_profile_revoke_dto import ServicingFailedLocalTenantProfileRevokeDTO -from visier_platform_sdk.models.servicing_get_capabilities_api_response_dto import ServicingGetCapabilitiesAPIResponseDTO -from visier_platform_sdk.models.servicing_get_content_packages_api_response_dto import ServicingGetContentPackagesAPIResponseDTO -from visier_platform_sdk.models.servicing_get_data_access_sets_api_response_dto import ServicingGetDataAccessSetsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_data_security_objects_api_response_dto import ServicingGetDataSecurityObjectsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_permissions_api_response_dto import ServicingGetPermissionsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_production_versions_api_response_dto import ServicingGetProductionVersionsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_projects_api_response_dto import ServicingGetProjectsAPIResponseDTO -from visier_platform_sdk.models.servicing_hierarchy_property_dto import ServicingHierarchyPropertyDTO -from visier_platform_sdk.models.servicing_inherited_access_config_dto import ServicingInheritedAccessConfigDTO -from visier_platform_sdk.models.servicing_inherited_reference_member_filter_config_dto import ServicingInheritedReferenceMemberFilterConfigDTO -from visier_platform_sdk.models.servicing_job_id_response import ServicingJobIdResponse -from visier_platform_sdk.models.servicing_last_login_dto import ServicingLastLoginDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_request_dto import ServicingLocalTenantProfileAssignmentRequestDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_response_dto import ServicingLocalTenantProfileAssignmentResponseDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_request_dto import ServicingLocalTenantProfileRevokeRequestDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_response_dto import ServicingLocalTenantProfileRevokeResponseDTO -from visier_platform_sdk.models.servicing_member_filter_config_dto import ServicingMemberFilterConfigDTO -from visier_platform_sdk.models.servicing_member_selection_dto import ServicingMemberSelectionDTO -from visier_platform_sdk.models.servicing_objectconfiguration_calculated_property_type_dto import ServicingObjectconfigurationCalculatedPropertyTypeDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dependent_dto import ServicingObjectconfigurationDependentDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dimension_change_definition_dto import ServicingObjectconfigurationDimensionChangeDefinitionDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto import ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dimensions_change_definitions_dto import ServicingObjectconfigurationDimensionsChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_object_change_failure_dto import ServicingObjectconfigurationObjectChangeFailureDTO -from visier_platform_sdk.models.servicing_objectconfiguration_object_change_success_dto import ServicingObjectconfigurationObjectChangeSuccessDTO -from visier_platform_sdk.models.servicing_objectconfiguration_objects_bulk_change_response_dto import ServicingObjectconfigurationObjectsBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_objectconfiguration_properties_change_definitions_dto import ServicingObjectconfigurationPropertiesChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_properties_delete_definitions_dto import ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_bulk_delete_response_dto import ServicingObjectconfigurationPropertyBulkDeleteResponseDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_change_definition_dto import ServicingObjectconfigurationPropertyChangeDefinitionDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_change_definitions_by_tenant_dto import ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_definitions_by_tenant_dto import ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_failure_dto import ServicingObjectconfigurationPropertyDeleteFailureDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_success_dto import ServicingObjectconfigurationPropertyDeleteSuccessDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_type_dto import ServicingObjectconfigurationPropertyTypeDTO -from visier_platform_sdk.models.servicing_objectconfiguration_simple_property_type_dto import ServicingObjectconfigurationSimplePropertyTypeDTO -from visier_platform_sdk.models.servicing_objectconfiguration_tags_dto import ServicingObjectconfigurationTagsDTO -from visier_platform_sdk.models.servicing_permission_assigned_by_tenant_dto import ServicingPermissionAssignedByTenantDTO -from visier_platform_sdk.models.servicing_permission_assigned_for_local_tenant_dto import ServicingPermissionAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_permission_assigned_user_dto import ServicingPermissionAssignedUserDTO -from visier_platform_sdk.models.servicing_permission_assigned_users_dto import ServicingPermissionAssignedUsersDTO -from visier_platform_sdk.models.servicing_permission_bulk_operation_response_dto import ServicingPermissionBulkOperationResponseDTO -from visier_platform_sdk.models.servicing_permission_dto import ServicingPermissionDTO -from visier_platform_sdk.models.servicing_permission_error_dto import ServicingPermissionErrorDTO -from visier_platform_sdk.models.servicing_permission_failure_dto import ServicingPermissionFailureDTO -from visier_platform_sdk.models.servicing_permission_success_dto import ServicingPermissionSuccessDTO -from visier_platform_sdk.models.servicing_production_version_api_operation_request_dto import ServicingProductionVersionAPIOperationRequestDTO -from visier_platform_sdk.models.servicing_production_version_api_operation_response_dto import ServicingProductionVersionAPIOperationResponseDTO -from visier_platform_sdk.models.servicing_production_versions_api_operation_request_dto import ServicingProductionVersionsAPIOperationRequestDTO -from visier_platform_sdk.models.servicing_production_versions_api_operation_response_dto import ServicingProductionVersionsAPIOperationResponseDTO -from visier_platform_sdk.models.servicing_profile_assigned_for_accessible_tenant_dto import ServicingProfileAssignedForAccessibleTenantDTO -from visier_platform_sdk.models.servicing_profile_assigned_for_local_tenant_dto import ServicingProfileAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_profile_get_api_response_dto import ServicingProfileGetAPIResponseDTO -from visier_platform_sdk.models.servicing_profiles_get_api_response_dto import ServicingProfilesGetAPIResponseDTO -from visier_platform_sdk.models.servicing_project_commits_api_response_dto import ServicingProjectCommitsAPIResponseDTO -from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO -from visier_platform_sdk.models.servicing_project_operation_request_dto import ServicingProjectOperationRequestDTO -from visier_platform_sdk.models.servicing_project_operation_response_dto import ServicingProjectOperationResponseDTO -from visier_platform_sdk.models.servicing_property_access_config_dto import ServicingPropertyAccessConfigDTO -from visier_platform_sdk.models.servicing_property_set_config_dto import ServicingPropertySetConfigDTO -from visier_platform_sdk.models.servicing_question_categories_api_response_dto import ServicingQuestionCategoriesAPIResponseDTO -from visier_platform_sdk.models.servicing_question_category_api_response_dto import ServicingQuestionCategoryAPIResponseDTO -from visier_platform_sdk.models.servicing_reduced_error_dto import ServicingReducedErrorDTO -from visier_platform_sdk.models.servicing_reduced_tenant_code_error_dto import ServicingReducedTenantCodeErrorDTO -from visier_platform_sdk.models.servicing_reduced_user_id_error_dto import ServicingReducedUserIdErrorDTO -from visier_platform_sdk.models.servicing_related_analytic_object_dto import ServicingRelatedAnalyticObjectDTO -from visier_platform_sdk.models.servicing_role_modules_config_dto import ServicingRoleModulesConfigDTO -from visier_platform_sdk.models.servicing_sample_question_api_response_dto import ServicingSampleQuestionAPIResponseDTO -from visier_platform_sdk.models.servicing_sample_questions_api_response_dto import ServicingSampleQuestionsAPIResponseDTO -from visier_platform_sdk.models.servicing_securable_dimension_dto import ServicingSecurableDimensionDTO -from visier_platform_sdk.models.servicing_securable_property_dto import ServicingSecurablePropertyDTO -from visier_platform_sdk.models.servicing_servicing_capability_proto_enum_access_lookup_dto import ServicingServicingCapabilityProtoEnumAccessLookupDTO -from visier_platform_sdk.models.servicing_shareable_data_access_set import ServicingShareableDataAccessSet -from visier_platform_sdk.models.servicing_simple_document_header_search_response_dto import ServicingSimpleDocumentHeaderSearchResponseDTO -from visier_platform_sdk.models.servicing_simple_document_header_search_result_dto import ServicingSimpleDocumentHeaderSearchResultDTO -from visier_platform_sdk.models.servicing_sources_api_operation_request_dto import ServicingSourcesAPIOperationRequestDTO -from visier_platform_sdk.models.servicing_static_dimension_filter_dto import ServicingStaticDimensionFilterDTO -from visier_platform_sdk.models.servicing_successful_accessible_tenant_profile_assignment_dto import ServicingSuccessfulAccessibleTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_successful_local_tenant_profile_assignment_dto import ServicingSuccessfulLocalTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_target_tenant_code_dto import ServicingTargetTenantCodeDTO -from visier_platform_sdk.models.servicing_tenant_code_error_dto import ServicingTenantCodeErrorDTO -from visier_platform_sdk.models.servicing_tenant_data_upload_status_response_dto import ServicingTenantDataUploadStatusResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_upload_update_status_response_dto import ServicingTenantDataUploadUpdateStatusResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_uploads_list_response_dto import ServicingTenantDataUploadsListResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_uploads_response_dto import ServicingTenantDataUploadsResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_uploads_update_response_dto import ServicingTenantDataUploadsUpdateResponseDTO -from visier_platform_sdk.models.servicing_user_creation_api_request_dto import ServicingUserCreationAPIRequestDTO -from visier_platform_sdk.models.servicing_user_get_api_response_dto import ServicingUserGetAPIResponseDTO -from visier_platform_sdk.models.servicing_user_group_assigned_for_local_tenant_dto import ServicingUserGroupAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_user_group_assignment_dto import ServicingUserGroupAssignmentDTO -from visier_platform_sdk.models.servicing_user_id_error_dto import ServicingUserIdErrorDTO -from visier_platform_sdk.models.servicing_user_property_dto import ServicingUserPropertyDTO -from visier_platform_sdk.models.servicing_user_update_api_request_dto import ServicingUserUpdateAPIRequestDTO -from visier_platform_sdk.models.servicing_users_api_error_message_dto import ServicingUsersAPIErrorMessageDTO -from visier_platform_sdk.models.servicing_users_api_failure_dto import ServicingUsersAPIFailureDTO -from visier_platform_sdk.models.servicing_users_api_response_dto import ServicingUsersAPIResponseDTO -from visier_platform_sdk.models.servicing_users_api_success_dto import ServicingUsersAPISuccessDTO -from visier_platform_sdk.models.servicing_users_creation_api_request_dto import ServicingUsersCreationAPIRequestDTO -from visier_platform_sdk.models.servicing_users_delete_api_request_dto import ServicingUsersDeleteAPIRequestDTO -from visier_platform_sdk.models.servicing_users_update_api_request_dto import ServicingUsersUpdateAPIRequestDTO -from visier_platform_sdk.models.servicing_users_update_api_user_dto import ServicingUsersUpdateAPIUserDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_definition_dto import ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_request_dto import ServicingV2ObjectconfigurationAnalyticObjectRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_with_context_dto import ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_basic_information_dto import ServicingV2ObjectconfigurationBasicInformationDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_bulk_change_response_dto import ServicingV2ObjectconfigurationBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_calculated_property_type_dto import ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_definition_dto import ServicingV2ObjectconfigurationConceptDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_delete_request_dto import ServicingV2ObjectconfigurationConceptDeleteRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_delete_with_context_dto import ServicingV2ObjectconfigurationConceptDeleteWithContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_request_dto import ServicingV2ObjectconfigurationConceptRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_response_dto import ServicingV2ObjectconfigurationConceptResponseDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_type_details_dto import ServicingV2ObjectconfigurationConceptTypeDetailsDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_with_context_dto import ServicingV2ObjectconfigurationConceptWithContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_execution_context_dto import ServicingV2ObjectconfigurationExecutionContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_failed_change_dto import ServicingV2ObjectconfigurationFailedChangeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_metric_definition_dto import ServicingV2ObjectconfigurationMetricDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_metric_type_details_dto import ServicingV2ObjectconfigurationMetricTypeDetailsDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_object_id_dto import ServicingV2ObjectconfigurationObjectIdDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_definition_dto import ServicingV2ObjectconfigurationProcessConceptDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_dto import ServicingV2ObjectconfigurationProcessConceptMemberDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_list_dto import ServicingV2ObjectconfigurationProcessConceptMemberListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_metric_definition_dto import ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_metric_list_dto import ServicingV2ObjectconfigurationProcessConceptMetricListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_outcome_dto import ServicingV2ObjectconfigurationProcessConceptOutcomeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_outcome_list_dto import ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_property_list_dto import ServicingV2ObjectconfigurationProcessConceptPropertyListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_property_type_dto import ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_stage_dto import ServicingV2ObjectconfigurationProcessConceptStageDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_stage_list_dto import ServicingV2ObjectconfigurationProcessConceptStageListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_property_definition_dto import ServicingV2ObjectconfigurationPropertyDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_property_type_details_dto import ServicingV2ObjectconfigurationPropertyTypeDetailsDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_simple_property_type_dto import ServicingV2ObjectconfigurationSimplePropertyTypeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_successful_change_dto import ServicingV2ObjectconfigurationSuccessfulChangeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_synonym_list_dto import ServicingV2ObjectconfigurationSynonymListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_tag_reference_dto import ServicingV2ObjectconfigurationTagReferenceDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_tag_reference_list_dto import ServicingV2ObjectconfigurationTagReferenceListDTO -from visier_platform_sdk.models.servicing_vee_question_change_definition_dto import ServicingVeeQuestionChangeDefinitionDTO -from visier_platform_sdk.models.servicing_vee_question_change_definitions_by_tenant_dto import ServicingVeeQuestionChangeDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_vee_question_change_failure_dto import ServicingVeeQuestionChangeFailureDTO -from visier_platform_sdk.models.servicing_vee_question_change_success_dto import ServicingVeeQuestionChangeSuccessDTO -from visier_platform_sdk.models.servicing_vee_question_delete_definitions_by_tenant_dto import ServicingVeeQuestionDeleteDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_vee_questions_bulk_change_response_dto import ServicingVeeQuestionsBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_vee_questions_change_definitions_dto import ServicingVeeQuestionsChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_vee_questions_delete_definitions_dto import ServicingVeeQuestionsDeleteDefinitionsDTO +from visier_platform_sdk.models.set_connector_setting_request_dto import SetConnectorSettingRequestDTO +from visier_platform_sdk.models.set_connector_setting_response_dto import SetConnectorSettingResponseDTO +from visier_platform_sdk.models.set_connector_settings_request_dto import SetConnectorSettingsRequestDTO +from visier_platform_sdk.models.set_connector_settings_response_dto import SetConnectorSettingsResponseDTO +from visier_platform_sdk.models.shareable_data_access_set import ShareableDataAccessSet +from visier_platform_sdk.models.simple_document_header_search_response_dto import SimpleDocumentHeaderSearchResponseDTO +from visier_platform_sdk.models.simple_document_header_search_result_dto import SimpleDocumentHeaderSearchResultDTO +from visier_platform_sdk.models.simple_property_type_dto import SimplePropertyTypeDTO +from visier_platform_sdk.models.simple_user_dto import SimpleUserDTO from visier_platform_sdk.models.skill import Skill from visier_platform_sdk.models.skill_category import SkillCategory from visier_platform_sdk.models.skill_category_entry import SkillCategoryEntry @@ -677,12 +543,146 @@ from visier_platform_sdk.models.skill_group import SkillGroup from visier_platform_sdk.models.skill_group_entry import SkillGroupEntry from visier_platform_sdk.models.skill_match_input import SkillMatchInput +from visier_platform_sdk.models.slack_auth_params_dto import SlackAuthParamsDTO +from visier_platform_sdk.models.snapshot_query_execution_dto import SnapshotQueryExecutionDTO +from visier_platform_sdk.models.snapshot_query_execution_options_dto import SnapshotQueryExecutionOptionsDTO +from visier_platform_sdk.models.snowflake_auth_params_dto import SnowflakeAuthParamsDTO +from visier_platform_sdk.models.sort_option_dto import SortOptionDTO +from visier_platform_sdk.models.source import Source from visier_platform_sdk.models.source_import_result_summary_dto import SourceImportResultSummaryDTO +from visier_platform_sdk.models.sources_api_operation_request_dto import SourcesAPIOperationRequestDTO from visier_platform_sdk.models.sources_api_put_response_dto import SourcesAPIPutResponseDTO from visier_platform_sdk.models.sql_like200_response import SqlLike200Response +from visier_platform_sdk.models.sql_like_query_execution_dto import SqlLikeQueryExecutionDTO +from visier_platform_sdk.models.sql_server_auth_params_dto import SqlServerAuthParamsDTO +from visier_platform_sdk.models.start_extraction_response import StartExtractionResponse +from visier_platform_sdk.models.start_transfer_response import StartTransferResponse +from visier_platform_sdk.models.static_dimension_filter_dto import StaticDimensionFilterDTO from visier_platform_sdk.models.status import Status -from visier_platform_sdk.models.systemstatus_system_status_dto import SystemstatusSystemStatusDTO -from visier_platform_sdk.models.systemstatus_vee_status_dto import SystemstatusVeeStatusDTO +from visier_platform_sdk.models.subject_missing_access_dto import SubjectMissingAccessDTO +from visier_platform_sdk.models.success_factors_auth_params_dto import SuccessFactorsAuthParamsDTO +from visier_platform_sdk.models.success_factors_o_auth_params_dto import SuccessFactorsOAuthParamsDTO +from visier_platform_sdk.models.successful_accessible_tenant_profile_assignment_dto import SuccessfulAccessibleTenantProfileAssignmentDTO +from visier_platform_sdk.models.successful_change_dto import SuccessfulChangeDTO +from visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto import SuccessfulLocalTenantProfileAssignmentDTO +from visier_platform_sdk.models.synonym_list_dto import SynonymListDTO +from visier_platform_sdk.models.system_status_dto import SystemStatusDTO from visier_platform_sdk.models.table_response_dto import TableResponseDTO +from visier_platform_sdk.models.tag_map_element_dto import TagMapElementDTO +from visier_platform_sdk.models.tag_reference_dto import TagReferenceDTO +from visier_platform_sdk.models.tag_reference_list_dto import TagReferenceListDTO +from visier_platform_sdk.models.tags_dto import TagsDTO +from visier_platform_sdk.models.target_project_for_tenant_dto import TargetProjectForTenantDTO +from visier_platform_sdk.models.target_project_for_tenants_list_dto import TargetProjectForTenantsListDTO +from visier_platform_sdk.models.target_tenant_code_dto import TargetTenantCodeDTO +from visier_platform_sdk.models.tenant import Tenant +from visier_platform_sdk.models.tenant_and_credential import TenantAndCredential +from visier_platform_sdk.models.tenant_assignments_dto import TenantAssignmentsDTO +from visier_platform_sdk.models.tenant_code_body import TenantCodeBody +from visier_platform_sdk.models.tenant_code_error_dto import TenantCodeErrorDTO +from visier_platform_sdk.models.tenant_connector_settings_request_dto import TenantConnectorSettingsRequestDTO +from visier_platform_sdk.models.tenant_data_upload_status_response_dto import TenantDataUploadStatusResponseDTO +from visier_platform_sdk.models.tenant_data_upload_update_status_response_dto import TenantDataUploadUpdateStatusResponseDTO +from visier_platform_sdk.models.tenant_data_uploads_list_response_dto import TenantDataUploadsListResponseDTO +from visier_platform_sdk.models.tenant_data_uploads_response_dto import TenantDataUploadsResponseDTO +from visier_platform_sdk.models.tenant_data_uploads_update_response_dto import TenantDataUploadsUpdateResponseDTO +from visier_platform_sdk.models.tenant_detail_apidto import TenantDetailAPIDTO +from visier_platform_sdk.models.tenant_details_traits_dto import TenantDetailsTraitsDTO +from visier_platform_sdk.models.tenant_encryption_key_dto import TenantEncryptionKeyDTO +from visier_platform_sdk.models.tenant_encryption_key_details_dto import TenantEncryptionKeyDetailsDTO +from visier_platform_sdk.models.tenant_management_api_get_response_dto import TenantManagementAPIGetResponseDTO +from visier_platform_sdk.models.tenant_management_api_list_response_dto import TenantManagementAPIListResponseDTO +from visier_platform_sdk.models.tenant_management_api_update_request_dto import TenantManagementAPIUpdateRequestDTO +from visier_platform_sdk.models.tenant_management_api_update_response_dto import TenantManagementAPIUpdateResponseDTO +from visier_platform_sdk.models.tenant_module_dto import TenantModuleDTO +from visier_platform_sdk.models.tenant_preview_entries_summary_dto import TenantPreviewEntriesSummaryDTO +from visier_platform_sdk.models.tenant_preview_entries_summary_list_dto import TenantPreviewEntriesSummaryListDTO +from visier_platform_sdk.models.tenant_provision_apidto import TenantProvisionAPIDTO +from visier_platform_sdk.models.tenant_status_apidto import TenantStatusAPIDTO +from visier_platform_sdk.models.time_shift_dto import TimeShiftDTO from visier_platform_sdk.models.token_response import TokenResponse +from visier_platform_sdk.models.ultimate_auth_params_dto import UltimateAuthParamsDTO +from visier_platform_sdk.models.update_tenant_model import UpdateTenantModel +from visier_platform_sdk.models.upload_to_exclude import UploadToExclude +from visier_platform_sdk.models.upload_to_include import UploadToInclude +from visier_platform_sdk.models.user_creation_api_request_dto import UserCreationAPIRequestDTO from visier_platform_sdk.models.user_creation_api_response_dto import UserCreationAPIResponseDTO +from visier_platform_sdk.models.user_get_api_response_dto import UserGetAPIResponseDTO +from visier_platform_sdk.models.user_group_assigned_for_local_tenant_dto import UserGroupAssignedForLocalTenantDTO +from visier_platform_sdk.models.user_group_assignment_dto import UserGroupAssignmentDTO +from visier_platform_sdk.models.user_group_change_definition_dto import UserGroupChangeDefinitionDTO +from visier_platform_sdk.models.user_group_change_dimension_filter_dto import UserGroupChangeDimensionFilterDTO +from visier_platform_sdk.models.user_group_change_failure_dto import UserGroupChangeFailureDTO +from visier_platform_sdk.models.user_group_change_filter_dto import UserGroupChangeFilterDTO +from visier_platform_sdk.models.user_group_change_member_selection_dto import UserGroupChangeMemberSelectionDTO +from visier_platform_sdk.models.user_group_change_response_dto import UserGroupChangeResponseDTO +from visier_platform_sdk.models.user_group_change_success_dto import UserGroupChangeSuccessDTO +from visier_platform_sdk.models.user_group_change_users_dto import UserGroupChangeUsersDTO +from visier_platform_sdk.models.user_group_delete_dto import UserGroupDeleteDTO +from visier_platform_sdk.models.user_group_delete_failure_dto import UserGroupDeleteFailureDTO +from visier_platform_sdk.models.user_group_delete_response_dto import UserGroupDeleteResponseDTO +from visier_platform_sdk.models.user_group_delete_success_dto import UserGroupDeleteSuccessDTO +from visier_platform_sdk.models.user_group_filters_dto import UserGroupFiltersDTO +from visier_platform_sdk.models.user_group_get_api_response_dto import UserGroupGetAPIResponseDTO +from visier_platform_sdk.models.user_group_single_delete_response_dto import UserGroupSingleDeleteResponseDTO +from visier_platform_sdk.models.user_groups_change_dto import UserGroupsChangeDTO +from visier_platform_sdk.models.user_groups_delete_request_dto import UserGroupsDeleteRequestDTO +from visier_platform_sdk.models.user_groups_get_api_response_dto import UserGroupsGetAPIResponseDTO +from visier_platform_sdk.models.user_groups_users_dto import UserGroupsUsersDTO +from visier_platform_sdk.models.user_groups_users_for_tenant_dto import UserGroupsUsersForTenantDTO +from visier_platform_sdk.models.user_id_error_dto import UserIdErrorDTO +from visier_platform_sdk.models.user_property_dto import UserPropertyDTO +from visier_platform_sdk.models.user_security_assignments_dto import UserSecurityAssignmentsDTO +from visier_platform_sdk.models.user_update_api_request_dto import UserUpdateAPIRequestDTO +from visier_platform_sdk.models.users_api_error_message_dto import UsersAPIErrorMessageDTO +from visier_platform_sdk.models.users_api_failure_dto import UsersAPIFailureDTO +from visier_platform_sdk.models.users_api_response_dto import UsersAPIResponseDTO +from visier_platform_sdk.models.users_api_success_dto import UsersAPISuccessDTO +from visier_platform_sdk.models.users_creation_api_request_dto import UsersCreationAPIRequestDTO +from visier_platform_sdk.models.users_delete_api_request_dto import UsersDeleteAPIRequestDTO +from visier_platform_sdk.models.users_to_user_group_request_dto import UsersToUserGroupRequestDTO +from visier_platform_sdk.models.users_to_user_groups_request_dto import UsersToUserGroupsRequestDTO +from visier_platform_sdk.models.users_update_api_request_dto import UsersUpdateAPIRequestDTO +from visier_platform_sdk.models.users_update_api_user_dto import UsersUpdateAPIUserDTO +from visier_platform_sdk.models.v2_calculated_property_type_dto import V2CalculatedPropertyTypeDTO +from visier_platform_sdk.models.v2_simple_property_type_dto import V2SimplePropertyTypeDTO +from visier_platform_sdk.models.validity_range_dto import ValidityRangeDTO +from visier_platform_sdk.models.vee_clarification_dto import VeeClarificationDTO +from visier_platform_sdk.models.vee_conversation_dto import VeeConversationDTO +from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO +from visier_platform_sdk.models.vee_corrections_dto import VeeCorrectionsDTO +from visier_platform_sdk.models.vee_data_dto import VeeDataDTO +from visier_platform_sdk.models.vee_feedback_dto import VeeFeedbackDTO +from visier_platform_sdk.models.vee_options_dto import VeeOptionsDTO +from visier_platform_sdk.models.vee_question_change_definition_dto import VeeQuestionChangeDefinitionDTO +from visier_platform_sdk.models.vee_question_change_definitions_by_tenant_dto import VeeQuestionChangeDefinitionsByTenantDTO +from visier_platform_sdk.models.vee_question_change_failure_dto import VeeQuestionChangeFailureDTO +from visier_platform_sdk.models.vee_question_change_success_dto import VeeQuestionChangeSuccessDTO +from visier_platform_sdk.models.vee_question_dto import VeeQuestionDTO +from visier_platform_sdk.models.vee_question_delete_definitions_by_tenant_dto import VeeQuestionDeleteDefinitionsByTenantDTO +from visier_platform_sdk.models.vee_questions_bulk_change_response_dto import VeeQuestionsBulkChangeResponseDTO +from visier_platform_sdk.models.vee_questions_change_definitions_dto import VeeQuestionsChangeDefinitionsDTO +from visier_platform_sdk.models.vee_questions_delete_definitions_dto import VeeQuestionsDeleteDefinitionsDTO +from visier_platform_sdk.models.vee_response_dto import VeeResponseDTO +from visier_platform_sdk.models.vee_response_schema_dto import VeeResponseSchemaDTO +from visier_platform_sdk.models.vee_response_schema_reference_dto import VeeResponseSchemaReferenceDTO +from visier_platform_sdk.models.vee_sample_question_dto import VeeSampleQuestionDTO +from visier_platform_sdk.models.vee_sample_question_library_dto import VeeSampleQuestionLibraryDTO +from visier_platform_sdk.models.vee_status_code_dto import VeeStatusCodeDTO +from visier_platform_sdk.models.vee_status_dto import VeeStatusDTO +from visier_platform_sdk.models.vee_visual_dto import VeeVisualDTO +from visier_platform_sdk.models.vee_visual_options_dto import VeeVisualOptionsDTO +from visier_platform_sdk.models.webhook_basic_auth_credential_dto import WebhookBasicAuthCredentialDTO +from visier_platform_sdk.models.webhook_credentials_dto import WebhookCredentialsDTO +from visier_platform_sdk.models.webhook_dto import WebhookDTO +from visier_platform_sdk.models.webhook_details_dto import WebhookDetailsDTO +from visier_platform_sdk.models.webhook_event_type_dto import WebhookEventTypeDTO +from visier_platform_sdk.models.webhook_message_response_dto import WebhookMessageResponseDTO +from visier_platform_sdk.models.webhook_request_dto import WebhookRequestDTO +from visier_platform_sdk.models.webhooks_dto import WebhooksDTO +from visier_platform_sdk.models.willow_auth_params_dto import WillowAuthParamsDTO +from visier_platform_sdk.models.workday_auth_params_dto import WorkdayAuthParamsDTO +from visier_platform_sdk.models.workday_o_auth_params_dto import WorkdayOAuthParamsDTO +from visier_platform_sdk.models.workday_raas_auth_params_dto import WorkdayRaasAuthParamsDTO +from visier_platform_sdk.models.workday_refresh_token_params_dto import WorkdayRefreshTokenParamsDTO +from visier_platform_sdk.models.zoom_auth_params_dto import ZoomAuthParamsDTO diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/concepts_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/concepts_v2_api.py index 145df960ce..70deaecad8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/concepts_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/concepts_v2_api.py @@ -20,10 +20,10 @@ from pydantic import Field, StrictStr, field_validator from typing import List, Optional from typing_extensions import Annotated -from visier_platform_sdk.models.servicing_v2_objectconfiguration_bulk_change_response_dto import ServicingV2ObjectconfigurationBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_delete_request_dto import ServicingV2ObjectconfigurationConceptDeleteRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_request_dto import ServicingV2ObjectconfigurationConceptRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_response_dto import ServicingV2ObjectconfigurationConceptResponseDTO +from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO +from visier_platform_sdk.models.concept_delete_request_dto import ConceptDeleteRequestDTO +from visier_platform_sdk.models.concept_request_dto import ConceptRequestDTO +from visier_platform_sdk.models.concept_response_dto import ConceptResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -46,7 +46,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_concepts( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -61,13 +61,13 @@ def create_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingV2ObjectconfigurationBulkChangeResponseDTO: + ) -> BulkChangeResponseDTO: """Create concepts Create new concepts. The response returns whether each concept 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.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -95,7 +95,7 @@ def create_concepts( """ # noqa: E501 _param = self._create_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -105,7 +105,7 @@ def create_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -121,7 +121,7 @@ def create_concepts( @validate_call def create_concepts_with_http_info( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -136,13 +136,13 @@ def create_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingV2ObjectconfigurationBulkChangeResponseDTO]: + ) -> ApiResponse[BulkChangeResponseDTO]: """Create concepts Create new concepts. The response returns whether each concept 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.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -170,7 +170,7 @@ def create_concepts_with_http_info( """ # noqa: E501 _param = self._create_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -180,7 +180,7 @@ def create_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -196,7 +196,7 @@ def create_concepts_with_http_info( @validate_call def create_concepts_without_preload_content( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -216,8 +216,8 @@ def create_concepts_without_preload_content( Create new concepts. The response returns whether each concept 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.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -245,7 +245,7 @@ def create_concepts_without_preload_content( """ # noqa: E501 _param = self._create_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -255,7 +255,7 @@ def create_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -266,7 +266,7 @@ def create_concepts_without_preload_content( def _create_concepts_serialize( self, - servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto, target_tenant_id, project_id, _request_auth, @@ -298,8 +298,8 @@ def _create_concepts_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_v2_objectconfiguration_concept_request_dto is not None: - _body_params = servicing_v2_objectconfiguration_concept_request_dto + if concept_request_dto is not None: + _body_params = concept_request_dto # set the HTTP header `Accept` @@ -354,7 +354,7 @@ def _create_concepts_serialize( @validate_call def delete_concepts( self, - servicing_v2_objectconfiguration_concept_delete_request_dto: ServicingV2ObjectconfigurationConceptDeleteRequestDTO, + concept_delete_request_dto: ConceptDeleteRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -369,13 +369,13 @@ def delete_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingV2ObjectconfigurationBulkChangeResponseDTO: + ) -> BulkChangeResponseDTO: """Delete concepts Delete existing concepts. The response returns whether each concept was successfully deleted or not.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_delete_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_delete_request_dto: ServicingV2ObjectconfigurationConceptDeleteRequestDTO + :param concept_delete_request_dto: (required) + :type concept_delete_request_dto: ConceptDeleteRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -403,7 +403,7 @@ def delete_concepts( """ # noqa: E501 _param = self._delete_concepts_serialize( - servicing_v2_objectconfiguration_concept_delete_request_dto=servicing_v2_objectconfiguration_concept_delete_request_dto, + concept_delete_request_dto=concept_delete_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -413,7 +413,7 @@ def delete_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -429,7 +429,7 @@ def delete_concepts( @validate_call def delete_concepts_with_http_info( self, - servicing_v2_objectconfiguration_concept_delete_request_dto: ServicingV2ObjectconfigurationConceptDeleteRequestDTO, + concept_delete_request_dto: ConceptDeleteRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -444,13 +444,13 @@ def delete_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingV2ObjectconfigurationBulkChangeResponseDTO]: + ) -> ApiResponse[BulkChangeResponseDTO]: """Delete concepts Delete existing concepts. The response returns whether each concept was successfully deleted or not.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_delete_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_delete_request_dto: ServicingV2ObjectconfigurationConceptDeleteRequestDTO + :param concept_delete_request_dto: (required) + :type concept_delete_request_dto: ConceptDeleteRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -478,7 +478,7 @@ def delete_concepts_with_http_info( """ # noqa: E501 _param = self._delete_concepts_serialize( - servicing_v2_objectconfiguration_concept_delete_request_dto=servicing_v2_objectconfiguration_concept_delete_request_dto, + concept_delete_request_dto=concept_delete_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -488,7 +488,7 @@ def delete_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -504,7 +504,7 @@ def delete_concepts_with_http_info( @validate_call def delete_concepts_without_preload_content( self, - servicing_v2_objectconfiguration_concept_delete_request_dto: ServicingV2ObjectconfigurationConceptDeleteRequestDTO, + concept_delete_request_dto: ConceptDeleteRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -524,8 +524,8 @@ def delete_concepts_without_preload_content( Delete existing concepts. The response returns whether each concept was successfully deleted or not.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_delete_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_delete_request_dto: ServicingV2ObjectconfigurationConceptDeleteRequestDTO + :param concept_delete_request_dto: (required) + :type concept_delete_request_dto: ConceptDeleteRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -553,7 +553,7 @@ def delete_concepts_without_preload_content( """ # noqa: E501 _param = self._delete_concepts_serialize( - servicing_v2_objectconfiguration_concept_delete_request_dto=servicing_v2_objectconfiguration_concept_delete_request_dto, + concept_delete_request_dto=concept_delete_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -563,7 +563,7 @@ def delete_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -574,7 +574,7 @@ def delete_concepts_without_preload_content( def _delete_concepts_serialize( self, - servicing_v2_objectconfiguration_concept_delete_request_dto, + concept_delete_request_dto, target_tenant_id, project_id, _request_auth, @@ -606,8 +606,8 @@ def _delete_concepts_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_v2_objectconfiguration_concept_delete_request_dto is not None: - _body_params = servicing_v2_objectconfiguration_concept_delete_request_dto + if concept_delete_request_dto is not None: + _body_params = concept_delete_request_dto # set the HTTP header `Accept` @@ -680,7 +680,7 @@ def get_all_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingV2ObjectconfigurationConceptResponseDTO: + ) -> ConceptResponseDTO: """Retrieve a list of concepts Retrieve a list of all concepts in your Visier tenant.
**Note:** 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). @@ -733,7 +733,7 @@ def get_all_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -767,7 +767,7 @@ def get_all_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingV2ObjectconfigurationConceptResponseDTO]: + ) -> ApiResponse[ConceptResponseDTO]: """Retrieve a list of concepts Retrieve a list of all concepts in your Visier tenant.
**Note:** 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). @@ -820,7 +820,7 @@ def get_all_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -907,7 +907,7 @@ def get_all_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1033,7 +1033,7 @@ def get_analytic_object_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingV2ObjectconfigurationConceptResponseDTO: + ) -> ConceptResponseDTO: """Retrieve a list of concepts by analytic object Retrieve all the concepts for a specific analytic object. The response returns the details of all concepts for the analytic object, including object names, concept types, and descriptions.
**Note:** 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). @@ -1089,7 +1089,7 @@ def get_analytic_object_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1124,7 +1124,7 @@ def get_analytic_object_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingV2ObjectconfigurationConceptResponseDTO]: + ) -> ApiResponse[ConceptResponseDTO]: """Retrieve a list of concepts by analytic object Retrieve all the concepts for a specific analytic object. The response returns the details of all concepts for the analytic object, including object names, concept types, and descriptions.
**Note:** 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). @@ -1180,7 +1180,7 @@ def get_analytic_object_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1271,7 +1271,7 @@ def get_analytic_object_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1397,7 +1397,7 @@ def get_one_concept( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingV2ObjectconfigurationConceptResponseDTO: + ) -> ConceptResponseDTO: """Retrieve a concept's details Retrieve the details of a specific concept, such as its concept type and description.
**Note:** 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). @@ -1444,7 +1444,7 @@ def get_one_concept( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1476,7 +1476,7 @@ def get_one_concept_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingV2ObjectconfigurationConceptResponseDTO]: + ) -> ApiResponse[ConceptResponseDTO]: """Retrieve a concept's details Retrieve the details of a specific concept, such as its concept type and description.
**Note:** 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). @@ -1523,7 +1523,7 @@ def get_one_concept_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1602,7 +1602,7 @@ def get_one_concept_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationConceptResponseDTO", + '200': "ConceptResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1694,7 +1694,7 @@ def _get_one_concept_serialize( @validate_call def patch_concepts( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1709,13 +1709,13 @@ def patch_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingV2ObjectconfigurationBulkChangeResponseDTO: + ) -> BulkChangeResponseDTO: """Partially update concepts Make partial changes to existing concepts. The response returns whether each concept 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 concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1743,7 +1743,7 @@ def patch_concepts( """ # noqa: E501 _param = self._patch_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1753,7 +1753,7 @@ def patch_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1769,7 +1769,7 @@ def patch_concepts( @validate_call def patch_concepts_with_http_info( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1784,13 +1784,13 @@ def patch_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingV2ObjectconfigurationBulkChangeResponseDTO]: + ) -> ApiResponse[BulkChangeResponseDTO]: """Partially update concepts Make partial changes to existing concepts. The response returns whether each concept 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 concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1818,7 +1818,7 @@ def patch_concepts_with_http_info( """ # noqa: E501 _param = self._patch_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1828,7 +1828,7 @@ def patch_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1844,7 +1844,7 @@ def patch_concepts_with_http_info( @validate_call def patch_concepts_without_preload_content( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1864,8 +1864,8 @@ def patch_concepts_without_preload_content( Make partial changes to existing concepts. The response returns whether each concept 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 concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1893,7 +1893,7 @@ def patch_concepts_without_preload_content( """ # noqa: E501 _param = self._patch_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1903,7 +1903,7 @@ def patch_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1914,7 +1914,7 @@ def patch_concepts_without_preload_content( def _patch_concepts_serialize( self, - servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto, target_tenant_id, project_id, _request_auth, @@ -1946,8 +1946,8 @@ def _patch_concepts_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_v2_objectconfiguration_concept_request_dto is not None: - _body_params = servicing_v2_objectconfiguration_concept_request_dto + if concept_request_dto is not None: + _body_params = concept_request_dto # set the HTTP header `Accept` @@ -2002,7 +2002,7 @@ def _patch_concepts_serialize( @validate_call def put_concepts( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -2017,13 +2017,13 @@ def put_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingV2ObjectconfigurationBulkChangeResponseDTO: + ) -> BulkChangeResponseDTO: """Update concepts Update existing concepts. The response returns whether each concept 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 concept. To partially update a concept, see the `PATCH` method.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -2051,7 +2051,7 @@ def put_concepts( """ # noqa: E501 _param = self._put_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -2061,7 +2061,7 @@ def put_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2077,7 +2077,7 @@ def put_concepts( @validate_call def put_concepts_with_http_info( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -2092,13 +2092,13 @@ def put_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingV2ObjectconfigurationBulkChangeResponseDTO]: + ) -> ApiResponse[BulkChangeResponseDTO]: """Update concepts Update existing concepts. The response returns whether each concept 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 concept. To partially update a concept, see the `PATCH` method.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -2126,7 +2126,7 @@ def put_concepts_with_http_info( """ # noqa: E501 _param = self._put_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -2136,7 +2136,7 @@ def put_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2152,7 +2152,7 @@ def put_concepts_with_http_info( @validate_call def put_concepts_without_preload_content( self, - servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO, + concept_request_dto: ConceptRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -2172,8 +2172,8 @@ def put_concepts_without_preload_content( Update existing concepts. The response returns whether each concept 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 concept. To partially update a concept, see the `PATCH` method.
**Note:** 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). - :param servicing_v2_objectconfiguration_concept_request_dto: (required) - :type servicing_v2_objectconfiguration_concept_request_dto: ServicingV2ObjectconfigurationConceptRequestDTO + :param concept_request_dto: (required) + :type concept_request_dto: ConceptRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -2201,7 +2201,7 @@ def put_concepts_without_preload_content( """ # noqa: E501 _param = self._put_concepts_serialize( - servicing_v2_objectconfiguration_concept_request_dto=servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto=concept_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -2211,7 +2211,7 @@ def put_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2222,7 +2222,7 @@ def put_concepts_without_preload_content( def _put_concepts_serialize( self, - servicing_v2_objectconfiguration_concept_request_dto, + concept_request_dto, target_tenant_id, project_id, _request_auth, @@ -2254,8 +2254,8 @@ def _put_concepts_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_v2_objectconfiguration_concept_request_dto is not None: - _body_params = servicing_v2_objectconfiguration_concept_request_dto + if concept_request_dto is not None: + _body_params = concept_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/consolidated_analytics_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/consolidated_analytics_api.py index a97a96a8bf..57381f8789 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/consolidated_analytics_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/consolidated_analytics_api.py @@ -20,13 +20,13 @@ from pydantic import Field, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_consolidated_analytics_api_excluded_source_list_dto import AdminConsolidatedAnalyticsAPIExcludedSourceListDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_source_tenant_list_dto import AdminConsolidatedAnalyticsAPISourceTenantListDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_create_request_dto import AdminConsolidatedAnalyticsAPITenantCreateRequestDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_list_response_dto import AdminConsolidatedAnalyticsAPITenantListResponseDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details_list_response_dto import AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO -from visier_platform_sdk.models.admin_excluded_sources_body import AdminExcludedSourcesBody -from visier_platform_sdk.models.admin_tenant_code_body import AdminTenantCodeBody +from visier_platform_sdk.models.consolidated_analytics_api_excluded_source_list_dto import ConsolidatedAnalyticsAPIExcludedSourceListDTO +from visier_platform_sdk.models.consolidated_analytics_api_source_tenant_list_dto import ConsolidatedAnalyticsAPISourceTenantListDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_create_request_dto import ConsolidatedAnalyticsAPITenantCreateRequestDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_list_response_dto import ConsolidatedAnalyticsAPITenantListResponseDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details_list_response_dto import ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO +from visier_platform_sdk.models.excluded_sources_body import ExcludedSourcesBody +from visier_platform_sdk.models.tenant_code_body import TenantCodeBody from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -50,7 +50,7 @@ def __init__(self, api_client=None) -> None: def add_excluded_sources( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63,15 +63,15 @@ def add_excluded_sources( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO: + ) -> ConsolidatedAnalyticsAPIExcludedSourceListDTO: """Add excluded sources to a consolidated analytics tenant Add excluded sources to the list of excluded sources for a consolidated analytics tenant.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -96,7 +96,7 @@ def add_excluded_sources( _param = self._add_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -104,7 +104,7 @@ def add_excluded_sources( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -121,7 +121,7 @@ def add_excluded_sources( def add_excluded_sources_with_http_info( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134,15 +134,15 @@ def add_excluded_sources_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPIExcludedSourceListDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPIExcludedSourceListDTO]: """Add excluded sources to a consolidated analytics tenant Add excluded sources to the list of excluded sources for a consolidated analytics tenant.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -167,7 +167,7 @@ def add_excluded_sources_with_http_info( _param = self._add_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -175,7 +175,7 @@ def add_excluded_sources_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -192,7 +192,7 @@ def add_excluded_sources_with_http_info( def add_excluded_sources_without_preload_content( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -212,8 +212,8 @@ def add_excluded_sources_without_preload_content( :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -238,7 +238,7 @@ def add_excluded_sources_without_preload_content( _param = self._add_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -246,7 +246,7 @@ def add_excluded_sources_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -258,7 +258,7 @@ def add_excluded_sources_without_preload_content( def _add_excluded_sources_serialize( self, tenant_id, - admin_excluded_sources_body, + excluded_sources_body, _request_auth, _content_type, _headers, @@ -286,8 +286,8 @@ def _add_excluded_sources_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_excluded_sources_body is not None: - _body_params = admin_excluded_sources_body + if excluded_sources_body is not None: + _body_params = excluded_sources_body # set the HTTP header `Accept` @@ -343,7 +343,7 @@ def _add_excluded_sources_serialize( def add_source_tenants( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -357,15 +357,15 @@ def add_source_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO: + ) -> ConsolidatedAnalyticsAPISourceTenantListDTO: """Add source tenants to a consolidated analytics tenant Add source tenants to the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -392,7 +392,7 @@ def add_source_tenants( _param = self._add_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -401,7 +401,7 @@ def add_source_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -418,7 +418,7 @@ def add_source_tenants( def add_source_tenants_with_http_info( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -432,15 +432,15 @@ def add_source_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPISourceTenantListDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPISourceTenantListDTO]: """Add source tenants to a consolidated analytics tenant Add source tenants to the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -467,7 +467,7 @@ def add_source_tenants_with_http_info( _param = self._add_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -476,7 +476,7 @@ def add_source_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -493,7 +493,7 @@ def add_source_tenants_with_http_info( def add_source_tenants_without_preload_content( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -514,8 +514,8 @@ def add_source_tenants_without_preload_content( :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -542,7 +542,7 @@ def add_source_tenants_without_preload_content( _param = self._add_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -551,7 +551,7 @@ def add_source_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -563,7 +563,7 @@ def add_source_tenants_without_preload_content( def _add_source_tenants_serialize( self, tenant_id, - admin_tenant_code_body, + tenant_code_body, limit, _request_auth, _content_type, @@ -596,8 +596,8 @@ def _add_source_tenants_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_tenant_code_body is not None: - _body_params = admin_tenant_code_body + if tenant_code_body is not None: + _body_params = tenant_code_body # set the HTTP header `Accept` @@ -652,7 +652,7 @@ def _add_source_tenants_serialize( @validate_call def create_tenant( self, - admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO, + consolidated_analytics_api_tenant_create_request_dto: ConsolidatedAnalyticsAPITenantCreateRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -665,13 +665,13 @@ def create_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPITenantCreateRequestDTO: + ) -> ConsolidatedAnalyticsAPITenantCreateRequestDTO: """Create a consolidated analytics tenant Create a consolidated analytics tenant. A new CA tenant has no source tenants and no excluded sources. **Note:** CA tenant codes must have a prefix of CA. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.
**Note:** 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). - :param admin_consolidated_analytics_api_tenant_create_request_dto: (required) - :type admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO + :param consolidated_analytics_api_tenant_create_request_dto: (required) + :type consolidated_analytics_api_tenant_create_request_dto: ConsolidatedAnalyticsAPITenantCreateRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -695,7 +695,7 @@ def create_tenant( """ # noqa: E501 _param = self._create_tenant_serialize( - admin_consolidated_analytics_api_tenant_create_request_dto=admin_consolidated_analytics_api_tenant_create_request_dto, + consolidated_analytics_api_tenant_create_request_dto=consolidated_analytics_api_tenant_create_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -703,7 +703,7 @@ def create_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantCreateRequestDTO", + '200': "ConsolidatedAnalyticsAPITenantCreateRequestDTO", } response_data = self.api_client.call_api( *_param, @@ -719,7 +719,7 @@ def create_tenant( @validate_call def create_tenant_with_http_info( self, - admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO, + consolidated_analytics_api_tenant_create_request_dto: ConsolidatedAnalyticsAPITenantCreateRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -732,13 +732,13 @@ def create_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPITenantCreateRequestDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPITenantCreateRequestDTO]: """Create a consolidated analytics tenant Create a consolidated analytics tenant. A new CA tenant has no source tenants and no excluded sources. **Note:** CA tenant codes must have a prefix of CA. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.
**Note:** 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). - :param admin_consolidated_analytics_api_tenant_create_request_dto: (required) - :type admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO + :param consolidated_analytics_api_tenant_create_request_dto: (required) + :type consolidated_analytics_api_tenant_create_request_dto: ConsolidatedAnalyticsAPITenantCreateRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -762,7 +762,7 @@ def create_tenant_with_http_info( """ # noqa: E501 _param = self._create_tenant_serialize( - admin_consolidated_analytics_api_tenant_create_request_dto=admin_consolidated_analytics_api_tenant_create_request_dto, + consolidated_analytics_api_tenant_create_request_dto=consolidated_analytics_api_tenant_create_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -770,7 +770,7 @@ def create_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantCreateRequestDTO", + '200': "ConsolidatedAnalyticsAPITenantCreateRequestDTO", } response_data = self.api_client.call_api( *_param, @@ -786,7 +786,7 @@ def create_tenant_with_http_info( @validate_call def create_tenant_without_preload_content( self, - admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO, + consolidated_analytics_api_tenant_create_request_dto: ConsolidatedAnalyticsAPITenantCreateRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -804,8 +804,8 @@ def create_tenant_without_preload_content( Create a consolidated analytics tenant. A new CA tenant has no source tenants and no excluded sources. **Note:** CA tenant codes must have a prefix of CA. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.
**Note:** 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). - :param admin_consolidated_analytics_api_tenant_create_request_dto: (required) - :type admin_consolidated_analytics_api_tenant_create_request_dto: AdminConsolidatedAnalyticsAPITenantCreateRequestDTO + :param consolidated_analytics_api_tenant_create_request_dto: (required) + :type consolidated_analytics_api_tenant_create_request_dto: ConsolidatedAnalyticsAPITenantCreateRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -829,7 +829,7 @@ def create_tenant_without_preload_content( """ # noqa: E501 _param = self._create_tenant_serialize( - admin_consolidated_analytics_api_tenant_create_request_dto=admin_consolidated_analytics_api_tenant_create_request_dto, + consolidated_analytics_api_tenant_create_request_dto=consolidated_analytics_api_tenant_create_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -837,7 +837,7 @@ def create_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantCreateRequestDTO", + '200': "ConsolidatedAnalyticsAPITenantCreateRequestDTO", } response_data = self.api_client.call_api( *_param, @@ -848,7 +848,7 @@ def create_tenant_without_preload_content( def _create_tenant_serialize( self, - admin_consolidated_analytics_api_tenant_create_request_dto, + consolidated_analytics_api_tenant_create_request_dto, _request_auth, _content_type, _headers, @@ -874,8 +874,8 @@ def _create_tenant_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_consolidated_analytics_api_tenant_create_request_dto is not None: - _body_params = admin_consolidated_analytics_api_tenant_create_request_dto + if consolidated_analytics_api_tenant_create_request_dto is not None: + _body_params = consolidated_analytics_api_tenant_create_request_dto # set the HTTP header `Accept` @@ -943,7 +943,7 @@ def list_excluded_sources( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO: + ) -> ConsolidatedAnalyticsAPIExcludedSourceListDTO: """Retrieve a consolidated analytics tenant's excluded sources Retrieve a CA tenant's excluded sources.
**Note:** 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). @@ -981,7 +981,7 @@ def list_excluded_sources( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -1010,7 +1010,7 @@ def list_excluded_sources_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPIExcludedSourceListDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPIExcludedSourceListDTO]: """Retrieve a consolidated analytics tenant's excluded sources Retrieve a CA tenant's excluded sources.
**Note:** 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). @@ -1048,7 +1048,7 @@ def list_excluded_sources_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -1115,7 +1115,7 @@ def list_excluded_sources_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -1210,7 +1210,7 @@ def list_source_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO: + ) -> ConsolidatedAnalyticsAPISourceTenantListDTO: """Retrieve a consolidated analytics tenant's source tenants Retrieve a CA tenant's source tenants.
**Note:** 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). @@ -1254,7 +1254,7 @@ def list_source_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -1285,7 +1285,7 @@ def list_source_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPISourceTenantListDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPISourceTenantListDTO]: """Retrieve a consolidated analytics tenant's source tenants Retrieve a CA tenant's source tenants.
**Note:** 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). @@ -1329,7 +1329,7 @@ def list_source_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -1404,7 +1404,7 @@ def list_source_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -1508,7 +1508,7 @@ def list_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPITenantListResponseDTO: + ) -> ConsolidatedAnalyticsAPITenantListResponseDTO: """Retrieve a list of all consolidated analytics tenants Retrieve the full list of consolidated analytics tenants in your administrating tenant.
**Note:** 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). @@ -1549,7 +1549,7 @@ def list_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantListResponseDTO", + '200': "ConsolidatedAnalyticsAPITenantListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1579,7 +1579,7 @@ def list_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPITenantListResponseDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPITenantListResponseDTO]: """Retrieve a list of all consolidated analytics tenants Retrieve the full list of consolidated analytics tenants in your administrating tenant.
**Note:** 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). @@ -1620,7 +1620,7 @@ def list_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantListResponseDTO", + '200': "ConsolidatedAnalyticsAPITenantListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1691,7 +1691,7 @@ def list_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantListResponseDTO", + '200': "ConsolidatedAnalyticsAPITenantListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1792,7 +1792,7 @@ def list_tenants_with_details( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO: + ) -> ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO: """Retrieve the details of all consolidated analytics tenants Retrieve the full list of consolidated analytics tenants and their details in your administrating tenant. **Note:** If your consolidated analytics tenants have thousands of source tenants, we recommend that you use the `GET /admin/consolidated-analytics/tenants` endpoint to get all CA tenants and then use the `GET /admin/consolidated-analytics/tenants/{tenantId}/source-tenants` and `GET /admin/consolidated-analytics/tenants/{tenantId}/excluded-sources` endpoints to retrieve information about specific CA tenants.
**Note:** 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). @@ -1833,7 +1833,7 @@ def list_tenants_with_details( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO", + '200': "ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1863,7 +1863,7 @@ def list_tenants_with_details_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO]: """Retrieve the details of all consolidated analytics tenants Retrieve the full list of consolidated analytics tenants and their details in your administrating tenant. **Note:** If your consolidated analytics tenants have thousands of source tenants, we recommend that you use the `GET /admin/consolidated-analytics/tenants` endpoint to get all CA tenants and then use the `GET /admin/consolidated-analytics/tenants/{tenantId}/source-tenants` and `GET /admin/consolidated-analytics/tenants/{tenantId}/excluded-sources` endpoints to retrieve information about specific CA tenants.
**Note:** 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). @@ -1904,7 +1904,7 @@ def list_tenants_with_details_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO", + '200': "ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1975,7 +1975,7 @@ def list_tenants_with_details_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO", + '200': "ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2063,7 +2063,7 @@ def _list_tenants_with_details_serialize( def remove_excluded_sources( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2076,15 +2076,15 @@ def remove_excluded_sources( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO: + ) -> ConsolidatedAnalyticsAPIExcludedSourceListDTO: """Remove excluded sources from a consolidated analytics tenants Remove excluded sources from the list of excluded sources for a consolidated analytics tenant.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2109,7 +2109,7 @@ def remove_excluded_sources( _param = self._remove_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2117,7 +2117,7 @@ def remove_excluded_sources( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -2134,7 +2134,7 @@ def remove_excluded_sources( def remove_excluded_sources_with_http_info( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2147,15 +2147,15 @@ def remove_excluded_sources_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPIExcludedSourceListDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPIExcludedSourceListDTO]: """Remove excluded sources from a consolidated analytics tenants Remove excluded sources from the list of excluded sources for a consolidated analytics tenant.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2180,7 +2180,7 @@ def remove_excluded_sources_with_http_info( _param = self._remove_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2188,7 +2188,7 @@ def remove_excluded_sources_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -2205,7 +2205,7 @@ def remove_excluded_sources_with_http_info( def remove_excluded_sources_without_preload_content( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2225,8 +2225,8 @@ def remove_excluded_sources_without_preload_content( :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2251,7 +2251,7 @@ def remove_excluded_sources_without_preload_content( _param = self._remove_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2259,7 +2259,7 @@ def remove_excluded_sources_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -2271,7 +2271,7 @@ def remove_excluded_sources_without_preload_content( def _remove_excluded_sources_serialize( self, tenant_id, - admin_excluded_sources_body, + excluded_sources_body, _request_auth, _content_type, _headers, @@ -2299,8 +2299,8 @@ def _remove_excluded_sources_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_excluded_sources_body is not None: - _body_params = admin_excluded_sources_body + if excluded_sources_body is not None: + _body_params = excluded_sources_body # set the HTTP header `Accept` @@ -2356,7 +2356,7 @@ def _remove_excluded_sources_serialize( def remove_source_tenants( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -2370,15 +2370,15 @@ def remove_source_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO: + ) -> ConsolidatedAnalyticsAPISourceTenantListDTO: """Remove source tenants from a consolidated analytics tenants Remove source tenants from the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -2405,7 +2405,7 @@ def remove_source_tenants( _param = self._remove_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -2414,7 +2414,7 @@ def remove_source_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -2431,7 +2431,7 @@ def remove_source_tenants( def remove_source_tenants_with_http_info( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -2445,15 +2445,15 @@ def remove_source_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPISourceTenantListDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPISourceTenantListDTO]: """Remove source tenants from a consolidated analytics tenants Remove source tenants from the list of source tenants for a consolidated analytics tenant. If successful, the response returns an updated list of source tenants.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -2480,7 +2480,7 @@ def remove_source_tenants_with_http_info( _param = self._remove_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -2489,7 +2489,7 @@ def remove_source_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -2506,7 +2506,7 @@ def remove_source_tenants_with_http_info( def remove_source_tenants_without_preload_content( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -2527,8 +2527,8 @@ def remove_source_tenants_without_preload_content( :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -2555,7 +2555,7 @@ def remove_source_tenants_without_preload_content( _param = self._remove_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -2564,7 +2564,7 @@ def remove_source_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -2576,7 +2576,7 @@ def remove_source_tenants_without_preload_content( def _remove_source_tenants_serialize( self, tenant_id, - admin_tenant_code_body, + tenant_code_body, limit, _request_auth, _content_type, @@ -2609,8 +2609,8 @@ def _remove_source_tenants_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_tenant_code_body is not None: - _body_params = admin_tenant_code_body + if tenant_code_body is not None: + _body_params = tenant_code_body # set the HTTP header `Accept` @@ -2666,7 +2666,7 @@ def _remove_source_tenants_serialize( def set_excluded_sources( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2679,15 +2679,15 @@ def set_excluded_sources( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPIExcludedSourceListDTO: + ) -> ConsolidatedAnalyticsAPIExcludedSourceListDTO: """Set a consolidated analytics tenant's excluded sources Define the excluded sources for a consolidated analytics tenant. After you create a CA tenant, you may optionally define a list of excluded sources. The excluded sources are the sources whose data is excluded from the CA tenant. You can also use this API to replace the list of excluded sources for an existing CA tenant.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2712,7 +2712,7 @@ def set_excluded_sources( _param = self._set_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2720,7 +2720,7 @@ def set_excluded_sources( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -2737,7 +2737,7 @@ def set_excluded_sources( def set_excluded_sources_with_http_info( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2750,15 +2750,15 @@ def set_excluded_sources_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPIExcludedSourceListDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPIExcludedSourceListDTO]: """Set a consolidated analytics tenant's excluded sources Define the excluded sources for a consolidated analytics tenant. After you create a CA tenant, you may optionally define a list of excluded sources. The excluded sources are the sources whose data is excluded from the CA tenant. You can also use this API to replace the list of excluded sources for an existing CA tenant.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2783,7 +2783,7 @@ def set_excluded_sources_with_http_info( _param = self._set_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2791,7 +2791,7 @@ def set_excluded_sources_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -2808,7 +2808,7 @@ def set_excluded_sources_with_http_info( def set_excluded_sources_without_preload_content( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_excluded_sources_body: AdminExcludedSourcesBody, + excluded_sources_body: ExcludedSourcesBody, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2828,8 +2828,8 @@ def set_excluded_sources_without_preload_content( :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_excluded_sources_body: (required) - :type admin_excluded_sources_body: AdminExcludedSourcesBody + :param excluded_sources_body: (required) + :type excluded_sources_body: ExcludedSourcesBody :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2854,7 +2854,7 @@ def set_excluded_sources_without_preload_content( _param = self._set_excluded_sources_serialize( tenant_id=tenant_id, - admin_excluded_sources_body=admin_excluded_sources_body, + excluded_sources_body=excluded_sources_body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2862,7 +2862,7 @@ def set_excluded_sources_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPIExcludedSourceListDTO", + '200': "ConsolidatedAnalyticsAPIExcludedSourceListDTO", } response_data = self.api_client.call_api( *_param, @@ -2874,7 +2874,7 @@ def set_excluded_sources_without_preload_content( def _set_excluded_sources_serialize( self, tenant_id, - admin_excluded_sources_body, + excluded_sources_body, _request_auth, _content_type, _headers, @@ -2902,8 +2902,8 @@ def _set_excluded_sources_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_excluded_sources_body is not None: - _body_params = admin_excluded_sources_body + if excluded_sources_body is not None: + _body_params = excluded_sources_body # set the HTTP header `Accept` @@ -2959,7 +2959,7 @@ def _set_excluded_sources_serialize( def set_source_tenants( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -2973,15 +2973,15 @@ def set_source_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminConsolidatedAnalyticsAPISourceTenantListDTO: + ) -> ConsolidatedAnalyticsAPISourceTenantListDTO: """Set a consolidated analytics tenant's source tenants Define the source tenants for a consolidated analytics tenant. After you create a CA tenant, you must define a list of its source tenants. The source tenants are the tenants whose data is aggregated in the CA tenant. You can also use this API to replace the list of source tenants for an existing CA tenant. If successful, the response returns an updated list of source tenants.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -3008,7 +3008,7 @@ def set_source_tenants( _param = self._set_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -3017,7 +3017,7 @@ def set_source_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -3034,7 +3034,7 @@ def set_source_tenants( def set_source_tenants_with_http_info( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -3048,15 +3048,15 @@ def set_source_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminConsolidatedAnalyticsAPISourceTenantListDTO]: + ) -> ApiResponse[ConsolidatedAnalyticsAPISourceTenantListDTO]: """Set a consolidated analytics tenant's source tenants Define the source tenants for a consolidated analytics tenant. After you create a CA tenant, you must define a list of its source tenants. The source tenants are the tenants whose data is aggregated in the CA tenant. You can also use this API to replace the list of source tenants for an existing CA tenant. If successful, the response returns an updated list of source tenants.
**Note:** 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). :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -3083,7 +3083,7 @@ def set_source_tenants_with_http_info( _param = self._set_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -3092,7 +3092,7 @@ def set_source_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -3109,7 +3109,7 @@ def set_source_tenants_with_http_info( def set_source_tenants_without_preload_content( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.")], - admin_tenant_code_body: AdminTenantCodeBody, + tenant_code_body: TenantCodeBody, limit: Annotated[Optional[StrictInt], Field(description="The maximum number of source tenants to return. The maximum value is 1000. Default is 400.")] = None, _request_timeout: Union[ None, @@ -3130,8 +3130,8 @@ def set_source_tenants_without_preload_content( :param tenant_id: The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code. (required) :type tenant_id: str - :param admin_tenant_code_body: (required) - :type admin_tenant_code_body: AdminTenantCodeBody + :param tenant_code_body: (required) + :type tenant_code_body: TenantCodeBody :param limit: The maximum number of source tenants to return. The maximum value is 1000. Default is 400. :type limit: int :param _request_timeout: timeout setting for this request. If one @@ -3158,7 +3158,7 @@ def set_source_tenants_without_preload_content( _param = self._set_source_tenants_serialize( tenant_id=tenant_id, - admin_tenant_code_body=admin_tenant_code_body, + tenant_code_body=tenant_code_body, limit=limit, _request_auth=_request_auth, _content_type=_content_type, @@ -3167,7 +3167,7 @@ def set_source_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminConsolidatedAnalyticsAPISourceTenantListDTO", + '200': "ConsolidatedAnalyticsAPISourceTenantListDTO", } response_data = self.api_client.call_api( *_param, @@ -3179,7 +3179,7 @@ def set_source_tenants_without_preload_content( def _set_source_tenants_serialize( self, tenant_id, - admin_tenant_code_body, + tenant_code_body, limit, _request_auth, _content_type, @@ -3212,8 +3212,8 @@ def _set_source_tenants_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_tenant_code_body is not None: - _body_params = admin_tenant_code_body + if tenant_code_body is not None: + _body_params = tenant_code_body # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_and_job_handling_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_and_job_handling_api.py index c492ed9fa2..a6f5d3e925 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_and_job_handling_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_and_job_handling_api.py @@ -20,39 +20,39 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_assign_connector_credentials_response_dto import AdminAssignConnectorCredentialsResponseDTO -from visier_platform_sdk.models.admin_data_import_definitions_apidto import AdminDataImportDefinitionsAPIDTO -from visier_platform_sdk.models.admin_extractor_settings_apidto import AdminExtractorSettingsAPIDTO -from visier_platform_sdk.models.admin_jobs_consolidated_analytics_job_request_dto import AdminJobsConsolidatedAnalyticsJobRequestDTO -from visier_platform_sdk.models.admin_jobs_extract_data_and_load_dto import AdminJobsExtractDataAndLoadDTO -from visier_platform_sdk.models.admin_jobs_processing_job_request_dto import AdminJobsProcessingJobRequestDTO -from visier_platform_sdk.models.admin_multiple_tenant_data_versions_list_dto import AdminMultipleTenantDataVersionsListDTO -from visier_platform_sdk.models.admin_set_connector_settings_request_dto import AdminSetConnectorSettingsRequestDTO -from visier_platform_sdk.models.admin_set_connector_settings_response_dto import AdminSetConnectorSettingsResponseDTO -from visier_platform_sdk.models.data_in_assign_connector_credential_request import DataInAssignConnectorCredentialRequest -from visier_platform_sdk.models.data_in_data_load_request import DataInDataLoadRequest -from visier_platform_sdk.models.data_in_data_load_response import DataInDataLoadResponse -from visier_platform_sdk.models.data_in_disable_dv_request import DataInDisableDVRequest -from visier_platform_sdk.models.data_in_disable_dv_response import DataInDisableDVResponse -from visier_platform_sdk.models.data_in_dispatching_job_status_response import DataInDispatchingJobStatusResponse -from visier_platform_sdk.models.data_in_exclude_data_uploads_request import DataInExcludeDataUploadsRequest -from visier_platform_sdk.models.data_in_extraction_job_and_status_response import DataInExtractionJobAndStatusResponse -from visier_platform_sdk.models.data_in_include_data_uploads_request import DataInIncludeDataUploadsRequest -from visier_platform_sdk.models.data_in_job_status_list_response import DataInJobStatusListResponse -from visier_platform_sdk.models.data_in_processing_job_and_status_response import DataInProcessingJobAndStatusResponse -from visier_platform_sdk.models.data_in_processing_job_status_response import DataInProcessingJobStatusResponse -from visier_platform_sdk.models.data_in_receiving_job_and_status_response import DataInReceivingJobAndStatusResponse -from visier_platform_sdk.models.data_in_receiving_job_status_response import DataInReceivingJobStatusResponse -from visier_platform_sdk.models.data_in_start_extraction_response import DataInStartExtractionResponse -from visier_platform_sdk.models.designer_credential_creation_api_response_dto import DesignerCredentialCreationAPIResponseDTO -from visier_platform_sdk.models.designer_data_provider_auth_information_dto import DesignerDataProviderAuthInformationDTO -from visier_platform_sdk.models.designer_extractor_credentials_apidto import DesignerExtractorCredentialsAPIDTO -from visier_platform_sdk.models.dp_cancel_job_batch_from_job_id_dto import DpCancelJobBatchFromJobIdDTO -from visier_platform_sdk.models.dp_job_cancellation_results_dto import DpJobCancellationResultsDTO -from visier_platform_sdk.models.servicing_data_categories_response_dto import ServicingDataCategoriesResponseDTO -from visier_platform_sdk.models.servicing_job_id_response import ServicingJobIdResponse -from visier_platform_sdk.models.servicing_tenant_data_uploads_list_response_dto import ServicingTenantDataUploadsListResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_uploads_update_response_dto import ServicingTenantDataUploadsUpdateResponseDTO +from visier_platform_sdk.models.assign_connector_credential_request import AssignConnectorCredentialRequest +from visier_platform_sdk.models.assign_connector_credentials_response_dto import AssignConnectorCredentialsResponseDTO +from visier_platform_sdk.models.cancel_job_batch_from_job_id_dto import CancelJobBatchFromJobIdDTO +from visier_platform_sdk.models.consolidated_analytics_job_request_dto import ConsolidatedAnalyticsJobRequestDTO +from visier_platform_sdk.models.credential_creation_api_response_dto import CredentialCreationAPIResponseDTO +from visier_platform_sdk.models.data_categories_response_dto import DataCategoriesResponseDTO +from visier_platform_sdk.models.data_load_request import DataLoadRequest +from visier_platform_sdk.models.data_load_response import DataLoadResponse +from visier_platform_sdk.models.data_provider_auth_information_dto import DataProviderAuthInformationDTO +from visier_platform_sdk.models.disable_dv_request import DisableDVRequest +from visier_platform_sdk.models.disable_dv_response import DisableDVResponse +from visier_platform_sdk.models.dispatching_job_status_response import DispatchingJobStatusResponse +from visier_platform_sdk.models.exclude_data_uploads_request import ExcludeDataUploadsRequest +from visier_platform_sdk.models.extract_data_and_load_dto import ExtractDataAndLoadDTO +from visier_platform_sdk.models.extraction_job_and_status_response import ExtractionJobAndStatusResponse +from visier_platform_sdk.models.extractor_credentials_apidto import ExtractorCredentialsAPIDTO +from visier_platform_sdk.models.extractor_settings_apidto import ExtractorSettingsAPIDTO +from visier_platform_sdk.models.import_definitions_apidto import ImportDefinitionsAPIDTO +from visier_platform_sdk.models.include_data_uploads_request import IncludeDataUploadsRequest +from visier_platform_sdk.models.job_cancellation_results_dto import JobCancellationResultsDTO +from visier_platform_sdk.models.job_id_response import JobIdResponse +from visier_platform_sdk.models.job_status_list_response import JobStatusListResponse +from visier_platform_sdk.models.multiple_tenant_data_versions_list_dto import MultipleTenantDataVersionsListDTO +from visier_platform_sdk.models.processing_job_and_status_response import ProcessingJobAndStatusResponse +from visier_platform_sdk.models.processing_job_request_dto import ProcessingJobRequestDTO +from visier_platform_sdk.models.processing_job_status_response import ProcessingJobStatusResponse +from visier_platform_sdk.models.receiving_job_and_status_response import ReceivingJobAndStatusResponse +from visier_platform_sdk.models.receiving_job_status_response import ReceivingJobStatusResponse +from visier_platform_sdk.models.set_connector_settings_request_dto import SetConnectorSettingsRequestDTO +from visier_platform_sdk.models.set_connector_settings_response_dto import SetConnectorSettingsResponseDTO +from visier_platform_sdk.models.start_extraction_response import StartExtractionResponse +from visier_platform_sdk.models.tenant_data_uploads_list_response_dto import TenantDataUploadsListResponseDTO +from visier_platform_sdk.models.tenant_data_uploads_update_response_dto import TenantDataUploadsUpdateResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -75,7 +75,7 @@ def __init__(self, api_client=None) -> None: @validate_call def adhoc_consolidated_analytics_job( self, - admin_jobs_consolidated_analytics_job_request_dto: AdminJobsConsolidatedAnalyticsJobRequestDTO, + consolidated_analytics_job_request_dto: ConsolidatedAnalyticsJobRequestDTO, 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, _request_timeout: Union[ None, @@ -89,13 +89,13 @@ def adhoc_consolidated_analytics_job( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingJobIdResponse: + ) -> JobIdResponse: """Run a consolidated analytics job Run a job for a consolidated analytics tenant. This request retrieves data for all source tenants in a consolidated analytics tenant. After the job completes, you can run a processing job to generate a data version for the consolidated analytics tenant. To run a processing job, see `POST /v1alpha/op/jobs/processing-jobs`. - :param admin_jobs_consolidated_analytics_job_request_dto: (required) - :type admin_jobs_consolidated_analytics_job_request_dto: AdminJobsConsolidatedAnalyticsJobRequestDTO + :param consolidated_analytics_job_request_dto: (required) + :type consolidated_analytics_job_request_dto: ConsolidatedAnalyticsJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -121,7 +121,7 @@ def adhoc_consolidated_analytics_job( """ # noqa: E501 _param = self._adhoc_consolidated_analytics_job_serialize( - admin_jobs_consolidated_analytics_job_request_dto=admin_jobs_consolidated_analytics_job_request_dto, + consolidated_analytics_job_request_dto=consolidated_analytics_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -130,7 +130,7 @@ def adhoc_consolidated_analytics_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -146,7 +146,7 @@ def adhoc_consolidated_analytics_job( @validate_call def adhoc_consolidated_analytics_job_with_http_info( self, - admin_jobs_consolidated_analytics_job_request_dto: AdminJobsConsolidatedAnalyticsJobRequestDTO, + consolidated_analytics_job_request_dto: ConsolidatedAnalyticsJobRequestDTO, 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, _request_timeout: Union[ None, @@ -160,13 +160,13 @@ def adhoc_consolidated_analytics_job_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingJobIdResponse]: + ) -> ApiResponse[JobIdResponse]: """Run a consolidated analytics job Run a job for a consolidated analytics tenant. This request retrieves data for all source tenants in a consolidated analytics tenant. After the job completes, you can run a processing job to generate a data version for the consolidated analytics tenant. To run a processing job, see `POST /v1alpha/op/jobs/processing-jobs`. - :param admin_jobs_consolidated_analytics_job_request_dto: (required) - :type admin_jobs_consolidated_analytics_job_request_dto: AdminJobsConsolidatedAnalyticsJobRequestDTO + :param consolidated_analytics_job_request_dto: (required) + :type consolidated_analytics_job_request_dto: ConsolidatedAnalyticsJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -192,7 +192,7 @@ def adhoc_consolidated_analytics_job_with_http_info( """ # noqa: E501 _param = self._adhoc_consolidated_analytics_job_serialize( - admin_jobs_consolidated_analytics_job_request_dto=admin_jobs_consolidated_analytics_job_request_dto, + consolidated_analytics_job_request_dto=consolidated_analytics_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -201,7 +201,7 @@ def adhoc_consolidated_analytics_job_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -217,7 +217,7 @@ def adhoc_consolidated_analytics_job_with_http_info( @validate_call def adhoc_consolidated_analytics_job_without_preload_content( self, - admin_jobs_consolidated_analytics_job_request_dto: AdminJobsConsolidatedAnalyticsJobRequestDTO, + consolidated_analytics_job_request_dto: ConsolidatedAnalyticsJobRequestDTO, 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, _request_timeout: Union[ None, @@ -236,8 +236,8 @@ def adhoc_consolidated_analytics_job_without_preload_content( Run a job for a consolidated analytics tenant. This request retrieves data for all source tenants in a consolidated analytics tenant. After the job completes, you can run a processing job to generate a data version for the consolidated analytics tenant. To run a processing job, see `POST /v1alpha/op/jobs/processing-jobs`. - :param admin_jobs_consolidated_analytics_job_request_dto: (required) - :type admin_jobs_consolidated_analytics_job_request_dto: AdminJobsConsolidatedAnalyticsJobRequestDTO + :param consolidated_analytics_job_request_dto: (required) + :type consolidated_analytics_job_request_dto: ConsolidatedAnalyticsJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -263,7 +263,7 @@ def adhoc_consolidated_analytics_job_without_preload_content( """ # noqa: E501 _param = self._adhoc_consolidated_analytics_job_serialize( - admin_jobs_consolidated_analytics_job_request_dto=admin_jobs_consolidated_analytics_job_request_dto, + consolidated_analytics_job_request_dto=consolidated_analytics_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -272,7 +272,7 @@ def adhoc_consolidated_analytics_job_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -283,7 +283,7 @@ def adhoc_consolidated_analytics_job_without_preload_content( def _adhoc_consolidated_analytics_job_serialize( self, - admin_jobs_consolidated_analytics_job_request_dto, + consolidated_analytics_job_request_dto, target_tenant_id, _request_auth, _content_type, @@ -312,8 +312,8 @@ def _adhoc_consolidated_analytics_job_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_jobs_consolidated_analytics_job_request_dto is not None: - _body_params = admin_jobs_consolidated_analytics_job_request_dto + if consolidated_analytics_job_request_dto is not None: + _body_params = consolidated_analytics_job_request_dto # set the HTTP header `Accept` @@ -368,7 +368,7 @@ def _adhoc_consolidated_analytics_job_serialize( @validate_call def adhoc_extraction_job( self, - admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO, + extract_data_and_load_dto: ExtractDataAndLoadDTO, 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, _request_timeout: Union[ None, @@ -382,13 +382,13 @@ def adhoc_extraction_job( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingJobIdResponse: + ) -> JobIdResponse: """Run a data connector extraction job Run an extraction job to retrieve data through a Visier data connector and generate a new data version. Administrating tenants can run extraction jobs for all analytic tenants, a list of analytic tenants, or the administrating tenant. If running extraction jobs for an administrating tenant or their analytic tenants, this request starts a dispatching job that generates one extraction job per tenant. The response returns the job ID of the extraction job or dispatching job. - :param admin_jobs_extract_data_and_load_dto: (required) - :type admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO + :param extract_data_and_load_dto: (required) + :type extract_data_and_load_dto: ExtractDataAndLoadDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -414,7 +414,7 @@ def adhoc_extraction_job( """ # noqa: E501 _param = self._adhoc_extraction_job_serialize( - admin_jobs_extract_data_and_load_dto=admin_jobs_extract_data_and_load_dto, + extract_data_and_load_dto=extract_data_and_load_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -423,7 +423,7 @@ def adhoc_extraction_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -439,7 +439,7 @@ def adhoc_extraction_job( @validate_call def adhoc_extraction_job_with_http_info( self, - admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO, + extract_data_and_load_dto: ExtractDataAndLoadDTO, 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, _request_timeout: Union[ None, @@ -453,13 +453,13 @@ def adhoc_extraction_job_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingJobIdResponse]: + ) -> ApiResponse[JobIdResponse]: """Run a data connector extraction job Run an extraction job to retrieve data through a Visier data connector and generate a new data version. Administrating tenants can run extraction jobs for all analytic tenants, a list of analytic tenants, or the administrating tenant. If running extraction jobs for an administrating tenant or their analytic tenants, this request starts a dispatching job that generates one extraction job per tenant. The response returns the job ID of the extraction job or dispatching job. - :param admin_jobs_extract_data_and_load_dto: (required) - :type admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO + :param extract_data_and_load_dto: (required) + :type extract_data_and_load_dto: ExtractDataAndLoadDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -485,7 +485,7 @@ def adhoc_extraction_job_with_http_info( """ # noqa: E501 _param = self._adhoc_extraction_job_serialize( - admin_jobs_extract_data_and_load_dto=admin_jobs_extract_data_and_load_dto, + extract_data_and_load_dto=extract_data_and_load_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -494,7 +494,7 @@ def adhoc_extraction_job_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -510,7 +510,7 @@ def adhoc_extraction_job_with_http_info( @validate_call def adhoc_extraction_job_without_preload_content( self, - admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO, + extract_data_and_load_dto: ExtractDataAndLoadDTO, 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, _request_timeout: Union[ None, @@ -529,8 +529,8 @@ def adhoc_extraction_job_without_preload_content( Run an extraction job to retrieve data through a Visier data connector and generate a new data version. Administrating tenants can run extraction jobs for all analytic tenants, a list of analytic tenants, or the administrating tenant. If running extraction jobs for an administrating tenant or their analytic tenants, this request starts a dispatching job that generates one extraction job per tenant. The response returns the job ID of the extraction job or dispatching job. - :param admin_jobs_extract_data_and_load_dto: (required) - :type admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO + :param extract_data_and_load_dto: (required) + :type extract_data_and_load_dto: ExtractDataAndLoadDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -556,7 +556,7 @@ def adhoc_extraction_job_without_preload_content( """ # noqa: E501 _param = self._adhoc_extraction_job_serialize( - admin_jobs_extract_data_and_load_dto=admin_jobs_extract_data_and_load_dto, + extract_data_and_load_dto=extract_data_and_load_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -565,7 +565,7 @@ def adhoc_extraction_job_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -576,7 +576,7 @@ def adhoc_extraction_job_without_preload_content( def _adhoc_extraction_job_serialize( self, - admin_jobs_extract_data_and_load_dto, + extract_data_and_load_dto, target_tenant_id, _request_auth, _content_type, @@ -605,8 +605,8 @@ def _adhoc_extraction_job_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_jobs_extract_data_and_load_dto is not None: - _body_params = admin_jobs_extract_data_and_load_dto + if extract_data_and_load_dto is not None: + _body_params = extract_data_and_load_dto # set the HTTP header `Accept` @@ -661,7 +661,7 @@ def _adhoc_extraction_job_serialize( @validate_call def adhoc_processing_jobs( self, - admin_jobs_processing_job_request_dto: AdminJobsProcessingJobRequestDTO, + processing_job_request_dto: ProcessingJobRequestDTO, 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, _request_timeout: Union[ None, @@ -675,13 +675,13 @@ def adhoc_processing_jobs( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingJobIdResponse: + ) -> JobIdResponse: """Run a processing job Run a processing job to generate a new data version. Administrating tenants can run processing jobs for all analytic tenants, a list of analytic tenants, or the administrating tenant. If running processing jobs for an administrating tenant or their analytic tenants, this request starts a dispatching job that generates one processing job per tenant. The response returns the job ID of the processing job or dispatching job. - :param admin_jobs_processing_job_request_dto: (required) - :type admin_jobs_processing_job_request_dto: AdminJobsProcessingJobRequestDTO + :param processing_job_request_dto: (required) + :type processing_job_request_dto: ProcessingJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -707,7 +707,7 @@ def adhoc_processing_jobs( """ # noqa: E501 _param = self._adhoc_processing_jobs_serialize( - admin_jobs_processing_job_request_dto=admin_jobs_processing_job_request_dto, + processing_job_request_dto=processing_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -716,7 +716,7 @@ def adhoc_processing_jobs( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -732,7 +732,7 @@ def adhoc_processing_jobs( @validate_call def adhoc_processing_jobs_with_http_info( self, - admin_jobs_processing_job_request_dto: AdminJobsProcessingJobRequestDTO, + processing_job_request_dto: ProcessingJobRequestDTO, 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, _request_timeout: Union[ None, @@ -746,13 +746,13 @@ def adhoc_processing_jobs_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingJobIdResponse]: + ) -> ApiResponse[JobIdResponse]: """Run a processing job Run a processing job to generate a new data version. Administrating tenants can run processing jobs for all analytic tenants, a list of analytic tenants, or the administrating tenant. If running processing jobs for an administrating tenant or their analytic tenants, this request starts a dispatching job that generates one processing job per tenant. The response returns the job ID of the processing job or dispatching job. - :param admin_jobs_processing_job_request_dto: (required) - :type admin_jobs_processing_job_request_dto: AdminJobsProcessingJobRequestDTO + :param processing_job_request_dto: (required) + :type processing_job_request_dto: ProcessingJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -778,7 +778,7 @@ def adhoc_processing_jobs_with_http_info( """ # noqa: E501 _param = self._adhoc_processing_jobs_serialize( - admin_jobs_processing_job_request_dto=admin_jobs_processing_job_request_dto, + processing_job_request_dto=processing_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -787,7 +787,7 @@ def adhoc_processing_jobs_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -803,7 +803,7 @@ def adhoc_processing_jobs_with_http_info( @validate_call def adhoc_processing_jobs_without_preload_content( self, - admin_jobs_processing_job_request_dto: AdminJobsProcessingJobRequestDTO, + processing_job_request_dto: ProcessingJobRequestDTO, 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, _request_timeout: Union[ None, @@ -822,8 +822,8 @@ def adhoc_processing_jobs_without_preload_content( Run a processing job to generate a new data version. Administrating tenants can run processing jobs for all analytic tenants, a list of analytic tenants, or the administrating tenant. If running processing jobs for an administrating tenant or their analytic tenants, this request starts a dispatching job that generates one processing job per tenant. The response returns the job ID of the processing job or dispatching job. - :param admin_jobs_processing_job_request_dto: (required) - :type admin_jobs_processing_job_request_dto: AdminJobsProcessingJobRequestDTO + :param processing_job_request_dto: (required) + :type processing_job_request_dto: ProcessingJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -849,7 +849,7 @@ def adhoc_processing_jobs_without_preload_content( """ # noqa: E501 _param = self._adhoc_processing_jobs_serialize( - admin_jobs_processing_job_request_dto=admin_jobs_processing_job_request_dto, + processing_job_request_dto=processing_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -858,7 +858,7 @@ def adhoc_processing_jobs_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingJobIdResponse", + '200': "JobIdResponse", } response_data = self.api_client.call_api( *_param, @@ -869,7 +869,7 @@ def adhoc_processing_jobs_without_preload_content( def _adhoc_processing_jobs_serialize( self, - admin_jobs_processing_job_request_dto, + processing_job_request_dto, target_tenant_id, _request_auth, _content_type, @@ -898,8 +898,8 @@ def _adhoc_processing_jobs_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_jobs_processing_job_request_dto is not None: - _body_params = admin_jobs_processing_job_request_dto + if processing_job_request_dto is not None: + _body_params = processing_job_request_dto # set the HTTP header `Accept` @@ -954,7 +954,7 @@ def _adhoc_processing_jobs_serialize( @validate_call def assign_connector_credential( self, - data_in_assign_connector_credential_request: DataInAssignConnectorCredentialRequest, + assign_connector_credential_request: AssignConnectorCredentialRequest, 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, _request_timeout: Union[ None, @@ -968,13 +968,13 @@ def assign_connector_credential( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminAssignConnectorCredentialsResponseDTO: + ) -> AssignConnectorCredentialsResponseDTO: """Assign connector credentials to data connectors Assign a connector credential to a data connector. - :param data_in_assign_connector_credential_request: (required) - :type data_in_assign_connector_credential_request: DataInAssignConnectorCredentialRequest + :param assign_connector_credential_request: (required) + :type assign_connector_credential_request: AssignConnectorCredentialRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1000,7 +1000,7 @@ def assign_connector_credential( """ # noqa: E501 _param = self._assign_connector_credential_serialize( - data_in_assign_connector_credential_request=data_in_assign_connector_credential_request, + assign_connector_credential_request=assign_connector_credential_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1009,7 +1009,7 @@ def assign_connector_credential( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminAssignConnectorCredentialsResponseDTO", + '200': "AssignConnectorCredentialsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1025,7 +1025,7 @@ def assign_connector_credential( @validate_call def assign_connector_credential_with_http_info( self, - data_in_assign_connector_credential_request: DataInAssignConnectorCredentialRequest, + assign_connector_credential_request: AssignConnectorCredentialRequest, 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, _request_timeout: Union[ None, @@ -1039,13 +1039,13 @@ def assign_connector_credential_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminAssignConnectorCredentialsResponseDTO]: + ) -> ApiResponse[AssignConnectorCredentialsResponseDTO]: """Assign connector credentials to data connectors Assign a connector credential to a data connector. - :param data_in_assign_connector_credential_request: (required) - :type data_in_assign_connector_credential_request: DataInAssignConnectorCredentialRequest + :param assign_connector_credential_request: (required) + :type assign_connector_credential_request: AssignConnectorCredentialRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1071,7 +1071,7 @@ def assign_connector_credential_with_http_info( """ # noqa: E501 _param = self._assign_connector_credential_serialize( - data_in_assign_connector_credential_request=data_in_assign_connector_credential_request, + assign_connector_credential_request=assign_connector_credential_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1080,7 +1080,7 @@ def assign_connector_credential_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminAssignConnectorCredentialsResponseDTO", + '200': "AssignConnectorCredentialsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1096,7 +1096,7 @@ def assign_connector_credential_with_http_info( @validate_call def assign_connector_credential_without_preload_content( self, - data_in_assign_connector_credential_request: DataInAssignConnectorCredentialRequest, + assign_connector_credential_request: AssignConnectorCredentialRequest, 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, _request_timeout: Union[ None, @@ -1115,8 +1115,8 @@ def assign_connector_credential_without_preload_content( Assign a connector credential to a data connector. - :param data_in_assign_connector_credential_request: (required) - :type data_in_assign_connector_credential_request: DataInAssignConnectorCredentialRequest + :param assign_connector_credential_request: (required) + :type assign_connector_credential_request: AssignConnectorCredentialRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1142,7 +1142,7 @@ def assign_connector_credential_without_preload_content( """ # noqa: E501 _param = self._assign_connector_credential_serialize( - data_in_assign_connector_credential_request=data_in_assign_connector_credential_request, + assign_connector_credential_request=assign_connector_credential_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1151,7 +1151,7 @@ def assign_connector_credential_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminAssignConnectorCredentialsResponseDTO", + '200': "AssignConnectorCredentialsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1162,7 +1162,7 @@ def assign_connector_credential_without_preload_content( def _assign_connector_credential_serialize( self, - data_in_assign_connector_credential_request, + assign_connector_credential_request, target_tenant_id, _request_auth, _content_type, @@ -1191,8 +1191,8 @@ def _assign_connector_credential_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if data_in_assign_connector_credential_request is not None: - _body_params = data_in_assign_connector_credential_request + if assign_connector_credential_request is not None: + _body_params = assign_connector_credential_request # set the HTTP header `Accept` @@ -1247,7 +1247,7 @@ def _assign_connector_credential_serialize( @validate_call def cancel_jobs( self, - dp_cancel_job_batch_from_job_id_dto: DpCancelJobBatchFromJobIdDTO, + cancel_job_batch_from_job_id_dto: CancelJobBatchFromJobIdDTO, 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, _request_timeout: Union[ None, @@ -1261,13 +1261,13 @@ def cancel_jobs( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DpJobCancellationResultsDTO: + ) -> JobCancellationResultsDTO: """Cancel a list of jobs Cancel a list of processing jobs, upload jobs, receiving jobs, and extraction jobs. **Note:** Receiving jobs with the Running status cannot be cancelled. - :param dp_cancel_job_batch_from_job_id_dto: (required) - :type dp_cancel_job_batch_from_job_id_dto: DpCancelJobBatchFromJobIdDTO + :param cancel_job_batch_from_job_id_dto: (required) + :type cancel_job_batch_from_job_id_dto: CancelJobBatchFromJobIdDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1293,7 +1293,7 @@ def cancel_jobs( """ # noqa: E501 _param = self._cancel_jobs_serialize( - dp_cancel_job_batch_from_job_id_dto=dp_cancel_job_batch_from_job_id_dto, + cancel_job_batch_from_job_id_dto=cancel_job_batch_from_job_id_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1302,7 +1302,7 @@ def cancel_jobs( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpJobCancellationResultsDTO", + '200': "JobCancellationResultsDTO", } response_data = self.api_client.call_api( *_param, @@ -1318,7 +1318,7 @@ def cancel_jobs( @validate_call def cancel_jobs_with_http_info( self, - dp_cancel_job_batch_from_job_id_dto: DpCancelJobBatchFromJobIdDTO, + cancel_job_batch_from_job_id_dto: CancelJobBatchFromJobIdDTO, 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, _request_timeout: Union[ None, @@ -1332,13 +1332,13 @@ def cancel_jobs_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DpJobCancellationResultsDTO]: + ) -> ApiResponse[JobCancellationResultsDTO]: """Cancel a list of jobs Cancel a list of processing jobs, upload jobs, receiving jobs, and extraction jobs. **Note:** Receiving jobs with the Running status cannot be cancelled. - :param dp_cancel_job_batch_from_job_id_dto: (required) - :type dp_cancel_job_batch_from_job_id_dto: DpCancelJobBatchFromJobIdDTO + :param cancel_job_batch_from_job_id_dto: (required) + :type cancel_job_batch_from_job_id_dto: CancelJobBatchFromJobIdDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1364,7 +1364,7 @@ def cancel_jobs_with_http_info( """ # noqa: E501 _param = self._cancel_jobs_serialize( - dp_cancel_job_batch_from_job_id_dto=dp_cancel_job_batch_from_job_id_dto, + cancel_job_batch_from_job_id_dto=cancel_job_batch_from_job_id_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1373,7 +1373,7 @@ def cancel_jobs_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpJobCancellationResultsDTO", + '200': "JobCancellationResultsDTO", } response_data = self.api_client.call_api( *_param, @@ -1389,7 +1389,7 @@ def cancel_jobs_with_http_info( @validate_call def cancel_jobs_without_preload_content( self, - dp_cancel_job_batch_from_job_id_dto: DpCancelJobBatchFromJobIdDTO, + cancel_job_batch_from_job_id_dto: CancelJobBatchFromJobIdDTO, 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, _request_timeout: Union[ None, @@ -1408,8 +1408,8 @@ def cancel_jobs_without_preload_content( Cancel a list of processing jobs, upload jobs, receiving jobs, and extraction jobs. **Note:** Receiving jobs with the Running status cannot be cancelled. - :param dp_cancel_job_batch_from_job_id_dto: (required) - :type dp_cancel_job_batch_from_job_id_dto: DpCancelJobBatchFromJobIdDTO + :param cancel_job_batch_from_job_id_dto: (required) + :type cancel_job_batch_from_job_id_dto: CancelJobBatchFromJobIdDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1435,7 +1435,7 @@ def cancel_jobs_without_preload_content( """ # noqa: E501 _param = self._cancel_jobs_serialize( - dp_cancel_job_batch_from_job_id_dto=dp_cancel_job_batch_from_job_id_dto, + cancel_job_batch_from_job_id_dto=cancel_job_batch_from_job_id_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1444,7 +1444,7 @@ def cancel_jobs_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpJobCancellationResultsDTO", + '200': "JobCancellationResultsDTO", } response_data = self.api_client.call_api( *_param, @@ -1455,7 +1455,7 @@ def cancel_jobs_without_preload_content( def _cancel_jobs_serialize( self, - dp_cancel_job_batch_from_job_id_dto, + cancel_job_batch_from_job_id_dto, target_tenant_id, _request_auth, _content_type, @@ -1484,8 +1484,8 @@ def _cancel_jobs_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if dp_cancel_job_batch_from_job_id_dto is not None: - _body_params = dp_cancel_job_batch_from_job_id_dto + if cancel_job_batch_from_job_id_dto is not None: + _body_params = cancel_job_batch_from_job_id_dto # set the HTTP header `Accept` @@ -1540,7 +1540,7 @@ def _cancel_jobs_serialize( @validate_call def create_connector_credential( self, - designer_data_provider_auth_information_dto: DesignerDataProviderAuthInformationDTO, + data_provider_auth_information_dto: DataProviderAuthInformationDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="The tenant code of a specific analytic tenant that you want to create the credential for.")] = None, 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, _request_timeout: Union[ @@ -1555,13 +1555,13 @@ def create_connector_credential( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerCredentialCreationAPIResponseDTO: + ) -> CredentialCreationAPIResponseDTO: """Create a connector credential Create credentials for a data connector. Connector credentials allow Visier to retrieve data from your source systems through an integration user in the source system. In the request body, specify one data provider in the `dataProviderAuthParams` parameter. For example, to create connector credentials for a UKG data connector, your request body might look like the following sample. ```json { model={ \"dataProviderAuthParams\": { \"provider\": \"UKG\", \"ultimateAuthParams\": { \"hostDomainName\": \"exampleHostDomain\", \"apiKey\": \"apiKey1234\", \"username\": \"username1234\", \"password\": \"password1234\", \"userAccessKey\": \"accessKey1234\" } }, \"dataProviderBasicInformation\": { \"displayName\": \"exampleDisplayName\", \"description\": \"exampleDescription\" } } ``` - :param designer_data_provider_auth_information_dto: (required) - :type designer_data_provider_auth_information_dto: DesignerDataProviderAuthInformationDTO + :param data_provider_auth_information_dto: (required) + :type data_provider_auth_information_dto: DataProviderAuthInformationDTO :param tenant_code: The tenant code of a specific analytic tenant that you want to create the credential for. :type tenant_code: str :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. @@ -1589,7 +1589,7 @@ def create_connector_credential( """ # noqa: E501 _param = self._create_connector_credential_serialize( - designer_data_provider_auth_information_dto=designer_data_provider_auth_information_dto, + data_provider_auth_information_dto=data_provider_auth_information_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -1599,7 +1599,7 @@ def create_connector_credential( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCredentialCreationAPIResponseDTO", + '200': "CredentialCreationAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1615,7 +1615,7 @@ def create_connector_credential( @validate_call def create_connector_credential_with_http_info( self, - designer_data_provider_auth_information_dto: DesignerDataProviderAuthInformationDTO, + data_provider_auth_information_dto: DataProviderAuthInformationDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="The tenant code of a specific analytic tenant that you want to create the credential for.")] = None, 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, _request_timeout: Union[ @@ -1630,13 +1630,13 @@ def create_connector_credential_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerCredentialCreationAPIResponseDTO]: + ) -> ApiResponse[CredentialCreationAPIResponseDTO]: """Create a connector credential Create credentials for a data connector. Connector credentials allow Visier to retrieve data from your source systems through an integration user in the source system. In the request body, specify one data provider in the `dataProviderAuthParams` parameter. For example, to create connector credentials for a UKG data connector, your request body might look like the following sample. ```json { model={ \"dataProviderAuthParams\": { \"provider\": \"UKG\", \"ultimateAuthParams\": { \"hostDomainName\": \"exampleHostDomain\", \"apiKey\": \"apiKey1234\", \"username\": \"username1234\", \"password\": \"password1234\", \"userAccessKey\": \"accessKey1234\" } }, \"dataProviderBasicInformation\": { \"displayName\": \"exampleDisplayName\", \"description\": \"exampleDescription\" } } ``` - :param designer_data_provider_auth_information_dto: (required) - :type designer_data_provider_auth_information_dto: DesignerDataProviderAuthInformationDTO + :param data_provider_auth_information_dto: (required) + :type data_provider_auth_information_dto: DataProviderAuthInformationDTO :param tenant_code: The tenant code of a specific analytic tenant that you want to create the credential for. :type tenant_code: str :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. @@ -1664,7 +1664,7 @@ def create_connector_credential_with_http_info( """ # noqa: E501 _param = self._create_connector_credential_serialize( - designer_data_provider_auth_information_dto=designer_data_provider_auth_information_dto, + data_provider_auth_information_dto=data_provider_auth_information_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -1674,7 +1674,7 @@ def create_connector_credential_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCredentialCreationAPIResponseDTO", + '200': "CredentialCreationAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1690,7 +1690,7 @@ def create_connector_credential_with_http_info( @validate_call def create_connector_credential_without_preload_content( self, - designer_data_provider_auth_information_dto: DesignerDataProviderAuthInformationDTO, + data_provider_auth_information_dto: DataProviderAuthInformationDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="The tenant code of a specific analytic tenant that you want to create the credential for.")] = None, 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, _request_timeout: Union[ @@ -1710,8 +1710,8 @@ def create_connector_credential_without_preload_content( Create credentials for a data connector. Connector credentials allow Visier to retrieve data from your source systems through an integration user in the source system. In the request body, specify one data provider in the `dataProviderAuthParams` parameter. For example, to create connector credentials for a UKG data connector, your request body might look like the following sample. ```json { model={ \"dataProviderAuthParams\": { \"provider\": \"UKG\", \"ultimateAuthParams\": { \"hostDomainName\": \"exampleHostDomain\", \"apiKey\": \"apiKey1234\", \"username\": \"username1234\", \"password\": \"password1234\", \"userAccessKey\": \"accessKey1234\" } }, \"dataProviderBasicInformation\": { \"displayName\": \"exampleDisplayName\", \"description\": \"exampleDescription\" } } ``` - :param designer_data_provider_auth_information_dto: (required) - :type designer_data_provider_auth_information_dto: DesignerDataProviderAuthInformationDTO + :param data_provider_auth_information_dto: (required) + :type data_provider_auth_information_dto: DataProviderAuthInformationDTO :param tenant_code: The tenant code of a specific analytic tenant that you want to create the credential for. :type tenant_code: str :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. @@ -1739,7 +1739,7 @@ def create_connector_credential_without_preload_content( """ # noqa: E501 _param = self._create_connector_credential_serialize( - designer_data_provider_auth_information_dto=designer_data_provider_auth_information_dto, + data_provider_auth_information_dto=data_provider_auth_information_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -1749,7 +1749,7 @@ def create_connector_credential_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCredentialCreationAPIResponseDTO", + '200': "CredentialCreationAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1760,7 +1760,7 @@ def create_connector_credential_without_preload_content( def _create_connector_credential_serialize( self, - designer_data_provider_auth_information_dto, + data_provider_auth_information_dto, tenant_code, target_tenant_id, _request_auth, @@ -1794,8 +1794,8 @@ def _create_connector_credential_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if designer_data_provider_auth_information_dto is not None: - _body_params = designer_data_provider_auth_information_dto + if data_provider_auth_information_dto is not None: + _body_params = data_provider_auth_information_dto # set the HTTP header `Accept` @@ -1866,7 +1866,7 @@ def data_connector_credentials( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerExtractorCredentialsAPIDTO: + ) -> ExtractorCredentialsAPIDTO: """Retrieve a list of all data connector credentials Retrieve a list of the connector credentials in a specified tenant. Connector credentials allow Visier to retrieve data from your source systems through an integration user in the source system. @@ -1913,7 +1913,7 @@ def data_connector_credentials( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerExtractorCredentialsAPIDTO", + '200': "ExtractorCredentialsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1945,7 +1945,7 @@ def data_connector_credentials_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerExtractorCredentialsAPIDTO]: + ) -> ApiResponse[ExtractorCredentialsAPIDTO]: """Retrieve a list of all data connector credentials Retrieve a list of the connector credentials in a specified tenant. Connector credentials allow Visier to retrieve data from your source systems through an integration user in the source system. @@ -1992,7 +1992,7 @@ def data_connector_credentials_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerExtractorCredentialsAPIDTO", + '200': "ExtractorCredentialsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -2071,7 +2071,7 @@ def data_connector_credentials_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerExtractorCredentialsAPIDTO", + '200': "ExtractorCredentialsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -2182,7 +2182,7 @@ def data_connectors( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminDataImportDefinitionsAPIDTO: + ) -> ImportDefinitionsAPIDTO: """Retrieve a list of all data connectors Retrieve a list of the data connectors in a specified tenant. Data connectors are an alternative to generating flat files and transferring them to Visier via SFTP. @@ -2229,7 +2229,7 @@ def data_connectors( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminDataImportDefinitionsAPIDTO", + '200': "ImportDefinitionsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -2261,7 +2261,7 @@ def data_connectors_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminDataImportDefinitionsAPIDTO]: + ) -> ApiResponse[ImportDefinitionsAPIDTO]: """Retrieve a list of all data connectors Retrieve a list of the data connectors in a specified tenant. Data connectors are an alternative to generating flat files and transferring them to Visier via SFTP. @@ -2308,7 +2308,7 @@ def data_connectors_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminDataImportDefinitionsAPIDTO", + '200': "ImportDefinitionsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -2387,7 +2387,7 @@ def data_connectors_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminDataImportDefinitionsAPIDTO", + '200': "ImportDefinitionsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -2779,7 +2779,7 @@ def _delete_connector_credential_serialize( @validate_call def disable_dv( self, - data_in_disable_dv_request: DataInDisableDVRequest, + disable_dv_request: DisableDVRequest, 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, _request_timeout: Union[ None, @@ -2793,13 +2793,13 @@ def disable_dv( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInDisableDVResponse: + ) -> DisableDVResponse: """Disable data versions for a list of analytic tenants If you discover that a data version is not what is expected after running metric value validation on a data load, you may want to disable the data version for that processing job. Disable the latest enabled data versions for affected analytic tenants or to disable a particular data version for each analytic tenant. **Note:** Disabling an older data version may not have an effect on the state of the solution. - :param data_in_disable_dv_request: (required) - :type data_in_disable_dv_request: DataInDisableDVRequest + :param disable_dv_request: (required) + :type disable_dv_request: DisableDVRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2825,7 +2825,7 @@ def disable_dv( """ # noqa: E501 _param = self._disable_dv_serialize( - data_in_disable_dv_request=data_in_disable_dv_request, + disable_dv_request=disable_dv_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2834,7 +2834,7 @@ def disable_dv( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDisableDVResponse", + '200': "DisableDVResponse", } response_data = self.api_client.call_api( *_param, @@ -2850,7 +2850,7 @@ def disable_dv( @validate_call def disable_dv_with_http_info( self, - data_in_disable_dv_request: DataInDisableDVRequest, + disable_dv_request: DisableDVRequest, 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, _request_timeout: Union[ None, @@ -2864,13 +2864,13 @@ def disable_dv_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInDisableDVResponse]: + ) -> ApiResponse[DisableDVResponse]: """Disable data versions for a list of analytic tenants If you discover that a data version is not what is expected after running metric value validation on a data load, you may want to disable the data version for that processing job. Disable the latest enabled data versions for affected analytic tenants or to disable a particular data version for each analytic tenant. **Note:** Disabling an older data version may not have an effect on the state of the solution. - :param data_in_disable_dv_request: (required) - :type data_in_disable_dv_request: DataInDisableDVRequest + :param disable_dv_request: (required) + :type disable_dv_request: DisableDVRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2896,7 +2896,7 @@ def disable_dv_with_http_info( """ # noqa: E501 _param = self._disable_dv_serialize( - data_in_disable_dv_request=data_in_disable_dv_request, + disable_dv_request=disable_dv_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2905,7 +2905,7 @@ def disable_dv_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDisableDVResponse", + '200': "DisableDVResponse", } response_data = self.api_client.call_api( *_param, @@ -2921,7 +2921,7 @@ def disable_dv_with_http_info( @validate_call def disable_dv_without_preload_content( self, - data_in_disable_dv_request: DataInDisableDVRequest, + disable_dv_request: DisableDVRequest, 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, _request_timeout: Union[ None, @@ -2940,8 +2940,8 @@ def disable_dv_without_preload_content( If you discover that a data version is not what is expected after running metric value validation on a data load, you may want to disable the data version for that processing job. Disable the latest enabled data versions for affected analytic tenants or to disable a particular data version for each analytic tenant. **Note:** Disabling an older data version may not have an effect on the state of the solution. - :param data_in_disable_dv_request: (required) - :type data_in_disable_dv_request: DataInDisableDVRequest + :param disable_dv_request: (required) + :type disable_dv_request: DisableDVRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2967,7 +2967,7 @@ def disable_dv_without_preload_content( """ # noqa: E501 _param = self._disable_dv_serialize( - data_in_disable_dv_request=data_in_disable_dv_request, + disable_dv_request=disable_dv_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2976,7 +2976,7 @@ def disable_dv_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDisableDVResponse", + '200': "DisableDVResponse", } response_data = self.api_client.call_api( *_param, @@ -2987,7 +2987,7 @@ def disable_dv_without_preload_content( def _disable_dv_serialize( self, - data_in_disable_dv_request, + disable_dv_request, target_tenant_id, _request_auth, _content_type, @@ -3016,8 +3016,8 @@ def _disable_dv_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if data_in_disable_dv_request is not None: - _body_params = data_in_disable_dv_request + if disable_dv_request is not None: + _body_params = disable_dv_request # set the HTTP header `Accept` @@ -3086,7 +3086,7 @@ def dispatching_job_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInDispatchingJobStatusResponse: + ) -> DispatchingJobStatusResponse: """Retrieve a dispatching job's status Retrieve the status of a dispatching job, including its job ID and the number of jobs it generated. @@ -3127,7 +3127,7 @@ def dispatching_job_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDispatchingJobStatusResponse", + '200': "DispatchingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -3157,7 +3157,7 @@ def dispatching_job_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInDispatchingJobStatusResponse]: + ) -> ApiResponse[DispatchingJobStatusResponse]: """Retrieve a dispatching job's status Retrieve the status of a dispatching job, including its job ID and the number of jobs it generated. @@ -3198,7 +3198,7 @@ def dispatching_job_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDispatchingJobStatusResponse", + '200': "DispatchingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -3269,7 +3269,7 @@ def dispatching_job_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDispatchingJobStatusResponse", + '200': "DispatchingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -3352,7 +3352,7 @@ def _dispatching_job_status_serialize( @validate_call def exclude_data_uplaods( self, - data_in_exclude_data_uploads_request: DataInExcludeDataUploadsRequest, + exclude_data_uploads_request: ExcludeDataUploadsRequest, 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, _request_timeout: Union[ None, @@ -3366,13 +3366,13 @@ def exclude_data_uplaods( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingTenantDataUploadsUpdateResponseDTO: + ) -> TenantDataUploadsUpdateResponseDTO: """Exclude data uploads Exclude either a specified list of data uploads or all data uploads for each analytic tenant. - :param data_in_exclude_data_uploads_request: (required) - :type data_in_exclude_data_uploads_request: DataInExcludeDataUploadsRequest + :param exclude_data_uploads_request: (required) + :type exclude_data_uploads_request: ExcludeDataUploadsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -3398,7 +3398,7 @@ def exclude_data_uplaods( """ # noqa: E501 _param = self._exclude_data_uplaods_serialize( - data_in_exclude_data_uploads_request=data_in_exclude_data_uploads_request, + exclude_data_uploads_request=exclude_data_uploads_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3407,7 +3407,7 @@ def exclude_data_uplaods( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsUpdateResponseDTO", + '200': "TenantDataUploadsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3423,7 +3423,7 @@ def exclude_data_uplaods( @validate_call def exclude_data_uplaods_with_http_info( self, - data_in_exclude_data_uploads_request: DataInExcludeDataUploadsRequest, + exclude_data_uploads_request: ExcludeDataUploadsRequest, 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, _request_timeout: Union[ None, @@ -3437,13 +3437,13 @@ def exclude_data_uplaods_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingTenantDataUploadsUpdateResponseDTO]: + ) -> ApiResponse[TenantDataUploadsUpdateResponseDTO]: """Exclude data uploads Exclude either a specified list of data uploads or all data uploads for each analytic tenant. - :param data_in_exclude_data_uploads_request: (required) - :type data_in_exclude_data_uploads_request: DataInExcludeDataUploadsRequest + :param exclude_data_uploads_request: (required) + :type exclude_data_uploads_request: ExcludeDataUploadsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -3469,7 +3469,7 @@ def exclude_data_uplaods_with_http_info( """ # noqa: E501 _param = self._exclude_data_uplaods_serialize( - data_in_exclude_data_uploads_request=data_in_exclude_data_uploads_request, + exclude_data_uploads_request=exclude_data_uploads_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3478,7 +3478,7 @@ def exclude_data_uplaods_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsUpdateResponseDTO", + '200': "TenantDataUploadsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3494,7 +3494,7 @@ def exclude_data_uplaods_with_http_info( @validate_call def exclude_data_uplaods_without_preload_content( self, - data_in_exclude_data_uploads_request: DataInExcludeDataUploadsRequest, + exclude_data_uploads_request: ExcludeDataUploadsRequest, 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, _request_timeout: Union[ None, @@ -3513,8 +3513,8 @@ def exclude_data_uplaods_without_preload_content( Exclude either a specified list of data uploads or all data uploads for each analytic tenant. - :param data_in_exclude_data_uploads_request: (required) - :type data_in_exclude_data_uploads_request: DataInExcludeDataUploadsRequest + :param exclude_data_uploads_request: (required) + :type exclude_data_uploads_request: ExcludeDataUploadsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -3540,7 +3540,7 @@ def exclude_data_uplaods_without_preload_content( """ # noqa: E501 _param = self._exclude_data_uplaods_serialize( - data_in_exclude_data_uploads_request=data_in_exclude_data_uploads_request, + exclude_data_uploads_request=exclude_data_uploads_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -3549,7 +3549,7 @@ def exclude_data_uplaods_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsUpdateResponseDTO", + '200': "TenantDataUploadsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3560,7 +3560,7 @@ def exclude_data_uplaods_without_preload_content( def _exclude_data_uplaods_serialize( self, - data_in_exclude_data_uploads_request, + exclude_data_uploads_request, target_tenant_id, _request_auth, _content_type, @@ -3589,8 +3589,8 @@ def _exclude_data_uplaods_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if data_in_exclude_data_uploads_request is not None: - _body_params = data_in_exclude_data_uploads_request + if exclude_data_uploads_request is not None: + _body_params = exclude_data_uploads_request # set the HTTP header `Accept` @@ -3663,7 +3663,7 @@ def extraction_job_and_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInExtractionJobAndStatusResponse: + ) -> ExtractionJobAndStatusResponse: """Retrieve a dispatching job's extraction jobs with their statuses Retrieve the statuses of extraction jobs associated with a dispatching job. The dispatching job is a \"parent\" to extraction jobs, which retrieve data from your source systems through data connectors. @@ -3716,7 +3716,7 @@ def extraction_job_and_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInExtractionJobAndStatusResponse", + '200': "ExtractionJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -3750,7 +3750,7 @@ def extraction_job_and_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInExtractionJobAndStatusResponse]: + ) -> ApiResponse[ExtractionJobAndStatusResponse]: """Retrieve a dispatching job's extraction jobs with their statuses Retrieve the statuses of extraction jobs associated with a dispatching job. The dispatching job is a \"parent\" to extraction jobs, which retrieve data from your source systems through data connectors. @@ -3803,7 +3803,7 @@ def extraction_job_and_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInExtractionJobAndStatusResponse", + '200': "ExtractionJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -3890,7 +3890,7 @@ def extraction_job_and_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInExtractionJobAndStatusResponse", + '200': "ExtractionJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -3993,7 +3993,7 @@ def _extraction_job_and_status_serialize( @validate_call def include_data_uploads( self, - data_in_include_data_uploads_request: DataInIncludeDataUploadsRequest, + include_data_uploads_request: IncludeDataUploadsRequest, 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, _request_timeout: Union[ None, @@ -4007,13 +4007,13 @@ def include_data_uploads( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingTenantDataUploadsUpdateResponseDTO: + ) -> TenantDataUploadsUpdateResponseDTO: """Include data uploads Include either the specified list of data uploads or all data uploads for each analytic tenant. - :param data_in_include_data_uploads_request: (required) - :type data_in_include_data_uploads_request: DataInIncludeDataUploadsRequest + :param include_data_uploads_request: (required) + :type include_data_uploads_request: IncludeDataUploadsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4039,7 +4039,7 @@ def include_data_uploads( """ # noqa: E501 _param = self._include_data_uploads_serialize( - data_in_include_data_uploads_request=data_in_include_data_uploads_request, + include_data_uploads_request=include_data_uploads_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4048,7 +4048,7 @@ def include_data_uploads( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsUpdateResponseDTO", + '200': "TenantDataUploadsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4064,7 +4064,7 @@ def include_data_uploads( @validate_call def include_data_uploads_with_http_info( self, - data_in_include_data_uploads_request: DataInIncludeDataUploadsRequest, + include_data_uploads_request: IncludeDataUploadsRequest, 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, _request_timeout: Union[ None, @@ -4078,13 +4078,13 @@ def include_data_uploads_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingTenantDataUploadsUpdateResponseDTO]: + ) -> ApiResponse[TenantDataUploadsUpdateResponseDTO]: """Include data uploads Include either the specified list of data uploads or all data uploads for each analytic tenant. - :param data_in_include_data_uploads_request: (required) - :type data_in_include_data_uploads_request: DataInIncludeDataUploadsRequest + :param include_data_uploads_request: (required) + :type include_data_uploads_request: IncludeDataUploadsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4110,7 +4110,7 @@ def include_data_uploads_with_http_info( """ # noqa: E501 _param = self._include_data_uploads_serialize( - data_in_include_data_uploads_request=data_in_include_data_uploads_request, + include_data_uploads_request=include_data_uploads_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4119,7 +4119,7 @@ def include_data_uploads_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsUpdateResponseDTO", + '200': "TenantDataUploadsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4135,7 +4135,7 @@ def include_data_uploads_with_http_info( @validate_call def include_data_uploads_without_preload_content( self, - data_in_include_data_uploads_request: DataInIncludeDataUploadsRequest, + include_data_uploads_request: IncludeDataUploadsRequest, 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, _request_timeout: Union[ None, @@ -4154,8 +4154,8 @@ def include_data_uploads_without_preload_content( Include either the specified list of data uploads or all data uploads for each analytic tenant. - :param data_in_include_data_uploads_request: (required) - :type data_in_include_data_uploads_request: DataInIncludeDataUploadsRequest + :param include_data_uploads_request: (required) + :type include_data_uploads_request: IncludeDataUploadsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4181,7 +4181,7 @@ def include_data_uploads_without_preload_content( """ # noqa: E501 _param = self._include_data_uploads_serialize( - data_in_include_data_uploads_request=data_in_include_data_uploads_request, + include_data_uploads_request=include_data_uploads_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4190,7 +4190,7 @@ def include_data_uploads_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsUpdateResponseDTO", + '200': "TenantDataUploadsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4201,7 +4201,7 @@ def include_data_uploads_without_preload_content( def _include_data_uploads_serialize( self, - data_in_include_data_uploads_request, + include_data_uploads_request, target_tenant_id, _request_auth, _content_type, @@ -4230,8 +4230,8 @@ def _include_data_uploads_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if data_in_include_data_uploads_request is not None: - _body_params = data_in_include_data_uploads_request + if include_data_uploads_request is not None: + _body_params = include_data_uploads_request # set the HTTP header `Accept` @@ -4300,7 +4300,7 @@ def job_id_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInReceivingJobStatusResponse: + ) -> ReceivingJobStatusResponse: """Retrieve a specific job's status Use this API to retrieve the list of statuses for a specific job with id `jobId`. You can retrieve all job statuses or specify a time period to retrieve statuses from. @@ -4341,7 +4341,7 @@ def job_id_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobStatusResponse", + '200': "ReceivingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -4371,7 +4371,7 @@ def job_id_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInReceivingJobStatusResponse]: + ) -> ApiResponse[ReceivingJobStatusResponse]: """Retrieve a specific job's status Use this API to retrieve the list of statuses for a specific job with id `jobId`. You can retrieve all job statuses or specify a time period to retrieve statuses from. @@ -4412,7 +4412,7 @@ def job_id_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobStatusResponse", + '200': "ReceivingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -4483,7 +4483,7 @@ def job_id_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobStatusResponse", + '200': "ReceivingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -4582,7 +4582,7 @@ def job_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInJobStatusListResponse: + ) -> JobStatusListResponse: """Retrieve the statuses of all jobs Retrieve the list of statuses for all jobs. @@ -4629,7 +4629,7 @@ def job_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInJobStatusListResponse", + '200': "JobStatusListResponse", } response_data = self.api_client.call_api( *_param, @@ -4661,7 +4661,7 @@ def job_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInJobStatusListResponse]: + ) -> ApiResponse[JobStatusListResponse]: """Retrieve the statuses of all jobs Retrieve the list of statuses for all jobs. @@ -4708,7 +4708,7 @@ def job_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInJobStatusListResponse", + '200': "JobStatusListResponse", } response_data = self.api_client.call_api( *_param, @@ -4787,7 +4787,7 @@ def job_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInJobStatusListResponse", + '200': "JobStatusListResponse", } response_data = self.api_client.call_api( *_param, @@ -4899,7 +4899,7 @@ def latest_enabled_dv( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminMultipleTenantDataVersionsListDTO: + ) -> MultipleTenantDataVersionsListDTO: """Retrieve the latest enabled data versions for all analytic tenants If you discover any inconsistencies after running metric value validation, you may want to find the data versions causing inconsistencies so you can later disable them. Retrieve up to five (5) of the latest enabled data versions for all your analytic tenants or a single specified analytic tenant. @@ -4949,7 +4949,7 @@ def latest_enabled_dv( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminMultipleTenantDataVersionsListDTO", + '200': "MultipleTenantDataVersionsListDTO", } response_data = self.api_client.call_api( *_param, @@ -4982,7 +4982,7 @@ def latest_enabled_dv_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminMultipleTenantDataVersionsListDTO]: + ) -> ApiResponse[MultipleTenantDataVersionsListDTO]: """Retrieve the latest enabled data versions for all analytic tenants If you discover any inconsistencies after running metric value validation, you may want to find the data versions causing inconsistencies so you can later disable them. Retrieve up to five (5) of the latest enabled data versions for all your analytic tenants or a single specified analytic tenant. @@ -5032,7 +5032,7 @@ def latest_enabled_dv_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminMultipleTenantDataVersionsListDTO", + '200': "MultipleTenantDataVersionsListDTO", } response_data = self.api_client.call_api( *_param, @@ -5115,7 +5115,7 @@ def latest_enabled_dv_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminMultipleTenantDataVersionsListDTO", + '200': "MultipleTenantDataVersionsListDTO", } response_data = self.api_client.call_api( *_param, @@ -5228,7 +5228,7 @@ def list_connector_settings( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminExtractorSettingsAPIDTO: + ) -> ExtractorSettingsAPIDTO: """Retrieve data connector settings Get a list of settings for all data connectors. This request retrieves data connectors from the production environment. The response returns a list of settings, if available, for each data connector in the tenant. @@ -5266,7 +5266,7 @@ def list_connector_settings( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminExtractorSettingsAPIDTO", + '200': "ExtractorSettingsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -5295,7 +5295,7 @@ def list_connector_settings_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminExtractorSettingsAPIDTO]: + ) -> ApiResponse[ExtractorSettingsAPIDTO]: """Retrieve data connector settings Get a list of settings for all data connectors. This request retrieves data connectors from the production environment. The response returns a list of settings, if available, for each data connector in the tenant. @@ -5333,7 +5333,7 @@ def list_connector_settings_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminExtractorSettingsAPIDTO", + '200': "ExtractorSettingsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -5400,7 +5400,7 @@ def list_connector_settings_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminExtractorSettingsAPIDTO", + '200': "ExtractorSettingsAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -5498,7 +5498,7 @@ def processing_job_and_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInProcessingJobAndStatusResponse: + ) -> ProcessingJobAndStatusResponse: """Retrieve a dispatching job's processing jobs with their statuses Retrieve the statuses of processing jobs associated with a dispatching job. The dispatching job is a \"parent\" to extraction jobs, which in turn generate processing jobs and receiving jobs. @@ -5551,7 +5551,7 @@ def processing_job_and_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInProcessingJobAndStatusResponse", + '200': "ProcessingJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -5585,7 +5585,7 @@ def processing_job_and_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInProcessingJobAndStatusResponse]: + ) -> ApiResponse[ProcessingJobAndStatusResponse]: """Retrieve a dispatching job's processing jobs with their statuses Retrieve the statuses of processing jobs associated with a dispatching job. The dispatching job is a \"parent\" to extraction jobs, which in turn generate processing jobs and receiving jobs. @@ -5638,7 +5638,7 @@ def processing_job_and_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInProcessingJobAndStatusResponse", + '200': "ProcessingJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -5725,7 +5725,7 @@ def processing_job_and_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInProcessingJobAndStatusResponse", + '200': "ProcessingJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -5845,7 +5845,7 @@ def processing_job_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInProcessingJobStatusResponse: + ) -> ProcessingJobStatusResponse: """Retrieve processing job statuses by receiving job ID Retrieve a list of statuses for all processing jobs associated with the given receiving job ID. Processing jobs deal with an individual analytic tenant's data load. A processing job is either triggered through the UI or is one of many processing jobs spawned from a receiving job. When a processing job is triggered as part of a set from an receiving job, it is associated to the receiving job through a Parent ID. @@ -5895,7 +5895,7 @@ def processing_job_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInProcessingJobStatusResponse", + '200': "ProcessingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -5928,7 +5928,7 @@ def processing_job_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInProcessingJobStatusResponse]: + ) -> ApiResponse[ProcessingJobStatusResponse]: """Retrieve processing job statuses by receiving job ID Retrieve a list of statuses for all processing jobs associated with the given receiving job ID. Processing jobs deal with an individual analytic tenant's data load. A processing job is either triggered through the UI or is one of many processing jobs spawned from a receiving job. When a processing job is triggered as part of a set from an receiving job, it is associated to the receiving job through a Parent ID. @@ -5978,7 +5978,7 @@ def processing_job_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInProcessingJobStatusResponse", + '200': "ProcessingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -6061,7 +6061,7 @@ def processing_job_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInProcessingJobStatusResponse", + '200': "ProcessingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -6177,7 +6177,7 @@ def receiving_job_and_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInReceivingJobAndStatusResponse: + ) -> ReceivingJobAndStatusResponse: """Retrieve a dispatching job's receiving jobs with their statuses Retrieve the statuses of receiving jobs associated with a dispatching job. The dispatching job is a \"parent\" to extraction jobs, which in turn generate processing jobs and receiving jobs. @@ -6230,7 +6230,7 @@ def receiving_job_and_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobAndStatusResponse", + '200': "ReceivingJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -6264,7 +6264,7 @@ def receiving_job_and_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInReceivingJobAndStatusResponse]: + ) -> ApiResponse[ReceivingJobAndStatusResponse]: """Retrieve a dispatching job's receiving jobs with their statuses Retrieve the statuses of receiving jobs associated with a dispatching job. The dispatching job is a \"parent\" to extraction jobs, which in turn generate processing jobs and receiving jobs. @@ -6317,7 +6317,7 @@ def receiving_job_and_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobAndStatusResponse", + '200': "ReceivingJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -6404,7 +6404,7 @@ def receiving_job_and_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobAndStatusResponse", + '200': "ReceivingJobAndStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -6525,7 +6525,7 @@ def receiving_job_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInReceivingJobStatusResponse: + ) -> ReceivingJobStatusResponse: """Retrieve a receiving job's status After sending data to Visier, you may want to know the status of the receiving job and the associated tenant receiving jobs. A receiving job validates the transferred data and adds the transferred data to Visier's data store. A successful response indicates that the receiving job was successful. To get the status of the jobs spawned by the receiving job, set the `jobs` parameter to `true`. @@ -6578,7 +6578,7 @@ def receiving_job_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobStatusResponse", + '200': "ReceivingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -6612,7 +6612,7 @@ def receiving_job_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInReceivingJobStatusResponse]: + ) -> ApiResponse[ReceivingJobStatusResponse]: """Retrieve a receiving job's status After sending data to Visier, you may want to know the status of the receiving job and the associated tenant receiving jobs. A receiving job validates the transferred data and adds the transferred data to Visier's data store. A successful response indicates that the receiving job was successful. To get the status of the jobs spawned by the receiving job, set the `jobs` parameter to `true`. @@ -6665,7 +6665,7 @@ def receiving_job_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobStatusResponse", + '200': "ReceivingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -6752,7 +6752,7 @@ def receiving_job_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInReceivingJobStatusResponse", + '200': "ReceivingJobStatusResponse", } response_data = self.api_client.call_api( *_param, @@ -6868,7 +6868,7 @@ def retrieve_data_categories( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingDataCategoriesResponseDTO: + ) -> DataCategoriesResponseDTO: """Retrieve a list of all data categories Retrieve a list of all available data categories. @@ -6906,7 +6906,7 @@ def retrieve_data_categories( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDataCategoriesResponseDTO", + '200': "DataCategoriesResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -6935,7 +6935,7 @@ def retrieve_data_categories_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingDataCategoriesResponseDTO]: + ) -> ApiResponse[DataCategoriesResponseDTO]: """Retrieve a list of all data categories Retrieve a list of all available data categories. @@ -6973,7 +6973,7 @@ def retrieve_data_categories_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDataCategoriesResponseDTO", + '200': "DataCategoriesResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7040,7 +7040,7 @@ def retrieve_data_categories_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDataCategoriesResponseDTO", + '200': "DataCategoriesResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7138,7 +7138,7 @@ def retrieve_data_uploads( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingTenantDataUploadsListResponseDTO: + ) -> TenantDataUploadsListResponseDTO: """Retrieve data uploads Retrieve the data uploads and whether they're included in one of: - A list of analytic tenants managed by you. - A single specified analytic tenant. - An upload job. @@ -7191,7 +7191,7 @@ def retrieve_data_uploads( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsListResponseDTO", + '200': "TenantDataUploadsListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7225,7 +7225,7 @@ def retrieve_data_uploads_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingTenantDataUploadsListResponseDTO]: + ) -> ApiResponse[TenantDataUploadsListResponseDTO]: """Retrieve data uploads Retrieve the data uploads and whether they're included in one of: - A list of analytic tenants managed by you. - A single specified analytic tenant. - An upload job. @@ -7278,7 +7278,7 @@ def retrieve_data_uploads_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsListResponseDTO", + '200': "TenantDataUploadsListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7365,7 +7365,7 @@ def retrieve_data_uploads_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingTenantDataUploadsListResponseDTO", + '200': "TenantDataUploadsListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7470,7 +7470,7 @@ def _retrieve_data_uploads_serialize( @validate_call def set_connector_setting( self, - admin_set_connector_settings_request_dto: AdminSetConnectorSettingsRequestDTO, + set_connector_settings_request_dto: SetConnectorSettingsRequestDTO, 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, _request_timeout: Union[ None, @@ -7484,13 +7484,13 @@ def set_connector_setting( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminSetConnectorSettingsResponseDTO: + ) -> SetConnectorSettingsResponseDTO: """Update data connector settings Define the settings for one or more data connectors. To find the available settings, see `Retrieve data connector settings`. - :param admin_set_connector_settings_request_dto: (required) - :type admin_set_connector_settings_request_dto: AdminSetConnectorSettingsRequestDTO + :param set_connector_settings_request_dto: (required) + :type set_connector_settings_request_dto: SetConnectorSettingsRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7516,7 +7516,7 @@ def set_connector_setting( """ # noqa: E501 _param = self._set_connector_setting_serialize( - admin_set_connector_settings_request_dto=admin_set_connector_settings_request_dto, + set_connector_settings_request_dto=set_connector_settings_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7525,7 +7525,7 @@ def set_connector_setting( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSetConnectorSettingsResponseDTO", + '200': "SetConnectorSettingsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7541,7 +7541,7 @@ def set_connector_setting( @validate_call def set_connector_setting_with_http_info( self, - admin_set_connector_settings_request_dto: AdminSetConnectorSettingsRequestDTO, + set_connector_settings_request_dto: SetConnectorSettingsRequestDTO, 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, _request_timeout: Union[ None, @@ -7555,13 +7555,13 @@ def set_connector_setting_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminSetConnectorSettingsResponseDTO]: + ) -> ApiResponse[SetConnectorSettingsResponseDTO]: """Update data connector settings Define the settings for one or more data connectors. To find the available settings, see `Retrieve data connector settings`. - :param admin_set_connector_settings_request_dto: (required) - :type admin_set_connector_settings_request_dto: AdminSetConnectorSettingsRequestDTO + :param set_connector_settings_request_dto: (required) + :type set_connector_settings_request_dto: SetConnectorSettingsRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7587,7 +7587,7 @@ def set_connector_setting_with_http_info( """ # noqa: E501 _param = self._set_connector_setting_serialize( - admin_set_connector_settings_request_dto=admin_set_connector_settings_request_dto, + set_connector_settings_request_dto=set_connector_settings_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7596,7 +7596,7 @@ def set_connector_setting_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSetConnectorSettingsResponseDTO", + '200': "SetConnectorSettingsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7612,7 +7612,7 @@ def set_connector_setting_with_http_info( @validate_call def set_connector_setting_without_preload_content( self, - admin_set_connector_settings_request_dto: AdminSetConnectorSettingsRequestDTO, + set_connector_settings_request_dto: SetConnectorSettingsRequestDTO, 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, _request_timeout: Union[ None, @@ -7631,8 +7631,8 @@ def set_connector_setting_without_preload_content( Define the settings for one or more data connectors. To find the available settings, see `Retrieve data connector settings`. - :param admin_set_connector_settings_request_dto: (required) - :type admin_set_connector_settings_request_dto: AdminSetConnectorSettingsRequestDTO + :param set_connector_settings_request_dto: (required) + :type set_connector_settings_request_dto: SetConnectorSettingsRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7658,7 +7658,7 @@ def set_connector_setting_without_preload_content( """ # noqa: E501 _param = self._set_connector_setting_serialize( - admin_set_connector_settings_request_dto=admin_set_connector_settings_request_dto, + set_connector_settings_request_dto=set_connector_settings_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7667,7 +7667,7 @@ def set_connector_setting_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSetConnectorSettingsResponseDTO", + '200': "SetConnectorSettingsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7678,7 +7678,7 @@ def set_connector_setting_without_preload_content( def _set_connector_setting_serialize( self, - admin_set_connector_settings_request_dto, + set_connector_settings_request_dto, target_tenant_id, _request_auth, _content_type, @@ -7707,8 +7707,8 @@ def _set_connector_setting_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_set_connector_settings_request_dto is not None: - _body_params = admin_set_connector_settings_request_dto + if set_connector_settings_request_dto is not None: + _body_params = set_connector_settings_request_dto # set the HTTP header `Accept` @@ -7763,7 +7763,7 @@ def _set_connector_setting_serialize( @validate_call def start_extraction( self, - admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO, + extract_data_and_load_dto: ExtractDataAndLoadDTO, 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, _request_timeout: Union[ None, @@ -7777,13 +7777,13 @@ def start_extraction( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInStartExtractionResponse: + ) -> StartExtractionResponse: """Trigger data connector extraction jobs Run data connector extraction jobs for the administrating tenant or a list of analytic tenants. This API creates a dispatching job that generates one extraction job per tenant. The dispatching job is the \"parent\" of the extraction jobs and the dispatching job ID is returned in the response. Use that ID to monitor the extraction job statuses by calling `GET /v1/op/jobs/dispatching-jobs/{jobId}/extraction-jobs`. The extraction job generates receiving jobs to validate the data and processing jobs to populate data in the analytic tenants. Use the dispatching job ID to monitor the receiving and processing job statuses by calling `GET /v1/op/jobs/dispatching-jobs/{jobId}/receiving-jobs` or `GET /v1/op/jobs/dispatching-jobs/{jobId}/processing-jobs`. - :param admin_jobs_extract_data_and_load_dto: (required) - :type admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO + :param extract_data_and_load_dto: (required) + :type extract_data_and_load_dto: ExtractDataAndLoadDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7809,7 +7809,7 @@ def start_extraction( """ # noqa: E501 _param = self._start_extraction_serialize( - admin_jobs_extract_data_and_load_dto=admin_jobs_extract_data_and_load_dto, + extract_data_and_load_dto=extract_data_and_load_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7818,7 +7818,7 @@ def start_extraction( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInStartExtractionResponse", + '200': "StartExtractionResponse", } response_data = self.api_client.call_api( *_param, @@ -7834,7 +7834,7 @@ def start_extraction( @validate_call def start_extraction_with_http_info( self, - admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO, + extract_data_and_load_dto: ExtractDataAndLoadDTO, 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, _request_timeout: Union[ None, @@ -7848,13 +7848,13 @@ def start_extraction_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInStartExtractionResponse]: + ) -> ApiResponse[StartExtractionResponse]: """Trigger data connector extraction jobs Run data connector extraction jobs for the administrating tenant or a list of analytic tenants. This API creates a dispatching job that generates one extraction job per tenant. The dispatching job is the \"parent\" of the extraction jobs and the dispatching job ID is returned in the response. Use that ID to monitor the extraction job statuses by calling `GET /v1/op/jobs/dispatching-jobs/{jobId}/extraction-jobs`. The extraction job generates receiving jobs to validate the data and processing jobs to populate data in the analytic tenants. Use the dispatching job ID to monitor the receiving and processing job statuses by calling `GET /v1/op/jobs/dispatching-jobs/{jobId}/receiving-jobs` or `GET /v1/op/jobs/dispatching-jobs/{jobId}/processing-jobs`. - :param admin_jobs_extract_data_and_load_dto: (required) - :type admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO + :param extract_data_and_load_dto: (required) + :type extract_data_and_load_dto: ExtractDataAndLoadDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7880,7 +7880,7 @@ def start_extraction_with_http_info( """ # noqa: E501 _param = self._start_extraction_serialize( - admin_jobs_extract_data_and_load_dto=admin_jobs_extract_data_and_load_dto, + extract_data_and_load_dto=extract_data_and_load_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7889,7 +7889,7 @@ def start_extraction_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInStartExtractionResponse", + '200': "StartExtractionResponse", } response_data = self.api_client.call_api( *_param, @@ -7905,7 +7905,7 @@ def start_extraction_with_http_info( @validate_call def start_extraction_without_preload_content( self, - admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO, + extract_data_and_load_dto: ExtractDataAndLoadDTO, 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, _request_timeout: Union[ None, @@ -7924,8 +7924,8 @@ def start_extraction_without_preload_content( Run data connector extraction jobs for the administrating tenant or a list of analytic tenants. This API creates a dispatching job that generates one extraction job per tenant. The dispatching job is the \"parent\" of the extraction jobs and the dispatching job ID is returned in the response. Use that ID to monitor the extraction job statuses by calling `GET /v1/op/jobs/dispatching-jobs/{jobId}/extraction-jobs`. The extraction job generates receiving jobs to validate the data and processing jobs to populate data in the analytic tenants. Use the dispatching job ID to monitor the receiving and processing job statuses by calling `GET /v1/op/jobs/dispatching-jobs/{jobId}/receiving-jobs` or `GET /v1/op/jobs/dispatching-jobs/{jobId}/processing-jobs`. - :param admin_jobs_extract_data_and_load_dto: (required) - :type admin_jobs_extract_data_and_load_dto: AdminJobsExtractDataAndLoadDTO + :param extract_data_and_load_dto: (required) + :type extract_data_and_load_dto: ExtractDataAndLoadDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7951,7 +7951,7 @@ def start_extraction_without_preload_content( """ # noqa: E501 _param = self._start_extraction_serialize( - admin_jobs_extract_data_and_load_dto=admin_jobs_extract_data_and_load_dto, + extract_data_and_load_dto=extract_data_and_load_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7960,7 +7960,7 @@ def start_extraction_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInStartExtractionResponse", + '200': "StartExtractionResponse", } response_data = self.api_client.call_api( *_param, @@ -7971,7 +7971,7 @@ def start_extraction_without_preload_content( def _start_extraction_serialize( self, - admin_jobs_extract_data_and_load_dto, + extract_data_and_load_dto, target_tenant_id, _request_auth, _content_type, @@ -8000,8 +8000,8 @@ def _start_extraction_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_jobs_extract_data_and_load_dto is not None: - _body_params = admin_jobs_extract_data_and_load_dto + if extract_data_and_load_dto is not None: + _body_params = extract_data_and_load_dto # set the HTTP header `Accept` @@ -8056,7 +8056,7 @@ def _start_extraction_serialize( @validate_call def start_load( self, - data_in_data_load_request: DataInDataLoadRequest, + data_load_request: DataLoadRequest, 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, _request_timeout: Union[ None, @@ -8070,13 +8070,13 @@ def start_load( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInDataLoadResponse: + ) -> DataLoadResponse: """Start the data load for analytic tenants This API starts the data load process for all analytic tenants included in the specified data files uploaded to the Visier SFTP server. On success, you receive a job ID that can be filtered and searched for within the Jobs room in Visier. This job ID is associated with the receiving job, and related to all processing jobs that spawn for each analytic tenant. With the job ID, you can also call the next two APIs to retrieve the status of the receiving job and the status list of all related processing jobs. **Prerequisite:** You must first obtain Visier's public encryption key and upload the source data files to Visier's SFTP server. Files must have a .zip.gpg extension, meaning the files are encrypted using the PGP protocol and compressed. Visier provides SFTP server credentials and instructions. You can find the encryption key at https://www.visier.com/pgp/visier.public.pgp.asc. After downloading the file, open the file in a text editor or by dragging it into your browser. **Note:** - To see the full status of all analytic tenant data loads, navigate to the Jobs room in a project. - For performance and efficiency, Visier requires that the uncompressed batch file size is below 5 GB and that no more than 5000 tenants are included in a batch. - :param data_in_data_load_request: (required) - :type data_in_data_load_request: DataInDataLoadRequest + :param data_load_request: (required) + :type data_load_request: DataLoadRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8102,7 +8102,7 @@ def start_load( """ # noqa: E501 _param = self._start_load_serialize( - data_in_data_load_request=data_in_data_load_request, + data_load_request=data_load_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -8111,7 +8111,7 @@ def start_load( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDataLoadResponse", + '200': "DataLoadResponse", } response_data = self.api_client.call_api( *_param, @@ -8127,7 +8127,7 @@ def start_load( @validate_call def start_load_with_http_info( self, - data_in_data_load_request: DataInDataLoadRequest, + data_load_request: DataLoadRequest, 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, _request_timeout: Union[ None, @@ -8141,13 +8141,13 @@ def start_load_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInDataLoadResponse]: + ) -> ApiResponse[DataLoadResponse]: """Start the data load for analytic tenants This API starts the data load process for all analytic tenants included in the specified data files uploaded to the Visier SFTP server. On success, you receive a job ID that can be filtered and searched for within the Jobs room in Visier. This job ID is associated with the receiving job, and related to all processing jobs that spawn for each analytic tenant. With the job ID, you can also call the next two APIs to retrieve the status of the receiving job and the status list of all related processing jobs. **Prerequisite:** You must first obtain Visier's public encryption key and upload the source data files to Visier's SFTP server. Files must have a .zip.gpg extension, meaning the files are encrypted using the PGP protocol and compressed. Visier provides SFTP server credentials and instructions. You can find the encryption key at https://www.visier.com/pgp/visier.public.pgp.asc. After downloading the file, open the file in a text editor or by dragging it into your browser. **Note:** - To see the full status of all analytic tenant data loads, navigate to the Jobs room in a project. - For performance and efficiency, Visier requires that the uncompressed batch file size is below 5 GB and that no more than 5000 tenants are included in a batch. - :param data_in_data_load_request: (required) - :type data_in_data_load_request: DataInDataLoadRequest + :param data_load_request: (required) + :type data_load_request: DataLoadRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8173,7 +8173,7 @@ def start_load_with_http_info( """ # noqa: E501 _param = self._start_load_serialize( - data_in_data_load_request=data_in_data_load_request, + data_load_request=data_load_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -8182,7 +8182,7 @@ def start_load_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDataLoadResponse", + '200': "DataLoadResponse", } response_data = self.api_client.call_api( *_param, @@ -8198,7 +8198,7 @@ def start_load_with_http_info( @validate_call def start_load_without_preload_content( self, - data_in_data_load_request: DataInDataLoadRequest, + data_load_request: DataLoadRequest, 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, _request_timeout: Union[ None, @@ -8217,8 +8217,8 @@ def start_load_without_preload_content( This API starts the data load process for all analytic tenants included in the specified data files uploaded to the Visier SFTP server. On success, you receive a job ID that can be filtered and searched for within the Jobs room in Visier. This job ID is associated with the receiving job, and related to all processing jobs that spawn for each analytic tenant. With the job ID, you can also call the next two APIs to retrieve the status of the receiving job and the status list of all related processing jobs. **Prerequisite:** You must first obtain Visier's public encryption key and upload the source data files to Visier's SFTP server. Files must have a .zip.gpg extension, meaning the files are encrypted using the PGP protocol and compressed. Visier provides SFTP server credentials and instructions. You can find the encryption key at https://www.visier.com/pgp/visier.public.pgp.asc. After downloading the file, open the file in a text editor or by dragging it into your browser. **Note:** - To see the full status of all analytic tenant data loads, navigate to the Jobs room in a project. - For performance and efficiency, Visier requires that the uncompressed batch file size is below 5 GB and that no more than 5000 tenants are included in a batch. - :param data_in_data_load_request: (required) - :type data_in_data_load_request: DataInDataLoadRequest + :param data_load_request: (required) + :type data_load_request: DataLoadRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8244,7 +8244,7 @@ def start_load_without_preload_content( """ # noqa: E501 _param = self._start_load_serialize( - data_in_data_load_request=data_in_data_load_request, + data_load_request=data_load_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -8253,7 +8253,7 @@ def start_load_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInDataLoadResponse", + '200': "DataLoadResponse", } response_data = self.api_client.call_api( *_param, @@ -8264,7 +8264,7 @@ def start_load_without_preload_content( def _start_load_serialize( self, - data_in_data_load_request, + data_load_request, target_tenant_id, _request_auth, _content_type, @@ -8293,8 +8293,8 @@ def _start_load_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if data_in_data_load_request is not None: - _body_params = data_in_data_load_request + if data_load_request is not None: + _body_params = data_load_request # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_intake_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_intake_api.py index 37b84a2451..72bb2611b3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_intake_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_intake_api.py @@ -20,12 +20,12 @@ from pydantic import Field, StrictBytes, StrictInt, StrictStr from typing import Optional, Tuple, Union from typing_extensions import Annotated -from visier_platform_sdk.models.data_in_push_data_cancel_response import DataInPushDataCancelResponse -from visier_platform_sdk.models.data_in_push_data_complete_request import DataInPushDataCompleteRequest -from visier_platform_sdk.models.data_in_push_data_complete_response import DataInPushDataCompleteResponse -from visier_platform_sdk.models.data_in_push_data_response import DataInPushDataResponse -from visier_platform_sdk.models.data_in_start_transfer_response import DataInStartTransferResponse -from visier_platform_sdk.models.designer_push_data_source_definitions_dto import DesignerPushDataSourceDefinitionsDTO +from visier_platform_sdk.models.push_data_cancel_response import PushDataCancelResponse +from visier_platform_sdk.models.push_data_complete_request import PushDataCompleteRequest +from visier_platform_sdk.models.push_data_complete_response import PushDataCompleteResponse +from visier_platform_sdk.models.push_data_response import PushDataResponse +from visier_platform_sdk.models.push_data_source_definitions_dto import PushDataSourceDefinitionsDTO +from visier_platform_sdk.models.start_transfer_response import StartTransferResponse from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -61,7 +61,7 @@ def get_sources( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerPushDataSourceDefinitionsDTO: + ) -> PushDataSourceDefinitionsDTO: """Retrieve a list of sources Prior to transferring data to Visier, you must identify the sources you want to target. Sources store data for the solution and are used to map data to Visier's data model. **Note:** To set up sources in your tenant, contact Visier Customer Success. This API allows you to query the list of available sources, and identify the source schema and required fields. @@ -99,7 +99,7 @@ def get_sources( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerPushDataSourceDefinitionsDTO", + '200': "PushDataSourceDefinitionsDTO", } response_data = self.api_client.call_api( *_param, @@ -128,7 +128,7 @@ def get_sources_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerPushDataSourceDefinitionsDTO]: + ) -> ApiResponse[PushDataSourceDefinitionsDTO]: """Retrieve a list of sources Prior to transferring data to Visier, you must identify the sources you want to target. Sources store data for the solution and are used to map data to Visier's data model. **Note:** To set up sources in your tenant, contact Visier Customer Success. This API allows you to query the list of available sources, and identify the source schema and required fields. @@ -166,7 +166,7 @@ def get_sources_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerPushDataSourceDefinitionsDTO", + '200': "PushDataSourceDefinitionsDTO", } response_data = self.api_client.call_api( *_param, @@ -233,7 +233,7 @@ def get_sources_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerPushDataSourceDefinitionsDTO", + '200': "PushDataSourceDefinitionsDTO", } response_data = self.api_client.call_api( *_param, @@ -331,7 +331,7 @@ def push_data( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInPushDataResponse: + ) -> PushDataResponse: """Transfer data to sources via JSON Transfer data to Visier in batches of records. Each request includes a batch of records formatted as a comma separated array with the first row containing the column headers in the request body. Each subsequent request should also include the first row as a header. Each request transfers a batch of records to a single source. Transfer sessions may include one or more batches before completion. Each batch is identified by a sequence number. Sequence numbers help identify any batches that were delivered incorrectly. Each batch is limited to the following request size: - Batch size limit: 10 MB - Record count limit: 300,000 rows @@ -384,7 +384,7 @@ def push_data( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataResponse", + '200': "PushDataResponse", } response_data = self.api_client.call_api( *_param, @@ -418,7 +418,7 @@ def push_data_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInPushDataResponse]: + ) -> ApiResponse[PushDataResponse]: """Transfer data to sources via JSON Transfer data to Visier in batches of records. Each request includes a batch of records formatted as a comma separated array with the first row containing the column headers in the request body. Each subsequent request should also include the first row as a header. Each request transfers a batch of records to a single source. Transfer sessions may include one or more batches before completion. Each batch is identified by a sequence number. Sequence numbers help identify any batches that were delivered incorrectly. Each batch is limited to the following request size: - Batch size limit: 10 MB - Record count limit: 300,000 rows @@ -471,7 +471,7 @@ def push_data_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataResponse", + '200': "PushDataResponse", } response_data = self.api_client.call_api( *_param, @@ -558,7 +558,7 @@ def push_data_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataResponse", + '200': "PushDataResponse", } response_data = self.api_client.call_api( *_param, @@ -686,7 +686,7 @@ def push_data_cancel( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInPushDataCancelResponse: + ) -> PushDataCancelResponse: """Cancel a transfer session Cancel a transfer session after starting it. If a transfer session is cancelled, all records within the transfer session do not persist in Visier's data store. If you cancel a transfer session, please start a new transfer session and resend the complete data set. You might cancel a transfer session if: - A request to send a batch of records failed. - The original set of records is incomplete. - An infrastructure error occurs. @@ -727,7 +727,7 @@ def push_data_cancel( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataCancelResponse", + '200': "PushDataCancelResponse", } response_data = self.api_client.call_api( *_param, @@ -757,7 +757,7 @@ def push_data_cancel_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInPushDataCancelResponse]: + ) -> ApiResponse[PushDataCancelResponse]: """Cancel a transfer session Cancel a transfer session after starting it. If a transfer session is cancelled, all records within the transfer session do not persist in Visier's data store. If you cancel a transfer session, please start a new transfer session and resend the complete data set. You might cancel a transfer session if: - A request to send a batch of records failed. - The original set of records is incomplete. - An infrastructure error occurs. @@ -798,7 +798,7 @@ def push_data_cancel_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataCancelResponse", + '200': "PushDataCancelResponse", } response_data = self.api_client.call_api( *_param, @@ -869,7 +869,7 @@ def push_data_cancel_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataCancelResponse", + '200': "PushDataCancelResponse", } response_data = self.api_client.call_api( *_param, @@ -952,7 +952,7 @@ def _push_data_cancel_serialize( @validate_call def push_data_complete( self, - data_in_push_data_complete_request: DataInPushDataCompleteRequest, + push_data_complete_request: PushDataCompleteRequest, 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, _request_timeout: Union[ None, @@ -966,13 +966,13 @@ def push_data_complete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInPushDataCompleteResponse: + ) -> PushDataCompleteResponse: """Complete a transfer session Complete the specified transfer session by triggering a receiving job. A receiving job validates the transferred data and adds the transferred data to Visier's data store. You can set an optional parameter to generate a data version through a processing job immediately after the receiving job completes. - :param data_in_push_data_complete_request: (required) - :type data_in_push_data_complete_request: DataInPushDataCompleteRequest + :param push_data_complete_request: (required) + :type push_data_complete_request: PushDataCompleteRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -998,7 +998,7 @@ def push_data_complete( """ # noqa: E501 _param = self._push_data_complete_serialize( - data_in_push_data_complete_request=data_in_push_data_complete_request, + push_data_complete_request=push_data_complete_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1007,7 +1007,7 @@ def push_data_complete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataCompleteResponse", + '200': "PushDataCompleteResponse", } response_data = self.api_client.call_api( *_param, @@ -1023,7 +1023,7 @@ def push_data_complete( @validate_call def push_data_complete_with_http_info( self, - data_in_push_data_complete_request: DataInPushDataCompleteRequest, + push_data_complete_request: PushDataCompleteRequest, 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, _request_timeout: Union[ None, @@ -1037,13 +1037,13 @@ def push_data_complete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInPushDataCompleteResponse]: + ) -> ApiResponse[PushDataCompleteResponse]: """Complete a transfer session Complete the specified transfer session by triggering a receiving job. A receiving job validates the transferred data and adds the transferred data to Visier's data store. You can set an optional parameter to generate a data version through a processing job immediately after the receiving job completes. - :param data_in_push_data_complete_request: (required) - :type data_in_push_data_complete_request: DataInPushDataCompleteRequest + :param push_data_complete_request: (required) + :type push_data_complete_request: PushDataCompleteRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1069,7 +1069,7 @@ def push_data_complete_with_http_info( """ # noqa: E501 _param = self._push_data_complete_serialize( - data_in_push_data_complete_request=data_in_push_data_complete_request, + push_data_complete_request=push_data_complete_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1078,7 +1078,7 @@ def push_data_complete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataCompleteResponse", + '200': "PushDataCompleteResponse", } response_data = self.api_client.call_api( *_param, @@ -1094,7 +1094,7 @@ def push_data_complete_with_http_info( @validate_call def push_data_complete_without_preload_content( self, - data_in_push_data_complete_request: DataInPushDataCompleteRequest, + push_data_complete_request: PushDataCompleteRequest, 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, _request_timeout: Union[ None, @@ -1113,8 +1113,8 @@ def push_data_complete_without_preload_content( Complete the specified transfer session by triggering a receiving job. A receiving job validates the transferred data and adds the transferred data to Visier's data store. You can set an optional parameter to generate a data version through a processing job immediately after the receiving job completes. - :param data_in_push_data_complete_request: (required) - :type data_in_push_data_complete_request: DataInPushDataCompleteRequest + :param push_data_complete_request: (required) + :type push_data_complete_request: PushDataCompleteRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1140,7 +1140,7 @@ def push_data_complete_without_preload_content( """ # noqa: E501 _param = self._push_data_complete_serialize( - data_in_push_data_complete_request=data_in_push_data_complete_request, + push_data_complete_request=push_data_complete_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1149,7 +1149,7 @@ def push_data_complete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataCompleteResponse", + '200': "PushDataCompleteResponse", } response_data = self.api_client.call_api( *_param, @@ -1160,7 +1160,7 @@ def push_data_complete_without_preload_content( def _push_data_complete_serialize( self, - data_in_push_data_complete_request, + push_data_complete_request, target_tenant_id, _request_auth, _content_type, @@ -1189,8 +1189,8 @@ def _push_data_complete_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if data_in_push_data_complete_request is not None: - _body_params = data_in_push_data_complete_request + if push_data_complete_request is not None: + _body_params = push_data_complete_request # set the HTTP header `Accept` @@ -1258,7 +1258,7 @@ def start_transfer( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInStartTransferResponse: + ) -> StartTransferResponse: """Start a transfer session Start a new transfer session. A transfer session can include one or more batches of records to be sent to Visier. Batches of records may be transferred as JSON or file payloads. Recommended: For optimal performance, please include all batches of records in a single transfer session. @@ -1296,7 +1296,7 @@ def start_transfer( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInStartTransferResponse", + '200': "StartTransferResponse", } response_data = self.api_client.call_api( *_param, @@ -1325,7 +1325,7 @@ def start_transfer_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInStartTransferResponse]: + ) -> ApiResponse[StartTransferResponse]: """Start a transfer session Start a new transfer session. A transfer session can include one or more batches of records to be sent to Visier. Batches of records may be transferred as JSON or file payloads. Recommended: For optimal performance, please include all batches of records in a single transfer session. @@ -1363,7 +1363,7 @@ def start_transfer_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInStartTransferResponse", + '200': "StartTransferResponse", } response_data = self.api_client.call_api( *_param, @@ -1430,7 +1430,7 @@ def start_transfer_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInStartTransferResponse", + '200': "StartTransferResponse", } response_data = self.api_client.call_api( *_param, @@ -1528,7 +1528,7 @@ def upload_data( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataInPushDataResponse: + ) -> PushDataResponse: """Transfer data to sources via file upload Upload data to Visier as CSV or ZIP files. Each request transfers a single file. If the data intended for Visier is stored in multiple files, you may compress them into a single ZIP file or make multiple requests within the same transfer session. File size limit: 3 GB Each file is identified by a sequence number. Sequence numbers help identify any batches that were delivered incorrectly. If you define a specific source in the request, all files within the request will target the declared source. If a source is not defined, the filenames are matched against the source regex to correctly assign each file to a source. To find out the source regex, please contact Visier Customer Success. **Note:** If you include files that should target multiple sources in one ZIP file, do not define a source in the request. Analytic tenants: For optimal transfer speed, provide one ZIP file per source. Administrating tenants: For optimal transfer speed, provide one ZIP file containing all the required data files for your analytic tenants. In the ZIP file, use one folder per analytic tenant. The ZIP file must adhere to the following file structure: File1.zip - Folder1: WFF_tenantCode1 - Filename1.csv - Filename2.csv - Folder2: WFF_tenantCode2 - Filename3.csv - Filename4.csv @@ -1581,7 +1581,7 @@ def upload_data( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataResponse", + '200': "PushDataResponse", } response_data = self.api_client.call_api( *_param, @@ -1615,7 +1615,7 @@ def upload_data_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataInPushDataResponse]: + ) -> ApiResponse[PushDataResponse]: """Transfer data to sources via file upload Upload data to Visier as CSV or ZIP files. Each request transfers a single file. If the data intended for Visier is stored in multiple files, you may compress them into a single ZIP file or make multiple requests within the same transfer session. File size limit: 3 GB Each file is identified by a sequence number. Sequence numbers help identify any batches that were delivered incorrectly. If you define a specific source in the request, all files within the request will target the declared source. If a source is not defined, the filenames are matched against the source regex to correctly assign each file to a source. To find out the source regex, please contact Visier Customer Success. **Note:** If you include files that should target multiple sources in one ZIP file, do not define a source in the request. Analytic tenants: For optimal transfer speed, provide one ZIP file per source. Administrating tenants: For optimal transfer speed, provide one ZIP file containing all the required data files for your analytic tenants. In the ZIP file, use one folder per analytic tenant. The ZIP file must adhere to the following file structure: File1.zip - Folder1: WFF_tenantCode1 - Filename1.csv - Filename2.csv - Folder2: WFF_tenantCode2 - Filename3.csv - Filename4.csv @@ -1668,7 +1668,7 @@ def upload_data_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataResponse", + '200': "PushDataResponse", } response_data = self.api_client.call_api( *_param, @@ -1755,7 +1755,7 @@ def upload_data_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataInPushDataResponse", + '200': "PushDataResponse", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_model_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_model_api.py index f1231fa704..68df91ccb5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_model_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_model_api.py @@ -20,44 +20,44 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import List, Optional from typing_extensions import Annotated -from visier_platform_sdk.models.dataservices_datamodel_analytic_object_dto import DataservicesDatamodelAnalyticObjectDTO -from visier_platform_sdk.models.dataservices_datamodel_analytic_objects_dto import DataservicesDatamodelAnalyticObjectsDTO -from visier_platform_sdk.models.dataservices_datamodel_currencies_dto import DataservicesDatamodelCurrenciesDTO -from visier_platform_sdk.models.dataservices_datamodel_currency_dto import DataservicesDatamodelCurrencyDTO -from visier_platform_sdk.models.dataservices_datamodel_currency_rates_dto import DataservicesDatamodelCurrencyRatesDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_dto import DataservicesDatamodelDimensionDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_mapping_validation_dto import DataservicesDatamodelDimensionMappingValidationDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_mapping_validation_execution_dto import DataservicesDatamodelDimensionMappingValidationExecutionDTO -from visier_platform_sdk.models.dataservices_datamodel_dimensions_dto import DataservicesDatamodelDimensionsDTO -from visier_platform_sdk.models.dataservices_datamodel_members_dto import DataservicesDatamodelMembersDTO -from visier_platform_sdk.models.dataservices_datamodel_metric_dto import DataservicesDatamodelMetricDTO -from visier_platform_sdk.models.dataservices_datamodel_metrics_dto import DataservicesDatamodelMetricsDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_model_dto import DataservicesDatamodelPlanningModelDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_models_dto import DataservicesDatamodelPlanningModelsDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_dto import DataservicesDatamodelPlanningPlanDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_plans_dto import DataservicesDatamodelPlanningPlansDTO -from visier_platform_sdk.models.dataservices_datamodel_prediction_dto import DataservicesDatamodelPredictionDTO -from visier_platform_sdk.models.dataservices_datamodel_predictions_dto import DataservicesDatamodelPredictionsDTO -from visier_platform_sdk.models.dataservices_datamodel_properties_dto import DataservicesDatamodelPropertiesDTO -from visier_platform_sdk.models.dataservices_datamodel_property_dto import DataservicesDatamodelPropertyDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_dto import DataservicesDatamodelSelectionConceptDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concepts_dto import DataservicesDatamodelSelectionConceptsDTO -from visier_platform_sdk.models.planning_get_plan_list_response_dto import PlanningGetPlanListResponseDTO -from visier_platform_sdk.models.planning_plan_with_schema_dto import PlanningPlanWithSchemaDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dimensions_change_definitions_dto import ServicingObjectconfigurationDimensionsChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_objects_bulk_change_response_dto import ServicingObjectconfigurationObjectsBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_objectconfiguration_properties_change_definitions_dto import ServicingObjectconfigurationPropertiesChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_properties_delete_definitions_dto import ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_bulk_delete_response_dto import ServicingObjectconfigurationPropertyBulkDeleteResponseDTO -from visier_platform_sdk.models.servicing_question_categories_api_response_dto import ServicingQuestionCategoriesAPIResponseDTO -from visier_platform_sdk.models.servicing_question_category_api_response_dto import ServicingQuestionCategoryAPIResponseDTO -from visier_platform_sdk.models.servicing_sample_question_api_response_dto import ServicingSampleQuestionAPIResponseDTO -from visier_platform_sdk.models.servicing_sample_questions_api_response_dto import ServicingSampleQuestionsAPIResponseDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_request_dto import ServicingV2ObjectconfigurationAnalyticObjectRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_bulk_change_response_dto import ServicingV2ObjectconfigurationBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_vee_questions_bulk_change_response_dto import ServicingVeeQuestionsBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_vee_questions_change_definitions_dto import ServicingVeeQuestionsChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_vee_questions_delete_definitions_dto import ServicingVeeQuestionsDeleteDefinitionsDTO +from visier_platform_sdk.models.analytic_object_request_dto import AnalyticObjectRequestDTO +from visier_platform_sdk.models.analytic_objects_dto import AnalyticObjectsDTO +from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO +from visier_platform_sdk.models.currencies_dto import CurrenciesDTO +from visier_platform_sdk.models.currency_dto import CurrencyDTO +from visier_platform_sdk.models.currency_rates_dto import CurrencyRatesDTO +from visier_platform_sdk.models.data_model_analytic_object_dto import DataModelAnalyticObjectDTO +from visier_platform_sdk.models.dimension_dto import DimensionDTO +from visier_platform_sdk.models.dimension_mapping_validation_dto import DimensionMappingValidationDTO +from visier_platform_sdk.models.dimension_mapping_validation_execution_dto import DimensionMappingValidationExecutionDTO +from visier_platform_sdk.models.dimensions_change_definitions_dto import DimensionsChangeDefinitionsDTO +from visier_platform_sdk.models.dimensions_dto import DimensionsDTO +from visier_platform_sdk.models.get_plan_list_response_dto import GetPlanListResponseDTO +from visier_platform_sdk.models.members_dto import MembersDTO +from visier_platform_sdk.models.metric_dto import MetricDTO +from visier_platform_sdk.models.metrics_dto import MetricsDTO +from visier_platform_sdk.models.objects_bulk_change_response_dto import ObjectsBulkChangeResponseDTO +from visier_platform_sdk.models.plan_with_schema_dto import PlanWithSchemaDTO +from visier_platform_sdk.models.planning_model_dto import PlanningModelDTO +from visier_platform_sdk.models.planning_models_dto import PlanningModelsDTO +from visier_platform_sdk.models.planning_plan_dto import PlanningPlanDTO +from visier_platform_sdk.models.planning_plans_dto import PlanningPlansDTO +from visier_platform_sdk.models.prediction_dto import PredictionDTO +from visier_platform_sdk.models.predictions_dto import PredictionsDTO +from visier_platform_sdk.models.properties_change_definitions_dto import PropertiesChangeDefinitionsDTO +from visier_platform_sdk.models.properties_dto import PropertiesDTO +from visier_platform_sdk.models.properties_delete_definitions_dto import PropertiesDeleteDefinitionsDTO +from visier_platform_sdk.models.property_bulk_delete_response_dto import PropertyBulkDeleteResponseDTO +from visier_platform_sdk.models.property_dto import PropertyDTO +from visier_platform_sdk.models.question_categories_api_response_dto import QuestionCategoriesAPIResponseDTO +from visier_platform_sdk.models.question_category_api_response_dto import QuestionCategoryAPIResponseDTO +from visier_platform_sdk.models.sample_question_api_response_dto import SampleQuestionAPIResponseDTO +from visier_platform_sdk.models.sample_questions_api_response_dto import SampleQuestionsAPIResponseDTO +from visier_platform_sdk.models.selection_concept_dto import SelectionConceptDTO +from visier_platform_sdk.models.selection_concepts_dto import SelectionConceptsDTO +from visier_platform_sdk.models.vee_questions_bulk_change_response_dto import VeeQuestionsBulkChangeResponseDTO +from visier_platform_sdk.models.vee_questions_change_definitions_dto import VeeQuestionsChangeDefinitionsDTO +from visier_platform_sdk.models.vee_questions_delete_definitions_dto import VeeQuestionsDeleteDefinitionsDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -94,7 +94,7 @@ def analytic_metrics( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelMetricsDTO: + ) -> MetricsDTO: """Retrieve a list of metrics for an analytic object by ID If you know the ID of an analytic object, use this API to retrieve metrics for that object specifically. @@ -135,7 +135,7 @@ def analytic_metrics( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -165,7 +165,7 @@ def analytic_metrics_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelMetricsDTO]: + ) -> ApiResponse[MetricsDTO]: """Retrieve a list of metrics for an analytic object by ID If you know the ID of an analytic object, use this API to retrieve metrics for that object specifically. @@ -206,7 +206,7 @@ def analytic_metrics_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -277,7 +277,7 @@ def analytic_metrics_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -374,7 +374,7 @@ def analytic_object( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelAnalyticObjectDTO: + ) -> DataModelAnalyticObjectDTO: """Retrieve an analytic object by ID If you know the ID of an analytic object, use this API to retrieve that object specifically. @@ -415,7 +415,7 @@ def analytic_object( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelAnalyticObjectDTO", + '200': "DataModelAnalyticObjectDTO", } response_data = self.api_client.call_api( *_param, @@ -445,7 +445,7 @@ def analytic_object_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelAnalyticObjectDTO]: + ) -> ApiResponse[DataModelAnalyticObjectDTO]: """Retrieve an analytic object by ID If you know the ID of an analytic object, use this API to retrieve that object specifically. @@ -486,7 +486,7 @@ def analytic_object_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelAnalyticObjectDTO", + '200': "DataModelAnalyticObjectDTO", } response_data = self.api_client.call_api( *_param, @@ -557,7 +557,7 @@ def analytic_object_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelAnalyticObjectDTO", + '200': "DataModelAnalyticObjectDTO", } response_data = self.api_client.call_api( *_param, @@ -655,7 +655,7 @@ def analytic_objects( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelAnalyticObjectsDTO: + ) -> AnalyticObjectsDTO: """Retrieve a list of analytic objects Retrieve all the analytic objects in your Visier solution. @@ -699,7 +699,7 @@ def analytic_objects( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelAnalyticObjectsDTO", + '200': "AnalyticObjectsDTO", } response_data = self.api_client.call_api( *_param, @@ -730,7 +730,7 @@ def analytic_objects_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelAnalyticObjectsDTO]: + ) -> ApiResponse[AnalyticObjectsDTO]: """Retrieve a list of analytic objects Retrieve all the analytic objects in your Visier solution. @@ -774,7 +774,7 @@ def analytic_objects_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelAnalyticObjectsDTO", + '200': "AnalyticObjectsDTO", } response_data = self.api_client.call_api( *_param, @@ -849,7 +849,7 @@ def analytic_objects_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelAnalyticObjectsDTO", + '200': "AnalyticObjectsDTO", } response_data = self.api_client.call_api( *_param, @@ -955,7 +955,7 @@ def call_property( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelPropertyDTO: + ) -> PropertyDTO: """Retrieve a property by ID If you know the ID of a property, use this API to retrieve that property specifically. You must also know the analytic object's ID.. @@ -999,7 +999,7 @@ def call_property( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPropertyDTO", + '200': "PropertyDTO", } response_data = self.api_client.call_api( *_param, @@ -1030,7 +1030,7 @@ def call_property_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelPropertyDTO]: + ) -> ApiResponse[PropertyDTO]: """Retrieve a property by ID If you know the ID of a property, use this API to retrieve that property specifically. You must also know the analytic object's ID.. @@ -1074,7 +1074,7 @@ def call_property_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPropertyDTO", + '200': "PropertyDTO", } response_data = self.api_client.call_api( *_param, @@ -1149,7 +1149,7 @@ def call_property_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPropertyDTO", + '200': "PropertyDTO", } response_data = self.api_client.call_api( *_param, @@ -1236,7 +1236,7 @@ def _call_property_serialize( @validate_call def create_properties( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1251,13 +1251,13 @@ def create_properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingObjectconfigurationObjectsBulkChangeResponseDTO: + ) -> ObjectsBulkChangeResponseDTO: """Create properties Create new properties. Administrating tenant users can specify the tenant in which to add these properties. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1285,7 +1285,7 @@ def create_properties( """ # noqa: E501 _param = self._create_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1295,7 +1295,7 @@ def create_properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1311,7 +1311,7 @@ def create_properties( @validate_call def create_properties_with_http_info( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1326,13 +1326,13 @@ def create_properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingObjectconfigurationObjectsBulkChangeResponseDTO]: + ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: """Create properties Create new properties. Administrating tenant users can specify the tenant in which to add these properties. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1360,7 +1360,7 @@ def create_properties_with_http_info( """ # noqa: E501 _param = self._create_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1370,7 +1370,7 @@ def create_properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1386,7 +1386,7 @@ def create_properties_with_http_info( @validate_call def create_properties_without_preload_content( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1406,8 +1406,8 @@ def create_properties_without_preload_content( Create new properties. Administrating tenant users can specify the tenant in which to add these properties. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1435,7 +1435,7 @@ def create_properties_without_preload_content( """ # noqa: E501 _param = self._create_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1445,7 +1445,7 @@ def create_properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1456,7 +1456,7 @@ def create_properties_without_preload_content( def _create_properties_serialize( self, - servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -1488,8 +1488,8 @@ def _create_properties_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_objectconfiguration_properties_change_definitions_dto is not None: - _body_params = servicing_objectconfiguration_properties_change_definitions_dto + if properties_change_definitions_dto is not None: + _body_params = properties_change_definitions_dto # set the HTTP header `Accept` @@ -1544,7 +1544,7 @@ def _create_properties_serialize( @validate_call def create_vee_sample_questions( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1559,13 +1559,13 @@ def create_vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingVeeQuestionsBulkChangeResponseDTO: + ) -> VeeQuestionsBulkChangeResponseDTO: """Add Vee sample questions Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1593,7 +1593,7 @@ def create_vee_sample_questions( """ # noqa: E501 _param = self._create_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1603,7 +1603,7 @@ def create_vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1619,7 +1619,7 @@ def create_vee_sample_questions( @validate_call def create_vee_sample_questions_with_http_info( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1634,13 +1634,13 @@ def create_vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingVeeQuestionsBulkChangeResponseDTO]: + ) -> ApiResponse[VeeQuestionsBulkChangeResponseDTO]: """Add Vee sample questions Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1668,7 +1668,7 @@ def create_vee_sample_questions_with_http_info( """ # noqa: E501 _param = self._create_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1678,7 +1678,7 @@ def create_vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1694,7 +1694,7 @@ def create_vee_sample_questions_with_http_info( @validate_call def create_vee_sample_questions_without_preload_content( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1714,8 +1714,8 @@ def create_vee_sample_questions_without_preload_content( Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1743,7 +1743,7 @@ def create_vee_sample_questions_without_preload_content( """ # noqa: E501 _param = self._create_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1753,7 +1753,7 @@ def create_vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1764,7 +1764,7 @@ def create_vee_sample_questions_without_preload_content( def _create_vee_sample_questions_serialize( self, - servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -1796,8 +1796,8 @@ def _create_vee_sample_questions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_vee_questions_change_definitions_dto is not None: - _body_params = servicing_vee_questions_change_definitions_dto + if vee_questions_change_definitions_dto is not None: + _body_params = vee_questions_change_definitions_dto # set the HTTP header `Accept` @@ -1865,7 +1865,7 @@ def currencies( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelCurrenciesDTO: + ) -> CurrenciesDTO: """Retrieve all currencies Retrieve all the available currencies in your Visier solution. @@ -1903,7 +1903,7 @@ def currencies( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrenciesDTO", + '200': "CurrenciesDTO", } response_data = self.api_client.call_api( *_param, @@ -1932,7 +1932,7 @@ def currencies_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelCurrenciesDTO]: + ) -> ApiResponse[CurrenciesDTO]: """Retrieve all currencies Retrieve all the available currencies in your Visier solution. @@ -1970,7 +1970,7 @@ def currencies_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrenciesDTO", + '200': "CurrenciesDTO", } response_data = self.api_client.call_api( *_param, @@ -2037,7 +2037,7 @@ def currencies_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrenciesDTO", + '200': "CurrenciesDTO", } response_data = self.api_client.call_api( *_param, @@ -2131,7 +2131,7 @@ def currency( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelCurrencyDTO: + ) -> CurrencyDTO: """Retrieve a currency Retrieve a specific currency if you know the currency code. @@ -2172,7 +2172,7 @@ def currency( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyDTO", + '200': "CurrencyDTO", } response_data = self.api_client.call_api( *_param, @@ -2202,7 +2202,7 @@ def currency_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelCurrencyDTO]: + ) -> ApiResponse[CurrencyDTO]: """Retrieve a currency Retrieve a specific currency if you know the currency code. @@ -2243,7 +2243,7 @@ def currency_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyDTO", + '200': "CurrencyDTO", } response_data = self.api_client.call_api( *_param, @@ -2314,7 +2314,7 @@ def currency_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyDTO", + '200': "CurrencyDTO", } response_data = self.api_client.call_api( *_param, @@ -2414,7 +2414,7 @@ def currency_rates( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelCurrencyRatesDTO: + ) -> CurrencyRatesDTO: """Retrieve all exchange rates for a currency Retrieve exchange rates for a specific currency from Visier. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. @@ -2464,7 +2464,7 @@ def currency_rates( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyRatesDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -2497,7 +2497,7 @@ def currency_rates_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelCurrencyRatesDTO]: + ) -> ApiResponse[CurrencyRatesDTO]: """Retrieve all exchange rates for a currency Retrieve exchange rates for a specific currency from Visier. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. @@ -2547,7 +2547,7 @@ def currency_rates_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyRatesDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -2630,7 +2630,7 @@ def currency_rates_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyRatesDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -2746,7 +2746,7 @@ def currency_rates_with_to_currency( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelCurrencyRatesDTO: + ) -> CurrencyRatesDTO: """Retrieve exchange rates from one currency to another currency Retrieve exchange rates from a specific currency to another specific currency. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. @@ -2799,7 +2799,7 @@ def currency_rates_with_to_currency( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyRatesDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -2833,7 +2833,7 @@ def currency_rates_with_to_currency_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelCurrencyRatesDTO]: + ) -> ApiResponse[CurrencyRatesDTO]: """Retrieve exchange rates from one currency to another currency Retrieve exchange rates from a specific currency to another specific currency. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. @@ -2886,7 +2886,7 @@ def currency_rates_with_to_currency_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyRatesDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -2973,7 +2973,7 @@ def currency_rates_with_to_currency_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelCurrencyRatesDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -3074,7 +3074,7 @@ def _currency_rates_with_to_currency_serialize( @validate_call def delete_properties( self, - servicing_objectconfiguration_properties_delete_definitions_dto: ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO, + properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3089,13 +3089,13 @@ def delete_properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingObjectconfigurationPropertyBulkDeleteResponseDTO: + ) -> PropertyBulkDeleteResponseDTO: """Delete properties Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_properties_delete_definitions_dto: (required) - :type servicing_objectconfiguration_properties_delete_definitions_dto: ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO + :param properties_delete_definitions_dto: (required) + :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3123,7 +3123,7 @@ def delete_properties( """ # noqa: E501 _param = self._delete_properties_serialize( - servicing_objectconfiguration_properties_delete_definitions_dto=servicing_objectconfiguration_properties_delete_definitions_dto, + properties_delete_definitions_dto=properties_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3133,7 +3133,7 @@ def delete_properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationPropertyBulkDeleteResponseDTO", + '200': "PropertyBulkDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3149,7 +3149,7 @@ def delete_properties( @validate_call def delete_properties_with_http_info( self, - servicing_objectconfiguration_properties_delete_definitions_dto: ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO, + properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3164,13 +3164,13 @@ def delete_properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingObjectconfigurationPropertyBulkDeleteResponseDTO]: + ) -> ApiResponse[PropertyBulkDeleteResponseDTO]: """Delete properties Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_properties_delete_definitions_dto: (required) - :type servicing_objectconfiguration_properties_delete_definitions_dto: ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO + :param properties_delete_definitions_dto: (required) + :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3198,7 +3198,7 @@ def delete_properties_with_http_info( """ # noqa: E501 _param = self._delete_properties_serialize( - servicing_objectconfiguration_properties_delete_definitions_dto=servicing_objectconfiguration_properties_delete_definitions_dto, + properties_delete_definitions_dto=properties_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3208,7 +3208,7 @@ def delete_properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationPropertyBulkDeleteResponseDTO", + '200': "PropertyBulkDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3224,7 +3224,7 @@ def delete_properties_with_http_info( @validate_call def delete_properties_without_preload_content( self, - servicing_objectconfiguration_properties_delete_definitions_dto: ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO, + properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3244,8 +3244,8 @@ def delete_properties_without_preload_content( Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_properties_delete_definitions_dto: (required) - :type servicing_objectconfiguration_properties_delete_definitions_dto: ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO + :param properties_delete_definitions_dto: (required) + :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3273,7 +3273,7 @@ def delete_properties_without_preload_content( """ # noqa: E501 _param = self._delete_properties_serialize( - servicing_objectconfiguration_properties_delete_definitions_dto=servicing_objectconfiguration_properties_delete_definitions_dto, + properties_delete_definitions_dto=properties_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3283,7 +3283,7 @@ def delete_properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationPropertyBulkDeleteResponseDTO", + '200': "PropertyBulkDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3294,7 +3294,7 @@ def delete_properties_without_preload_content( def _delete_properties_serialize( self, - servicing_objectconfiguration_properties_delete_definitions_dto, + properties_delete_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -3326,8 +3326,8 @@ def _delete_properties_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_objectconfiguration_properties_delete_definitions_dto is not None: - _body_params = servicing_objectconfiguration_properties_delete_definitions_dto + if properties_delete_definitions_dto is not None: + _body_params = properties_delete_definitions_dto # set the HTTP header `Accept` @@ -3382,7 +3382,7 @@ def _delete_properties_serialize( @validate_call def delete_vee_sample_questions( self, - servicing_vee_questions_delete_definitions_dto: ServicingVeeQuestionsDeleteDefinitionsDTO, + vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3397,13 +3397,13 @@ def delete_vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingVeeQuestionsBulkChangeResponseDTO: + ) -> VeeQuestionsBulkChangeResponseDTO: """Delete Vee sample questions Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** 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). - :param servicing_vee_questions_delete_definitions_dto: (required) - :type servicing_vee_questions_delete_definitions_dto: ServicingVeeQuestionsDeleteDefinitionsDTO + :param vee_questions_delete_definitions_dto: (required) + :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3431,7 +3431,7 @@ def delete_vee_sample_questions( """ # noqa: E501 _param = self._delete_vee_sample_questions_serialize( - servicing_vee_questions_delete_definitions_dto=servicing_vee_questions_delete_definitions_dto, + vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3441,7 +3441,7 @@ def delete_vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3457,7 +3457,7 @@ def delete_vee_sample_questions( @validate_call def delete_vee_sample_questions_with_http_info( self, - servicing_vee_questions_delete_definitions_dto: ServicingVeeQuestionsDeleteDefinitionsDTO, + vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3472,13 +3472,13 @@ def delete_vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingVeeQuestionsBulkChangeResponseDTO]: + ) -> ApiResponse[VeeQuestionsBulkChangeResponseDTO]: """Delete Vee sample questions Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** 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). - :param servicing_vee_questions_delete_definitions_dto: (required) - :type servicing_vee_questions_delete_definitions_dto: ServicingVeeQuestionsDeleteDefinitionsDTO + :param vee_questions_delete_definitions_dto: (required) + :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3506,7 +3506,7 @@ def delete_vee_sample_questions_with_http_info( """ # noqa: E501 _param = self._delete_vee_sample_questions_serialize( - servicing_vee_questions_delete_definitions_dto=servicing_vee_questions_delete_definitions_dto, + vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3516,7 +3516,7 @@ def delete_vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3532,7 +3532,7 @@ def delete_vee_sample_questions_with_http_info( @validate_call def delete_vee_sample_questions_without_preload_content( self, - servicing_vee_questions_delete_definitions_dto: ServicingVeeQuestionsDeleteDefinitionsDTO, + vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3552,8 +3552,8 @@ def delete_vee_sample_questions_without_preload_content( Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** 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). - :param servicing_vee_questions_delete_definitions_dto: (required) - :type servicing_vee_questions_delete_definitions_dto: ServicingVeeQuestionsDeleteDefinitionsDTO + :param vee_questions_delete_definitions_dto: (required) + :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3581,7 +3581,7 @@ def delete_vee_sample_questions_without_preload_content( """ # noqa: E501 _param = self._delete_vee_sample_questions_serialize( - servicing_vee_questions_delete_definitions_dto=servicing_vee_questions_delete_definitions_dto, + vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3591,7 +3591,7 @@ def delete_vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3602,7 +3602,7 @@ def delete_vee_sample_questions_without_preload_content( def _delete_vee_sample_questions_serialize( self, - servicing_vee_questions_delete_definitions_dto, + vee_questions_delete_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -3634,8 +3634,8 @@ def _delete_vee_sample_questions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_vee_questions_delete_definitions_dto is not None: - _body_params = servicing_vee_questions_delete_definitions_dto + if vee_questions_delete_definitions_dto is not None: + _body_params = vee_questions_delete_definitions_dto # set the HTTP header `Accept` @@ -3705,7 +3705,7 @@ def dimension( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelDimensionDTO: + ) -> DimensionDTO: """Retrieve a dimension by ID If you know the ID of a dimension, use this API to retrieve that dimension specifically. You must also know the analytic object's ID. @@ -3749,7 +3749,7 @@ def dimension( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionDTO", + '200': "DimensionDTO", } response_data = self.api_client.call_api( *_param, @@ -3780,7 +3780,7 @@ def dimension_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelDimensionDTO]: + ) -> ApiResponse[DimensionDTO]: """Retrieve a dimension by ID If you know the ID of a dimension, use this API to retrieve that dimension specifically. You must also know the analytic object's ID. @@ -3824,7 +3824,7 @@ def dimension_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionDTO", + '200': "DimensionDTO", } response_data = self.api_client.call_api( *_param, @@ -3899,7 +3899,7 @@ def dimension_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionDTO", + '200': "DimensionDTO", } response_data = self.api_client.call_api( *_param, @@ -3987,7 +3987,7 @@ def dimension_member_map_validation( self, object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], - dataservices_datamodel_dimension_mapping_validation_execution_dto: DataservicesDatamodelDimensionMappingValidationExecutionDTO, + dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, 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, _request_timeout: Union[ None, @@ -4001,7 +4001,7 @@ def dimension_member_map_validation( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelDimensionMappingValidationDTO: + ) -> DimensionMappingValidationDTO: """Validate a member map's unmapped dimension members by ID If you know the ID of a member map, use this API to validate one of the member map's dimensions. You must also know the dimension's ID and the analytic object's ID. The response returns the member map ID, the requested dimension ID, a list of the dimension's unmapped members, and a list of errors found. @@ -4010,8 +4010,8 @@ def dimension_member_map_validation( :type object_id: str :param dimension_id: The ID of a dimension of the member map. (required) :type dimension_id: str - :param dataservices_datamodel_dimension_mapping_validation_execution_dto: (required) - :type dataservices_datamodel_dimension_mapping_validation_execution_dto: DataservicesDatamodelDimensionMappingValidationExecutionDTO + :param dimension_mapping_validation_execution_dto: (required) + :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4039,7 +4039,7 @@ def dimension_member_map_validation( _param = self._dimension_member_map_validation_serialize( object_id=object_id, dimension_id=dimension_id, - dataservices_datamodel_dimension_mapping_validation_execution_dto=dataservices_datamodel_dimension_mapping_validation_execution_dto, + dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4048,7 +4048,7 @@ def dimension_member_map_validation( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionMappingValidationDTO", + '200': "DimensionMappingValidationDTO", } response_data = self.api_client.call_api( *_param, @@ -4066,7 +4066,7 @@ def dimension_member_map_validation_with_http_info( self, object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], - dataservices_datamodel_dimension_mapping_validation_execution_dto: DataservicesDatamodelDimensionMappingValidationExecutionDTO, + dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, 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, _request_timeout: Union[ None, @@ -4080,7 +4080,7 @@ def dimension_member_map_validation_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelDimensionMappingValidationDTO]: + ) -> ApiResponse[DimensionMappingValidationDTO]: """Validate a member map's unmapped dimension members by ID If you know the ID of a member map, use this API to validate one of the member map's dimensions. You must also know the dimension's ID and the analytic object's ID. The response returns the member map ID, the requested dimension ID, a list of the dimension's unmapped members, and a list of errors found. @@ -4089,8 +4089,8 @@ def dimension_member_map_validation_with_http_info( :type object_id: str :param dimension_id: The ID of a dimension of the member map. (required) :type dimension_id: str - :param dataservices_datamodel_dimension_mapping_validation_execution_dto: (required) - :type dataservices_datamodel_dimension_mapping_validation_execution_dto: DataservicesDatamodelDimensionMappingValidationExecutionDTO + :param dimension_mapping_validation_execution_dto: (required) + :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4118,7 +4118,7 @@ def dimension_member_map_validation_with_http_info( _param = self._dimension_member_map_validation_serialize( object_id=object_id, dimension_id=dimension_id, - dataservices_datamodel_dimension_mapping_validation_execution_dto=dataservices_datamodel_dimension_mapping_validation_execution_dto, + dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4127,7 +4127,7 @@ def dimension_member_map_validation_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionMappingValidationDTO", + '200': "DimensionMappingValidationDTO", } response_data = self.api_client.call_api( *_param, @@ -4145,7 +4145,7 @@ def dimension_member_map_validation_without_preload_content( self, object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], - dataservices_datamodel_dimension_mapping_validation_execution_dto: DataservicesDatamodelDimensionMappingValidationExecutionDTO, + dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, 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, _request_timeout: Union[ None, @@ -4168,8 +4168,8 @@ def dimension_member_map_validation_without_preload_content( :type object_id: str :param dimension_id: The ID of a dimension of the member map. (required) :type dimension_id: str - :param dataservices_datamodel_dimension_mapping_validation_execution_dto: (required) - :type dataservices_datamodel_dimension_mapping_validation_execution_dto: DataservicesDatamodelDimensionMappingValidationExecutionDTO + :param dimension_mapping_validation_execution_dto: (required) + :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4197,7 +4197,7 @@ def dimension_member_map_validation_without_preload_content( _param = self._dimension_member_map_validation_serialize( object_id=object_id, dimension_id=dimension_id, - dataservices_datamodel_dimension_mapping_validation_execution_dto=dataservices_datamodel_dimension_mapping_validation_execution_dto, + dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4206,7 +4206,7 @@ def dimension_member_map_validation_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionMappingValidationDTO", + '200': "DimensionMappingValidationDTO", } response_data = self.api_client.call_api( *_param, @@ -4219,7 +4219,7 @@ def _dimension_member_map_validation_serialize( self, object_id, dimension_id, - dataservices_datamodel_dimension_mapping_validation_execution_dto, + dimension_mapping_validation_execution_dto, target_tenant_id, _request_auth, _content_type, @@ -4252,8 +4252,8 @@ def _dimension_member_map_validation_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if dataservices_datamodel_dimension_mapping_validation_execution_dto is not None: - _body_params = dataservices_datamodel_dimension_mapping_validation_execution_dto + if dimension_mapping_validation_execution_dto is not None: + _body_params = dimension_mapping_validation_execution_dto # set the HTTP header `Accept` @@ -4323,7 +4323,7 @@ def dimensions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelDimensionsDTO: + ) -> DimensionsDTO: """Retrieve a list of dimensions Retrieve a list of dimensions for a specific analytic object. @@ -4367,7 +4367,7 @@ def dimensions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -4398,7 +4398,7 @@ def dimensions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelDimensionsDTO]: + ) -> ApiResponse[DimensionsDTO]: """Retrieve a list of dimensions Retrieve a list of dimensions for a specific analytic object. @@ -4442,7 +4442,7 @@ def dimensions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -4517,7 +4517,7 @@ def dimensions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -4621,7 +4621,7 @@ def get_vee_sample_question( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingSampleQuestionAPIResponseDTO: + ) -> SampleQuestionAPIResponseDTO: """Retrieve a Vee sample question's details Get the details of a specific Vee sample question where the ID is the `questionID` returned by `GET /v1alpha/data/model/vee/sample-questions`.
**Note:** 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). @@ -4665,7 +4665,7 @@ def get_vee_sample_question( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSampleQuestionAPIResponseDTO", + '200': "SampleQuestionAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4696,7 +4696,7 @@ def get_vee_sample_question_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingSampleQuestionAPIResponseDTO]: + ) -> ApiResponse[SampleQuestionAPIResponseDTO]: """Retrieve a Vee sample question's details Get the details of a specific Vee sample question where the ID is the `questionID` returned by `GET /v1alpha/data/model/vee/sample-questions`.
**Note:** 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). @@ -4740,7 +4740,7 @@ def get_vee_sample_question_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSampleQuestionAPIResponseDTO", + '200': "SampleQuestionAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4815,7 +4815,7 @@ def get_vee_sample_question_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSampleQuestionAPIResponseDTO", + '200': "SampleQuestionAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4914,7 +4914,7 @@ def get_vee_sample_question_categories( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingQuestionCategoriesAPIResponseDTO: + ) -> QuestionCategoriesAPIResponseDTO: """Retrieve a list of all Vee question categories Get a list of all categories for Vee sample questions. Administrating tenants can specify the tenant from which to retrieve categories using the `TargetTenantID` header.
**Note:** 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). @@ -4952,7 +4952,7 @@ def get_vee_sample_question_categories( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingQuestionCategoriesAPIResponseDTO", + '200': "QuestionCategoriesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4981,7 +4981,7 @@ def get_vee_sample_question_categories_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingQuestionCategoriesAPIResponseDTO]: + ) -> ApiResponse[QuestionCategoriesAPIResponseDTO]: """Retrieve a list of all Vee question categories Get a list of all categories for Vee sample questions. Administrating tenants can specify the tenant from which to retrieve categories using the `TargetTenantID` header.
**Note:** 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). @@ -5019,7 +5019,7 @@ def get_vee_sample_question_categories_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingQuestionCategoriesAPIResponseDTO", + '200': "QuestionCategoriesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5086,7 +5086,7 @@ def get_vee_sample_question_categories_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingQuestionCategoriesAPIResponseDTO", + '200': "QuestionCategoriesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5180,7 +5180,7 @@ def get_vee_sample_question_category( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingQuestionCategoryAPIResponseDTO: + ) -> QuestionCategoryAPIResponseDTO: """Retrieve a Vee question category's details Get the details of a specific Vee sample question category where the ID is the `categoryID` returned by `GET /v1alpha/data/model/vee/sample-question-categories`.
**Note:** 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). @@ -5221,7 +5221,7 @@ def get_vee_sample_question_category( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingQuestionCategoryAPIResponseDTO", + '200': "QuestionCategoryAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5251,7 +5251,7 @@ def get_vee_sample_question_category_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingQuestionCategoryAPIResponseDTO]: + ) -> ApiResponse[QuestionCategoryAPIResponseDTO]: """Retrieve a Vee question category's details Get the details of a specific Vee sample question category where the ID is the `categoryID` returned by `GET /v1alpha/data/model/vee/sample-question-categories`.
**Note:** 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). @@ -5292,7 +5292,7 @@ def get_vee_sample_question_category_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingQuestionCategoryAPIResponseDTO", + '200': "QuestionCategoryAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5363,7 +5363,7 @@ def get_vee_sample_question_category_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingQuestionCategoryAPIResponseDTO", + '200': "QuestionCategoryAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5460,7 +5460,7 @@ def get_vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingSampleQuestionsAPIResponseDTO: + ) -> SampleQuestionsAPIResponseDTO: """Retrieve a list of all Vee sample questions Get a list of all Vee sample questions for a tenant, including sample questions that are not available to end users. Administrating tenants can specify the tenant from which to retrieve sample questions using the `TargetTenantID` header.
**Note:** 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). @@ -5501,7 +5501,7 @@ def get_vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSampleQuestionsAPIResponseDTO", + '200': "SampleQuestionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5531,7 +5531,7 @@ def get_vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingSampleQuestionsAPIResponseDTO]: + ) -> ApiResponse[SampleQuestionsAPIResponseDTO]: """Retrieve a list of all Vee sample questions Get a list of all Vee sample questions for a tenant, including sample questions that are not available to end users. Administrating tenants can specify the tenant from which to retrieve sample questions using the `TargetTenantID` header.
**Note:** 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). @@ -5572,7 +5572,7 @@ def get_vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSampleQuestionsAPIResponseDTO", + '200': "SampleQuestionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5643,7 +5643,7 @@ def get_vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSampleQuestionsAPIResponseDTO", + '200': "SampleQuestionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5743,7 +5743,7 @@ def member( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelMembersDTO: + ) -> MembersDTO: """Retrieve a dimension member If you know the ID of a dimension member, use this API to retrieve that dimension member specifically. You must also know the dimension's ID and the analytic object's ID. @@ -5793,7 +5793,7 @@ def member( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMembersDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -5826,7 +5826,7 @@ def member_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelMembersDTO]: + ) -> ApiResponse[MembersDTO]: """Retrieve a dimension member If you know the ID of a dimension member, use this API to retrieve that dimension member specifically. You must also know the dimension's ID and the analytic object's ID. @@ -5876,7 +5876,7 @@ def member_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMembersDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -5959,7 +5959,7 @@ def member_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMembersDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6076,7 +6076,7 @@ def members( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelMembersDTO: + ) -> MembersDTO: """Retrieve a list of dimension members If you know the ID of a dimension, use this API to retrieve the members of that dimension specifically. You must also know the analytic object's ID. Dimension members exist in a hierarchy. The levels in the hierarchy may be fixed or non-uniform. Leveled dimensions have fixed hierarchies, while parent-child dimensions have non-uniform levels. When you retrieve dimension members with this API, the response returns the level of the dimension and the path to get to that level. For example, in a Location dimension, Vancouver is 3 levels deep: - All > Canada > British Columbia > Vancouver Parent-child hierarchies are non-uniform and exhibit distinct characteristics such as time dependence and data attributes. These traits reflect the dynamic nature of hierarchies, for example, organizational hierarchies. The API response includes elements that express the validity ranges for retrieved members. @@ -6144,7 +6144,7 @@ def members( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMembersDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6183,7 +6183,7 @@ def members_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelMembersDTO]: + ) -> ApiResponse[MembersDTO]: """Retrieve a list of dimension members If you know the ID of a dimension, use this API to retrieve the members of that dimension specifically. You must also know the analytic object's ID. Dimension members exist in a hierarchy. The levels in the hierarchy may be fixed or non-uniform. Leveled dimensions have fixed hierarchies, while parent-child dimensions have non-uniform levels. When you retrieve dimension members with this API, the response returns the level of the dimension and the path to get to that level. For example, in a Location dimension, Vancouver is 3 levels deep: - All > Canada > British Columbia > Vancouver Parent-child hierarchies are non-uniform and exhibit distinct characteristics such as time dependence and data attributes. These traits reflect the dynamic nature of hierarchies, for example, organizational hierarchies. The API response includes elements that express the validity ranges for retrieved members. @@ -6251,7 +6251,7 @@ def members_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMembersDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6358,7 +6358,7 @@ def members_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMembersDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6499,7 +6499,7 @@ def metric( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelMetricDTO: + ) -> MetricDTO: """Retrieve a metric by ID If you know the ID of a metric, use this API to retrieve that metric specifically. @@ -6540,7 +6540,7 @@ def metric( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricDTO", + '200': "MetricDTO", } response_data = self.api_client.call_api( *_param, @@ -6570,7 +6570,7 @@ def metric_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelMetricDTO]: + ) -> ApiResponse[MetricDTO]: """Retrieve a metric by ID If you know the ID of a metric, use this API to retrieve that metric specifically. @@ -6611,7 +6611,7 @@ def metric_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricDTO", + '200': "MetricDTO", } response_data = self.api_client.call_api( *_param, @@ -6682,7 +6682,7 @@ def metric_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricDTO", + '200': "MetricDTO", } response_data = self.api_client.call_api( *_param, @@ -6780,7 +6780,7 @@ def metric_dimensions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelDimensionsDTO: + ) -> DimensionsDTO: """Retrieve a metric's dimensions Retrieve a list of dimensions for a specific metric. @@ -6824,7 +6824,7 @@ def metric_dimensions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -6855,7 +6855,7 @@ def metric_dimensions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelDimensionsDTO]: + ) -> ApiResponse[DimensionsDTO]: """Retrieve a metric's dimensions Retrieve a list of dimensions for a specific metric. @@ -6899,7 +6899,7 @@ def metric_dimensions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -6974,7 +6974,7 @@ def metric_dimensions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelDimensionsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -7078,7 +7078,7 @@ def metric_selection_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelSelectionConceptsDTO: + ) -> SelectionConceptsDTO: """Retrieve a metric's selection concepts Retrieve a list of selection concepts for a specific metric. @@ -7122,7 +7122,7 @@ def metric_selection_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptsDTO", + '200': "SelectionConceptsDTO", } response_data = self.api_client.call_api( *_param, @@ -7153,7 +7153,7 @@ def metric_selection_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelSelectionConceptsDTO]: + ) -> ApiResponse[SelectionConceptsDTO]: """Retrieve a metric's selection concepts Retrieve a list of selection concepts for a specific metric. @@ -7197,7 +7197,7 @@ def metric_selection_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptsDTO", + '200': "SelectionConceptsDTO", } response_data = self.api_client.call_api( *_param, @@ -7272,7 +7272,7 @@ def metric_selection_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptsDTO", + '200': "SelectionConceptsDTO", } response_data = self.api_client.call_api( *_param, @@ -7376,7 +7376,7 @@ def metrics( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelMetricsDTO: + ) -> MetricsDTO: """Retrieve a list of metrics Retrieve all the metrics in your Visier solution. @@ -7420,7 +7420,7 @@ def metrics( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -7451,7 +7451,7 @@ def metrics_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelMetricsDTO]: + ) -> ApiResponse[MetricsDTO]: """Retrieve a list of metrics Retrieve all the metrics in your Visier solution. @@ -7495,7 +7495,7 @@ def metrics_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -7570,7 +7570,7 @@ def metrics_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -7686,7 +7686,7 @@ def plan_data_loadl_list( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlanningGetPlanListResponseDTO: + ) -> GetPlanListResponseDTO: """Retrieve a list of plans Retrieve all the plans you have access to. The response returns plan information you can use to call the Planning Data Load API.
**Note:** 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). @@ -7760,7 +7760,7 @@ def plan_data_loadl_list( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningGetPlanListResponseDTO", + '200': "GetPlanListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7801,7 +7801,7 @@ def plan_data_loadl_list_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlanningGetPlanListResponseDTO]: + ) -> ApiResponse[GetPlanListResponseDTO]: """Retrieve a list of plans Retrieve all the plans you have access to. The response returns plan information you can use to call the Planning Data Load API.
**Note:** 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). @@ -7875,7 +7875,7 @@ def plan_data_loadl_list_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningGetPlanListResponseDTO", + '200': "GetPlanListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -7990,7 +7990,7 @@ def plan_data_loadl_list_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningGetPlanListResponseDTO", + '200': "GetPlanListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -8146,7 +8146,7 @@ def plan_info_with_schema( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlanningPlanWithSchemaDTO: + ) -> PlanWithSchemaDTO: """Retrieve a plan's details Retrieve the details of a specific plan. The response returns plan information you can use to call the Planning Data Load API.
**Note:** 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). @@ -8193,7 +8193,7 @@ def plan_info_with_schema( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlanWithSchemaDTO", + '200': "PlanWithSchemaDTO", } response_data = self.api_client.call_api( *_param, @@ -8225,7 +8225,7 @@ def plan_info_with_schema_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlanningPlanWithSchemaDTO]: + ) -> ApiResponse[PlanWithSchemaDTO]: """Retrieve a plan's details Retrieve the details of a specific plan. The response returns plan information you can use to call the Planning Data Load API.
**Note:** 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). @@ -8272,7 +8272,7 @@ def plan_info_with_schema_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlanWithSchemaDTO", + '200': "PlanWithSchemaDTO", } response_data = self.api_client.call_api( *_param, @@ -8351,7 +8351,7 @@ def plan_info_with_schema_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlanWithSchemaDTO", + '200': "PlanWithSchemaDTO", } response_data = self.api_client.call_api( *_param, @@ -8458,7 +8458,7 @@ def planning_metrics( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelMetricsDTO: + ) -> MetricsDTO: """Retrieve metrics by planning model ID Retrieve all the metrics you have access to for a planning model. @@ -8499,7 +8499,7 @@ def planning_metrics( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -8529,7 +8529,7 @@ def planning_metrics_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelMetricsDTO]: + ) -> ApiResponse[MetricsDTO]: """Retrieve metrics by planning model ID Retrieve all the metrics you have access to for a planning model. @@ -8570,7 +8570,7 @@ def planning_metrics_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -8641,7 +8641,7 @@ def planning_metrics_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelMetricsDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -8738,7 +8738,7 @@ def planning_model( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelPlanningModelDTO: + ) -> PlanningModelDTO: """Retrieve a planning model by ID Retrieve a specific planning model you have access to. @@ -8779,7 +8779,7 @@ def planning_model( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningModelDTO", + '200': "PlanningModelDTO", } response_data = self.api_client.call_api( *_param, @@ -8809,7 +8809,7 @@ def planning_model_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelPlanningModelDTO]: + ) -> ApiResponse[PlanningModelDTO]: """Retrieve a planning model by ID Retrieve a specific planning model you have access to. @@ -8850,7 +8850,7 @@ def planning_model_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningModelDTO", + '200': "PlanningModelDTO", } response_data = self.api_client.call_api( *_param, @@ -8921,7 +8921,7 @@ def planning_model_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningModelDTO", + '200': "PlanningModelDTO", } response_data = self.api_client.call_api( *_param, @@ -9018,7 +9018,7 @@ def planning_models( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelPlanningModelsDTO: + ) -> PlanningModelsDTO: """Retrieve a list of planning models Retrieve all the planning models you have access to. @@ -9059,7 +9059,7 @@ def planning_models( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningModelsDTO", + '200': "PlanningModelsDTO", } response_data = self.api_client.call_api( *_param, @@ -9089,7 +9089,7 @@ def planning_models_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelPlanningModelsDTO]: + ) -> ApiResponse[PlanningModelsDTO]: """Retrieve a list of planning models Retrieve all the planning models you have access to. @@ -9130,7 +9130,7 @@ def planning_models_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningModelsDTO", + '200': "PlanningModelsDTO", } response_data = self.api_client.call_api( *_param, @@ -9201,7 +9201,7 @@ def planning_models_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningModelsDTO", + '200': "PlanningModelsDTO", } response_data = self.api_client.call_api( *_param, @@ -9302,7 +9302,7 @@ def planning_plan( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelPlanningPlanDTO: + ) -> PlanningPlanDTO: """Retrieve a plan by planning model ID and plan ID Retrieve a specific plan that you have access to in a planning model. @@ -9346,7 +9346,7 @@ def planning_plan( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningPlanDTO", + '200': "PlanningPlanDTO", } response_data = self.api_client.call_api( *_param, @@ -9377,7 +9377,7 @@ def planning_plan_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelPlanningPlanDTO]: + ) -> ApiResponse[PlanningPlanDTO]: """Retrieve a plan by planning model ID and plan ID Retrieve a specific plan that you have access to in a planning model. @@ -9421,7 +9421,7 @@ def planning_plan_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningPlanDTO", + '200': "PlanningPlanDTO", } response_data = self.api_client.call_api( *_param, @@ -9496,7 +9496,7 @@ def planning_plan_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningPlanDTO", + '200': "PlanningPlanDTO", } response_data = self.api_client.call_api( *_param, @@ -9597,7 +9597,7 @@ def planning_plans( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelPlanningPlansDTO: + ) -> PlanningPlansDTO: """Retrieve a list of plans by planning model ID Retrieve all the plans you have access to for a planning model. @@ -9641,7 +9641,7 @@ def planning_plans( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningPlansDTO", + '200': "PlanningPlansDTO", } response_data = self.api_client.call_api( *_param, @@ -9672,7 +9672,7 @@ def planning_plans_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelPlanningPlansDTO]: + ) -> ApiResponse[PlanningPlansDTO]: """Retrieve a list of plans by planning model ID Retrieve all the plans you have access to for a planning model. @@ -9716,7 +9716,7 @@ def planning_plans_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningPlansDTO", + '200': "PlanningPlansDTO", } response_data = self.api_client.call_api( *_param, @@ -9791,7 +9791,7 @@ def planning_plans_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPlanningPlansDTO", + '200': "PlanningPlansDTO", } response_data = self.api_client.call_api( *_param, @@ -9894,7 +9894,7 @@ def prediction( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelPredictionDTO: + ) -> PredictionDTO: """Retrieve a prediction by ID If you know the ID of a prediction, use this API to retrieve that prediction specifically. @@ -9935,7 +9935,7 @@ def prediction( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPredictionDTO", + '200': "PredictionDTO", } response_data = self.api_client.call_api( *_param, @@ -9965,7 +9965,7 @@ def prediction_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelPredictionDTO]: + ) -> ApiResponse[PredictionDTO]: """Retrieve a prediction by ID If you know the ID of a prediction, use this API to retrieve that prediction specifically. @@ -10006,7 +10006,7 @@ def prediction_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPredictionDTO", + '200': "PredictionDTO", } response_data = self.api_client.call_api( *_param, @@ -10077,7 +10077,7 @@ def prediction_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPredictionDTO", + '200': "PredictionDTO", } response_data = self.api_client.call_api( *_param, @@ -10174,7 +10174,7 @@ def predictions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelPredictionsDTO: + ) -> PredictionsDTO: """Retrieve a list of predictions Retrieve all the predictions in your Visier solution. @@ -10215,7 +10215,7 @@ def predictions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPredictionsDTO", + '200': "PredictionsDTO", } response_data = self.api_client.call_api( *_param, @@ -10245,7 +10245,7 @@ def predictions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelPredictionsDTO]: + ) -> ApiResponse[PredictionsDTO]: """Retrieve a list of predictions Retrieve all the predictions in your Visier solution. @@ -10286,7 +10286,7 @@ def predictions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPredictionsDTO", + '200': "PredictionsDTO", } response_data = self.api_client.call_api( *_param, @@ -10357,7 +10357,7 @@ def predictions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPredictionsDTO", + '200': "PredictionsDTO", } response_data = self.api_client.call_api( *_param, @@ -10458,7 +10458,7 @@ def properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelPropertiesDTO: + ) -> PropertiesDTO: """Retrieve a list of properties Retrieve a list of properties for a specific analytic object. @@ -10502,7 +10502,7 @@ def properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPropertiesDTO", + '200': "PropertiesDTO", } response_data = self.api_client.call_api( *_param, @@ -10533,7 +10533,7 @@ def properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelPropertiesDTO]: + ) -> ApiResponse[PropertiesDTO]: """Retrieve a list of properties Retrieve a list of properties for a specific analytic object. @@ -10577,7 +10577,7 @@ def properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPropertiesDTO", + '200': "PropertiesDTO", } response_data = self.api_client.call_api( *_param, @@ -10652,7 +10652,7 @@ def properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelPropertiesDTO", + '200': "PropertiesDTO", } response_data = self.api_client.call_api( *_param, @@ -10741,7 +10741,7 @@ def _properties_serialize( @validate_call def put_properties( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -10756,13 +10756,13 @@ def put_properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingObjectconfigurationObjectsBulkChangeResponseDTO: + ) -> ObjectsBulkChangeResponseDTO: """Replace properties Update existing properties by replacing their entire definition. The definition in your API call replaces the property's 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 property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -10790,7 +10790,7 @@ def put_properties( """ # noqa: E501 _param = self._put_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -10800,7 +10800,7 @@ def put_properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10816,7 +10816,7 @@ def put_properties( @validate_call def put_properties_with_http_info( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -10831,13 +10831,13 @@ def put_properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingObjectconfigurationObjectsBulkChangeResponseDTO]: + ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: """Replace properties Update existing properties by replacing their entire definition. The definition in your API call replaces the property's 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 property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -10865,7 +10865,7 @@ def put_properties_with_http_info( """ # noqa: E501 _param = self._put_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -10875,7 +10875,7 @@ def put_properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10891,7 +10891,7 @@ def put_properties_with_http_info( @validate_call def put_properties_without_preload_content( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -10911,8 +10911,8 @@ def put_properties_without_preload_content( Update existing properties by replacing their entire definition. The definition in your API call replaces the property's 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 property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -10940,7 +10940,7 @@ def put_properties_without_preload_content( """ # noqa: E501 _param = self._put_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -10950,7 +10950,7 @@ def put_properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10961,7 +10961,7 @@ def put_properties_without_preload_content( def _put_properties_serialize( self, - servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -10993,8 +10993,8 @@ def _put_properties_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_objectconfiguration_properties_change_definitions_dto is not None: - _body_params = servicing_objectconfiguration_properties_change_definitions_dto + if properties_change_definitions_dto is not None: + _body_params = properties_change_definitions_dto # set the HTTP header `Accept` @@ -11049,7 +11049,7 @@ def _put_properties_serialize( @validate_call def put_vee_sample_questions( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -11064,13 +11064,13 @@ def put_vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingVeeQuestionsBulkChangeResponseDTO: + ) -> VeeQuestionsBulkChangeResponseDTO: """Update Vee sample questions Update existing sample questions, such as its question category or whether the question is visible in Vee. Administrating tenants can specify the tenant in which to update sample questions using the `TargetTenantID` header. When updating sample questions, the question definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values for optional fields from the update request, the values reset to their respective default value. We recommend that you retrieve a question's details before you update the question with new values.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -11098,7 +11098,7 @@ def put_vee_sample_questions( """ # noqa: E501 _param = self._put_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -11108,7 +11108,7 @@ def put_vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -11124,7 +11124,7 @@ def put_vee_sample_questions( @validate_call def put_vee_sample_questions_with_http_info( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -11139,13 +11139,13 @@ def put_vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingVeeQuestionsBulkChangeResponseDTO]: + ) -> ApiResponse[VeeQuestionsBulkChangeResponseDTO]: """Update Vee sample questions Update existing sample questions, such as its question category or whether the question is visible in Vee. Administrating tenants can specify the tenant in which to update sample questions using the `TargetTenantID` header. When updating sample questions, the question definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values for optional fields from the update request, the values reset to their respective default value. We recommend that you retrieve a question's details before you update the question with new values.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -11173,7 +11173,7 @@ def put_vee_sample_questions_with_http_info( """ # noqa: E501 _param = self._put_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -11183,7 +11183,7 @@ def put_vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -11199,7 +11199,7 @@ def put_vee_sample_questions_with_http_info( @validate_call def put_vee_sample_questions_without_preload_content( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -11219,8 +11219,8 @@ def put_vee_sample_questions_without_preload_content( Update existing sample questions, such as its question category or whether the question is visible in Vee. Administrating tenants can specify the tenant in which to update sample questions using the `TargetTenantID` header. When updating sample questions, the question definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values for optional fields from the update request, the values reset to their respective default value. We recommend that you retrieve a question's details before you update the question with new values.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -11248,7 +11248,7 @@ def put_vee_sample_questions_without_preload_content( """ # noqa: E501 _param = self._put_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -11258,7 +11258,7 @@ def put_vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -11269,7 +11269,7 @@ def put_vee_sample_questions_without_preload_content( def _put_vee_sample_questions_serialize( self, - servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -11301,8 +11301,8 @@ def _put_vee_sample_questions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_vee_questions_change_definitions_dto is not None: - _body_params = servicing_vee_questions_change_definitions_dto + if vee_questions_change_definitions_dto is not None: + _body_params = vee_questions_change_definitions_dto # set the HTTP header `Accept` @@ -11372,7 +11372,7 @@ def selection_concept( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelSelectionConceptDTO: + ) -> SelectionConceptDTO: """Retrieve an analytic object's selection concept by ID If you know the ID of a selection concept, use this API to retrieve that selection concept specifically. You must also know the analytic object's ID. @@ -11416,7 +11416,7 @@ def selection_concept( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptDTO", + '200': "SelectionConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -11447,7 +11447,7 @@ def selection_concept_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelSelectionConceptDTO]: + ) -> ApiResponse[SelectionConceptDTO]: """Retrieve an analytic object's selection concept by ID If you know the ID of a selection concept, use this API to retrieve that selection concept specifically. You must also know the analytic object's ID. @@ -11491,7 +11491,7 @@ def selection_concept_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptDTO", + '200': "SelectionConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -11566,7 +11566,7 @@ def selection_concept_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptDTO", + '200': "SelectionConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -11667,7 +11667,7 @@ def selection_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesDatamodelSelectionConceptsDTO: + ) -> SelectionConceptsDTO: """Retrieve an analytic object's selection concepts Retrieve a list of selection concepts for a specific analytic object. @@ -11711,7 +11711,7 @@ def selection_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptsDTO", + '200': "SelectionConceptsDTO", } response_data = self.api_client.call_api( *_param, @@ -11742,7 +11742,7 @@ def selection_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesDatamodelSelectionConceptsDTO]: + ) -> ApiResponse[SelectionConceptsDTO]: """Retrieve an analytic object's selection concepts Retrieve a list of selection concepts for a specific analytic object. @@ -11786,7 +11786,7 @@ def selection_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptsDTO", + '200': "SelectionConceptsDTO", } response_data = self.api_client.call_api( *_param, @@ -11861,7 +11861,7 @@ def selection_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesDatamodelSelectionConceptsDTO", + '200': "SelectionConceptsDTO", } response_data = self.api_client.call_api( *_param, @@ -11950,7 +11950,7 @@ def _selection_concepts_serialize( @validate_call def update_analytic_objects( self, - servicing_v2_objectconfiguration_analytic_object_request_dto: ServicingV2ObjectconfigurationAnalyticObjectRequestDTO, + analytic_object_request_dto: AnalyticObjectRequestDTO, 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, _request_timeout: Union[ None, @@ -11964,13 +11964,13 @@ def update_analytic_objects( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingV2ObjectconfigurationBulkChangeResponseDTO: + ) -> BulkChangeResponseDTO: """Update analytic objects Update the details of an analytic object. Supports reverting subjects, events, and internal comparisons to Blueprint. You can revert tenant override objects to Blueprint. If you execute the `revertToBP` operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** 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). - :param servicing_v2_objectconfiguration_analytic_object_request_dto: (required) - :type servicing_v2_objectconfiguration_analytic_object_request_dto: ServicingV2ObjectconfigurationAnalyticObjectRequestDTO + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -11996,7 +11996,7 @@ def update_analytic_objects( """ # noqa: E501 _param = self._update_analytic_objects_serialize( - servicing_v2_objectconfiguration_analytic_object_request_dto=servicing_v2_objectconfiguration_analytic_object_request_dto, + analytic_object_request_dto=analytic_object_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -12005,7 +12005,7 @@ def update_analytic_objects( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12021,7 +12021,7 @@ def update_analytic_objects( @validate_call def update_analytic_objects_with_http_info( self, - servicing_v2_objectconfiguration_analytic_object_request_dto: ServicingV2ObjectconfigurationAnalyticObjectRequestDTO, + analytic_object_request_dto: AnalyticObjectRequestDTO, 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, _request_timeout: Union[ None, @@ -12035,13 +12035,13 @@ def update_analytic_objects_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingV2ObjectconfigurationBulkChangeResponseDTO]: + ) -> ApiResponse[BulkChangeResponseDTO]: """Update analytic objects Update the details of an analytic object. Supports reverting subjects, events, and internal comparisons to Blueprint. You can revert tenant override objects to Blueprint. If you execute the `revertToBP` operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** 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). - :param servicing_v2_objectconfiguration_analytic_object_request_dto: (required) - :type servicing_v2_objectconfiguration_analytic_object_request_dto: ServicingV2ObjectconfigurationAnalyticObjectRequestDTO + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -12067,7 +12067,7 @@ def update_analytic_objects_with_http_info( """ # noqa: E501 _param = self._update_analytic_objects_serialize( - servicing_v2_objectconfiguration_analytic_object_request_dto=servicing_v2_objectconfiguration_analytic_object_request_dto, + analytic_object_request_dto=analytic_object_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -12076,7 +12076,7 @@ def update_analytic_objects_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12092,7 +12092,7 @@ def update_analytic_objects_with_http_info( @validate_call def update_analytic_objects_without_preload_content( self, - servicing_v2_objectconfiguration_analytic_object_request_dto: ServicingV2ObjectconfigurationAnalyticObjectRequestDTO, + analytic_object_request_dto: AnalyticObjectRequestDTO, 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, _request_timeout: Union[ None, @@ -12111,8 +12111,8 @@ def update_analytic_objects_without_preload_content( Update the details of an analytic object. Supports reverting subjects, events, and internal comparisons to Blueprint. You can revert tenant override objects to Blueprint. If you execute the `revertToBP` operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** 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). - :param servicing_v2_objectconfiguration_analytic_object_request_dto: (required) - :type servicing_v2_objectconfiguration_analytic_object_request_dto: ServicingV2ObjectconfigurationAnalyticObjectRequestDTO + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -12138,7 +12138,7 @@ def update_analytic_objects_without_preload_content( """ # noqa: E501 _param = self._update_analytic_objects_serialize( - servicing_v2_objectconfiguration_analytic_object_request_dto=servicing_v2_objectconfiguration_analytic_object_request_dto, + analytic_object_request_dto=analytic_object_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -12147,7 +12147,7 @@ def update_analytic_objects_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingV2ObjectconfigurationBulkChangeResponseDTO", + '200': "BulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12158,7 +12158,7 @@ def update_analytic_objects_without_preload_content( def _update_analytic_objects_serialize( self, - servicing_v2_objectconfiguration_analytic_object_request_dto, + analytic_object_request_dto, target_tenant_id, _request_auth, _content_type, @@ -12187,8 +12187,8 @@ def _update_analytic_objects_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_v2_objectconfiguration_analytic_object_request_dto is not None: - _body_params = servicing_v2_objectconfiguration_analytic_object_request_dto + if analytic_object_request_dto is not None: + _body_params = analytic_object_request_dto # set the HTTP header `Accept` @@ -12243,7 +12243,7 @@ def _update_analytic_objects_serialize( @validate_call def update_dimensions( self, - servicing_objectconfiguration_dimensions_change_definitions_dto: ServicingObjectconfigurationDimensionsChangeDefinitionsDTO, + dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ @@ -12258,13 +12258,13 @@ def update_dimensions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingObjectconfigurationObjectsBulkChangeResponseDTO: + ) -> ObjectsBulkChangeResponseDTO: """Update dimensions Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_dimensions_change_definitions_dto: (required) - :type servicing_objectconfiguration_dimensions_change_definitions_dto: ServicingObjectconfigurationDimensionsChangeDefinitionsDTO + :param dimensions_change_definitions_dto: (required) + :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. @@ -12292,7 +12292,7 @@ def update_dimensions( """ # noqa: E501 _param = self._update_dimensions_serialize( - servicing_objectconfiguration_dimensions_change_definitions_dto=servicing_objectconfiguration_dimensions_change_definitions_dto, + dimensions_change_definitions_dto=dimensions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12302,7 +12302,7 @@ def update_dimensions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12318,7 +12318,7 @@ def update_dimensions( @validate_call def update_dimensions_with_http_info( self, - servicing_objectconfiguration_dimensions_change_definitions_dto: ServicingObjectconfigurationDimensionsChangeDefinitionsDTO, + dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ @@ -12333,13 +12333,13 @@ def update_dimensions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingObjectconfigurationObjectsBulkChangeResponseDTO]: + ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: """Update dimensions Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_dimensions_change_definitions_dto: (required) - :type servicing_objectconfiguration_dimensions_change_definitions_dto: ServicingObjectconfigurationDimensionsChangeDefinitionsDTO + :param dimensions_change_definitions_dto: (required) + :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. @@ -12367,7 +12367,7 @@ def update_dimensions_with_http_info( """ # noqa: E501 _param = self._update_dimensions_serialize( - servicing_objectconfiguration_dimensions_change_definitions_dto=servicing_objectconfiguration_dimensions_change_definitions_dto, + dimensions_change_definitions_dto=dimensions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12377,7 +12377,7 @@ def update_dimensions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12393,7 +12393,7 @@ def update_dimensions_with_http_info( @validate_call def update_dimensions_without_preload_content( self, - servicing_objectconfiguration_dimensions_change_definitions_dto: ServicingObjectconfigurationDimensionsChangeDefinitionsDTO, + dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ @@ -12413,8 +12413,8 @@ def update_dimensions_without_preload_content( Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_dimensions_change_definitions_dto: (required) - :type servicing_objectconfiguration_dimensions_change_definitions_dto: ServicingObjectconfigurationDimensionsChangeDefinitionsDTO + :param dimensions_change_definitions_dto: (required) + :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. @@ -12442,7 +12442,7 @@ def update_dimensions_without_preload_content( """ # noqa: E501 _param = self._update_dimensions_serialize( - servicing_objectconfiguration_dimensions_change_definitions_dto=servicing_objectconfiguration_dimensions_change_definitions_dto, + dimensions_change_definitions_dto=dimensions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12452,7 +12452,7 @@ def update_dimensions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12463,7 +12463,7 @@ def update_dimensions_without_preload_content( def _update_dimensions_serialize( self, - servicing_objectconfiguration_dimensions_change_definitions_dto, + dimensions_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -12495,8 +12495,8 @@ def _update_dimensions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_objectconfiguration_dimensions_change_definitions_dto is not None: - _body_params = servicing_objectconfiguration_dimensions_change_definitions_dto + if dimensions_change_definitions_dto is not None: + _body_params = dimensions_change_definitions_dto # set the HTTP header `Accept` @@ -12551,7 +12551,7 @@ def _update_dimensions_serialize( @validate_call def update_properties( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -12566,13 +12566,13 @@ def update_properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingObjectconfigurationObjectsBulkChangeResponseDTO: + ) -> ObjectsBulkChangeResponseDTO: """Update properties Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -12600,7 +12600,7 @@ def update_properties( """ # noqa: E501 _param = self._update_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12610,7 +12610,7 @@ def update_properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12626,7 +12626,7 @@ def update_properties( @validate_call def update_properties_with_http_info( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -12641,13 +12641,13 @@ def update_properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingObjectconfigurationObjectsBulkChangeResponseDTO]: + ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: """Update properties Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -12675,7 +12675,7 @@ def update_properties_with_http_info( """ # noqa: E501 _param = self._update_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12685,7 +12685,7 @@ def update_properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12701,7 +12701,7 @@ def update_properties_with_http_info( @validate_call def update_properties_without_preload_content( self, - servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -12721,8 +12721,8 @@ def update_properties_without_preload_content( Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. - :param servicing_objectconfiguration_properties_change_definitions_dto: (required) - :type servicing_objectconfiguration_properties_change_definitions_dto: ServicingObjectconfigurationPropertiesChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -12750,7 +12750,7 @@ def update_properties_without_preload_content( """ # noqa: E501 _param = self._update_properties_serialize( - servicing_objectconfiguration_properties_change_definitions_dto=servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12760,7 +12760,7 @@ def update_properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingObjectconfigurationObjectsBulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12771,7 +12771,7 @@ def update_properties_without_preload_content( def _update_properties_serialize( self, - servicing_objectconfiguration_properties_change_definitions_dto, + properties_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -12803,8 +12803,8 @@ def _update_properties_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_objectconfiguration_properties_change_definitions_dto is not None: - _body_params = servicing_objectconfiguration_properties_change_definitions_dto + if properties_change_definitions_dto is not None: + _body_params = properties_change_definitions_dto # set the HTTP header `Accept` @@ -12859,7 +12859,7 @@ def _update_properties_serialize( @validate_call def update_vee_sample_questions( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -12874,13 +12874,13 @@ def update_vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingVeeQuestionsBulkChangeResponseDTO: + ) -> VeeQuestionsBulkChangeResponseDTO: """Patch Vee sample questions Make partial changes to Vee sample questions. Administrating tenants can specify the tenant in which to patch questions using the `TargetTenantID` header. Unlike a `PUT` call, which completely replaces the sample question definition, use `PATCH` to change specific fields in the question without affecting omitted fields.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -12908,7 +12908,7 @@ def update_vee_sample_questions( """ # noqa: E501 _param = self._update_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12918,7 +12918,7 @@ def update_vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12934,7 +12934,7 @@ def update_vee_sample_questions( @validate_call def update_vee_sample_questions_with_http_info( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -12949,13 +12949,13 @@ def update_vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingVeeQuestionsBulkChangeResponseDTO]: + ) -> ApiResponse[VeeQuestionsBulkChangeResponseDTO]: """Patch Vee sample questions Make partial changes to Vee sample questions. Administrating tenants can specify the tenant in which to patch questions using the `TargetTenantID` header. Unlike a `PUT` call, which completely replaces the sample question definition, use `PATCH` to change specific fields in the question without affecting omitted fields.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -12983,7 +12983,7 @@ def update_vee_sample_questions_with_http_info( """ # noqa: E501 _param = self._update_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12993,7 +12993,7 @@ def update_vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -13009,7 +13009,7 @@ def update_vee_sample_questions_with_http_info( @validate_call def update_vee_sample_questions_without_preload_content( self, - servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -13029,8 +13029,8 @@ def update_vee_sample_questions_without_preload_content( Make partial changes to Vee sample questions. Administrating tenants can specify the tenant in which to patch questions using the `TargetTenantID` header. Unlike a `PUT` call, which completely replaces the sample question definition, use `PATCH` to change specific fields in the question without affecting omitted fields.
**Note:** 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). - :param servicing_vee_questions_change_definitions_dto: (required) - :type servicing_vee_questions_change_definitions_dto: ServicingVeeQuestionsChangeDefinitionsDTO + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -13058,7 +13058,7 @@ def update_vee_sample_questions_without_preload_content( """ # noqa: E501 _param = self._update_vee_sample_questions_serialize( - servicing_vee_questions_change_definitions_dto=servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -13068,7 +13068,7 @@ def update_vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingVeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -13079,7 +13079,7 @@ def update_vee_sample_questions_without_preload_content( def _update_vee_sample_questions_serialize( self, - servicing_vee_questions_change_definitions_dto, + vee_questions_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -13111,8 +13111,8 @@ def _update_vee_sample_questions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_vee_questions_change_definitions_dto is not None: - _body_params = servicing_vee_questions_change_definitions_dto + if vee_questions_change_definitions_dto is not None: + _body_params = vee_questions_change_definitions_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_query_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_query_api.py index 6bffeaec70..5901415101 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_query_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_query_api.py @@ -20,13 +20,13 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.data_out_list_response import DataOutListResponse -from visier_platform_sdk.models.dataservices_query_aggregation_query_execution_dto import DataservicesQueryAggregationQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_cell_set_or_error_dto import DataservicesQueryCellSetOrErrorDTO -from visier_platform_sdk.models.dataservices_query_list_query_execution_dto import DataservicesQueryListQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_snapshot_query_execution_dto import DataservicesQuerySnapshotQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_sql_like_query_execution_dto import DataservicesQuerySqlLikeQueryExecutionDTO +from visier_platform_sdk.models.aggregation_query_execution_dto import AggregationQueryExecutionDTO +from visier_platform_sdk.models.cell_set_or_error_dto import CellSetOrErrorDTO +from visier_platform_sdk.models.list_query_execution_dto import ListQueryExecutionDTO +from visier_platform_sdk.models.list_response import ListResponse +from visier_platform_sdk.models.snapshot_query_execution_dto import SnapshotQueryExecutionDTO from visier_platform_sdk.models.sql_like200_response import SqlLike200Response +from visier_platform_sdk.models.sql_like_query_execution_dto import SqlLikeQueryExecutionDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -49,7 +49,7 @@ def __init__(self, api_client=None) -> None: @validate_call def aggregate( self, - dataservices_query_aggregation_query_execution_dto: DataservicesQueryAggregationQueryExecutionDTO, + aggregation_query_execution_dto: AggregationQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -63,13 +63,13 @@ def aggregate( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataservicesQueryCellSetOrErrorDTO: + ) -> CellSetOrErrorDTO: """Query aggregate data To retrieve aggregated values from your data in Visier, you can perform an aggregation. Usually, an aggregation retrieves values over a period of time, such as multiple months. You can also group and filter your data in an aggregation query to retrieve detailed information. - :param dataservices_query_aggregation_query_execution_dto: (required) - :type dataservices_query_aggregation_query_execution_dto: DataservicesQueryAggregationQueryExecutionDTO + :param aggregation_query_execution_dto: (required) + :type aggregation_query_execution_dto: AggregationQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -95,7 +95,7 @@ def aggregate( """ # noqa: E501 _param = self._aggregate_serialize( - dataservices_query_aggregation_query_execution_dto=dataservices_query_aggregation_query_execution_dto, + aggregation_query_execution_dto=aggregation_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -104,7 +104,7 @@ def aggregate( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesQueryCellSetOrErrorDTO", + '200': "CellSetOrErrorDTO", } response_data = self.api_client.call_api( *_param, @@ -120,7 +120,7 @@ def aggregate( @validate_call def aggregate_with_http_info( self, - dataservices_query_aggregation_query_execution_dto: DataservicesQueryAggregationQueryExecutionDTO, + aggregation_query_execution_dto: AggregationQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -134,13 +134,13 @@ def aggregate_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataservicesQueryCellSetOrErrorDTO]: + ) -> ApiResponse[CellSetOrErrorDTO]: """Query aggregate data To retrieve aggregated values from your data in Visier, you can perform an aggregation. Usually, an aggregation retrieves values over a period of time, such as multiple months. You can also group and filter your data in an aggregation query to retrieve detailed information. - :param dataservices_query_aggregation_query_execution_dto: (required) - :type dataservices_query_aggregation_query_execution_dto: DataservicesQueryAggregationQueryExecutionDTO + :param aggregation_query_execution_dto: (required) + :type aggregation_query_execution_dto: AggregationQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -166,7 +166,7 @@ def aggregate_with_http_info( """ # noqa: E501 _param = self._aggregate_serialize( - dataservices_query_aggregation_query_execution_dto=dataservices_query_aggregation_query_execution_dto, + aggregation_query_execution_dto=aggregation_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -175,7 +175,7 @@ def aggregate_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesQueryCellSetOrErrorDTO", + '200': "CellSetOrErrorDTO", } response_data = self.api_client.call_api( *_param, @@ -191,7 +191,7 @@ def aggregate_with_http_info( @validate_call def aggregate_without_preload_content( self, - dataservices_query_aggregation_query_execution_dto: DataservicesQueryAggregationQueryExecutionDTO, + aggregation_query_execution_dto: AggregationQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -210,8 +210,8 @@ def aggregate_without_preload_content( To retrieve aggregated values from your data in Visier, you can perform an aggregation. Usually, an aggregation retrieves values over a period of time, such as multiple months. You can also group and filter your data in an aggregation query to retrieve detailed information. - :param dataservices_query_aggregation_query_execution_dto: (required) - :type dataservices_query_aggregation_query_execution_dto: DataservicesQueryAggregationQueryExecutionDTO + :param aggregation_query_execution_dto: (required) + :type aggregation_query_execution_dto: AggregationQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -237,7 +237,7 @@ def aggregate_without_preload_content( """ # noqa: E501 _param = self._aggregate_serialize( - dataservices_query_aggregation_query_execution_dto=dataservices_query_aggregation_query_execution_dto, + aggregation_query_execution_dto=aggregation_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -246,7 +246,7 @@ def aggregate_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataservicesQueryCellSetOrErrorDTO", + '200': "CellSetOrErrorDTO", } response_data = self.api_client.call_api( *_param, @@ -257,7 +257,7 @@ def aggregate_without_preload_content( def _aggregate_serialize( self, - dataservices_query_aggregation_query_execution_dto, + aggregation_query_execution_dto, target_tenant_id, _request_auth, _content_type, @@ -286,8 +286,8 @@ def _aggregate_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if dataservices_query_aggregation_query_execution_dto is not None: - _body_params = dataservices_query_aggregation_query_execution_dto + if aggregation_query_execution_dto is not None: + _body_params = aggregation_query_execution_dto # set the HTTP header `Accept` @@ -344,7 +344,7 @@ def _aggregate_serialize( @validate_call def list( self, - dataservices_query_list_query_execution_dto: DataservicesQueryListQueryExecutionDTO, + list_query_execution_dto: ListQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -358,13 +358,13 @@ def list( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataOutListResponse: + ) -> ListResponse: """Query a list of details To retrieve a list of values for specific objects, you can perform a list query. A list query provides information about values for selected data points, and is not an aggregated value. In Visier's interface, a list query is comparable to View Details for a specific data point in a visualization. - :param dataservices_query_list_query_execution_dto: (required) - :type dataservices_query_list_query_execution_dto: DataservicesQueryListQueryExecutionDTO + :param list_query_execution_dto: (required) + :type list_query_execution_dto: ListQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -390,7 +390,7 @@ def list( """ # noqa: E501 _param = self._list_serialize( - dataservices_query_list_query_execution_dto=dataservices_query_list_query_execution_dto, + list_query_execution_dto=list_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -399,7 +399,7 @@ def list( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataOutListResponse", + '200': "ListResponse", } response_data = self.api_client.call_api( *_param, @@ -415,7 +415,7 @@ def list( @validate_call def list_with_http_info( self, - dataservices_query_list_query_execution_dto: DataservicesQueryListQueryExecutionDTO, + list_query_execution_dto: ListQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -429,13 +429,13 @@ def list_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataOutListResponse]: + ) -> ApiResponse[ListResponse]: """Query a list of details To retrieve a list of values for specific objects, you can perform a list query. A list query provides information about values for selected data points, and is not an aggregated value. In Visier's interface, a list query is comparable to View Details for a specific data point in a visualization. - :param dataservices_query_list_query_execution_dto: (required) - :type dataservices_query_list_query_execution_dto: DataservicesQueryListQueryExecutionDTO + :param list_query_execution_dto: (required) + :type list_query_execution_dto: ListQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -461,7 +461,7 @@ def list_with_http_info( """ # noqa: E501 _param = self._list_serialize( - dataservices_query_list_query_execution_dto=dataservices_query_list_query_execution_dto, + list_query_execution_dto=list_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -470,7 +470,7 @@ def list_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataOutListResponse", + '200': "ListResponse", } response_data = self.api_client.call_api( *_param, @@ -486,7 +486,7 @@ def list_with_http_info( @validate_call def list_without_preload_content( self, - dataservices_query_list_query_execution_dto: DataservicesQueryListQueryExecutionDTO, + list_query_execution_dto: ListQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -505,8 +505,8 @@ def list_without_preload_content( To retrieve a list of values for specific objects, you can perform a list query. A list query provides information about values for selected data points, and is not an aggregated value. In Visier's interface, a list query is comparable to View Details for a specific data point in a visualization. - :param dataservices_query_list_query_execution_dto: (required) - :type dataservices_query_list_query_execution_dto: DataservicesQueryListQueryExecutionDTO + :param list_query_execution_dto: (required) + :type list_query_execution_dto: ListQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -532,7 +532,7 @@ def list_without_preload_content( """ # noqa: E501 _param = self._list_serialize( - dataservices_query_list_query_execution_dto=dataservices_query_list_query_execution_dto, + list_query_execution_dto=list_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -541,7 +541,7 @@ def list_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataOutListResponse", + '200': "ListResponse", } response_data = self.api_client.call_api( *_param, @@ -552,7 +552,7 @@ def list_without_preload_content( def _list_serialize( self, - dataservices_query_list_query_execution_dto, + list_query_execution_dto, target_tenant_id, _request_auth, _content_type, @@ -581,8 +581,8 @@ def _list_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if dataservices_query_list_query_execution_dto is not None: - _body_params = dataservices_query_list_query_execution_dto + if list_query_execution_dto is not None: + _body_params = list_query_execution_dto # set the HTTP header `Accept` @@ -639,7 +639,7 @@ def _list_serialize( @validate_call def query_snapshot( self, - dataservices_query_snapshot_query_execution_dto: DataservicesQuerySnapshotQueryExecutionDTO, + snapshot_query_execution_dto: SnapshotQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -653,13 +653,13 @@ def query_snapshot( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DataOutListResponse: + ) -> ListResponse: """Query a series of detailed snapshots To retrieve a collection of `list` query-style snapshots taken at the defined intervals, execute a `snapshot` query. Each snapshot in the result is associated with a timestamp, or the \"effective date\" at which date snapshot data was valid. This API allows you to request a detailed time series from Visier. Structurally, a `snapshot` query is similar to a `list` query, but has the following differences: * The `snapshot` query may contain a column, `effectiveDateProperty`, that specifies the time for each snapshot. To include the `effectiveDateProperty` column, add the following object to the columns array: ```json { \"columnName\": \"Snapshot_Date\", \"columnDefinition\": { \"effectiveDateProperty\": {} } } ``` * The `snapshot` query uses `timeIntervals` (like an `aggregate` query) instead of `timeInterval` (like a `list` query) because the `snapshot` query must specify the number of snapshots to generate. To specify the number of snapshots to generate, use the `intervalCount` property in the `timeIntervals` object, as shown next. ```json { \"timeIntervals\": { \"fromDateTime\": \"2022-01-01\", \"intervalPeriodType\": \"MONTH\", \"intervalPeriodCount\": 6, \"intervalCount\": 4 } ``` - :param dataservices_query_snapshot_query_execution_dto: (required) - :type dataservices_query_snapshot_query_execution_dto: DataservicesQuerySnapshotQueryExecutionDTO + :param snapshot_query_execution_dto: (required) + :type snapshot_query_execution_dto: SnapshotQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -685,7 +685,7 @@ def query_snapshot( """ # noqa: E501 _param = self._query_snapshot_serialize( - dataservices_query_snapshot_query_execution_dto=dataservices_query_snapshot_query_execution_dto, + snapshot_query_execution_dto=snapshot_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -694,7 +694,7 @@ def query_snapshot( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataOutListResponse", + '200': "ListResponse", } response_data = self.api_client.call_api( *_param, @@ -710,7 +710,7 @@ def query_snapshot( @validate_call def query_snapshot_with_http_info( self, - dataservices_query_snapshot_query_execution_dto: DataservicesQuerySnapshotQueryExecutionDTO, + snapshot_query_execution_dto: SnapshotQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -724,13 +724,13 @@ def query_snapshot_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DataOutListResponse]: + ) -> ApiResponse[ListResponse]: """Query a series of detailed snapshots To retrieve a collection of `list` query-style snapshots taken at the defined intervals, execute a `snapshot` query. Each snapshot in the result is associated with a timestamp, or the \"effective date\" at which date snapshot data was valid. This API allows you to request a detailed time series from Visier. Structurally, a `snapshot` query is similar to a `list` query, but has the following differences: * The `snapshot` query may contain a column, `effectiveDateProperty`, that specifies the time for each snapshot. To include the `effectiveDateProperty` column, add the following object to the columns array: ```json { \"columnName\": \"Snapshot_Date\", \"columnDefinition\": { \"effectiveDateProperty\": {} } } ``` * The `snapshot` query uses `timeIntervals` (like an `aggregate` query) instead of `timeInterval` (like a `list` query) because the `snapshot` query must specify the number of snapshots to generate. To specify the number of snapshots to generate, use the `intervalCount` property in the `timeIntervals` object, as shown next. ```json { \"timeIntervals\": { \"fromDateTime\": \"2022-01-01\", \"intervalPeriodType\": \"MONTH\", \"intervalPeriodCount\": 6, \"intervalCount\": 4 } ``` - :param dataservices_query_snapshot_query_execution_dto: (required) - :type dataservices_query_snapshot_query_execution_dto: DataservicesQuerySnapshotQueryExecutionDTO + :param snapshot_query_execution_dto: (required) + :type snapshot_query_execution_dto: SnapshotQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -756,7 +756,7 @@ def query_snapshot_with_http_info( """ # noqa: E501 _param = self._query_snapshot_serialize( - dataservices_query_snapshot_query_execution_dto=dataservices_query_snapshot_query_execution_dto, + snapshot_query_execution_dto=snapshot_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -765,7 +765,7 @@ def query_snapshot_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataOutListResponse", + '200': "ListResponse", } response_data = self.api_client.call_api( *_param, @@ -781,7 +781,7 @@ def query_snapshot_with_http_info( @validate_call def query_snapshot_without_preload_content( self, - dataservices_query_snapshot_query_execution_dto: DataservicesQuerySnapshotQueryExecutionDTO, + snapshot_query_execution_dto: SnapshotQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -800,8 +800,8 @@ def query_snapshot_without_preload_content( To retrieve a collection of `list` query-style snapshots taken at the defined intervals, execute a `snapshot` query. Each snapshot in the result is associated with a timestamp, or the \"effective date\" at which date snapshot data was valid. This API allows you to request a detailed time series from Visier. Structurally, a `snapshot` query is similar to a `list` query, but has the following differences: * The `snapshot` query may contain a column, `effectiveDateProperty`, that specifies the time for each snapshot. To include the `effectiveDateProperty` column, add the following object to the columns array: ```json { \"columnName\": \"Snapshot_Date\", \"columnDefinition\": { \"effectiveDateProperty\": {} } } ``` * The `snapshot` query uses `timeIntervals` (like an `aggregate` query) instead of `timeInterval` (like a `list` query) because the `snapshot` query must specify the number of snapshots to generate. To specify the number of snapshots to generate, use the `intervalCount` property in the `timeIntervals` object, as shown next. ```json { \"timeIntervals\": { \"fromDateTime\": \"2022-01-01\", \"intervalPeriodType\": \"MONTH\", \"intervalPeriodCount\": 6, \"intervalCount\": 4 } ``` - :param dataservices_query_snapshot_query_execution_dto: (required) - :type dataservices_query_snapshot_query_execution_dto: DataservicesQuerySnapshotQueryExecutionDTO + :param snapshot_query_execution_dto: (required) + :type snapshot_query_execution_dto: SnapshotQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -827,7 +827,7 @@ def query_snapshot_without_preload_content( """ # noqa: E501 _param = self._query_snapshot_serialize( - dataservices_query_snapshot_query_execution_dto=dataservices_query_snapshot_query_execution_dto, + snapshot_query_execution_dto=snapshot_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -836,7 +836,7 @@ def query_snapshot_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DataOutListResponse", + '200': "ListResponse", } response_data = self.api_client.call_api( *_param, @@ -847,7 +847,7 @@ def query_snapshot_without_preload_content( def _query_snapshot_serialize( self, - dataservices_query_snapshot_query_execution_dto, + snapshot_query_execution_dto, target_tenant_id, _request_auth, _content_type, @@ -876,8 +876,8 @@ def _query_snapshot_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if dataservices_query_snapshot_query_execution_dto is not None: - _body_params = dataservices_query_snapshot_query_execution_dto + if snapshot_query_execution_dto is not None: + _body_params = snapshot_query_execution_dto # set the HTTP header `Accept` @@ -934,7 +934,7 @@ def _query_snapshot_serialize( @validate_call def sql_like( self, - dataservices_query_sql_like_query_execution_dto: DataservicesQuerySqlLikeQueryExecutionDTO, + sql_like_query_execution_dto: SqlLikeQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -953,8 +953,8 @@ def sql_like( To retrieve a list of values for specific objects or aggregate values from metrics, you can write queries using SQL-like syntax. The response format matches the query type whether aggregate or list. If requested, aggregate query results may be flattened into tabular format. A SQL-like query is an aggregate if it contains at least one metric. Aggregate queries must specify a time interval divided into periods; for example: ```sql SELECT employeeCount() AS \"Employee Count\", level(Gender, \"Gender\") AS Gender FROM Employee WHERE Visier_Time IN periods(date(\"2023-01-01\"), 4, period(3, Month)); ``` A SQL-like query is a list if it does not contain any metrics. List queries define time intervals as simple intervals; for example: ```sql SELECT EmployeeID AS \"Employee ID\", level(Gender, \"Gender\") AS Gender FROM Employee WHERE Visier_Time BETWEEN date(\"2022-01-01\") AND date(\"2023-01-01\"); ``` - :param dataservices_query_sql_like_query_execution_dto: (required) - :type dataservices_query_sql_like_query_execution_dto: DataservicesQuerySqlLikeQueryExecutionDTO + :param sql_like_query_execution_dto: (required) + :type sql_like_query_execution_dto: SqlLikeQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -980,7 +980,7 @@ def sql_like( """ # noqa: E501 _param = self._sql_like_serialize( - dataservices_query_sql_like_query_execution_dto=dataservices_query_sql_like_query_execution_dto, + sql_like_query_execution_dto=sql_like_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1005,7 +1005,7 @@ def sql_like( @validate_call def sql_like_with_http_info( self, - dataservices_query_sql_like_query_execution_dto: DataservicesQuerySqlLikeQueryExecutionDTO, + sql_like_query_execution_dto: SqlLikeQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -1024,8 +1024,8 @@ def sql_like_with_http_info( To retrieve a list of values for specific objects or aggregate values from metrics, you can write queries using SQL-like syntax. The response format matches the query type whether aggregate or list. If requested, aggregate query results may be flattened into tabular format. A SQL-like query is an aggregate if it contains at least one metric. Aggregate queries must specify a time interval divided into periods; for example: ```sql SELECT employeeCount() AS \"Employee Count\", level(Gender, \"Gender\") AS Gender FROM Employee WHERE Visier_Time IN periods(date(\"2023-01-01\"), 4, period(3, Month)); ``` A SQL-like query is a list if it does not contain any metrics. List queries define time intervals as simple intervals; for example: ```sql SELECT EmployeeID AS \"Employee ID\", level(Gender, \"Gender\") AS Gender FROM Employee WHERE Visier_Time BETWEEN date(\"2022-01-01\") AND date(\"2023-01-01\"); ``` - :param dataservices_query_sql_like_query_execution_dto: (required) - :type dataservices_query_sql_like_query_execution_dto: DataservicesQuerySqlLikeQueryExecutionDTO + :param sql_like_query_execution_dto: (required) + :type sql_like_query_execution_dto: SqlLikeQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1051,7 +1051,7 @@ def sql_like_with_http_info( """ # noqa: E501 _param = self._sql_like_serialize( - dataservices_query_sql_like_query_execution_dto=dataservices_query_sql_like_query_execution_dto, + sql_like_query_execution_dto=sql_like_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1076,7 +1076,7 @@ def sql_like_with_http_info( @validate_call def sql_like_without_preload_content( self, - dataservices_query_sql_like_query_execution_dto: DataservicesQuerySqlLikeQueryExecutionDTO, + sql_like_query_execution_dto: SqlLikeQueryExecutionDTO, 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, _request_timeout: Union[ None, @@ -1095,8 +1095,8 @@ def sql_like_without_preload_content( To retrieve a list of values for specific objects or aggregate values from metrics, you can write queries using SQL-like syntax. The response format matches the query type whether aggregate or list. If requested, aggregate query results may be flattened into tabular format. A SQL-like query is an aggregate if it contains at least one metric. Aggregate queries must specify a time interval divided into periods; for example: ```sql SELECT employeeCount() AS \"Employee Count\", level(Gender, \"Gender\") AS Gender FROM Employee WHERE Visier_Time IN periods(date(\"2023-01-01\"), 4, period(3, Month)); ``` A SQL-like query is a list if it does not contain any metrics. List queries define time intervals as simple intervals; for example: ```sql SELECT EmployeeID AS \"Employee ID\", level(Gender, \"Gender\") AS Gender FROM Employee WHERE Visier_Time BETWEEN date(\"2022-01-01\") AND date(\"2023-01-01\"); ``` - :param dataservices_query_sql_like_query_execution_dto: (required) - :type dataservices_query_sql_like_query_execution_dto: DataservicesQuerySqlLikeQueryExecutionDTO + :param sql_like_query_execution_dto: (required) + :type sql_like_query_execution_dto: SqlLikeQueryExecutionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1122,7 +1122,7 @@ def sql_like_without_preload_content( """ # noqa: E501 _param = self._sql_like_serialize( - dataservices_query_sql_like_query_execution_dto=dataservices_query_sql_like_query_execution_dto, + sql_like_query_execution_dto=sql_like_query_execution_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1142,7 +1142,7 @@ def sql_like_without_preload_content( def _sql_like_serialize( self, - dataservices_query_sql_like_query_execution_dto, + sql_like_query_execution_dto, target_tenant_id, _request_auth, _content_type, @@ -1171,8 +1171,8 @@ def _sql_like_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if dataservices_query_sql_like_query_execution_dto is not None: - _body_params = dataservices_query_sql_like_query_execution_dto + if sql_like_query_execution_dto is not None: + _body_params = sql_like_query_execution_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_version_export_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_version_export_api.py index 7360ec4c7f..f57ddec772 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_version_export_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_version_export_api.py @@ -20,12 +20,12 @@ from pydantic import Field, StrictBytes, StrictInt, StrictStr from typing import Optional, Tuple, Union from typing_extensions import Annotated -from visier_platform_sdk.models.designer_data_version_export_dto import DesignerDataVersionExportDTO -from visier_platform_sdk.models.designer_data_version_export_data_versions_dto import DesignerDataVersionExportDataVersionsDTO -from visier_platform_sdk.models.designer_data_version_export_job_status_dto import DesignerDataVersionExportJobStatusDTO -from visier_platform_sdk.models.designer_data_version_export_schedule_job_request_dto import DesignerDataVersionExportScheduleJobRequestDTO -from visier_platform_sdk.models.designer_data_version_export_schedule_job_response_dto import DesignerDataVersionExportScheduleJobResponseDTO -from visier_platform_sdk.models.designer_data_version_exports_dto import DesignerDataVersionExportsDTO +from visier_platform_sdk.models.data_version_export_dto import DataVersionExportDTO +from visier_platform_sdk.models.data_version_export_data_versions_dto import DataVersionExportDataVersionsDTO +from visier_platform_sdk.models.data_version_export_job_status_dto import DataVersionExportJobStatusDTO +from visier_platform_sdk.models.data_version_export_schedule_job_request_dto import DataVersionExportScheduleJobRequestDTO +from visier_platform_sdk.models.data_version_export_schedule_job_response_dto import DataVersionExportScheduleJobResponseDTO +from visier_platform_sdk.models.data_version_exports_dto import DataVersionExportsDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -357,7 +357,7 @@ def get_available_data_versions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerDataVersionExportDataVersionsDTO: + ) -> DataVersionExportDataVersionsDTO: """Retrieve a list of all data versions Retrieve a list of all data versions in the tenant. **Note:** 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). @@ -395,7 +395,7 @@ def get_available_data_versions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportDataVersionsDTO", + '200': "DataVersionExportDataVersionsDTO", } response_data = self.api_client.call_api( *_param, @@ -424,7 +424,7 @@ def get_available_data_versions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerDataVersionExportDataVersionsDTO]: + ) -> ApiResponse[DataVersionExportDataVersionsDTO]: """Retrieve a list of all data versions Retrieve a list of all data versions in the tenant. **Note:** 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). @@ -462,7 +462,7 @@ def get_available_data_versions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportDataVersionsDTO", + '200': "DataVersionExportDataVersionsDTO", } response_data = self.api_client.call_api( *_param, @@ -529,7 +529,7 @@ def get_available_data_versions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportDataVersionsDTO", + '200': "DataVersionExportDataVersionsDTO", } response_data = self.api_client.call_api( *_param, @@ -622,7 +622,7 @@ def get_available_exports( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerDataVersionExportsDTO: + ) -> DataVersionExportsDTO: """Retrieve the details of all data version exports Retrieve the information for all available data version exports. **Note:** Data version exports are available for 14 days after export job completes. **Note:** 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). @@ -660,7 +660,7 @@ def get_available_exports( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportsDTO", + '200': "DataVersionExportsDTO", } response_data = self.api_client.call_api( *_param, @@ -689,7 +689,7 @@ def get_available_exports_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerDataVersionExportsDTO]: + ) -> ApiResponse[DataVersionExportsDTO]: """Retrieve the details of all data version exports Retrieve the information for all available data version exports. **Note:** Data version exports are available for 14 days after export job completes. **Note:** 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). @@ -727,7 +727,7 @@ def get_available_exports_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportsDTO", + '200': "DataVersionExportsDTO", } response_data = self.api_client.call_api( *_param, @@ -794,7 +794,7 @@ def get_available_exports_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportsDTO", + '200': "DataVersionExportsDTO", } response_data = self.api_client.call_api( *_param, @@ -888,7 +888,7 @@ def get_export( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerDataVersionExportDTO: + ) -> DataVersionExportDTO: """Retrieve the details of a data version export Retrieve information for a specific data version export. **Note:** Data version exports are available for 14 days after export job completes. **Note:** 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). @@ -929,7 +929,7 @@ def get_export( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportDTO", + '200': "DataVersionExportDTO", } response_data = self.api_client.call_api( *_param, @@ -959,7 +959,7 @@ def get_export_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerDataVersionExportDTO]: + ) -> ApiResponse[DataVersionExportDTO]: """Retrieve the details of a data version export Retrieve information for a specific data version export. **Note:** Data version exports are available for 14 days after export job completes. **Note:** 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). @@ -1000,7 +1000,7 @@ def get_export_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportDTO", + '200': "DataVersionExportDTO", } response_data = self.api_client.call_api( *_param, @@ -1071,7 +1071,7 @@ def get_export_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportDTO", + '200': "DataVersionExportDTO", } response_data = self.api_client.call_api( *_param, @@ -1168,7 +1168,7 @@ def get_export_job_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerDataVersionExportJobStatusDTO: + ) -> DataVersionExportJobStatusDTO: """Retrieve a data version export job's status Retrieve the status of a data version export job. After the job completes successfully, this endpoint returns an `exportUuid` that you can use to retrieve the export information and download export files. **Note:** 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). @@ -1209,7 +1209,7 @@ def get_export_job_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportJobStatusDTO", + '200': "DataVersionExportJobStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -1239,7 +1239,7 @@ def get_export_job_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerDataVersionExportJobStatusDTO]: + ) -> ApiResponse[DataVersionExportJobStatusDTO]: """Retrieve a data version export job's status Retrieve the status of a data version export job. After the job completes successfully, this endpoint returns an `exportUuid` that you can use to retrieve the export information and download export files. **Note:** 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). @@ -1280,7 +1280,7 @@ def get_export_job_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportJobStatusDTO", + '200': "DataVersionExportJobStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -1351,7 +1351,7 @@ def get_export_job_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportJobStatusDTO", + '200': "DataVersionExportJobStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -1434,7 +1434,7 @@ def _get_export_job_status_serialize( @validate_call def schedule_export_job( self, - designer_data_version_export_schedule_job_request_dto: DesignerDataVersionExportScheduleJobRequestDTO, + data_version_export_schedule_job_request_dto: DataVersionExportScheduleJobRequestDTO, 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, _request_timeout: Union[ None, @@ -1448,13 +1448,13 @@ def schedule_export_job( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerDataVersionExportScheduleJobResponseDTO: + ) -> DataVersionExportScheduleJobResponseDTO: """Schedule a data version export job Schedule a data version export job. The job schedules immediately and will begin when resources are available. The response returns a `jobUuid` that you can use to check the export job status. **Note:** There is a limit of 10 export jobs per tenant per day. **Note:** 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). - :param designer_data_version_export_schedule_job_request_dto: (required) - :type designer_data_version_export_schedule_job_request_dto: DesignerDataVersionExportScheduleJobRequestDTO + :param data_version_export_schedule_job_request_dto: (required) + :type data_version_export_schedule_job_request_dto: DataVersionExportScheduleJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1480,7 +1480,7 @@ def schedule_export_job( """ # noqa: E501 _param = self._schedule_export_job_serialize( - designer_data_version_export_schedule_job_request_dto=designer_data_version_export_schedule_job_request_dto, + data_version_export_schedule_job_request_dto=data_version_export_schedule_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1489,7 +1489,7 @@ def schedule_export_job( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportScheduleJobResponseDTO", + '200': "DataVersionExportScheduleJobResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1505,7 +1505,7 @@ def schedule_export_job( @validate_call def schedule_export_job_with_http_info( self, - designer_data_version_export_schedule_job_request_dto: DesignerDataVersionExportScheduleJobRequestDTO, + data_version_export_schedule_job_request_dto: DataVersionExportScheduleJobRequestDTO, 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, _request_timeout: Union[ None, @@ -1519,13 +1519,13 @@ def schedule_export_job_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerDataVersionExportScheduleJobResponseDTO]: + ) -> ApiResponse[DataVersionExportScheduleJobResponseDTO]: """Schedule a data version export job Schedule a data version export job. The job schedules immediately and will begin when resources are available. The response returns a `jobUuid` that you can use to check the export job status. **Note:** There is a limit of 10 export jobs per tenant per day. **Note:** 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). - :param designer_data_version_export_schedule_job_request_dto: (required) - :type designer_data_version_export_schedule_job_request_dto: DesignerDataVersionExportScheduleJobRequestDTO + :param data_version_export_schedule_job_request_dto: (required) + :type data_version_export_schedule_job_request_dto: DataVersionExportScheduleJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1551,7 +1551,7 @@ def schedule_export_job_with_http_info( """ # noqa: E501 _param = self._schedule_export_job_serialize( - designer_data_version_export_schedule_job_request_dto=designer_data_version_export_schedule_job_request_dto, + data_version_export_schedule_job_request_dto=data_version_export_schedule_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1560,7 +1560,7 @@ def schedule_export_job_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportScheduleJobResponseDTO", + '200': "DataVersionExportScheduleJobResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1576,7 +1576,7 @@ def schedule_export_job_with_http_info( @validate_call def schedule_export_job_without_preload_content( self, - designer_data_version_export_schedule_job_request_dto: DesignerDataVersionExportScheduleJobRequestDTO, + data_version_export_schedule_job_request_dto: DataVersionExportScheduleJobRequestDTO, 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, _request_timeout: Union[ None, @@ -1595,8 +1595,8 @@ def schedule_export_job_without_preload_content( Schedule a data version export job. The job schedules immediately and will begin when resources are available. The response returns a `jobUuid` that you can use to check the export job status. **Note:** There is a limit of 10 export jobs per tenant per day. **Note:** 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). - :param designer_data_version_export_schedule_job_request_dto: (required) - :type designer_data_version_export_schedule_job_request_dto: DesignerDataVersionExportScheduleJobRequestDTO + :param data_version_export_schedule_job_request_dto: (required) + :type data_version_export_schedule_job_request_dto: DataVersionExportScheduleJobRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1622,7 +1622,7 @@ def schedule_export_job_without_preload_content( """ # noqa: E501 _param = self._schedule_export_job_serialize( - designer_data_version_export_schedule_job_request_dto=designer_data_version_export_schedule_job_request_dto, + data_version_export_schedule_job_request_dto=data_version_export_schedule_job_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1631,7 +1631,7 @@ def schedule_export_job_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDataVersionExportScheduleJobResponseDTO", + '200': "DataVersionExportScheduleJobResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1642,7 +1642,7 @@ def schedule_export_job_without_preload_content( def _schedule_export_job_serialize( self, - designer_data_version_export_schedule_job_request_dto, + data_version_export_schedule_job_request_dto, target_tenant_id, _request_auth, _content_type, @@ -1671,8 +1671,8 @@ def _schedule_export_job_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if designer_data_version_export_schedule_job_request_dto is not None: - _body_params = designer_data_version_export_schedule_job_request_dto + if data_version_export_schedule_job_request_dto is not None: + _body_params = data_version_export_schedule_job_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/direct_data_intake_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/direct_data_intake_api.py index e4610b6ba3..41409ea25f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/direct_data_intake_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/direct_data_intake_api.py @@ -20,12 +20,12 @@ from pydantic import Field, StrictBytes, StrictStr from typing import Optional, Tuple, Union from typing_extensions import Annotated +from visier_platform_sdk.models.direct_data_job_status_response_dto import DirectDataJobStatusResponseDTO +from visier_platform_sdk.models.direct_data_list_transactions_response_dto import DirectDataListTransactionsResponseDTO +from visier_platform_sdk.models.direct_data_load_config_dto import DirectDataLoadConfigDTO +from visier_platform_sdk.models.direct_data_schema_dto import DirectDataSchemaDTO +from visier_platform_sdk.models.direct_data_transaction_start_response_dto import DirectDataTransactionStartResponseDTO from visier_platform_sdk.models.direct_data_upload_file_response_dto import DirectDataUploadFileResponseDTO -from visier_platform_sdk.models.servicing_direct_data_job_status_response_dto import ServicingDirectDataJobStatusResponseDTO -from visier_platform_sdk.models.servicing_direct_data_list_transactions_response_dto import ServicingDirectDataListTransactionsResponseDTO -from visier_platform_sdk.models.servicing_direct_data_load_config_dto import ServicingDirectDataLoadConfigDTO -from visier_platform_sdk.models.servicing_direct_data_schema_dto import ServicingDirectDataSchemaDTO -from visier_platform_sdk.models.servicing_direct_data_transaction_start_response_dto import ServicingDirectDataTransactionStartResponseDTO from visier_platform_sdk.models.servicing_direct_data_upload_file_response_dto import ServicingDirectDataUploadFileResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized @@ -358,7 +358,7 @@ def get_config( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingDirectDataLoadConfigDTO: + ) -> DirectDataLoadConfigDTO: """Get the direct data intake configuration Get the direct data intake configuration. @@ -399,7 +399,7 @@ def get_config( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataLoadConfigDTO", + '200': "DirectDataLoadConfigDTO", } response_data = self.api_client.call_api( *_param, @@ -429,7 +429,7 @@ def get_config_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingDirectDataLoadConfigDTO]: + ) -> ApiResponse[DirectDataLoadConfigDTO]: """Get the direct data intake configuration Get the direct data intake configuration. @@ -470,7 +470,7 @@ def get_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataLoadConfigDTO", + '200': "DirectDataLoadConfigDTO", } response_data = self.api_client.call_api( *_param, @@ -541,7 +541,7 @@ def get_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataLoadConfigDTO", + '200': "DirectDataLoadConfigDTO", } response_data = self.api_client.call_api( *_param, @@ -639,7 +639,7 @@ def job_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingDirectDataJobStatusResponseDTO: + ) -> DirectDataJobStatusResponseDTO: """Check transaction status Retrieve the status of a committed transaction's processing job. @@ -683,7 +683,7 @@ def job_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataJobStatusResponseDTO", + '200': "DirectDataJobStatusResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -714,7 +714,7 @@ def job_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingDirectDataJobStatusResponseDTO]: + ) -> ApiResponse[DirectDataJobStatusResponseDTO]: """Check transaction status Retrieve the status of a committed transaction's processing job. @@ -758,7 +758,7 @@ def job_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataJobStatusResponseDTO", + '200': "DirectDataJobStatusResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -833,7 +833,7 @@ def job_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataJobStatusResponseDTO", + '200': "DirectDataJobStatusResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -933,7 +933,7 @@ def list_transactions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingDirectDataListTransactionsResponseDTO: + ) -> DirectDataListTransactionsResponseDTO: """Retrieve a list of open transactions Get a list of all open transactions. Doesn't return committed transactions or rolled back transactions. @@ -974,7 +974,7 @@ def list_transactions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataListTransactionsResponseDTO", + '200': "DirectDataListTransactionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1004,7 +1004,7 @@ def list_transactions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingDirectDataListTransactionsResponseDTO]: + ) -> ApiResponse[DirectDataListTransactionsResponseDTO]: """Retrieve a list of open transactions Get a list of all open transactions. Doesn't return committed transactions or rolled back transactions. @@ -1045,7 +1045,7 @@ def list_transactions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataListTransactionsResponseDTO", + '200': "DirectDataListTransactionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1116,7 +1116,7 @@ def list_transactions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataListTransactionsResponseDTO", + '200': "DirectDataListTransactionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1541,7 +1541,7 @@ def object_schema( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingDirectDataSchemaDTO: + ) -> DirectDataSchemaDTO: """Retrieve an object's data load schema Gets the load schema for a specified object. The object's load schema represents the structure that the data upload file must follow to upload data to the object. In the load schema, the listed columns must be present in the data file as column headers and exactly match the load schema (case sensitive), however, only the columns whose `isMandatory` field is `true` must contain values in the data file. @@ -1585,7 +1585,7 @@ def object_schema( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataSchemaDTO", + '200': "DirectDataSchemaDTO", } response_data = self.api_client.call_api( *_param, @@ -1616,7 +1616,7 @@ def object_schema_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingDirectDataSchemaDTO]: + ) -> ApiResponse[DirectDataSchemaDTO]: """Retrieve an object's data load schema Gets the load schema for a specified object. The object's load schema represents the structure that the data upload file must follow to upload data to the object. In the load schema, the listed columns must be present in the data file as column headers and exactly match the load schema (case sensitive), however, only the columns whose `isMandatory` field is `true` must contain values in the data file. @@ -1660,7 +1660,7 @@ def object_schema_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataSchemaDTO", + '200': "DirectDataSchemaDTO", } response_data = self.api_client.call_api( *_param, @@ -1735,7 +1735,7 @@ def object_schema_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataSchemaDTO", + '200': "DirectDataSchemaDTO", } response_data = self.api_client.call_api( *_param, @@ -1822,7 +1822,7 @@ def _object_schema_serialize( def put_config( self, draft_id: Annotated[StrictStr, Field(description="The unique identifier of the project to load data into. Currently, the only supported value is `prod` to update the production version.")], - servicing_direct_data_load_config_dto: ServicingDirectDataLoadConfigDTO, + direct_data_load_config_dto: DirectDataLoadConfigDTO, 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, _request_timeout: Union[ None, @@ -1836,15 +1836,15 @@ def put_config( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingDirectDataLoadConfigDTO: + ) -> DirectDataLoadConfigDTO: """Update the direct data intake configuration Configure the data intake settings, such as the direct data intake job type. Only provide values for the configuration options that should change. Configuration options that are not present in the PUT request are ignored and left unchanged. :param draft_id: The unique identifier of the project to load data into. Currently, the only supported value is `prod` to update the production version. (required) :type draft_id: str - :param servicing_direct_data_load_config_dto: (required) - :type servicing_direct_data_load_config_dto: ServicingDirectDataLoadConfigDTO + :param direct_data_load_config_dto: (required) + :type direct_data_load_config_dto: DirectDataLoadConfigDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1871,7 +1871,7 @@ def put_config( _param = self._put_config_serialize( draft_id=draft_id, - servicing_direct_data_load_config_dto=servicing_direct_data_load_config_dto, + direct_data_load_config_dto=direct_data_load_config_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1880,7 +1880,7 @@ def put_config( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataLoadConfigDTO", + '200': "DirectDataLoadConfigDTO", } response_data = self.api_client.call_api( *_param, @@ -1897,7 +1897,7 @@ def put_config( def put_config_with_http_info( self, draft_id: Annotated[StrictStr, Field(description="The unique identifier of the project to load data into. Currently, the only supported value is `prod` to update the production version.")], - servicing_direct_data_load_config_dto: ServicingDirectDataLoadConfigDTO, + direct_data_load_config_dto: DirectDataLoadConfigDTO, 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, _request_timeout: Union[ None, @@ -1911,15 +1911,15 @@ def put_config_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingDirectDataLoadConfigDTO]: + ) -> ApiResponse[DirectDataLoadConfigDTO]: """Update the direct data intake configuration Configure the data intake settings, such as the direct data intake job type. Only provide values for the configuration options that should change. Configuration options that are not present in the PUT request are ignored and left unchanged. :param draft_id: The unique identifier of the project to load data into. Currently, the only supported value is `prod` to update the production version. (required) :type draft_id: str - :param servicing_direct_data_load_config_dto: (required) - :type servicing_direct_data_load_config_dto: ServicingDirectDataLoadConfigDTO + :param direct_data_load_config_dto: (required) + :type direct_data_load_config_dto: DirectDataLoadConfigDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1946,7 +1946,7 @@ def put_config_with_http_info( _param = self._put_config_serialize( draft_id=draft_id, - servicing_direct_data_load_config_dto=servicing_direct_data_load_config_dto, + direct_data_load_config_dto=direct_data_load_config_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1955,7 +1955,7 @@ def put_config_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataLoadConfigDTO", + '200': "DirectDataLoadConfigDTO", } response_data = self.api_client.call_api( *_param, @@ -1972,7 +1972,7 @@ def put_config_with_http_info( def put_config_without_preload_content( self, draft_id: Annotated[StrictStr, Field(description="The unique identifier of the project to load data into. Currently, the only supported value is `prod` to update the production version.")], - servicing_direct_data_load_config_dto: ServicingDirectDataLoadConfigDTO, + direct_data_load_config_dto: DirectDataLoadConfigDTO, 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, _request_timeout: Union[ None, @@ -1993,8 +1993,8 @@ def put_config_without_preload_content( :param draft_id: The unique identifier of the project to load data into. Currently, the only supported value is `prod` to update the production version. (required) :type draft_id: str - :param servicing_direct_data_load_config_dto: (required) - :type servicing_direct_data_load_config_dto: ServicingDirectDataLoadConfigDTO + :param direct_data_load_config_dto: (required) + :type direct_data_load_config_dto: DirectDataLoadConfigDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2021,7 +2021,7 @@ def put_config_without_preload_content( _param = self._put_config_serialize( draft_id=draft_id, - servicing_direct_data_load_config_dto=servicing_direct_data_load_config_dto, + direct_data_load_config_dto=direct_data_load_config_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2030,7 +2030,7 @@ def put_config_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataLoadConfigDTO", + '200': "DirectDataLoadConfigDTO", } response_data = self.api_client.call_api( *_param, @@ -2042,7 +2042,7 @@ def put_config_without_preload_content( def _put_config_serialize( self, draft_id, - servicing_direct_data_load_config_dto, + direct_data_load_config_dto, target_tenant_id, _request_auth, _content_type, @@ -2073,8 +2073,8 @@ def _put_config_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_direct_data_load_config_dto is not None: - _body_params = servicing_direct_data_load_config_dto + if direct_data_load_config_dto is not None: + _body_params = direct_data_load_config_dto # set the HTTP header `Accept` @@ -2438,7 +2438,7 @@ def start_transaction( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingDirectDataTransactionStartResponseDTO: + ) -> DirectDataTransactionStartResponseDTO: """Start a direct data intake transaction Create a transaction to contain your data files. To upload files to objects in Visier, you must first start a transaction. After starting a transaction and uploading files to the transaction, you can commit the transaction to process the uploaded files or roll back the transaction to discard the uploaded files. @@ -2479,7 +2479,7 @@ def start_transaction( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataTransactionStartResponseDTO", + '200': "DirectDataTransactionStartResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2509,7 +2509,7 @@ def start_transaction_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingDirectDataTransactionStartResponseDTO]: + ) -> ApiResponse[DirectDataTransactionStartResponseDTO]: """Start a direct data intake transaction Create a transaction to contain your data files. To upload files to objects in Visier, you must first start a transaction. After starting a transaction and uploading files to the transaction, you can commit the transaction to process the uploaded files or roll back the transaction to discard the uploaded files. @@ -2550,7 +2550,7 @@ def start_transaction_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataTransactionStartResponseDTO", + '200': "DirectDataTransactionStartResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2621,7 +2621,7 @@ def start_transaction_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDirectDataTransactionStartResponseDTO", + '200': "DirectDataTransactionStartResponseDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/email_domains_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/email_domains_api.py index 1615badf01..1e584731ea 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/email_domains_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/email_domains_api.py @@ -17,7 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from visier_platform_sdk.models.admin_email_domains_dto import AdminEmailDomainsDTO +from visier_platform_sdk.models.email_domains_dto import EmailDomainsDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -40,7 +40,7 @@ def __init__(self, api_client=None) -> None: @validate_call def add_allowed_email_domains( self, - admin_email_domains_dto: AdminEmailDomainsDTO, + email_domains_dto: EmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -53,13 +53,13 @@ def add_allowed_email_domains( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminEmailDomainsDTO: + ) -> EmailDomainsDTO: """Add domains to the list of allowed domains Add email address domains to the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** 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). - :param admin_email_domains_dto: (required) - :type admin_email_domains_dto: AdminEmailDomainsDTO + :param email_domains_dto: (required) + :type email_domains_dto: EmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -83,7 +83,7 @@ def add_allowed_email_domains( """ # noqa: E501 _param = self._add_allowed_email_domains_serialize( - admin_email_domains_dto=admin_email_domains_dto, + email_domains_dto=email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -91,7 +91,7 @@ def add_allowed_email_domains( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -107,7 +107,7 @@ def add_allowed_email_domains( @validate_call def add_allowed_email_domains_with_http_info( self, - admin_email_domains_dto: AdminEmailDomainsDTO, + email_domains_dto: EmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -120,13 +120,13 @@ def add_allowed_email_domains_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminEmailDomainsDTO]: + ) -> ApiResponse[EmailDomainsDTO]: """Add domains to the list of allowed domains Add email address domains to the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** 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). - :param admin_email_domains_dto: (required) - :type admin_email_domains_dto: AdminEmailDomainsDTO + :param email_domains_dto: (required) + :type email_domains_dto: EmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -150,7 +150,7 @@ def add_allowed_email_domains_with_http_info( """ # noqa: E501 _param = self._add_allowed_email_domains_serialize( - admin_email_domains_dto=admin_email_domains_dto, + email_domains_dto=email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -158,7 +158,7 @@ def add_allowed_email_domains_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -174,7 +174,7 @@ def add_allowed_email_domains_with_http_info( @validate_call def add_allowed_email_domains_without_preload_content( self, - admin_email_domains_dto: AdminEmailDomainsDTO, + email_domains_dto: EmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -192,8 +192,8 @@ def add_allowed_email_domains_without_preload_content( Add email address domains to the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** 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). - :param admin_email_domains_dto: (required) - :type admin_email_domains_dto: AdminEmailDomainsDTO + :param email_domains_dto: (required) + :type email_domains_dto: EmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -217,7 +217,7 @@ def add_allowed_email_domains_without_preload_content( """ # noqa: E501 _param = self._add_allowed_email_domains_serialize( - admin_email_domains_dto=admin_email_domains_dto, + email_domains_dto=email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -225,7 +225,7 @@ def add_allowed_email_domains_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -236,7 +236,7 @@ def add_allowed_email_domains_without_preload_content( def _add_allowed_email_domains_serialize( self, - admin_email_domains_dto, + email_domains_dto, _request_auth, _content_type, _headers, @@ -262,8 +262,8 @@ def _add_allowed_email_domains_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_email_domains_dto is not None: - _body_params = admin_email_domains_dto + if email_domains_dto is not None: + _body_params = email_domains_dto # set the HTTP header `Accept` @@ -318,7 +318,7 @@ def _add_allowed_email_domains_serialize( @validate_call def delete_allowed_email_domains( self, - admin_email_domains_dto: AdminEmailDomainsDTO, + email_domains_dto: EmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -331,13 +331,13 @@ def delete_allowed_email_domains( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminEmailDomainsDTO: + ) -> EmailDomainsDTO: """Remove domains from the list of allowed domains Delete email address domains from the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** 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). - :param admin_email_domains_dto: (required) - :type admin_email_domains_dto: AdminEmailDomainsDTO + :param email_domains_dto: (required) + :type email_domains_dto: EmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -361,7 +361,7 @@ def delete_allowed_email_domains( """ # noqa: E501 _param = self._delete_allowed_email_domains_serialize( - admin_email_domains_dto=admin_email_domains_dto, + email_domains_dto=email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -369,7 +369,7 @@ def delete_allowed_email_domains( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -385,7 +385,7 @@ def delete_allowed_email_domains( @validate_call def delete_allowed_email_domains_with_http_info( self, - admin_email_domains_dto: AdminEmailDomainsDTO, + email_domains_dto: EmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -398,13 +398,13 @@ def delete_allowed_email_domains_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminEmailDomainsDTO]: + ) -> ApiResponse[EmailDomainsDTO]: """Remove domains from the list of allowed domains Delete email address domains from the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** 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). - :param admin_email_domains_dto: (required) - :type admin_email_domains_dto: AdminEmailDomainsDTO + :param email_domains_dto: (required) + :type email_domains_dto: EmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -428,7 +428,7 @@ def delete_allowed_email_domains_with_http_info( """ # noqa: E501 _param = self._delete_allowed_email_domains_serialize( - admin_email_domains_dto=admin_email_domains_dto, + email_domains_dto=email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -436,7 +436,7 @@ def delete_allowed_email_domains_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -452,7 +452,7 @@ def delete_allowed_email_domains_with_http_info( @validate_call def delete_allowed_email_domains_without_preload_content( self, - admin_email_domains_dto: AdminEmailDomainsDTO, + email_domains_dto: EmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -470,8 +470,8 @@ def delete_allowed_email_domains_without_preload_content( Delete email address domains from the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** 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). - :param admin_email_domains_dto: (required) - :type admin_email_domains_dto: AdminEmailDomainsDTO + :param email_domains_dto: (required) + :type email_domains_dto: EmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -495,7 +495,7 @@ def delete_allowed_email_domains_without_preload_content( """ # noqa: E501 _param = self._delete_allowed_email_domains_serialize( - admin_email_domains_dto=admin_email_domains_dto, + email_domains_dto=email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -503,7 +503,7 @@ def delete_allowed_email_domains_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -514,7 +514,7 @@ def delete_allowed_email_domains_without_preload_content( def _delete_allowed_email_domains_serialize( self, - admin_email_domains_dto, + email_domains_dto, _request_auth, _content_type, _headers, @@ -540,8 +540,8 @@ def _delete_allowed_email_domains_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_email_domains_dto is not None: - _body_params = admin_email_domains_dto + if email_domains_dto is not None: + _body_params = email_domains_dto # set the HTTP header `Accept` @@ -608,7 +608,7 @@ def list_allowed_email_domains( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminEmailDomainsDTO: + ) -> EmailDomainsDTO: """Retrieve a list of allowed email domains Retrieve the full list of allowed email domains.
**Note:** 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). @@ -643,7 +643,7 @@ def list_allowed_email_domains( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -671,7 +671,7 @@ def list_allowed_email_domains_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminEmailDomainsDTO]: + ) -> ApiResponse[EmailDomainsDTO]: """Retrieve a list of allowed email domains Retrieve the full list of allowed email domains.
**Note:** 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). @@ -706,7 +706,7 @@ def list_allowed_email_domains_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -769,7 +769,7 @@ def list_allowed_email_domains_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminEmailDomainsDTO", + '200': "EmailDomainsDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/encryption_keys_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/encryption_keys_api.py index e0c96fa4f6..c21003101e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/encryption_keys_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/encryption_keys_api.py @@ -19,10 +19,10 @@ from pydantic import Field, StrictStr from typing_extensions import Annotated -from visier_platform_sdk.models.admin_key_name import AdminKeyName -from visier_platform_sdk.models.designer_crypto_generate_key_request_dto import DesignerCryptoGenerateKeyRequestDTO -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_dto import DesignerCryptoTenantEncryptionKeyDTO -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_details_dto import DesignerCryptoTenantEncryptionKeyDetailsDTO +from visier_platform_sdk.models.generate_key_request_dto import GenerateKeyRequestDTO +from visier_platform_sdk.models.key_name import KeyName +from visier_platform_sdk.models.tenant_encryption_key_dto import TenantEncryptionKeyDTO +from visier_platform_sdk.models.tenant_encryption_key_details_dto import TenantEncryptionKeyDetailsDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -58,7 +58,7 @@ def delete_encryption_keys( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminKeyName: + ) -> KeyName: """Delete an encryption key Delete a specific encryption key.
**Note:** 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). @@ -96,7 +96,7 @@ def delete_encryption_keys( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminKeyName", + '200': "KeyName", } response_data = self.api_client.call_api( *_param, @@ -125,7 +125,7 @@ def delete_encryption_keys_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminKeyName]: + ) -> ApiResponse[KeyName]: """Delete an encryption key Delete a specific encryption key.
**Note:** 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). @@ -163,7 +163,7 @@ def delete_encryption_keys_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminKeyName", + '200': "KeyName", } response_data = self.api_client.call_api( *_param, @@ -230,7 +230,7 @@ def delete_encryption_keys_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminKeyName", + '200': "KeyName", } response_data = self.api_client.call_api( *_param, @@ -310,7 +310,7 @@ def _delete_encryption_keys_serialize( @validate_call def generate_encryption_keys( self, - designer_crypto_generate_key_request_dto: DesignerCryptoGenerateKeyRequestDTO, + generate_key_request_dto: GenerateKeyRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -323,13 +323,13 @@ def generate_encryption_keys( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerCryptoTenantEncryptionKeyDTO: + ) -> TenantEncryptionKeyDTO: """Generate an encryption key Create an encryption key using a specific algorithm. The algorithm must be one of `HmacSHA224`, `HmacSHA256`, `HmacSHA384`, or `HmacSHA512`. In the request body, set the algorithm, give the key a display name and, optionally, set the UTC expiration date for the key pair in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years. The maximum number of encryption keys per tenant is 5.
**Note:** 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). - :param designer_crypto_generate_key_request_dto: (required) - :type designer_crypto_generate_key_request_dto: DesignerCryptoGenerateKeyRequestDTO + :param generate_key_request_dto: (required) + :type generate_key_request_dto: GenerateKeyRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -353,7 +353,7 @@ def generate_encryption_keys( """ # noqa: E501 _param = self._generate_encryption_keys_serialize( - designer_crypto_generate_key_request_dto=designer_crypto_generate_key_request_dto, + generate_key_request_dto=generate_key_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -361,7 +361,7 @@ def generate_encryption_keys( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoTenantEncryptionKeyDTO", + '200': "TenantEncryptionKeyDTO", } response_data = self.api_client.call_api( *_param, @@ -377,7 +377,7 @@ def generate_encryption_keys( @validate_call def generate_encryption_keys_with_http_info( self, - designer_crypto_generate_key_request_dto: DesignerCryptoGenerateKeyRequestDTO, + generate_key_request_dto: GenerateKeyRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -390,13 +390,13 @@ def generate_encryption_keys_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerCryptoTenantEncryptionKeyDTO]: + ) -> ApiResponse[TenantEncryptionKeyDTO]: """Generate an encryption key Create an encryption key using a specific algorithm. The algorithm must be one of `HmacSHA224`, `HmacSHA256`, `HmacSHA384`, or `HmacSHA512`. In the request body, set the algorithm, give the key a display name and, optionally, set the UTC expiration date for the key pair in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years. The maximum number of encryption keys per tenant is 5.
**Note:** 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). - :param designer_crypto_generate_key_request_dto: (required) - :type designer_crypto_generate_key_request_dto: DesignerCryptoGenerateKeyRequestDTO + :param generate_key_request_dto: (required) + :type generate_key_request_dto: GenerateKeyRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -420,7 +420,7 @@ def generate_encryption_keys_with_http_info( """ # noqa: E501 _param = self._generate_encryption_keys_serialize( - designer_crypto_generate_key_request_dto=designer_crypto_generate_key_request_dto, + generate_key_request_dto=generate_key_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -428,7 +428,7 @@ def generate_encryption_keys_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoTenantEncryptionKeyDTO", + '200': "TenantEncryptionKeyDTO", } response_data = self.api_client.call_api( *_param, @@ -444,7 +444,7 @@ def generate_encryption_keys_with_http_info( @validate_call def generate_encryption_keys_without_preload_content( self, - designer_crypto_generate_key_request_dto: DesignerCryptoGenerateKeyRequestDTO, + generate_key_request_dto: GenerateKeyRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -462,8 +462,8 @@ def generate_encryption_keys_without_preload_content( Create an encryption key using a specific algorithm. The algorithm must be one of `HmacSHA224`, `HmacSHA256`, `HmacSHA384`, or `HmacSHA512`. In the request body, set the algorithm, give the key a display name and, optionally, set the UTC expiration date for the key pair in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years. The maximum number of encryption keys per tenant is 5.
**Note:** 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). - :param designer_crypto_generate_key_request_dto: (required) - :type designer_crypto_generate_key_request_dto: DesignerCryptoGenerateKeyRequestDTO + :param generate_key_request_dto: (required) + :type generate_key_request_dto: GenerateKeyRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -487,7 +487,7 @@ def generate_encryption_keys_without_preload_content( """ # noqa: E501 _param = self._generate_encryption_keys_serialize( - designer_crypto_generate_key_request_dto=designer_crypto_generate_key_request_dto, + generate_key_request_dto=generate_key_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -495,7 +495,7 @@ def generate_encryption_keys_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoTenantEncryptionKeyDTO", + '200': "TenantEncryptionKeyDTO", } response_data = self.api_client.call_api( *_param, @@ -506,7 +506,7 @@ def generate_encryption_keys_without_preload_content( def _generate_encryption_keys_serialize( self, - designer_crypto_generate_key_request_dto, + generate_key_request_dto, _request_auth, _content_type, _headers, @@ -532,8 +532,8 @@ def _generate_encryption_keys_serialize( # process the header parameters # process the form parameters # process the body parameter - if designer_crypto_generate_key_request_dto is not None: - _body_params = designer_crypto_generate_key_request_dto + if generate_key_request_dto is not None: + _body_params = generate_key_request_dto # set the HTTP header `Accept` @@ -600,7 +600,7 @@ def list_all_encryption_keys_metadata( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerCryptoTenantEncryptionKeyDetailsDTO: + ) -> TenantEncryptionKeyDetailsDTO: """Retrieve a list of all encryption keys Retrieve a list of all encryption keys. The response returns information about each key, including the key name, algorithm, user who generated the key, the generation date, and expiration date.
**Note:** 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). @@ -635,7 +635,7 @@ def list_all_encryption_keys_metadata( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoTenantEncryptionKeyDetailsDTO", + '200': "TenantEncryptionKeyDetailsDTO", } response_data = self.api_client.call_api( *_param, @@ -663,7 +663,7 @@ def list_all_encryption_keys_metadata_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerCryptoTenantEncryptionKeyDetailsDTO]: + ) -> ApiResponse[TenantEncryptionKeyDetailsDTO]: """Retrieve a list of all encryption keys Retrieve a list of all encryption keys. The response returns information about each key, including the key name, algorithm, user who generated the key, the generation date, and expiration date.
**Note:** 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). @@ -698,7 +698,7 @@ def list_all_encryption_keys_metadata_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoTenantEncryptionKeyDetailsDTO", + '200': "TenantEncryptionKeyDetailsDTO", } response_data = self.api_client.call_api( *_param, @@ -761,7 +761,7 @@ def list_all_encryption_keys_metadata_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoTenantEncryptionKeyDetailsDTO", + '200': "TenantEncryptionKeyDetailsDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/network_subnets_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/network_subnets_api.py index e6da6cb48e..63048542e9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/network_subnets_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/network_subnets_api.py @@ -20,8 +20,8 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_network_subnets_message_request import AdminNetworkSubnetsMessageRequest -from visier_platform_sdk.models.admin_network_subnets_message_response import AdminNetworkSubnetsMessageResponse +from visier_platform_sdk.models.network_subnets_message_request import NetworkSubnetsMessageRequest +from visier_platform_sdk.models.network_subnets_message_response import NetworkSubnetsMessageResponse from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None: @validate_call def add_api_subnets( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -57,13 +57,13 @@ def add_api_subnets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminNetworkSubnetsMessageResponse: + ) -> NetworkSubnetsMessageResponse: """Add API network subnets Add IP addresses to the list of allowed network subnets that can call Visier APIs. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -87,7 +87,7 @@ def add_api_subnets( """ # noqa: E501 _param = self._add_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -95,7 +95,7 @@ def add_api_subnets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -111,7 +111,7 @@ def add_api_subnets( @validate_call def add_api_subnets_with_http_info( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124,13 +124,13 @@ def add_api_subnets_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminNetworkSubnetsMessageResponse]: + ) -> ApiResponse[NetworkSubnetsMessageResponse]: """Add API network subnets Add IP addresses to the list of allowed network subnets that can call Visier APIs. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -154,7 +154,7 @@ def add_api_subnets_with_http_info( """ # noqa: E501 _param = self._add_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -162,7 +162,7 @@ def add_api_subnets_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -178,7 +178,7 @@ def add_api_subnets_with_http_info( @validate_call def add_api_subnets_without_preload_content( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -196,8 +196,8 @@ def add_api_subnets_without_preload_content( Add IP addresses to the list of allowed network subnets that can call Visier APIs. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -221,7 +221,7 @@ def add_api_subnets_without_preload_content( """ # noqa: E501 _param = self._add_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -229,7 +229,7 @@ def add_api_subnets_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -240,7 +240,7 @@ def add_api_subnets_without_preload_content( def _add_api_subnets_serialize( self, - admin_network_subnets_message_request, + network_subnets_message_request, _request_auth, _content_type, _headers, @@ -266,8 +266,8 @@ def _add_api_subnets_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_network_subnets_message_request is not None: - _body_params = admin_network_subnets_message_request + if network_subnets_message_request is not None: + _body_params = network_subnets_message_request # set the HTTP header `Accept` @@ -322,7 +322,7 @@ def _add_api_subnets_serialize( @validate_call def delete_api_subnets( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, 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, _request_timeout: Union[ None, @@ -336,13 +336,13 @@ def delete_api_subnets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminNetworkSubnetsMessageResponse: + ) -> NetworkSubnetsMessageResponse: """Delete API network subnets Remove IP addresses from the list of allowed network subnets that can call Visier APIs. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx. When updating allowed network subnets, the definition in your API call replaces the prior definition. You must provide the entire definition in the PUT call. If you omit IP addresses from the update request, those IP addresses are removed from the allowlist We recommend that you retrieve the current list of allowed network subnets before you update the list. **Note**: By deleting the allowed network subnets, you may remove your current IP address from the allowlist. If this happens, you will lock yourself out from making additional API calls. Visier does not allow lock outs unless you set `confirmLockout` to `true`. Default is `false`.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -368,7 +368,7 @@ def delete_api_subnets( """ # noqa: E501 _param = self._delete_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -377,7 +377,7 @@ def delete_api_subnets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -393,7 +393,7 @@ def delete_api_subnets( @validate_call def delete_api_subnets_with_http_info( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, 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, _request_timeout: Union[ None, @@ -407,13 +407,13 @@ def delete_api_subnets_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminNetworkSubnetsMessageResponse]: + ) -> ApiResponse[NetworkSubnetsMessageResponse]: """Delete API network subnets Remove IP addresses from the list of allowed network subnets that can call Visier APIs. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx. When updating allowed network subnets, the definition in your API call replaces the prior definition. You must provide the entire definition in the PUT call. If you omit IP addresses from the update request, those IP addresses are removed from the allowlist We recommend that you retrieve the current list of allowed network subnets before you update the list. **Note**: By deleting the allowed network subnets, you may remove your current IP address from the allowlist. If this happens, you will lock yourself out from making additional API calls. Visier does not allow lock outs unless you set `confirmLockout` to `true`. Default is `false`.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -439,7 +439,7 @@ def delete_api_subnets_with_http_info( """ # noqa: E501 _param = self._delete_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -448,7 +448,7 @@ def delete_api_subnets_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -464,7 +464,7 @@ def delete_api_subnets_with_http_info( @validate_call def delete_api_subnets_without_preload_content( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, 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, _request_timeout: Union[ None, @@ -483,8 +483,8 @@ def delete_api_subnets_without_preload_content( Remove IP addresses from the list of allowed network subnets that can call Visier APIs. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx. When updating allowed network subnets, the definition in your API call replaces the prior definition. You must provide the entire definition in the PUT call. If you omit IP addresses from the update request, those IP addresses are removed from the allowlist We recommend that you retrieve the current list of allowed network subnets before you update the list. **Note**: By deleting the allowed network subnets, you may remove your current IP address from the allowlist. If this happens, you will lock yourself out from making additional API calls. Visier does not allow lock outs unless you set `confirmLockout` to `true`. Default is `false`.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -510,7 +510,7 @@ def delete_api_subnets_without_preload_content( """ # noqa: E501 _param = self._delete_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -519,7 +519,7 @@ def delete_api_subnets_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -530,7 +530,7 @@ def delete_api_subnets_without_preload_content( def _delete_api_subnets_serialize( self, - admin_network_subnets_message_request, + network_subnets_message_request, target_tenant_id, _request_auth, _content_type, @@ -559,8 +559,8 @@ def _delete_api_subnets_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_network_subnets_message_request is not None: - _body_params = admin_network_subnets_message_request + if network_subnets_message_request is not None: + _body_params = network_subnets_message_request # set the HTTP header `Accept` @@ -628,7 +628,7 @@ def get_api_subnets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminNetworkSubnetsMessageResponse: + ) -> NetworkSubnetsMessageResponse: """Retrieve a list of API network subnets Retrieve a list of all IP addresses that can call Visier APIs.
**Note:** 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). @@ -666,7 +666,7 @@ def get_api_subnets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -695,7 +695,7 @@ def get_api_subnets_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminNetworkSubnetsMessageResponse]: + ) -> ApiResponse[NetworkSubnetsMessageResponse]: """Retrieve a list of API network subnets Retrieve a list of all IP addresses that can call Visier APIs.
**Note:** 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). @@ -733,7 +733,7 @@ def get_api_subnets_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -800,7 +800,7 @@ def get_api_subnets_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -880,7 +880,7 @@ def _get_api_subnets_serialize( @validate_call def set_api_subnets( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, 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, _request_timeout: Union[ None, @@ -894,13 +894,13 @@ def set_api_subnets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminNetworkSubnetsMessageResponse: + ) -> NetworkSubnetsMessageResponse: """Update API network subnets Overwrite the existing list of IP addresses that can call Visier APIs with a new list. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx. When updating allowed network subnets, the definition in your API call replaces the prior definition. You must provide the entire definition in the PUT call. If you omit IP addresses from the update request, those IP addresses are removed from the allowlist We recommend that you retrieve the current list of allowed network subnets before you update the list. **Note**: By updating the allowed network subnets, you may remove your current IP address from the allowlist. If this happens, you will lock yourself out from making additional API calls. Visier does not allow lock outs unless you set `confirmLockout` to `true`. Default is `false`.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -926,7 +926,7 @@ def set_api_subnets( """ # noqa: E501 _param = self._set_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -935,7 +935,7 @@ def set_api_subnets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -951,7 +951,7 @@ def set_api_subnets( @validate_call def set_api_subnets_with_http_info( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, 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, _request_timeout: Union[ None, @@ -965,13 +965,13 @@ def set_api_subnets_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminNetworkSubnetsMessageResponse]: + ) -> ApiResponse[NetworkSubnetsMessageResponse]: """Update API network subnets Overwrite the existing list of IP addresses that can call Visier APIs with a new list. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx. When updating allowed network subnets, the definition in your API call replaces the prior definition. You must provide the entire definition in the PUT call. If you omit IP addresses from the update request, those IP addresses are removed from the allowlist We recommend that you retrieve the current list of allowed network subnets before you update the list. **Note**: By updating the allowed network subnets, you may remove your current IP address from the allowlist. If this happens, you will lock yourself out from making additional API calls. Visier does not allow lock outs unless you set `confirmLockout` to `true`. Default is `false`.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -997,7 +997,7 @@ def set_api_subnets_with_http_info( """ # noqa: E501 _param = self._set_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1006,7 +1006,7 @@ def set_api_subnets_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -1022,7 +1022,7 @@ def set_api_subnets_with_http_info( @validate_call def set_api_subnets_without_preload_content( self, - admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest, + network_subnets_message_request: NetworkSubnetsMessageRequest, 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, _request_timeout: Union[ None, @@ -1041,8 +1041,8 @@ def set_api_subnets_without_preload_content( Overwrite the existing list of IP addresses that can call Visier APIs with a new list. IP addresses must use the Classless Inter-Domain Routing (CIDR) format: xxx.xxx.xxx.xxx/xx. When updating allowed network subnets, the definition in your API call replaces the prior definition. You must provide the entire definition in the PUT call. If you omit IP addresses from the update request, those IP addresses are removed from the allowlist We recommend that you retrieve the current list of allowed network subnets before you update the list. **Note**: By updating the allowed network subnets, you may remove your current IP address from the allowlist. If this happens, you will lock yourself out from making additional API calls. Visier does not allow lock outs unless you set `confirmLockout` to `true`. Default is `false`.
**Note:** 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). - :param admin_network_subnets_message_request: (required) - :type admin_network_subnets_message_request: AdminNetworkSubnetsMessageRequest + :param network_subnets_message_request: (required) + :type network_subnets_message_request: NetworkSubnetsMessageRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1068,7 +1068,7 @@ def set_api_subnets_without_preload_content( """ # noqa: E501 _param = self._set_api_subnets_serialize( - admin_network_subnets_message_request=admin_network_subnets_message_request, + network_subnets_message_request=network_subnets_message_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1077,7 +1077,7 @@ def set_api_subnets_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminNetworkSubnetsMessageResponse", + '200': "NetworkSubnetsMessageResponse", } response_data = self.api_client.call_api( *_param, @@ -1088,7 +1088,7 @@ def set_api_subnets_without_preload_content( def _set_api_subnets_serialize( self, - admin_network_subnets_message_request, + network_subnets_message_request, target_tenant_id, _request_auth, _content_type, @@ -1117,8 +1117,8 @@ def _set_api_subnets_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_network_subnets_message_request is not None: - _body_params = admin_network_subnets_message_request + if network_subnets_message_request is not None: + _body_params = network_subnets_message_request # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/o_auth2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/o_auth2_api.py index f3f45917f5..8b46b8df16 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/o_auth2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/o_auth2_api.py @@ -20,7 +20,7 @@ from pydantic import Field, StrictBool, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.authentication_o_auth2_user_info_dto import AuthenticationOAuth2UserInfoDTO +from visier_platform_sdk.models.o_auth2_user_info_dto import OAuth2UserInfoDTO from visier_platform_sdk.models.status import Status from visier_platform_sdk.models.token_response import TokenResponse @@ -774,7 +774,7 @@ def user_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AuthenticationOAuth2UserInfoDTO: + ) -> OAuth2UserInfoDTO: """Retrieve user-specific metadata Retrieve user-specific metadata, such as a user's ID, username, and profile capabilities. @@ -812,7 +812,7 @@ def user_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AuthenticationOAuth2UserInfoDTO", + '200': "OAuth2UserInfoDTO", } response_data = self.api_client.call_api( *_param, @@ -841,7 +841,7 @@ def user_info_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AuthenticationOAuth2UserInfoDTO]: + ) -> ApiResponse[OAuth2UserInfoDTO]: """Retrieve user-specific metadata Retrieve user-specific metadata, such as a user's ID, username, and profile capabilities. @@ -879,7 +879,7 @@ def user_info_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AuthenticationOAuth2UserInfoDTO", + '200': "OAuth2UserInfoDTO", } response_data = self.api_client.call_api( *_param, @@ -946,7 +946,7 @@ def user_info_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AuthenticationOAuth2UserInfoDTO", + '200': "OAuth2UserInfoDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/object_configuration_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/object_configuration_api.py index f4035d0ce6..c988e4bbe7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/object_configuration_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/object_configuration_api.py @@ -20,13 +20,13 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.designer_api_calculation_concept_configuration_map_dto import DesignerApiCalculationConceptConfigurationMapDTO -from visier_platform_sdk.models.designer_api_calculation_concept_dto import DesignerApiCalculationConceptDTO -from visier_platform_sdk.models.designer_api_calculation_concept_list_dto import DesignerApiCalculationConceptListDTO -from visier_platform_sdk.models.designer_api_concept_configuration_result_dto import DesignerApiConceptConfigurationResultDTO -from visier_platform_sdk.models.designer_api_selection_concept_configuration_map_dto import DesignerApiSelectionConceptConfigurationMapDTO -from visier_platform_sdk.models.designer_api_selection_concept_dto import DesignerApiSelectionConceptDTO -from visier_platform_sdk.models.designer_api_selection_concept_list_dto import DesignerApiSelectionConceptListDTO +from visier_platform_sdk.models.calculation_concept_configuration_map_dto import CalculationConceptConfigurationMapDTO +from visier_platform_sdk.models.calculation_concept_dto import CalculationConceptDTO +from visier_platform_sdk.models.calculation_concept_list_dto import CalculationConceptListDTO +from visier_platform_sdk.models.concept_configuration_result_dto import ConceptConfigurationResultDTO +from visier_platform_sdk.models.designer_selection_concept_dto import DesignerSelectionConceptDTO +from visier_platform_sdk.models.selection_concept_configuration_map_dto import SelectionConceptConfigurationMapDTO +from visier_platform_sdk.models.selection_concept_list_dto import SelectionConceptListDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -63,7 +63,7 @@ def get_calculation_concept( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerApiCalculationConceptDTO: + ) -> CalculationConceptDTO: """Retrieve the configuration of a calculation concept Retrieve the configuration details of a calculation concept in production. @@ -104,7 +104,7 @@ def get_calculation_concept( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiCalculationConceptDTO", + '200': "CalculationConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -134,7 +134,7 @@ def get_calculation_concept_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerApiCalculationConceptDTO]: + ) -> ApiResponse[CalculationConceptDTO]: """Retrieve the configuration of a calculation concept Retrieve the configuration details of a calculation concept in production. @@ -175,7 +175,7 @@ def get_calculation_concept_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiCalculationConceptDTO", + '200': "CalculationConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -246,7 +246,7 @@ def get_calculation_concept_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiCalculationConceptDTO", + '200': "CalculationConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -342,7 +342,7 @@ def get_calculation_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerApiCalculationConceptListDTO: + ) -> CalculationConceptListDTO: """Retrieve all calculation concepts Retrieve the calculation concepts available in production. @@ -380,7 +380,7 @@ def get_calculation_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiCalculationConceptListDTO", + '200': "CalculationConceptListDTO", } response_data = self.api_client.call_api( *_param, @@ -409,7 +409,7 @@ def get_calculation_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerApiCalculationConceptListDTO]: + ) -> ApiResponse[CalculationConceptListDTO]: """Retrieve all calculation concepts Retrieve the calculation concepts available in production. @@ -447,7 +447,7 @@ def get_calculation_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiCalculationConceptListDTO", + '200': "CalculationConceptListDTO", } response_data = self.api_client.call_api( *_param, @@ -514,7 +514,7 @@ def get_calculation_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiCalculationConceptListDTO", + '200': "CalculationConceptListDTO", } response_data = self.api_client.call_api( *_param, @@ -608,7 +608,7 @@ def get_selection_concept( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerApiSelectionConceptDTO: + ) -> DesignerSelectionConceptDTO: """Retrieve the configuration of a selection concept Retrieve the configuration details of a selection concept in production. @@ -649,7 +649,7 @@ def get_selection_concept( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiSelectionConceptDTO", + '200': "DesignerSelectionConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -679,7 +679,7 @@ def get_selection_concept_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerApiSelectionConceptDTO]: + ) -> ApiResponse[DesignerSelectionConceptDTO]: """Retrieve the configuration of a selection concept Retrieve the configuration details of a selection concept in production. @@ -720,7 +720,7 @@ def get_selection_concept_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiSelectionConceptDTO", + '200': "DesignerSelectionConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -791,7 +791,7 @@ def get_selection_concept_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiSelectionConceptDTO", + '200': "DesignerSelectionConceptDTO", } response_data = self.api_client.call_api( *_param, @@ -887,7 +887,7 @@ def get_selection_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerApiSelectionConceptListDTO: + ) -> SelectionConceptListDTO: """Retrieve all selection concepts Retrieve the selection concepts available in production. @@ -925,7 +925,7 @@ def get_selection_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiSelectionConceptListDTO", + '200': "SelectionConceptListDTO", } response_data = self.api_client.call_api( *_param, @@ -954,7 +954,7 @@ def get_selection_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerApiSelectionConceptListDTO]: + ) -> ApiResponse[SelectionConceptListDTO]: """Retrieve all selection concepts Retrieve the selection concepts available in production. @@ -992,7 +992,7 @@ def get_selection_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiSelectionConceptListDTO", + '200': "SelectionConceptListDTO", } response_data = self.api_client.call_api( *_param, @@ -1059,7 +1059,7 @@ def get_selection_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiSelectionConceptListDTO", + '200': "SelectionConceptListDTO", } response_data = self.api_client.call_api( *_param, @@ -1140,7 +1140,7 @@ def _get_selection_concepts_serialize( def map_calculation_concept( self, concept_id: Annotated[StrictStr, Field(description="The UUID of the concept to configure.")], - designer_api_calculation_concept_configuration_map_dto: DesignerApiCalculationConceptConfigurationMapDTO, + calculation_concept_configuration_map_dto: CalculationConceptConfigurationMapDTO, 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, _request_timeout: Union[ None, @@ -1154,15 +1154,15 @@ def map_calculation_concept( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerApiConceptConfigurationResultDTO: + ) -> ConceptConfigurationResultDTO: """Map dimension members to nodes in a calculation concept Map dimension members to nodes in a calculation concept. The changes are applied in a new project and published to production. The body of this API is the source of truth for dimension members mapped to the concept. For example, if a node in the body does not have any dimension members, all existing dimension members mapped to that node will be removed. :param concept_id: The UUID of the concept to configure. (required) :type concept_id: str - :param designer_api_calculation_concept_configuration_map_dto: (required) - :type designer_api_calculation_concept_configuration_map_dto: DesignerApiCalculationConceptConfigurationMapDTO + :param calculation_concept_configuration_map_dto: (required) + :type calculation_concept_configuration_map_dto: CalculationConceptConfigurationMapDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1189,7 +1189,7 @@ def map_calculation_concept( _param = self._map_calculation_concept_serialize( concept_id=concept_id, - designer_api_calculation_concept_configuration_map_dto=designer_api_calculation_concept_configuration_map_dto, + calculation_concept_configuration_map_dto=calculation_concept_configuration_map_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1198,7 +1198,7 @@ def map_calculation_concept( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiConceptConfigurationResultDTO", + '200': "ConceptConfigurationResultDTO", } response_data = self.api_client.call_api( *_param, @@ -1215,7 +1215,7 @@ def map_calculation_concept( def map_calculation_concept_with_http_info( self, concept_id: Annotated[StrictStr, Field(description="The UUID of the concept to configure.")], - designer_api_calculation_concept_configuration_map_dto: DesignerApiCalculationConceptConfigurationMapDTO, + calculation_concept_configuration_map_dto: CalculationConceptConfigurationMapDTO, 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, _request_timeout: Union[ None, @@ -1229,15 +1229,15 @@ def map_calculation_concept_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerApiConceptConfigurationResultDTO]: + ) -> ApiResponse[ConceptConfigurationResultDTO]: """Map dimension members to nodes in a calculation concept Map dimension members to nodes in a calculation concept. The changes are applied in a new project and published to production. The body of this API is the source of truth for dimension members mapped to the concept. For example, if a node in the body does not have any dimension members, all existing dimension members mapped to that node will be removed. :param concept_id: The UUID of the concept to configure. (required) :type concept_id: str - :param designer_api_calculation_concept_configuration_map_dto: (required) - :type designer_api_calculation_concept_configuration_map_dto: DesignerApiCalculationConceptConfigurationMapDTO + :param calculation_concept_configuration_map_dto: (required) + :type calculation_concept_configuration_map_dto: CalculationConceptConfigurationMapDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1264,7 +1264,7 @@ def map_calculation_concept_with_http_info( _param = self._map_calculation_concept_serialize( concept_id=concept_id, - designer_api_calculation_concept_configuration_map_dto=designer_api_calculation_concept_configuration_map_dto, + calculation_concept_configuration_map_dto=calculation_concept_configuration_map_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1273,7 +1273,7 @@ def map_calculation_concept_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiConceptConfigurationResultDTO", + '200': "ConceptConfigurationResultDTO", } response_data = self.api_client.call_api( *_param, @@ -1290,7 +1290,7 @@ def map_calculation_concept_with_http_info( def map_calculation_concept_without_preload_content( self, concept_id: Annotated[StrictStr, Field(description="The UUID of the concept to configure.")], - designer_api_calculation_concept_configuration_map_dto: DesignerApiCalculationConceptConfigurationMapDTO, + calculation_concept_configuration_map_dto: CalculationConceptConfigurationMapDTO, 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, _request_timeout: Union[ None, @@ -1311,8 +1311,8 @@ def map_calculation_concept_without_preload_content( :param concept_id: The UUID of the concept to configure. (required) :type concept_id: str - :param designer_api_calculation_concept_configuration_map_dto: (required) - :type designer_api_calculation_concept_configuration_map_dto: DesignerApiCalculationConceptConfigurationMapDTO + :param calculation_concept_configuration_map_dto: (required) + :type calculation_concept_configuration_map_dto: CalculationConceptConfigurationMapDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1339,7 +1339,7 @@ def map_calculation_concept_without_preload_content( _param = self._map_calculation_concept_serialize( concept_id=concept_id, - designer_api_calculation_concept_configuration_map_dto=designer_api_calculation_concept_configuration_map_dto, + calculation_concept_configuration_map_dto=calculation_concept_configuration_map_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1348,7 +1348,7 @@ def map_calculation_concept_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiConceptConfigurationResultDTO", + '200': "ConceptConfigurationResultDTO", } response_data = self.api_client.call_api( *_param, @@ -1360,7 +1360,7 @@ def map_calculation_concept_without_preload_content( def _map_calculation_concept_serialize( self, concept_id, - designer_api_calculation_concept_configuration_map_dto, + calculation_concept_configuration_map_dto, target_tenant_id, _request_auth, _content_type, @@ -1391,8 +1391,8 @@ def _map_calculation_concept_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if designer_api_calculation_concept_configuration_map_dto is not None: - _body_params = designer_api_calculation_concept_configuration_map_dto + if calculation_concept_configuration_map_dto is not None: + _body_params = calculation_concept_configuration_map_dto # set the HTTP header `Accept` @@ -1448,7 +1448,7 @@ def _map_calculation_concept_serialize( def map_selection_concept( self, concept_id: Annotated[StrictStr, Field(description="The UUID of the concept to configure.")], - designer_api_selection_concept_configuration_map_dto: DesignerApiSelectionConceptConfigurationMapDTO, + selection_concept_configuration_map_dto: SelectionConceptConfigurationMapDTO, 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, _request_timeout: Union[ None, @@ -1462,15 +1462,15 @@ def map_selection_concept( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerApiConceptConfigurationResultDTO: + ) -> ConceptConfigurationResultDTO: """Map dimension members to a selection concept Map dimension members to a selection concept. The changes are applied to a new project and published to production. The body of this API is the source of truth for dimension members mapped to the concept. For example, if a node in the body does not have any dimension members, all existing dimension members mapped to that node will be removed. :param concept_id: The UUID of the concept to configure. (required) :type concept_id: str - :param designer_api_selection_concept_configuration_map_dto: (required) - :type designer_api_selection_concept_configuration_map_dto: DesignerApiSelectionConceptConfigurationMapDTO + :param selection_concept_configuration_map_dto: (required) + :type selection_concept_configuration_map_dto: SelectionConceptConfigurationMapDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1497,7 +1497,7 @@ def map_selection_concept( _param = self._map_selection_concept_serialize( concept_id=concept_id, - designer_api_selection_concept_configuration_map_dto=designer_api_selection_concept_configuration_map_dto, + selection_concept_configuration_map_dto=selection_concept_configuration_map_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1506,7 +1506,7 @@ def map_selection_concept( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiConceptConfigurationResultDTO", + '200': "ConceptConfigurationResultDTO", } response_data = self.api_client.call_api( *_param, @@ -1523,7 +1523,7 @@ def map_selection_concept( def map_selection_concept_with_http_info( self, concept_id: Annotated[StrictStr, Field(description="The UUID of the concept to configure.")], - designer_api_selection_concept_configuration_map_dto: DesignerApiSelectionConceptConfigurationMapDTO, + selection_concept_configuration_map_dto: SelectionConceptConfigurationMapDTO, 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, _request_timeout: Union[ None, @@ -1537,15 +1537,15 @@ def map_selection_concept_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerApiConceptConfigurationResultDTO]: + ) -> ApiResponse[ConceptConfigurationResultDTO]: """Map dimension members to a selection concept Map dimension members to a selection concept. The changes are applied to a new project and published to production. The body of this API is the source of truth for dimension members mapped to the concept. For example, if a node in the body does not have any dimension members, all existing dimension members mapped to that node will be removed. :param concept_id: The UUID of the concept to configure. (required) :type concept_id: str - :param designer_api_selection_concept_configuration_map_dto: (required) - :type designer_api_selection_concept_configuration_map_dto: DesignerApiSelectionConceptConfigurationMapDTO + :param selection_concept_configuration_map_dto: (required) + :type selection_concept_configuration_map_dto: SelectionConceptConfigurationMapDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1572,7 +1572,7 @@ def map_selection_concept_with_http_info( _param = self._map_selection_concept_serialize( concept_id=concept_id, - designer_api_selection_concept_configuration_map_dto=designer_api_selection_concept_configuration_map_dto, + selection_concept_configuration_map_dto=selection_concept_configuration_map_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1581,7 +1581,7 @@ def map_selection_concept_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiConceptConfigurationResultDTO", + '200': "ConceptConfigurationResultDTO", } response_data = self.api_client.call_api( *_param, @@ -1598,7 +1598,7 @@ def map_selection_concept_with_http_info( def map_selection_concept_without_preload_content( self, concept_id: Annotated[StrictStr, Field(description="The UUID of the concept to configure.")], - designer_api_selection_concept_configuration_map_dto: DesignerApiSelectionConceptConfigurationMapDTO, + selection_concept_configuration_map_dto: SelectionConceptConfigurationMapDTO, 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, _request_timeout: Union[ None, @@ -1619,8 +1619,8 @@ def map_selection_concept_without_preload_content( :param concept_id: The UUID of the concept to configure. (required) :type concept_id: str - :param designer_api_selection_concept_configuration_map_dto: (required) - :type designer_api_selection_concept_configuration_map_dto: DesignerApiSelectionConceptConfigurationMapDTO + :param selection_concept_configuration_map_dto: (required) + :type selection_concept_configuration_map_dto: SelectionConceptConfigurationMapDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1647,7 +1647,7 @@ def map_selection_concept_without_preload_content( _param = self._map_selection_concept_serialize( concept_id=concept_id, - designer_api_selection_concept_configuration_map_dto=designer_api_selection_concept_configuration_map_dto, + selection_concept_configuration_map_dto=selection_concept_configuration_map_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1656,7 +1656,7 @@ def map_selection_concept_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerApiConceptConfigurationResultDTO", + '200': "ConceptConfigurationResultDTO", } response_data = self.api_client.call_api( *_param, @@ -1668,7 +1668,7 @@ def map_selection_concept_without_preload_content( def _map_selection_concept_serialize( self, concept_id, - designer_api_selection_concept_configuration_map_dto, + selection_concept_configuration_map_dto, target_tenant_id, _request_auth, _content_type, @@ -1699,8 +1699,8 @@ def _map_selection_concept_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if designer_api_selection_concept_configuration_map_dto is not None: - _body_params = designer_api_selection_concept_configuration_map_dto + if selection_concept_configuration_map_dto is not None: + _body_params = selection_concept_configuration_map_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/permissions_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/permissions_api.py index 479dbd6ccb..d12ad67e5d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/permissions_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/permissions_api.py @@ -20,20 +20,20 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import List, Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_permissions_list_dto import AdminPermissionsListDTO -from visier_platform_sdk.models.servicing_bulk_data_access_set_response_dto import ServicingBulkDataAccessSetResponseDTO -from visier_platform_sdk.models.servicing_capability_dto import ServicingCapabilityDTO -from visier_platform_sdk.models.servicing_content_package_dto import ServicingContentPackageDTO -from visier_platform_sdk.models.servicing_create_data_access_set_request_dto import ServicingCreateDataAccessSetRequestDTO -from visier_platform_sdk.models.servicing_data_access_set_dto import ServicingDataAccessSetDTO -from visier_platform_sdk.models.servicing_delete_permissions_request_dto import ServicingDeletePermissionsRequestDTO -from visier_platform_sdk.models.servicing_get_capabilities_api_response_dto import ServicingGetCapabilitiesAPIResponseDTO -from visier_platform_sdk.models.servicing_get_content_packages_api_response_dto import ServicingGetContentPackagesAPIResponseDTO -from visier_platform_sdk.models.servicing_get_data_access_sets_api_response_dto import ServicingGetDataAccessSetsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_data_security_objects_api_response_dto import ServicingGetDataSecurityObjectsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_permissions_api_response_dto import ServicingGetPermissionsAPIResponseDTO -from visier_platform_sdk.models.servicing_permission_bulk_operation_response_dto import ServicingPermissionBulkOperationResponseDTO -from visier_platform_sdk.models.servicing_permission_dto import ServicingPermissionDTO +from visier_platform_sdk.models.bulk_data_access_set_response_dto import BulkDataAccessSetResponseDTO +from visier_platform_sdk.models.capability_dto import CapabilityDTO +from visier_platform_sdk.models.content_package_dto import ContentPackageDTO +from visier_platform_sdk.models.create_data_access_set_request_dto import CreateDataAccessSetRequestDTO +from visier_platform_sdk.models.data_access_set_dto import DataAccessSetDTO +from visier_platform_sdk.models.delete_permissions_request_dto import DeletePermissionsRequestDTO +from visier_platform_sdk.models.get_capabilities_api_response_dto import GetCapabilitiesAPIResponseDTO +from visier_platform_sdk.models.get_content_packages_api_response_dto import GetContentPackagesAPIResponseDTO +from visier_platform_sdk.models.get_data_access_sets_api_response_dto import GetDataAccessSetsAPIResponseDTO +from visier_platform_sdk.models.get_data_security_objects_api_response_dto import GetDataSecurityObjectsAPIResponseDTO +from visier_platform_sdk.models.get_permissions_api_response_dto import GetPermissionsAPIResponseDTO +from visier_platform_sdk.models.permission_bulk_operation_response_dto import PermissionBulkOperationResponseDTO +from visier_platform_sdk.models.permission_dto import PermissionDTO +from visier_platform_sdk.models.permissions_list_dto import PermissionsListDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -56,7 +56,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_data_access_sets( self, - servicing_create_data_access_set_request_dto: ServicingCreateDataAccessSetRequestDTO, + create_data_access_set_request_dto: CreateDataAccessSetRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -72,13 +72,13 @@ def create_data_access_sets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingBulkDataAccessSetResponseDTO: + ) -> BulkDataAccessSetResponseDTO: """Create shareable data access sets Create shareable data access sets. Shareable data access sets let you reuse common data access configurations in multiple permissions. To specify the project in which to create shareable data access sets, provide a project UUID in the `ProjectID` request header. - :param servicing_create_data_access_set_request_dto: (required) - :type servicing_create_data_access_set_request_dto: ServicingCreateDataAccessSetRequestDTO + :param create_data_access_set_request_dto: (required) + :type create_data_access_set_request_dto: CreateDataAccessSetRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -108,7 +108,7 @@ def create_data_access_sets( """ # noqa: E501 _param = self._create_data_access_sets_serialize( - servicing_create_data_access_set_request_dto=servicing_create_data_access_set_request_dto, + create_data_access_set_request_dto=create_data_access_set_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -119,7 +119,7 @@ def create_data_access_sets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingBulkDataAccessSetResponseDTO", + '200': "BulkDataAccessSetResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -135,7 +135,7 @@ def create_data_access_sets( @validate_call def create_data_access_sets_with_http_info( self, - servicing_create_data_access_set_request_dto: ServicingCreateDataAccessSetRequestDTO, + create_data_access_set_request_dto: CreateDataAccessSetRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -151,13 +151,13 @@ def create_data_access_sets_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingBulkDataAccessSetResponseDTO]: + ) -> ApiResponse[BulkDataAccessSetResponseDTO]: """Create shareable data access sets Create shareable data access sets. Shareable data access sets let you reuse common data access configurations in multiple permissions. To specify the project in which to create shareable data access sets, provide a project UUID in the `ProjectID` request header. - :param servicing_create_data_access_set_request_dto: (required) - :type servicing_create_data_access_set_request_dto: ServicingCreateDataAccessSetRequestDTO + :param create_data_access_set_request_dto: (required) + :type create_data_access_set_request_dto: CreateDataAccessSetRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -187,7 +187,7 @@ def create_data_access_sets_with_http_info( """ # noqa: E501 _param = self._create_data_access_sets_serialize( - servicing_create_data_access_set_request_dto=servicing_create_data_access_set_request_dto, + create_data_access_set_request_dto=create_data_access_set_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -198,7 +198,7 @@ def create_data_access_sets_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingBulkDataAccessSetResponseDTO", + '200': "BulkDataAccessSetResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -214,7 +214,7 @@ def create_data_access_sets_with_http_info( @validate_call def create_data_access_sets_without_preload_content( self, - servicing_create_data_access_set_request_dto: ServicingCreateDataAccessSetRequestDTO, + create_data_access_set_request_dto: CreateDataAccessSetRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -235,8 +235,8 @@ def create_data_access_sets_without_preload_content( Create shareable data access sets. Shareable data access sets let you reuse common data access configurations in multiple permissions. To specify the project in which to create shareable data access sets, provide a project UUID in the `ProjectID` request header. - :param servicing_create_data_access_set_request_dto: (required) - :type servicing_create_data_access_set_request_dto: ServicingCreateDataAccessSetRequestDTO + :param create_data_access_set_request_dto: (required) + :type create_data_access_set_request_dto: CreateDataAccessSetRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -266,7 +266,7 @@ def create_data_access_sets_without_preload_content( """ # noqa: E501 _param = self._create_data_access_sets_serialize( - servicing_create_data_access_set_request_dto=servicing_create_data_access_set_request_dto, + create_data_access_set_request_dto=create_data_access_set_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -277,7 +277,7 @@ def create_data_access_sets_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingBulkDataAccessSetResponseDTO", + '200': "BulkDataAccessSetResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -288,7 +288,7 @@ def create_data_access_sets_without_preload_content( def _create_data_access_sets_serialize( self, - servicing_create_data_access_set_request_dto, + create_data_access_set_request_dto, target_tenant_id, project_id, non_versioned, @@ -323,8 +323,8 @@ def _create_data_access_sets_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if servicing_create_data_access_set_request_dto is not None: - _body_params = servicing_create_data_access_set_request_dto + if create_data_access_set_request_dto is not None: + _body_params = create_data_access_set_request_dto # set the HTTP header `Accept` @@ -379,7 +379,7 @@ def _create_data_access_sets_serialize( @validate_call def create_permissions( self, - admin_permissions_list_dto: AdminPermissionsListDTO, + permissions_list_dto: PermissionsListDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create permissions in.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -396,13 +396,13 @@ def create_permissions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingPermissionBulkOperationResponseDTO: + ) -> PermissionBulkOperationResponseDTO: """Create permissions Create new permissions. Administrating tenant users can specify the tenant in which to add these permissions. To specify the project in which to create permissions, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_list_dto: (required) - :type admin_permissions_list_dto: AdminPermissionsListDTO + :param permissions_list_dto: (required) + :type permissions_list_dto: PermissionsListDTO :param tenant_code: Specify the tenant to create permissions in. :type tenant_code: str :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. @@ -434,7 +434,7 @@ def create_permissions( """ # noqa: E501 _param = self._create_permissions_serialize( - admin_permissions_list_dto=admin_permissions_list_dto, + permissions_list_dto=permissions_list_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -446,7 +446,7 @@ def create_permissions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -462,7 +462,7 @@ def create_permissions( @validate_call def create_permissions_with_http_info( self, - admin_permissions_list_dto: AdminPermissionsListDTO, + permissions_list_dto: PermissionsListDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create permissions in.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -479,13 +479,13 @@ def create_permissions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingPermissionBulkOperationResponseDTO]: + ) -> ApiResponse[PermissionBulkOperationResponseDTO]: """Create permissions Create new permissions. Administrating tenant users can specify the tenant in which to add these permissions. To specify the project in which to create permissions, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_list_dto: (required) - :type admin_permissions_list_dto: AdminPermissionsListDTO + :param permissions_list_dto: (required) + :type permissions_list_dto: PermissionsListDTO :param tenant_code: Specify the tenant to create permissions in. :type tenant_code: str :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. @@ -517,7 +517,7 @@ def create_permissions_with_http_info( """ # noqa: E501 _param = self._create_permissions_serialize( - admin_permissions_list_dto=admin_permissions_list_dto, + permissions_list_dto=permissions_list_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -529,7 +529,7 @@ def create_permissions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -545,7 +545,7 @@ def create_permissions_with_http_info( @validate_call def create_permissions_without_preload_content( self, - admin_permissions_list_dto: AdminPermissionsListDTO, + permissions_list_dto: PermissionsListDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create permissions in.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -567,8 +567,8 @@ def create_permissions_without_preload_content( Create new permissions. Administrating tenant users can specify the tenant in which to add these permissions. To specify the project in which to create permissions, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_list_dto: (required) - :type admin_permissions_list_dto: AdminPermissionsListDTO + :param permissions_list_dto: (required) + :type permissions_list_dto: PermissionsListDTO :param tenant_code: Specify the tenant to create permissions in. :type tenant_code: str :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. @@ -600,7 +600,7 @@ def create_permissions_without_preload_content( """ # noqa: E501 _param = self._create_permissions_serialize( - admin_permissions_list_dto=admin_permissions_list_dto, + permissions_list_dto=permissions_list_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -612,7 +612,7 @@ def create_permissions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -623,7 +623,7 @@ def create_permissions_without_preload_content( def _create_permissions_serialize( self, - admin_permissions_list_dto, + permissions_list_dto, tenant_code, target_tenant_id, project_id, @@ -663,8 +663,8 @@ def _create_permissions_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_permissions_list_dto is not None: - _body_params = admin_permissions_list_dto + if permissions_list_dto is not None: + _body_params = permissions_list_dto # set the HTTP header `Accept` @@ -719,7 +719,7 @@ def _create_permissions_serialize( @validate_call def delete_permissions( self, - servicing_delete_permissions_request_dto: ServicingDeletePermissionsRequestDTO, + delete_permissions_request_dto: DeletePermissionsRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete permissions from.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -735,13 +735,13 @@ def delete_permissions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingPermissionBulkOperationResponseDTO: + ) -> PermissionBulkOperationResponseDTO: """Delete permissions Delete existing permissions. To specify the project in which to delete permissions, provide a project UUID in the `ProjectID` request header. - :param servicing_delete_permissions_request_dto: (required) - :type servicing_delete_permissions_request_dto: ServicingDeletePermissionsRequestDTO + :param delete_permissions_request_dto: (required) + :type delete_permissions_request_dto: DeletePermissionsRequestDTO :param tenant_code: Specify the tenant to delete permissions from. :type tenant_code: str :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. @@ -771,7 +771,7 @@ def delete_permissions( """ # noqa: E501 _param = self._delete_permissions_serialize( - servicing_delete_permissions_request_dto=servicing_delete_permissions_request_dto, + delete_permissions_request_dto=delete_permissions_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -782,7 +782,7 @@ def delete_permissions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -798,7 +798,7 @@ def delete_permissions( @validate_call def delete_permissions_with_http_info( self, - servicing_delete_permissions_request_dto: ServicingDeletePermissionsRequestDTO, + delete_permissions_request_dto: DeletePermissionsRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete permissions from.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -814,13 +814,13 @@ def delete_permissions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingPermissionBulkOperationResponseDTO]: + ) -> ApiResponse[PermissionBulkOperationResponseDTO]: """Delete permissions Delete existing permissions. To specify the project in which to delete permissions, provide a project UUID in the `ProjectID` request header. - :param servicing_delete_permissions_request_dto: (required) - :type servicing_delete_permissions_request_dto: ServicingDeletePermissionsRequestDTO + :param delete_permissions_request_dto: (required) + :type delete_permissions_request_dto: DeletePermissionsRequestDTO :param tenant_code: Specify the tenant to delete permissions from. :type tenant_code: str :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. @@ -850,7 +850,7 @@ def delete_permissions_with_http_info( """ # noqa: E501 _param = self._delete_permissions_serialize( - servicing_delete_permissions_request_dto=servicing_delete_permissions_request_dto, + delete_permissions_request_dto=delete_permissions_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -861,7 +861,7 @@ def delete_permissions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -877,7 +877,7 @@ def delete_permissions_with_http_info( @validate_call def delete_permissions_without_preload_content( self, - servicing_delete_permissions_request_dto: ServicingDeletePermissionsRequestDTO, + delete_permissions_request_dto: DeletePermissionsRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete permissions from.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -898,8 +898,8 @@ def delete_permissions_without_preload_content( Delete existing permissions. To specify the project in which to delete permissions, provide a project UUID in the `ProjectID` request header. - :param servicing_delete_permissions_request_dto: (required) - :type servicing_delete_permissions_request_dto: ServicingDeletePermissionsRequestDTO + :param delete_permissions_request_dto: (required) + :type delete_permissions_request_dto: DeletePermissionsRequestDTO :param tenant_code: Specify the tenant to delete permissions from. :type tenant_code: str :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. @@ -929,7 +929,7 @@ def delete_permissions_without_preload_content( """ # noqa: E501 _param = self._delete_permissions_serialize( - servicing_delete_permissions_request_dto=servicing_delete_permissions_request_dto, + delete_permissions_request_dto=delete_permissions_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -940,7 +940,7 @@ def delete_permissions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -951,7 +951,7 @@ def delete_permissions_without_preload_content( def _delete_permissions_serialize( self, - servicing_delete_permissions_request_dto, + delete_permissions_request_dto, tenant_code, target_tenant_id, project_id, @@ -988,8 +988,8 @@ def _delete_permissions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if servicing_delete_permissions_request_dto is not None: - _body_params = servicing_delete_permissions_request_dto + if delete_permissions_request_dto is not None: + _body_params = delete_permissions_request_dto # set the HTTP header `Accept` @@ -1059,7 +1059,7 @@ def get_capabilities( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingGetCapabilitiesAPIResponseDTO: + ) -> GetCapabilitiesAPIResponseDTO: """Retrieve a list of all permission capabilities Retrieve all the permission capabilities in your tenant. You can use the returned capabilities in other API calls when creating or updating permissions to assign the capability to the permission. To specify the project in which to retrieve the permission capabilities, provide a project UUID in the `ProjectID` request header. @@ -1103,7 +1103,7 @@ def get_capabilities( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetCapabilitiesAPIResponseDTO", + '200': "GetCapabilitiesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1134,7 +1134,7 @@ def get_capabilities_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingGetCapabilitiesAPIResponseDTO]: + ) -> ApiResponse[GetCapabilitiesAPIResponseDTO]: """Retrieve a list of all permission capabilities Retrieve all the permission capabilities in your tenant. You can use the returned capabilities in other API calls when creating or updating permissions to assign the capability to the permission. To specify the project in which to retrieve the permission capabilities, provide a project UUID in the `ProjectID` request header. @@ -1178,7 +1178,7 @@ def get_capabilities_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetCapabilitiesAPIResponseDTO", + '200': "GetCapabilitiesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1253,7 +1253,7 @@ def get_capabilities_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetCapabilitiesAPIResponseDTO", + '200': "GetCapabilitiesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1357,7 +1357,7 @@ def get_capability( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingCapabilityDTO: + ) -> CapabilityDTO: """Retrieve a permission capability's details Retrieve the details of a specific capability. To specify the project in which to retrieve the permission capability, provide a project UUID in the `ProjectID` request header. @@ -1404,7 +1404,7 @@ def get_capability( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingCapabilityDTO", + '200': "CapabilityDTO", } response_data = self.api_client.call_api( *_param, @@ -1436,7 +1436,7 @@ def get_capability_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingCapabilityDTO]: + ) -> ApiResponse[CapabilityDTO]: """Retrieve a permission capability's details Retrieve the details of a specific capability. To specify the project in which to retrieve the permission capability, provide a project UUID in the `ProjectID` request header. @@ -1483,7 +1483,7 @@ def get_capability_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingCapabilityDTO", + '200': "CapabilityDTO", } response_data = self.api_client.call_api( *_param, @@ -1562,7 +1562,7 @@ def get_capability_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingCapabilityDTO", + '200': "CapabilityDTO", } response_data = self.api_client.call_api( *_param, @@ -1669,7 +1669,7 @@ def get_content_package( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingContentPackageDTO: + ) -> ContentPackageDTO: """Retrieve a content package's details Retrieve the details of a specific content package. To specify the project in which to retrieve a content package, provide a project UUID in the `ProjectID` request header. @@ -1716,7 +1716,7 @@ def get_content_package( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingContentPackageDTO", + '200': "ContentPackageDTO", } response_data = self.api_client.call_api( *_param, @@ -1748,7 +1748,7 @@ def get_content_package_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingContentPackageDTO]: + ) -> ApiResponse[ContentPackageDTO]: """Retrieve a content package's details Retrieve the details of a specific content package. To specify the project in which to retrieve a content package, provide a project UUID in the `ProjectID` request header. @@ -1795,7 +1795,7 @@ def get_content_package_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingContentPackageDTO", + '200': "ContentPackageDTO", } response_data = self.api_client.call_api( *_param, @@ -1874,7 +1874,7 @@ def get_content_package_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingContentPackageDTO", + '200': "ContentPackageDTO", } response_data = self.api_client.call_api( *_param, @@ -1981,7 +1981,7 @@ def get_content_packages( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingGetContentPackagesAPIResponseDTO: + ) -> GetContentPackagesAPIResponseDTO: """Retrieve a list of all content packages Retrieve the list of available content packages. You can use the returned content packages in other API calls when creating or updating permissions to add the content package to the permission. To specify the project in which to retrieve the available content packages, provide a project UUID in the `ProjectID` request header. @@ -2028,7 +2028,7 @@ def get_content_packages( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetContentPackagesAPIResponseDTO", + '200': "GetContentPackagesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2060,7 +2060,7 @@ def get_content_packages_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingGetContentPackagesAPIResponseDTO]: + ) -> ApiResponse[GetContentPackagesAPIResponseDTO]: """Retrieve a list of all content packages Retrieve the list of available content packages. You can use the returned content packages in other API calls when creating or updating permissions to add the content package to the permission. To specify the project in which to retrieve the available content packages, provide a project UUID in the `ProjectID` request header. @@ -2107,7 +2107,7 @@ def get_content_packages_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetContentPackagesAPIResponseDTO", + '200': "GetContentPackagesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2186,7 +2186,7 @@ def get_content_packages_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetContentPackagesAPIResponseDTO", + '200': "GetContentPackagesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2295,7 +2295,7 @@ def get_data_access_set( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingDataAccessSetDTO: + ) -> DataAccessSetDTO: """Retrieve a data access set's details Retrieve the details of a specific shareable data access set. You must know the ID of the data access set to retrieve its details. To retrieve data access set IDs, see `GET v1/admin/data-access-sets`. To specify the project in which to retrieve the shareable data access set, provide a project UUID in the `ProjectID` request header. @@ -2342,7 +2342,7 @@ def get_data_access_set( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDataAccessSetDTO", + '200': "DataAccessSetDTO", } response_data = self.api_client.call_api( *_param, @@ -2374,7 +2374,7 @@ def get_data_access_set_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingDataAccessSetDTO]: + ) -> ApiResponse[DataAccessSetDTO]: """Retrieve a data access set's details Retrieve the details of a specific shareable data access set. You must know the ID of the data access set to retrieve its details. To retrieve data access set IDs, see `GET v1/admin/data-access-sets`. To specify the project in which to retrieve the shareable data access set, provide a project UUID in the `ProjectID` request header. @@ -2421,7 +2421,7 @@ def get_data_access_set_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDataAccessSetDTO", + '200': "DataAccessSetDTO", } response_data = self.api_client.call_api( *_param, @@ -2500,7 +2500,7 @@ def get_data_access_set_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingDataAccessSetDTO", + '200': "DataAccessSetDTO", } response_data = self.api_client.call_api( *_param, @@ -2607,7 +2607,7 @@ def get_data_access_sets( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingGetDataAccessSetsAPIResponseDTO: + ) -> GetDataAccessSetsAPIResponseDTO: """Retrieve a list of all data access sets Retrieve a list of all shareable data access sets. Data access sets define the level of access that users have to properties and property values for the analytic object in a permission. Data access sets also grant access to properties of subjects that are referenced by the analytic object in the permission. You can assign data access sets to a permission when creating or updating permissions. To specify the project in which to retrieve the shareable data access sets, provide a project UUID in the `ProjectID` request header. **Note:** If the number of valid data access sets exceeds the default limit of 100, the response status code is 206. To retrieve more than 100 data access sets, set `limit` to a higher number. @@ -2660,7 +2660,7 @@ def get_data_access_sets( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetDataAccessSetsAPIResponseDTO", + '200': "GetDataAccessSetsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2694,7 +2694,7 @@ def get_data_access_sets_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingGetDataAccessSetsAPIResponseDTO]: + ) -> ApiResponse[GetDataAccessSetsAPIResponseDTO]: """Retrieve a list of all data access sets Retrieve a list of all shareable data access sets. Data access sets define the level of access that users have to properties and property values for the analytic object in a permission. Data access sets also grant access to properties of subjects that are referenced by the analytic object in the permission. You can assign data access sets to a permission when creating or updating permissions. To specify the project in which to retrieve the shareable data access sets, provide a project UUID in the `ProjectID` request header. **Note:** If the number of valid data access sets exceeds the default limit of 100, the response status code is 206. To retrieve more than 100 data access sets, set `limit` to a higher number. @@ -2747,7 +2747,7 @@ def get_data_access_sets_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetDataAccessSetsAPIResponseDTO", + '200': "GetDataAccessSetsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2834,7 +2834,7 @@ def get_data_access_sets_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetDataAccessSetsAPIResponseDTO", + '200': "GetDataAccessSetsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2953,7 +2953,7 @@ def get_data_security_objects( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingGetDataSecurityObjectsAPIResponseDTO: + ) -> GetDataSecurityObjectsAPIResponseDTO: """Retrieve a list of data security objects Retrieve the list of available data security objects. Data security objects are analytic objects and their related objects that are available to define permissions' data security profiles. To specify the project in which to retrieve the available data security objects, provide a project UUID in the `ProjectID` request header. @@ -3003,7 +3003,7 @@ def get_data_security_objects( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetDataSecurityObjectsAPIResponseDTO", + '200': "GetDataSecurityObjectsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3036,7 +3036,7 @@ def get_data_security_objects_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingGetDataSecurityObjectsAPIResponseDTO]: + ) -> ApiResponse[GetDataSecurityObjectsAPIResponseDTO]: """Retrieve a list of data security objects Retrieve the list of available data security objects. Data security objects are analytic objects and their related objects that are available to define permissions' data security profiles. To specify the project in which to retrieve the available data security objects, provide a project UUID in the `ProjectID` request header. @@ -3086,7 +3086,7 @@ def get_data_security_objects_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetDataSecurityObjectsAPIResponseDTO", + '200': "GetDataSecurityObjectsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3169,7 +3169,7 @@ def get_data_security_objects_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetDataSecurityObjectsAPIResponseDTO", + '200': "GetDataSecurityObjectsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3286,7 +3286,7 @@ def get_permission( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingPermissionDTO: + ) -> PermissionDTO: """Retrieve a permission's details Retrieve the details for a specified permission. To specify the project in which to retrieve the permission, provide a project UUID in the `ProjectID` request header. @@ -3339,7 +3339,7 @@ def get_permission( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionDTO", + '200': "PermissionDTO", } response_data = self.api_client.call_api( *_param, @@ -3373,7 +3373,7 @@ def get_permission_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingPermissionDTO]: + ) -> ApiResponse[PermissionDTO]: """Retrieve a permission's details Retrieve the details for a specified permission. To specify the project in which to retrieve the permission, provide a project UUID in the `ProjectID` request header. @@ -3426,7 +3426,7 @@ def get_permission_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionDTO", + '200': "PermissionDTO", } response_data = self.api_client.call_api( *_param, @@ -3513,7 +3513,7 @@ def get_permission_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionDTO", + '200': "PermissionDTO", } response_data = self.api_client.call_api( *_param, @@ -3630,7 +3630,7 @@ def get_permissions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingGetPermissionsAPIResponseDTO: + ) -> GetPermissionsAPIResponseDTO: """Retrieve a list of all permissions Retrieve the full list of user permissions in your tenant. To specify the project in which to retrieve permissions, provide a project UUID in the `ProjectID` request header. @@ -3683,7 +3683,7 @@ def get_permissions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetPermissionsAPIResponseDTO", + '200': "GetPermissionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3717,7 +3717,7 @@ def get_permissions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingGetPermissionsAPIResponseDTO]: + ) -> ApiResponse[GetPermissionsAPIResponseDTO]: """Retrieve a list of all permissions Retrieve the full list of user permissions in your tenant. To specify the project in which to retrieve permissions, provide a project UUID in the `ProjectID` request header. @@ -3770,7 +3770,7 @@ def get_permissions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetPermissionsAPIResponseDTO", + '200': "GetPermissionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3857,7 +3857,7 @@ def get_permissions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetPermissionsAPIResponseDTO", + '200': "GetPermissionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3958,7 +3958,7 @@ def _get_permissions_serialize( @validate_call def update_permissions( self, - admin_permissions_list_dto: AdminPermissionsListDTO, + permissions_list_dto: PermissionsListDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update permissions in.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -3975,13 +3975,13 @@ def update_permissions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingPermissionBulkOperationResponseDTO: + ) -> PermissionBulkOperationResponseDTO: """Update permissions Update existing permissions. To specify the project in which to update permissions, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_list_dto: (required) - :type admin_permissions_list_dto: AdminPermissionsListDTO + :param permissions_list_dto: (required) + :type permissions_list_dto: PermissionsListDTO :param tenant_code: Specify the tenant to update permissions in. :type tenant_code: str :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. @@ -4013,7 +4013,7 @@ def update_permissions( """ # noqa: E501 _param = self._update_permissions_serialize( - admin_permissions_list_dto=admin_permissions_list_dto, + permissions_list_dto=permissions_list_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -4025,7 +4025,7 @@ def update_permissions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4041,7 +4041,7 @@ def update_permissions( @validate_call def update_permissions_with_http_info( self, - admin_permissions_list_dto: AdminPermissionsListDTO, + permissions_list_dto: PermissionsListDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update permissions in.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -4058,13 +4058,13 @@ def update_permissions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingPermissionBulkOperationResponseDTO]: + ) -> ApiResponse[PermissionBulkOperationResponseDTO]: """Update permissions Update existing permissions. To specify the project in which to update permissions, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_list_dto: (required) - :type admin_permissions_list_dto: AdminPermissionsListDTO + :param permissions_list_dto: (required) + :type permissions_list_dto: PermissionsListDTO :param tenant_code: Specify the tenant to update permissions in. :type tenant_code: str :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. @@ -4096,7 +4096,7 @@ def update_permissions_with_http_info( """ # noqa: E501 _param = self._update_permissions_serialize( - admin_permissions_list_dto=admin_permissions_list_dto, + permissions_list_dto=permissions_list_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -4108,7 +4108,7 @@ def update_permissions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4124,7 +4124,7 @@ def update_permissions_with_http_info( @validate_call def update_permissions_without_preload_content( self, - admin_permissions_list_dto: AdminPermissionsListDTO, + permissions_list_dto: PermissionsListDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update permissions in.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, @@ -4146,8 +4146,8 @@ def update_permissions_without_preload_content( Update existing permissions. To specify the project in which to update permissions, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_list_dto: (required) - :type admin_permissions_list_dto: AdminPermissionsListDTO + :param permissions_list_dto: (required) + :type permissions_list_dto: PermissionsListDTO :param tenant_code: Specify the tenant to update permissions in. :type tenant_code: str :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. @@ -4179,7 +4179,7 @@ def update_permissions_without_preload_content( """ # noqa: E501 _param = self._update_permissions_serialize( - admin_permissions_list_dto=admin_permissions_list_dto, + permissions_list_dto=permissions_list_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, @@ -4191,7 +4191,7 @@ def update_permissions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionBulkOperationResponseDTO", + '200': "PermissionBulkOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4202,7 +4202,7 @@ def update_permissions_without_preload_content( def _update_permissions_serialize( self, - admin_permissions_list_dto, + permissions_list_dto, tenant_code, target_tenant_id, project_id, @@ -4242,8 +4242,8 @@ def _update_permissions_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_permissions_list_dto is not None: - _body_params = admin_permissions_list_dto + if permissions_list_dto is not None: + _body_params = permissions_list_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/pgp_key_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/pgp_key_api.py index 95605b96ac..02424e8864 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/pgp_key_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/pgp_key_api.py @@ -20,10 +20,10 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.designer_crypto_key_pair_delete_response_dto import DesignerCryptoKeyPairDeleteResponseDTO -from visier_platform_sdk.models.designer_crypto_key_pair_generate_request_dto import DesignerCryptoKeyPairGenerateRequestDTO -from visier_platform_sdk.models.designer_crypto_public_key_dto import DesignerCryptoPublicKeyDTO -from visier_platform_sdk.models.designer_crypto_public_keys_dto import DesignerCryptoPublicKeysDTO +from visier_platform_sdk.models.key_pair_delete_response_dto import KeyPairDeleteResponseDTO +from visier_platform_sdk.models.key_pair_generate_request_dto import KeyPairGenerateRequestDTO +from visier_platform_sdk.models.public_key_dto import PublicKeyDTO +from visier_platform_sdk.models.public_keys_dto import PublicKeysDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -60,7 +60,7 @@ def delete_pgp_key_pair( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerCryptoKeyPairDeleteResponseDTO: + ) -> KeyPairDeleteResponseDTO: """Delete a PGP key pair Delete a PGP key pair using a key ID. @@ -101,7 +101,7 @@ def delete_pgp_key_pair( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoKeyPairDeleteResponseDTO", + '200': "KeyPairDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -131,7 +131,7 @@ def delete_pgp_key_pair_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerCryptoKeyPairDeleteResponseDTO]: + ) -> ApiResponse[KeyPairDeleteResponseDTO]: """Delete a PGP key pair Delete a PGP key pair using a key ID. @@ -172,7 +172,7 @@ def delete_pgp_key_pair_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoKeyPairDeleteResponseDTO", + '200': "KeyPairDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -243,7 +243,7 @@ def delete_pgp_key_pair_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoKeyPairDeleteResponseDTO", + '200': "KeyPairDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -326,7 +326,7 @@ def _delete_pgp_key_pair_serialize( @validate_call def generate_pgp_key_pair( self, - designer_crypto_key_pair_generate_request_dto: DesignerCryptoKeyPairGenerateRequestDTO, + key_pair_generate_request_dto: KeyPairGenerateRequestDTO, 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, _request_timeout: Union[ None, @@ -340,13 +340,13 @@ def generate_pgp_key_pair( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerCryptoPublicKeyDTO: + ) -> PublicKeyDTO: """Download a public encryption key Generate a key pair and retrieve the public key that you can use to encrypt your data to send to Visier. In the request body, optionally set the UTC expiration date for the key pair in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years. - :param designer_crypto_key_pair_generate_request_dto: (required) - :type designer_crypto_key_pair_generate_request_dto: DesignerCryptoKeyPairGenerateRequestDTO + :param key_pair_generate_request_dto: (required) + :type key_pair_generate_request_dto: KeyPairGenerateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -372,7 +372,7 @@ def generate_pgp_key_pair( """ # noqa: E501 _param = self._generate_pgp_key_pair_serialize( - designer_crypto_key_pair_generate_request_dto=designer_crypto_key_pair_generate_request_dto, + key_pair_generate_request_dto=key_pair_generate_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -381,7 +381,7 @@ def generate_pgp_key_pair( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeyDTO", + '200': "PublicKeyDTO", } response_data = self.api_client.call_api( *_param, @@ -397,7 +397,7 @@ def generate_pgp_key_pair( @validate_call def generate_pgp_key_pair_with_http_info( self, - designer_crypto_key_pair_generate_request_dto: DesignerCryptoKeyPairGenerateRequestDTO, + key_pair_generate_request_dto: KeyPairGenerateRequestDTO, 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, _request_timeout: Union[ None, @@ -411,13 +411,13 @@ def generate_pgp_key_pair_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerCryptoPublicKeyDTO]: + ) -> ApiResponse[PublicKeyDTO]: """Download a public encryption key Generate a key pair and retrieve the public key that you can use to encrypt your data to send to Visier. In the request body, optionally set the UTC expiration date for the key pair in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years. - :param designer_crypto_key_pair_generate_request_dto: (required) - :type designer_crypto_key_pair_generate_request_dto: DesignerCryptoKeyPairGenerateRequestDTO + :param key_pair_generate_request_dto: (required) + :type key_pair_generate_request_dto: KeyPairGenerateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -443,7 +443,7 @@ def generate_pgp_key_pair_with_http_info( """ # noqa: E501 _param = self._generate_pgp_key_pair_serialize( - designer_crypto_key_pair_generate_request_dto=designer_crypto_key_pair_generate_request_dto, + key_pair_generate_request_dto=key_pair_generate_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -452,7 +452,7 @@ def generate_pgp_key_pair_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeyDTO", + '200': "PublicKeyDTO", } response_data = self.api_client.call_api( *_param, @@ -468,7 +468,7 @@ def generate_pgp_key_pair_with_http_info( @validate_call def generate_pgp_key_pair_without_preload_content( self, - designer_crypto_key_pair_generate_request_dto: DesignerCryptoKeyPairGenerateRequestDTO, + key_pair_generate_request_dto: KeyPairGenerateRequestDTO, 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, _request_timeout: Union[ None, @@ -487,8 +487,8 @@ def generate_pgp_key_pair_without_preload_content( Generate a key pair and retrieve the public key that you can use to encrypt your data to send to Visier. In the request body, optionally set the UTC expiration date for the key pair in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years. - :param designer_crypto_key_pair_generate_request_dto: (required) - :type designer_crypto_key_pair_generate_request_dto: DesignerCryptoKeyPairGenerateRequestDTO + :param key_pair_generate_request_dto: (required) + :type key_pair_generate_request_dto: KeyPairGenerateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -514,7 +514,7 @@ def generate_pgp_key_pair_without_preload_content( """ # noqa: E501 _param = self._generate_pgp_key_pair_serialize( - designer_crypto_key_pair_generate_request_dto=designer_crypto_key_pair_generate_request_dto, + key_pair_generate_request_dto=key_pair_generate_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -523,7 +523,7 @@ def generate_pgp_key_pair_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeyDTO", + '200': "PublicKeyDTO", } response_data = self.api_client.call_api( *_param, @@ -534,7 +534,7 @@ def generate_pgp_key_pair_without_preload_content( def _generate_pgp_key_pair_serialize( self, - designer_crypto_key_pair_generate_request_dto, + key_pair_generate_request_dto, target_tenant_id, _request_auth, _content_type, @@ -563,8 +563,8 @@ def _generate_pgp_key_pair_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if designer_crypto_key_pair_generate_request_dto is not None: - _body_params = designer_crypto_key_pair_generate_request_dto + if key_pair_generate_request_dto is not None: + _body_params = key_pair_generate_request_dto # set the HTTP header `Accept` @@ -632,7 +632,7 @@ def get_all_pgp_public_keys( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerCryptoPublicKeysDTO: + ) -> PublicKeysDTO: """Retrieve all PGP public keys Retrieve a list of all PGP public keys in your tenant. @@ -670,7 +670,7 @@ def get_all_pgp_public_keys( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeysDTO", + '200': "PublicKeysDTO", } response_data = self.api_client.call_api( *_param, @@ -699,7 +699,7 @@ def get_all_pgp_public_keys_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerCryptoPublicKeysDTO]: + ) -> ApiResponse[PublicKeysDTO]: """Retrieve all PGP public keys Retrieve a list of all PGP public keys in your tenant. @@ -737,7 +737,7 @@ def get_all_pgp_public_keys_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeysDTO", + '200': "PublicKeysDTO", } response_data = self.api_client.call_api( *_param, @@ -804,7 +804,7 @@ def get_all_pgp_public_keys_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeysDTO", + '200': "PublicKeysDTO", } response_data = self.api_client.call_api( *_param, @@ -898,7 +898,7 @@ def get_pgp_public_key( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerCryptoPublicKeyDTO: + ) -> PublicKeyDTO: """Retrieve a PGP public key using the key ID If you know your PGP key ID, use it to retrieve the PGP public key. To get a list of all key IDs, see `Retrieve all PGP public keys`. @@ -939,7 +939,7 @@ def get_pgp_public_key( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeyDTO", + '200': "PublicKeyDTO", } response_data = self.api_client.call_api( *_param, @@ -969,7 +969,7 @@ def get_pgp_public_key_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerCryptoPublicKeyDTO]: + ) -> ApiResponse[PublicKeyDTO]: """Retrieve a PGP public key using the key ID If you know your PGP key ID, use it to retrieve the PGP public key. To get a list of all key IDs, see `Retrieve all PGP public keys`. @@ -1010,7 +1010,7 @@ def get_pgp_public_key_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeyDTO", + '200': "PublicKeyDTO", } response_data = self.api_client.call_api( *_param, @@ -1081,7 +1081,7 @@ def get_pgp_public_key_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerCryptoPublicKeyDTO", + '200': "PublicKeyDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/production_versions_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/production_versions_api.py index 9469abda0f..48da662344 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/production_versions_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/production_versions_api.py @@ -20,11 +20,11 @@ from pydantic import Field, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.servicing_get_production_versions_api_response_dto import ServicingGetProductionVersionsAPIResponseDTO -from visier_platform_sdk.models.servicing_production_version_api_operation_request_dto import ServicingProductionVersionAPIOperationRequestDTO -from visier_platform_sdk.models.servicing_production_version_api_operation_response_dto import ServicingProductionVersionAPIOperationResponseDTO -from visier_platform_sdk.models.servicing_production_versions_api_operation_request_dto import ServicingProductionVersionsAPIOperationRequestDTO -from visier_platform_sdk.models.servicing_production_versions_api_operation_response_dto import ServicingProductionVersionsAPIOperationResponseDTO +from visier_platform_sdk.models.get_production_versions_api_response_dto import GetProductionVersionsAPIResponseDTO +from visier_platform_sdk.models.production_version_api_operation_request_dto import ProductionVersionAPIOperationRequestDTO +from visier_platform_sdk.models.production_version_api_operation_response_dto import ProductionVersionAPIOperationResponseDTO +from visier_platform_sdk.models.production_versions_api_operation_request_dto import ProductionVersionsAPIOperationRequestDTO +from visier_platform_sdk.models.production_versions_api_operation_response_dto import ProductionVersionsAPIOperationResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -62,7 +62,7 @@ def get_production_versions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingGetProductionVersionsAPIResponseDTO: + ) -> GetProductionVersionsAPIResponseDTO: """Retrieve a list of all production versions Retrieve a list of all projects that were published to production, ordered from latest published to earliest published. @@ -106,7 +106,7 @@ def get_production_versions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetProductionVersionsAPIResponseDTO", + '200': "GetProductionVersionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -137,7 +137,7 @@ def get_production_versions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingGetProductionVersionsAPIResponseDTO]: + ) -> ApiResponse[GetProductionVersionsAPIResponseDTO]: """Retrieve a list of all production versions Retrieve a list of all projects that were published to production, ordered from latest published to earliest published. @@ -181,7 +181,7 @@ def get_production_versions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetProductionVersionsAPIResponseDTO", + '200': "GetProductionVersionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -256,7 +256,7 @@ def get_production_versions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetProductionVersionsAPIResponseDTO", + '200': "GetProductionVersionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -347,7 +347,7 @@ def _get_production_versions_serialize( def post_production_version( self, production_version_id: Annotated[StrictStr, Field(description="The production version to use as the target of the operation; for example, the production version to roll back to for the `rollBackTo` operation.")], - servicing_production_version_api_operation_request_dto: ServicingProductionVersionAPIOperationRequestDTO, + production_version_api_operation_request_dto: ProductionVersionAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -361,15 +361,15 @@ def post_production_version( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProductionVersionAPIOperationResponseDTO: + ) -> ProductionVersionAPIOperationResponseDTO: """Perform an operation on a production version Perform operations on a specific production version. The following operations are supported: * `rollBackTo`: Create a project that rolls back the production version to the specified version. The project contains uncommitted changes that reverse the published versions after the target production version. :param production_version_id: The production version to use as the target of the operation; for example, the production version to roll back to for the `rollBackTo` operation. (required) :type production_version_id: str - :param servicing_production_version_api_operation_request_dto: (required) - :type servicing_production_version_api_operation_request_dto: ServicingProductionVersionAPIOperationRequestDTO + :param production_version_api_operation_request_dto: (required) + :type production_version_api_operation_request_dto: ProductionVersionAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -396,7 +396,7 @@ def post_production_version( _param = self._post_production_version_serialize( production_version_id=production_version_id, - servicing_production_version_api_operation_request_dto=servicing_production_version_api_operation_request_dto, + production_version_api_operation_request_dto=production_version_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -405,7 +405,7 @@ def post_production_version( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProductionVersionAPIOperationResponseDTO", + '200': "ProductionVersionAPIOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -422,7 +422,7 @@ def post_production_version( def post_production_version_with_http_info( self, production_version_id: Annotated[StrictStr, Field(description="The production version to use as the target of the operation; for example, the production version to roll back to for the `rollBackTo` operation.")], - servicing_production_version_api_operation_request_dto: ServicingProductionVersionAPIOperationRequestDTO, + production_version_api_operation_request_dto: ProductionVersionAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -436,15 +436,15 @@ def post_production_version_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProductionVersionAPIOperationResponseDTO]: + ) -> ApiResponse[ProductionVersionAPIOperationResponseDTO]: """Perform an operation on a production version Perform operations on a specific production version. The following operations are supported: * `rollBackTo`: Create a project that rolls back the production version to the specified version. The project contains uncommitted changes that reverse the published versions after the target production version. :param production_version_id: The production version to use as the target of the operation; for example, the production version to roll back to for the `rollBackTo` operation. (required) :type production_version_id: str - :param servicing_production_version_api_operation_request_dto: (required) - :type servicing_production_version_api_operation_request_dto: ServicingProductionVersionAPIOperationRequestDTO + :param production_version_api_operation_request_dto: (required) + :type production_version_api_operation_request_dto: ProductionVersionAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -471,7 +471,7 @@ def post_production_version_with_http_info( _param = self._post_production_version_serialize( production_version_id=production_version_id, - servicing_production_version_api_operation_request_dto=servicing_production_version_api_operation_request_dto, + production_version_api_operation_request_dto=production_version_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -480,7 +480,7 @@ def post_production_version_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProductionVersionAPIOperationResponseDTO", + '200': "ProductionVersionAPIOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -497,7 +497,7 @@ def post_production_version_with_http_info( def post_production_version_without_preload_content( self, production_version_id: Annotated[StrictStr, Field(description="The production version to use as the target of the operation; for example, the production version to roll back to for the `rollBackTo` operation.")], - servicing_production_version_api_operation_request_dto: ServicingProductionVersionAPIOperationRequestDTO, + production_version_api_operation_request_dto: ProductionVersionAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -518,8 +518,8 @@ def post_production_version_without_preload_content( :param production_version_id: The production version to use as the target of the operation; for example, the production version to roll back to for the `rollBackTo` operation. (required) :type production_version_id: str - :param servicing_production_version_api_operation_request_dto: (required) - :type servicing_production_version_api_operation_request_dto: ServicingProductionVersionAPIOperationRequestDTO + :param production_version_api_operation_request_dto: (required) + :type production_version_api_operation_request_dto: ProductionVersionAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -546,7 +546,7 @@ def post_production_version_without_preload_content( _param = self._post_production_version_serialize( production_version_id=production_version_id, - servicing_production_version_api_operation_request_dto=servicing_production_version_api_operation_request_dto, + production_version_api_operation_request_dto=production_version_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -555,7 +555,7 @@ def post_production_version_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProductionVersionAPIOperationResponseDTO", + '200': "ProductionVersionAPIOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -567,7 +567,7 @@ def post_production_version_without_preload_content( def _post_production_version_serialize( self, production_version_id, - servicing_production_version_api_operation_request_dto, + production_version_api_operation_request_dto, target_tenant_id, _request_auth, _content_type, @@ -598,8 +598,8 @@ def _post_production_version_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_production_version_api_operation_request_dto is not None: - _body_params = servicing_production_version_api_operation_request_dto + if production_version_api_operation_request_dto is not None: + _body_params = production_version_api_operation_request_dto # set the HTTP header `Accept` @@ -654,7 +654,7 @@ def _post_production_version_serialize( @validate_call def post_production_versions( self, - servicing_production_versions_api_operation_request_dto: ServicingProductionVersionsAPIOperationRequestDTO, + production_versions_api_operation_request_dto: ProductionVersionsAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -668,13 +668,13 @@ def post_production_versions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProductionVersionsAPIOperationResponseDTO: + ) -> ProductionVersionsAPIOperationResponseDTO: """Perform an operation on production versions Perform operations on production versions, such as exporting a production project's committed changes. If exporting, please specify `Accept: application/zip, application/json` in the header. The API returns exported changes in ZIP format and error messages in JSON format. If your request returns an error and it doesn't accept `application/json`, you will receive an HTTP 406 status code instead of the appropriate error response body. - :param servicing_production_versions_api_operation_request_dto: (required) - :type servicing_production_versions_api_operation_request_dto: ServicingProductionVersionsAPIOperationRequestDTO + :param production_versions_api_operation_request_dto: (required) + :type production_versions_api_operation_request_dto: ProductionVersionsAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -700,7 +700,7 @@ def post_production_versions( """ # noqa: E501 _param = self._post_production_versions_serialize( - servicing_production_versions_api_operation_request_dto=servicing_production_versions_api_operation_request_dto, + production_versions_api_operation_request_dto=production_versions_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -709,7 +709,7 @@ def post_production_versions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProductionVersionsAPIOperationResponseDTO", + '200': "ProductionVersionsAPIOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -725,7 +725,7 @@ def post_production_versions( @validate_call def post_production_versions_with_http_info( self, - servicing_production_versions_api_operation_request_dto: ServicingProductionVersionsAPIOperationRequestDTO, + production_versions_api_operation_request_dto: ProductionVersionsAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -739,13 +739,13 @@ def post_production_versions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProductionVersionsAPIOperationResponseDTO]: + ) -> ApiResponse[ProductionVersionsAPIOperationResponseDTO]: """Perform an operation on production versions Perform operations on production versions, such as exporting a production project's committed changes. If exporting, please specify `Accept: application/zip, application/json` in the header. The API returns exported changes in ZIP format and error messages in JSON format. If your request returns an error and it doesn't accept `application/json`, you will receive an HTTP 406 status code instead of the appropriate error response body. - :param servicing_production_versions_api_operation_request_dto: (required) - :type servicing_production_versions_api_operation_request_dto: ServicingProductionVersionsAPIOperationRequestDTO + :param production_versions_api_operation_request_dto: (required) + :type production_versions_api_operation_request_dto: ProductionVersionsAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -771,7 +771,7 @@ def post_production_versions_with_http_info( """ # noqa: E501 _param = self._post_production_versions_serialize( - servicing_production_versions_api_operation_request_dto=servicing_production_versions_api_operation_request_dto, + production_versions_api_operation_request_dto=production_versions_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -780,7 +780,7 @@ def post_production_versions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProductionVersionsAPIOperationResponseDTO", + '200': "ProductionVersionsAPIOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -796,7 +796,7 @@ def post_production_versions_with_http_info( @validate_call def post_production_versions_without_preload_content( self, - servicing_production_versions_api_operation_request_dto: ServicingProductionVersionsAPIOperationRequestDTO, + production_versions_api_operation_request_dto: ProductionVersionsAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -815,8 +815,8 @@ def post_production_versions_without_preload_content( Perform operations on production versions, such as exporting a production project's committed changes. If exporting, please specify `Accept: application/zip, application/json` in the header. The API returns exported changes in ZIP format and error messages in JSON format. If your request returns an error and it doesn't accept `application/json`, you will receive an HTTP 406 status code instead of the appropriate error response body. - :param servicing_production_versions_api_operation_request_dto: (required) - :type servicing_production_versions_api_operation_request_dto: ServicingProductionVersionsAPIOperationRequestDTO + :param production_versions_api_operation_request_dto: (required) + :type production_versions_api_operation_request_dto: ProductionVersionsAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -842,7 +842,7 @@ def post_production_versions_without_preload_content( """ # noqa: E501 _param = self._post_production_versions_serialize( - servicing_production_versions_api_operation_request_dto=servicing_production_versions_api_operation_request_dto, + production_versions_api_operation_request_dto=production_versions_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -851,7 +851,7 @@ def post_production_versions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProductionVersionsAPIOperationResponseDTO", + '200': "ProductionVersionsAPIOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -862,7 +862,7 @@ def post_production_versions_without_preload_content( def _post_production_versions_serialize( self, - servicing_production_versions_api_operation_request_dto, + production_versions_api_operation_request_dto, target_tenant_id, _request_auth, _content_type, @@ -891,8 +891,8 @@ def _post_production_versions_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_production_versions_api_operation_request_dto is not None: - _body_params = servicing_production_versions_api_operation_request_dto + if production_versions_api_operation_request_dto is not None: + _body_params = production_versions_api_operation_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/profiles_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/profiles_api.py index 3c043bc52d..4f772c6ddb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/profiles_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/profiles_api.py @@ -20,18 +20,18 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_request_dto import ServicingAccessibleTenantProfileAssignmentRequestDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_response_dto import ServicingAccessibleTenantProfileAssignmentResponseDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_request_dto import ServicingAccessibleTenantProfileRevokeRequestDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_response_dto import ServicingAccessibleTenantProfileRevokeResponseDTO -from visier_platform_sdk.models.servicing_all_profile_assigned_for_accessible_tenant_dto import ServicingAllProfileAssignedForAccessibleTenantDTO -from visier_platform_sdk.models.servicing_all_profile_assigned_for_local_tenant_dto import ServicingAllProfileAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_request_dto import ServicingLocalTenantProfileAssignmentRequestDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_response_dto import ServicingLocalTenantProfileAssignmentResponseDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_request_dto import ServicingLocalTenantProfileRevokeRequestDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_response_dto import ServicingLocalTenantProfileRevokeResponseDTO -from visier_platform_sdk.models.servicing_profile_get_api_response_dto import ServicingProfileGetAPIResponseDTO -from visier_platform_sdk.models.servicing_profiles_get_api_response_dto import ServicingProfilesGetAPIResponseDTO +from visier_platform_sdk.models.accessible_tenant_profile_assignment_request_dto import AccessibleTenantProfileAssignmentRequestDTO +from visier_platform_sdk.models.accessible_tenant_profile_assignment_response_dto import AccessibleTenantProfileAssignmentResponseDTO +from visier_platform_sdk.models.accessible_tenant_profile_revoke_request_dto import AccessibleTenantProfileRevokeRequestDTO +from visier_platform_sdk.models.accessible_tenant_profile_revoke_response_dto import AccessibleTenantProfileRevokeResponseDTO +from visier_platform_sdk.models.all_profile_assigned_for_accessible_tenant_dto import AllProfileAssignedForAccessibleTenantDTO +from visier_platform_sdk.models.all_profile_assigned_for_local_tenant_dto import AllProfileAssignedForLocalTenantDTO +from visier_platform_sdk.models.local_tenant_profile_assignment_request_dto import LocalTenantProfileAssignmentRequestDTO +from visier_platform_sdk.models.local_tenant_profile_assignment_response_dto import LocalTenantProfileAssignmentResponseDTO +from visier_platform_sdk.models.local_tenant_profile_revoke_request_dto import LocalTenantProfileRevokeRequestDTO +from visier_platform_sdk.models.local_tenant_profile_revoke_response_dto import LocalTenantProfileRevokeResponseDTO +from visier_platform_sdk.models.profile_get_api_response_dto import ProfileGetAPIResponseDTO +from visier_platform_sdk.models.profiles_get_api_response_dto import ProfilesGetAPIResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -55,7 +55,7 @@ def __init__(self, api_client=None) -> None: def assign_analytic_profile( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign.")], - servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO, + accessible_tenant_profile_assignment_request_dto: AccessibleTenantProfileAssignmentRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -68,15 +68,15 @@ def assign_analytic_profile( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingAccessibleTenantProfileAssignmentResponseDTO: + ) -> AccessibleTenantProfileAssignmentResponseDTO: """Assign an analytic tenant profile to administrating tenant users Assign an analytic tenant profile to a list of administrating tenant users for a list of analytic tenants. **Note:** - Administrating tenants only. - You can revoke a profile from a user with this request by updating the validityEndTime to be \"less than\" the current time (that is, in the past). :param profile_id: The ID of the profile to assign. (required) :type profile_id: str - :param servicing_accessible_tenant_profile_assignment_request_dto: (required) - :type servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO + :param accessible_tenant_profile_assignment_request_dto: (required) + :type accessible_tenant_profile_assignment_request_dto: AccessibleTenantProfileAssignmentRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -101,7 +101,7 @@ def assign_analytic_profile( _param = self._assign_analytic_profile_serialize( profile_id=profile_id, - servicing_accessible_tenant_profile_assignment_request_dto=servicing_accessible_tenant_profile_assignment_request_dto, + accessible_tenant_profile_assignment_request_dto=accessible_tenant_profile_assignment_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109,7 +109,7 @@ def assign_analytic_profile( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAccessibleTenantProfileAssignmentResponseDTO", + '200': "AccessibleTenantProfileAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -126,7 +126,7 @@ def assign_analytic_profile( def assign_analytic_profile_with_http_info( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign.")], - servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO, + accessible_tenant_profile_assignment_request_dto: AccessibleTenantProfileAssignmentRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139,15 +139,15 @@ def assign_analytic_profile_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingAccessibleTenantProfileAssignmentResponseDTO]: + ) -> ApiResponse[AccessibleTenantProfileAssignmentResponseDTO]: """Assign an analytic tenant profile to administrating tenant users Assign an analytic tenant profile to a list of administrating tenant users for a list of analytic tenants. **Note:** - Administrating tenants only. - You can revoke a profile from a user with this request by updating the validityEndTime to be \"less than\" the current time (that is, in the past). :param profile_id: The ID of the profile to assign. (required) :type profile_id: str - :param servicing_accessible_tenant_profile_assignment_request_dto: (required) - :type servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO + :param accessible_tenant_profile_assignment_request_dto: (required) + :type accessible_tenant_profile_assignment_request_dto: AccessibleTenantProfileAssignmentRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -172,7 +172,7 @@ def assign_analytic_profile_with_http_info( _param = self._assign_analytic_profile_serialize( profile_id=profile_id, - servicing_accessible_tenant_profile_assignment_request_dto=servicing_accessible_tenant_profile_assignment_request_dto, + accessible_tenant_profile_assignment_request_dto=accessible_tenant_profile_assignment_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -180,7 +180,7 @@ def assign_analytic_profile_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAccessibleTenantProfileAssignmentResponseDTO", + '200': "AccessibleTenantProfileAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -197,7 +197,7 @@ def assign_analytic_profile_with_http_info( def assign_analytic_profile_without_preload_content( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign.")], - servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO, + accessible_tenant_profile_assignment_request_dto: AccessibleTenantProfileAssignmentRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -217,8 +217,8 @@ def assign_analytic_profile_without_preload_content( :param profile_id: The ID of the profile to assign. (required) :type profile_id: str - :param servicing_accessible_tenant_profile_assignment_request_dto: (required) - :type servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO + :param accessible_tenant_profile_assignment_request_dto: (required) + :type accessible_tenant_profile_assignment_request_dto: AccessibleTenantProfileAssignmentRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -243,7 +243,7 @@ def assign_analytic_profile_without_preload_content( _param = self._assign_analytic_profile_serialize( profile_id=profile_id, - servicing_accessible_tenant_profile_assignment_request_dto=servicing_accessible_tenant_profile_assignment_request_dto, + accessible_tenant_profile_assignment_request_dto=accessible_tenant_profile_assignment_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -251,7 +251,7 @@ def assign_analytic_profile_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAccessibleTenantProfileAssignmentResponseDTO", + '200': "AccessibleTenantProfileAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -263,7 +263,7 @@ def assign_analytic_profile_without_preload_content( def _assign_analytic_profile_serialize( self, profile_id, - servicing_accessible_tenant_profile_assignment_request_dto, + accessible_tenant_profile_assignment_request_dto, _request_auth, _content_type, _headers, @@ -291,8 +291,8 @@ def _assign_analytic_profile_serialize( # process the header parameters # process the form parameters # process the body parameter - if servicing_accessible_tenant_profile_assignment_request_dto is not None: - _body_params = servicing_accessible_tenant_profile_assignment_request_dto + if accessible_tenant_profile_assignment_request_dto is not None: + _body_params = accessible_tenant_profile_assignment_request_dto # set the HTTP header `Accept` @@ -348,7 +348,7 @@ def _assign_analytic_profile_serialize( def assign_profile( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign to a list of users.")], - servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO, + local_tenant_profile_assignment_request_dto: LocalTenantProfileAssignmentRequestDTO, 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, _request_timeout: Union[ None, @@ -362,15 +362,15 @@ def assign_profile( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingLocalTenantProfileAssignmentResponseDTO: + ) -> LocalTenantProfileAssignmentResponseDTO: """Assign a profile to a list of users Assign a profile to a list of users. For administrating tenants, this assigns an administrating tenant profile to a list of users. :param profile_id: The ID of the profile to assign to a list of users. (required) :type profile_id: str - :param servicing_local_tenant_profile_assignment_request_dto: (required) - :type servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO + :param local_tenant_profile_assignment_request_dto: (required) + :type local_tenant_profile_assignment_request_dto: LocalTenantProfileAssignmentRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -397,7 +397,7 @@ def assign_profile( _param = self._assign_profile_serialize( profile_id=profile_id, - servicing_local_tenant_profile_assignment_request_dto=servicing_local_tenant_profile_assignment_request_dto, + local_tenant_profile_assignment_request_dto=local_tenant_profile_assignment_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -406,7 +406,7 @@ def assign_profile( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingLocalTenantProfileAssignmentResponseDTO", + '200': "LocalTenantProfileAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -423,7 +423,7 @@ def assign_profile( def assign_profile_with_http_info( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign to a list of users.")], - servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO, + local_tenant_profile_assignment_request_dto: LocalTenantProfileAssignmentRequestDTO, 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, _request_timeout: Union[ None, @@ -437,15 +437,15 @@ def assign_profile_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingLocalTenantProfileAssignmentResponseDTO]: + ) -> ApiResponse[LocalTenantProfileAssignmentResponseDTO]: """Assign a profile to a list of users Assign a profile to a list of users. For administrating tenants, this assigns an administrating tenant profile to a list of users. :param profile_id: The ID of the profile to assign to a list of users. (required) :type profile_id: str - :param servicing_local_tenant_profile_assignment_request_dto: (required) - :type servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO + :param local_tenant_profile_assignment_request_dto: (required) + :type local_tenant_profile_assignment_request_dto: LocalTenantProfileAssignmentRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -472,7 +472,7 @@ def assign_profile_with_http_info( _param = self._assign_profile_serialize( profile_id=profile_id, - servicing_local_tenant_profile_assignment_request_dto=servicing_local_tenant_profile_assignment_request_dto, + local_tenant_profile_assignment_request_dto=local_tenant_profile_assignment_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -481,7 +481,7 @@ def assign_profile_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingLocalTenantProfileAssignmentResponseDTO", + '200': "LocalTenantProfileAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -498,7 +498,7 @@ def assign_profile_with_http_info( def assign_profile_without_preload_content( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign to a list of users.")], - servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO, + local_tenant_profile_assignment_request_dto: LocalTenantProfileAssignmentRequestDTO, 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, _request_timeout: Union[ None, @@ -519,8 +519,8 @@ def assign_profile_without_preload_content( :param profile_id: The ID of the profile to assign to a list of users. (required) :type profile_id: str - :param servicing_local_tenant_profile_assignment_request_dto: (required) - :type servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO + :param local_tenant_profile_assignment_request_dto: (required) + :type local_tenant_profile_assignment_request_dto: LocalTenantProfileAssignmentRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -547,7 +547,7 @@ def assign_profile_without_preload_content( _param = self._assign_profile_serialize( profile_id=profile_id, - servicing_local_tenant_profile_assignment_request_dto=servicing_local_tenant_profile_assignment_request_dto, + local_tenant_profile_assignment_request_dto=local_tenant_profile_assignment_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -556,7 +556,7 @@ def assign_profile_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingLocalTenantProfileAssignmentResponseDTO", + '200': "LocalTenantProfileAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -568,7 +568,7 @@ def assign_profile_without_preload_content( def _assign_profile_serialize( self, profile_id, - servicing_local_tenant_profile_assignment_request_dto, + local_tenant_profile_assignment_request_dto, target_tenant_id, _request_auth, _content_type, @@ -599,8 +599,8 @@ def _assign_profile_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_local_tenant_profile_assignment_request_dto is not None: - _body_params = servicing_local_tenant_profile_assignment_request_dto + if local_tenant_profile_assignment_request_dto is not None: + _body_params = local_tenant_profile_assignment_request_dto # set the HTTP header `Accept` @@ -668,7 +668,7 @@ def get_all_profiles( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProfilesGetAPIResponseDTO: + ) -> ProfilesGetAPIResponseDTO: """Retrieve a list of all profiles Get a list of all available profiles. For administrating tenants, this retrieves all administrating tenant profiles. @@ -706,7 +706,7 @@ def get_all_profiles( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfilesGetAPIResponseDTO", + '200': "ProfilesGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -735,7 +735,7 @@ def get_all_profiles_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProfilesGetAPIResponseDTO]: + ) -> ApiResponse[ProfilesGetAPIResponseDTO]: """Retrieve a list of all profiles Get a list of all available profiles. For administrating tenants, this retrieves all administrating tenant profiles. @@ -773,7 +773,7 @@ def get_all_profiles_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfilesGetAPIResponseDTO", + '200': "ProfilesGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -840,7 +840,7 @@ def get_all_profiles_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfilesGetAPIResponseDTO", + '200': "ProfilesGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -933,7 +933,7 @@ def get_analytic_profile_detail( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProfileGetAPIResponseDTO: + ) -> ProfileGetAPIResponseDTO: """Retrieve the details of an analytic tenant profile Get the details of an analytic tenant profile. **Note:** Administrating tenants only. @@ -971,7 +971,7 @@ def get_analytic_profile_detail( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfileGetAPIResponseDTO", + '200': "ProfileGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1000,7 +1000,7 @@ def get_analytic_profile_detail_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProfileGetAPIResponseDTO]: + ) -> ApiResponse[ProfileGetAPIResponseDTO]: """Retrieve the details of an analytic tenant profile Get the details of an analytic tenant profile. **Note:** Administrating tenants only. @@ -1038,7 +1038,7 @@ def get_analytic_profile_detail_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfileGetAPIResponseDTO", + '200': "ProfileGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1105,7 +1105,7 @@ def get_analytic_profile_detail_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfileGetAPIResponseDTO", + '200': "ProfileGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1197,7 +1197,7 @@ def get_analytic_profiles( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProfilesGetAPIResponseDTO: + ) -> ProfilesGetAPIResponseDTO: """Retrieve a list of analytic tenant profiles Retrieve a list of profiles available for analytic tenants. **Note:** Administrating tenants only. @@ -1232,7 +1232,7 @@ def get_analytic_profiles( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfilesGetAPIResponseDTO", + '200': "ProfilesGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1260,7 +1260,7 @@ def get_analytic_profiles_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProfilesGetAPIResponseDTO]: + ) -> ApiResponse[ProfilesGetAPIResponseDTO]: """Retrieve a list of analytic tenant profiles Retrieve a list of profiles available for analytic tenants. **Note:** Administrating tenants only. @@ -1295,7 +1295,7 @@ def get_analytic_profiles_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfilesGetAPIResponseDTO", + '200': "ProfilesGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1358,7 +1358,7 @@ def get_analytic_profiles_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfilesGetAPIResponseDTO", + '200': "ProfilesGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1448,7 +1448,7 @@ def get_analytic_user_profile( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingAllProfileAssignedForAccessibleTenantDTO: + ) -> AllProfileAssignedForAccessibleTenantDTO: """Retrieve an administrating tenant user's analytic tenant profiles Retrieve a specified user's assigned profiles for analytic tenants. **Note:** Administrating tenants only. @@ -1486,7 +1486,7 @@ def get_analytic_user_profile( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllProfileAssignedForAccessibleTenantDTO", + '200': "AllProfileAssignedForAccessibleTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -1515,7 +1515,7 @@ def get_analytic_user_profile_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingAllProfileAssignedForAccessibleTenantDTO]: + ) -> ApiResponse[AllProfileAssignedForAccessibleTenantDTO]: """Retrieve an administrating tenant user's analytic tenant profiles Retrieve a specified user's assigned profiles for analytic tenants. **Note:** Administrating tenants only. @@ -1553,7 +1553,7 @@ def get_analytic_user_profile_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllProfileAssignedForAccessibleTenantDTO", + '200': "AllProfileAssignedForAccessibleTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -1620,7 +1620,7 @@ def get_analytic_user_profile_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllProfileAssignedForAccessibleTenantDTO", + '200': "AllProfileAssignedForAccessibleTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -1714,7 +1714,7 @@ def get_profile_detail( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProfileGetAPIResponseDTO: + ) -> ProfileGetAPIResponseDTO: """Retrieve the details of a profile Get the details of a specific profile. For administrating tenants, this retrieves the details of administrating tenant profiles. @@ -1755,7 +1755,7 @@ def get_profile_detail( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfileGetAPIResponseDTO", + '200': "ProfileGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1785,7 +1785,7 @@ def get_profile_detail_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProfileGetAPIResponseDTO]: + ) -> ApiResponse[ProfileGetAPIResponseDTO]: """Retrieve the details of a profile Get the details of a specific profile. For administrating tenants, this retrieves the details of administrating tenant profiles. @@ -1826,7 +1826,7 @@ def get_profile_detail_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfileGetAPIResponseDTO", + '200': "ProfileGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1897,7 +1897,7 @@ def get_profile_detail_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProfileGetAPIResponseDTO", + '200': "ProfileGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1994,7 +1994,7 @@ def get_user_profile( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingAllProfileAssignedForLocalTenantDTO: + ) -> AllProfileAssignedForLocalTenantDTO: """Retrieve a user's profiles Retrieve a specified user's assigned profiles. For administrating tenants, this retrieves a user's administrating tenant profiles. @@ -2035,7 +2035,7 @@ def get_user_profile( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllProfileAssignedForLocalTenantDTO", + '200': "AllProfileAssignedForLocalTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -2065,7 +2065,7 @@ def get_user_profile_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingAllProfileAssignedForLocalTenantDTO]: + ) -> ApiResponse[AllProfileAssignedForLocalTenantDTO]: """Retrieve a user's profiles Retrieve a specified user's assigned profiles. For administrating tenants, this retrieves a user's administrating tenant profiles. @@ -2106,7 +2106,7 @@ def get_user_profile_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllProfileAssignedForLocalTenantDTO", + '200': "AllProfileAssignedForLocalTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -2177,7 +2177,7 @@ def get_user_profile_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllProfileAssignedForLocalTenantDTO", + '200': "AllProfileAssignedForLocalTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -2261,7 +2261,7 @@ def _get_user_profile_serialize( def remove_analytic_profile( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove.")], - servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO, + accessible_tenant_profile_revoke_request_dto: AccessibleTenantProfileRevokeRequestDTO, 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, _request_timeout: Union[ None, @@ -2275,15 +2275,15 @@ def remove_analytic_profile( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingAccessibleTenantProfileRevokeResponseDTO: + ) -> AccessibleTenantProfileRevokeResponseDTO: """Remove an analytic tenant profile from administrating tenant users Remove an analytic tenant profile from a list of administrating tenant users for a list of analytic tenants. **Note:** Administrating tenants only. :param profile_id: The ID of the profile to remove. (required) :type profile_id: str - :param servicing_accessible_tenant_profile_revoke_request_dto: (required) - :type servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO + :param accessible_tenant_profile_revoke_request_dto: (required) + :type accessible_tenant_profile_revoke_request_dto: AccessibleTenantProfileRevokeRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2310,7 +2310,7 @@ def remove_analytic_profile( _param = self._remove_analytic_profile_serialize( profile_id=profile_id, - servicing_accessible_tenant_profile_revoke_request_dto=servicing_accessible_tenant_profile_revoke_request_dto, + accessible_tenant_profile_revoke_request_dto=accessible_tenant_profile_revoke_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2319,7 +2319,7 @@ def remove_analytic_profile( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAccessibleTenantProfileRevokeResponseDTO", + '200': "AccessibleTenantProfileRevokeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2336,7 +2336,7 @@ def remove_analytic_profile( def remove_analytic_profile_with_http_info( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove.")], - servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO, + accessible_tenant_profile_revoke_request_dto: AccessibleTenantProfileRevokeRequestDTO, 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, _request_timeout: Union[ None, @@ -2350,15 +2350,15 @@ def remove_analytic_profile_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingAccessibleTenantProfileRevokeResponseDTO]: + ) -> ApiResponse[AccessibleTenantProfileRevokeResponseDTO]: """Remove an analytic tenant profile from administrating tenant users Remove an analytic tenant profile from a list of administrating tenant users for a list of analytic tenants. **Note:** Administrating tenants only. :param profile_id: The ID of the profile to remove. (required) :type profile_id: str - :param servicing_accessible_tenant_profile_revoke_request_dto: (required) - :type servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO + :param accessible_tenant_profile_revoke_request_dto: (required) + :type accessible_tenant_profile_revoke_request_dto: AccessibleTenantProfileRevokeRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2385,7 +2385,7 @@ def remove_analytic_profile_with_http_info( _param = self._remove_analytic_profile_serialize( profile_id=profile_id, - servicing_accessible_tenant_profile_revoke_request_dto=servicing_accessible_tenant_profile_revoke_request_dto, + accessible_tenant_profile_revoke_request_dto=accessible_tenant_profile_revoke_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2394,7 +2394,7 @@ def remove_analytic_profile_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAccessibleTenantProfileRevokeResponseDTO", + '200': "AccessibleTenantProfileRevokeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2411,7 +2411,7 @@ def remove_analytic_profile_with_http_info( def remove_analytic_profile_without_preload_content( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove.")], - servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO, + accessible_tenant_profile_revoke_request_dto: AccessibleTenantProfileRevokeRequestDTO, 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, _request_timeout: Union[ None, @@ -2432,8 +2432,8 @@ def remove_analytic_profile_without_preload_content( :param profile_id: The ID of the profile to remove. (required) :type profile_id: str - :param servicing_accessible_tenant_profile_revoke_request_dto: (required) - :type servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO + :param accessible_tenant_profile_revoke_request_dto: (required) + :type accessible_tenant_profile_revoke_request_dto: AccessibleTenantProfileRevokeRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2460,7 +2460,7 @@ def remove_analytic_profile_without_preload_content( _param = self._remove_analytic_profile_serialize( profile_id=profile_id, - servicing_accessible_tenant_profile_revoke_request_dto=servicing_accessible_tenant_profile_revoke_request_dto, + accessible_tenant_profile_revoke_request_dto=accessible_tenant_profile_revoke_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2469,7 +2469,7 @@ def remove_analytic_profile_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAccessibleTenantProfileRevokeResponseDTO", + '200': "AccessibleTenantProfileRevokeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2481,7 +2481,7 @@ def remove_analytic_profile_without_preload_content( def _remove_analytic_profile_serialize( self, profile_id, - servicing_accessible_tenant_profile_revoke_request_dto, + accessible_tenant_profile_revoke_request_dto, target_tenant_id, _request_auth, _content_type, @@ -2512,8 +2512,8 @@ def _remove_analytic_profile_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_accessible_tenant_profile_revoke_request_dto is not None: - _body_params = servicing_accessible_tenant_profile_revoke_request_dto + if accessible_tenant_profile_revoke_request_dto is not None: + _body_params = accessible_tenant_profile_revoke_request_dto # set the HTTP header `Accept` @@ -2569,7 +2569,7 @@ def _remove_analytic_profile_serialize( def remove_profile( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove to a list of users.")], - servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO, + local_tenant_profile_revoke_request_dto: LocalTenantProfileRevokeRequestDTO, 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, _request_timeout: Union[ None, @@ -2583,15 +2583,15 @@ def remove_profile( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingLocalTenantProfileRevokeResponseDTO: + ) -> LocalTenantProfileRevokeResponseDTO: """Remove a profile from a list of users Remove a profile from a list of users. For administrating tenants, this removes an administrating tenant profile from a list of users. :param profile_id: The ID of the profile to remove to a list of users. (required) :type profile_id: str - :param servicing_local_tenant_profile_revoke_request_dto: (required) - :type servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO + :param local_tenant_profile_revoke_request_dto: (required) + :type local_tenant_profile_revoke_request_dto: LocalTenantProfileRevokeRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2618,7 +2618,7 @@ def remove_profile( _param = self._remove_profile_serialize( profile_id=profile_id, - servicing_local_tenant_profile_revoke_request_dto=servicing_local_tenant_profile_revoke_request_dto, + local_tenant_profile_revoke_request_dto=local_tenant_profile_revoke_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2627,7 +2627,7 @@ def remove_profile( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingLocalTenantProfileRevokeResponseDTO", + '200': "LocalTenantProfileRevokeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2644,7 +2644,7 @@ def remove_profile( def remove_profile_with_http_info( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove to a list of users.")], - servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO, + local_tenant_profile_revoke_request_dto: LocalTenantProfileRevokeRequestDTO, 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, _request_timeout: Union[ None, @@ -2658,15 +2658,15 @@ def remove_profile_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingLocalTenantProfileRevokeResponseDTO]: + ) -> ApiResponse[LocalTenantProfileRevokeResponseDTO]: """Remove a profile from a list of users Remove a profile from a list of users. For administrating tenants, this removes an administrating tenant profile from a list of users. :param profile_id: The ID of the profile to remove to a list of users. (required) :type profile_id: str - :param servicing_local_tenant_profile_revoke_request_dto: (required) - :type servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO + :param local_tenant_profile_revoke_request_dto: (required) + :type local_tenant_profile_revoke_request_dto: LocalTenantProfileRevokeRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2693,7 +2693,7 @@ def remove_profile_with_http_info( _param = self._remove_profile_serialize( profile_id=profile_id, - servicing_local_tenant_profile_revoke_request_dto=servicing_local_tenant_profile_revoke_request_dto, + local_tenant_profile_revoke_request_dto=local_tenant_profile_revoke_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2702,7 +2702,7 @@ def remove_profile_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingLocalTenantProfileRevokeResponseDTO", + '200': "LocalTenantProfileRevokeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2719,7 +2719,7 @@ def remove_profile_with_http_info( def remove_profile_without_preload_content( self, profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove to a list of users.")], - servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO, + local_tenant_profile_revoke_request_dto: LocalTenantProfileRevokeRequestDTO, 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, _request_timeout: Union[ None, @@ -2740,8 +2740,8 @@ def remove_profile_without_preload_content( :param profile_id: The ID of the profile to remove to a list of users. (required) :type profile_id: str - :param servicing_local_tenant_profile_revoke_request_dto: (required) - :type servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO + :param local_tenant_profile_revoke_request_dto: (required) + :type local_tenant_profile_revoke_request_dto: LocalTenantProfileRevokeRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2768,7 +2768,7 @@ def remove_profile_without_preload_content( _param = self._remove_profile_serialize( profile_id=profile_id, - servicing_local_tenant_profile_revoke_request_dto=servicing_local_tenant_profile_revoke_request_dto, + local_tenant_profile_revoke_request_dto=local_tenant_profile_revoke_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2777,7 +2777,7 @@ def remove_profile_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingLocalTenantProfileRevokeResponseDTO", + '200': "LocalTenantProfileRevokeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2789,7 +2789,7 @@ def remove_profile_without_preload_content( def _remove_profile_serialize( self, profile_id, - servicing_local_tenant_profile_revoke_request_dto, + local_tenant_profile_revoke_request_dto, target_tenant_id, _request_auth, _content_type, @@ -2820,8 +2820,8 @@ def _remove_profile_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_local_tenant_profile_revoke_request_dto is not None: - _body_params = servicing_local_tenant_profile_revoke_request_dto + if local_tenant_profile_revoke_request_dto is not None: + _body_params = local_tenant_profile_revoke_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/projects_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/projects_api.py index 9b7f5c7c0d..cd90d639d7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/projects_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/projects_api.py @@ -20,12 +20,12 @@ from pydantic import Field, StrictInt, StrictStr from typing import List, Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_put_project_commits_request import AdminPutProjectCommitsRequest -from visier_platform_sdk.models.servicing_get_projects_api_response_dto import ServicingGetProjectsAPIResponseDTO -from visier_platform_sdk.models.servicing_project_commits_api_response_dto import ServicingProjectCommitsAPIResponseDTO -from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO -from visier_platform_sdk.models.servicing_project_operation_request_dto import ServicingProjectOperationRequestDTO -from visier_platform_sdk.models.servicing_project_operation_response_dto import ServicingProjectOperationResponseDTO +from visier_platform_sdk.models.get_projects_api_response_dto import GetProjectsAPIResponseDTO +from visier_platform_sdk.models.project_commits_api_response_dto import ProjectCommitsAPIResponseDTO +from visier_platform_sdk.models.project_dto import ProjectDTO +from visier_platform_sdk.models.project_operation_request_dto import ProjectOperationRequestDTO +from visier_platform_sdk.models.project_operation_response_dto import ProjectOperationResponseDTO +from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -48,7 +48,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_project( self, - servicing_project_dto: ServicingProjectDTO, + project_dto: ProjectDTO, 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, _request_timeout: Union[ None, @@ -62,13 +62,13 @@ def create_project( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProjectDTO: + ) -> ProjectDTO: """Create a new draft project Create a new draft project in the tenant. - :param servicing_project_dto: (required) - :type servicing_project_dto: ServicingProjectDTO + :param project_dto: (required) + :type project_dto: ProjectDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -94,7 +94,7 @@ def create_project( """ # noqa: E501 _param = self._create_project_serialize( - servicing_project_dto=servicing_project_dto, + project_dto=project_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -103,7 +103,7 @@ def create_project( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -119,7 +119,7 @@ def create_project( @validate_call def create_project_with_http_info( self, - servicing_project_dto: ServicingProjectDTO, + project_dto: ProjectDTO, 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, _request_timeout: Union[ None, @@ -133,13 +133,13 @@ def create_project_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProjectDTO]: + ) -> ApiResponse[ProjectDTO]: """Create a new draft project Create a new draft project in the tenant. - :param servicing_project_dto: (required) - :type servicing_project_dto: ServicingProjectDTO + :param project_dto: (required) + :type project_dto: ProjectDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -165,7 +165,7 @@ def create_project_with_http_info( """ # noqa: E501 _param = self._create_project_serialize( - servicing_project_dto=servicing_project_dto, + project_dto=project_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -174,7 +174,7 @@ def create_project_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -190,7 +190,7 @@ def create_project_with_http_info( @validate_call def create_project_without_preload_content( self, - servicing_project_dto: ServicingProjectDTO, + project_dto: ProjectDTO, 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, _request_timeout: Union[ None, @@ -209,8 +209,8 @@ def create_project_without_preload_content( Create a new draft project in the tenant. - :param servicing_project_dto: (required) - :type servicing_project_dto: ServicingProjectDTO + :param project_dto: (required) + :type project_dto: ProjectDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -236,7 +236,7 @@ def create_project_without_preload_content( """ # noqa: E501 _param = self._create_project_serialize( - servicing_project_dto=servicing_project_dto, + project_dto=project_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -245,7 +245,7 @@ def create_project_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -256,7 +256,7 @@ def create_project_without_preload_content( def _create_project_serialize( self, - servicing_project_dto, + project_dto, target_tenant_id, _request_auth, _content_type, @@ -285,8 +285,8 @@ def _create_project_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_project_dto is not None: - _body_params = servicing_project_dto + if project_dto is not None: + _body_params = project_dto # set the HTTP header `Accept` @@ -355,7 +355,7 @@ def delete_project( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProjectDTO: + ) -> ProjectDTO: """Delete a draft project Delete a draft project in the tenant. The project will first be archived if applicable. @@ -396,7 +396,7 @@ def delete_project( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -426,7 +426,7 @@ def delete_project_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProjectDTO]: + ) -> ApiResponse[ProjectDTO]: """Delete a draft project Delete a draft project in the tenant. The project will first be archived if applicable. @@ -467,7 +467,7 @@ def delete_project_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -538,7 +538,7 @@ def delete_project_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -635,7 +635,7 @@ def get_project( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProjectDTO: + ) -> ProjectDTO: """Retrieve a draft project's information Retrieve the details of an accessible draft project. You must know the ID of the project to retrieve its details. To retrieve draft project IDs, see `GET /v1/admin/projects`. A project is accessible if it is owned by the user or shared to the user. @@ -676,7 +676,7 @@ def get_project( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -706,7 +706,7 @@ def get_project_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProjectDTO]: + ) -> ApiResponse[ProjectDTO]: """Retrieve a draft project's information Retrieve the details of an accessible draft project. You must know the ID of the project to retrieve its details. To retrieve draft project IDs, see `GET /v1/admin/projects`. A project is accessible if it is owned by the user or shared to the user. @@ -747,7 +747,7 @@ def get_project_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -818,7 +818,7 @@ def get_project_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectDTO", + '200': "ProjectDTO", } response_data = self.api_client.call_api( *_param, @@ -917,7 +917,7 @@ def get_project_commits( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProjectCommitsAPIResponseDTO: + ) -> ProjectCommitsAPIResponseDTO: """Retrieve a list of all committed changes in a project Retrieve the full list of all committed changes in a project. @@ -964,7 +964,7 @@ def get_project_commits( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectCommitsAPIResponseDTO", + '200': "ProjectCommitsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -996,7 +996,7 @@ def get_project_commits_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProjectCommitsAPIResponseDTO]: + ) -> ApiResponse[ProjectCommitsAPIResponseDTO]: """Retrieve a list of all committed changes in a project Retrieve the full list of all committed changes in a project. @@ -1043,7 +1043,7 @@ def get_project_commits_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectCommitsAPIResponseDTO", + '200': "ProjectCommitsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1122,7 +1122,7 @@ def get_project_commits_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectCommitsAPIResponseDTO", + '200': "ProjectCommitsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1230,7 +1230,7 @@ def get_projects( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingGetProjectsAPIResponseDTO: + ) -> GetProjectsAPIResponseDTO: """Retrieve a list of draft projects accessible to the user Get a list of draft projects accessible to the requesting user in the tenant. A project is accessible if it is owned by the user or shared to the user. @@ -1274,7 +1274,7 @@ def get_projects( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetProjectsAPIResponseDTO", + '200': "GetProjectsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1305,7 +1305,7 @@ def get_projects_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingGetProjectsAPIResponseDTO]: + ) -> ApiResponse[GetProjectsAPIResponseDTO]: """Retrieve a list of draft projects accessible to the user Get a list of draft projects accessible to the requesting user in the tenant. A project is accessible if it is owned by the user or shared to the user. @@ -1349,7 +1349,7 @@ def get_projects_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetProjectsAPIResponseDTO", + '200': "GetProjectsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1424,7 +1424,7 @@ def get_projects_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingGetProjectsAPIResponseDTO", + '200': "GetProjectsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1516,7 +1516,7 @@ def _get_projects_serialize( def put_project_commits( self, project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")], - admin_put_project_commits_request: AdminPutProjectCommitsRequest, + put_project_commits_request: PutProjectCommitsRequest, 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, _request_timeout: Union[ None, @@ -1530,15 +1530,15 @@ def put_project_commits( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProjectCommitsAPIResponseDTO: + ) -> ProjectCommitsAPIResponseDTO: """Import committed changes into a project Import a ZIP file that contains a list of committed changes into a draft project. The file must be an export from `POST /v1/admin/production-versions`. Use this API after making changes in a development environment to copy the changes to a draft project in your production environment. :param project_id: The unique identifier of the draft project you want to import committed changes into. (required) :type project_id: str - :param admin_put_project_commits_request: (required) - :type admin_put_project_commits_request: AdminPutProjectCommitsRequest + :param put_project_commits_request: (required) + :type put_project_commits_request: PutProjectCommitsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1565,7 +1565,7 @@ def put_project_commits( _param = self._put_project_commits_serialize( project_id=project_id, - admin_put_project_commits_request=admin_put_project_commits_request, + put_project_commits_request=put_project_commits_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1574,7 +1574,7 @@ def put_project_commits( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectCommitsAPIResponseDTO", + '200': "ProjectCommitsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1591,7 +1591,7 @@ def put_project_commits( def put_project_commits_with_http_info( self, project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")], - admin_put_project_commits_request: AdminPutProjectCommitsRequest, + put_project_commits_request: PutProjectCommitsRequest, 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, _request_timeout: Union[ None, @@ -1605,15 +1605,15 @@ def put_project_commits_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProjectCommitsAPIResponseDTO]: + ) -> ApiResponse[ProjectCommitsAPIResponseDTO]: """Import committed changes into a project Import a ZIP file that contains a list of committed changes into a draft project. The file must be an export from `POST /v1/admin/production-versions`. Use this API after making changes in a development environment to copy the changes to a draft project in your production environment. :param project_id: The unique identifier of the draft project you want to import committed changes into. (required) :type project_id: str - :param admin_put_project_commits_request: (required) - :type admin_put_project_commits_request: AdminPutProjectCommitsRequest + :param put_project_commits_request: (required) + :type put_project_commits_request: PutProjectCommitsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1640,7 +1640,7 @@ def put_project_commits_with_http_info( _param = self._put_project_commits_serialize( project_id=project_id, - admin_put_project_commits_request=admin_put_project_commits_request, + put_project_commits_request=put_project_commits_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1649,7 +1649,7 @@ def put_project_commits_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectCommitsAPIResponseDTO", + '200': "ProjectCommitsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1666,7 +1666,7 @@ def put_project_commits_with_http_info( def put_project_commits_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")], - admin_put_project_commits_request: AdminPutProjectCommitsRequest, + put_project_commits_request: PutProjectCommitsRequest, 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, _request_timeout: Union[ None, @@ -1687,8 +1687,8 @@ def put_project_commits_without_preload_content( :param project_id: The unique identifier of the draft project you want to import committed changes into. (required) :type project_id: str - :param admin_put_project_commits_request: (required) - :type admin_put_project_commits_request: AdminPutProjectCommitsRequest + :param put_project_commits_request: (required) + :type put_project_commits_request: PutProjectCommitsRequest :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1715,7 +1715,7 @@ def put_project_commits_without_preload_content( _param = self._put_project_commits_serialize( project_id=project_id, - admin_put_project_commits_request=admin_put_project_commits_request, + put_project_commits_request=put_project_commits_request, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1724,7 +1724,7 @@ def put_project_commits_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectCommitsAPIResponseDTO", + '200': "ProjectCommitsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1736,7 +1736,7 @@ def put_project_commits_without_preload_content( def _put_project_commits_serialize( self, project_id, - admin_put_project_commits_request, + put_project_commits_request, target_tenant_id, _request_auth, _content_type, @@ -1767,8 +1767,8 @@ def _put_project_commits_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_put_project_commits_request is not None: - _body_params = admin_put_project_commits_request + if put_project_commits_request is not None: + _body_params = put_project_commits_request # set the HTTP header `Accept` @@ -1824,7 +1824,7 @@ def _put_project_commits_serialize( def run_project_operation( self, project_id: StrictStr, - servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO, + project_operation_request_dto: ProjectOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -1838,15 +1838,15 @@ def run_project_operation( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingProjectOperationResponseDTO: + ) -> ProjectOperationResponseDTO: """Perform an operation on a draft project Perform operations on a draft project. The following operations are supported: * `commitAndPublish`: Commits project changes and publishes the project to production. :param project_id: (required) :type project_id: str - :param servicing_project_operation_request_dto: (required) - :type servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO + :param project_operation_request_dto: (required) + :type project_operation_request_dto: ProjectOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1873,7 +1873,7 @@ def run_project_operation( _param = self._run_project_operation_serialize( project_id=project_id, - servicing_project_operation_request_dto=servicing_project_operation_request_dto, + project_operation_request_dto=project_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1882,7 +1882,7 @@ def run_project_operation( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectOperationResponseDTO", + '200': "ProjectOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1899,7 +1899,7 @@ def run_project_operation( def run_project_operation_with_http_info( self, project_id: StrictStr, - servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO, + project_operation_request_dto: ProjectOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -1913,15 +1913,15 @@ def run_project_operation_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingProjectOperationResponseDTO]: + ) -> ApiResponse[ProjectOperationResponseDTO]: """Perform an operation on a draft project Perform operations on a draft project. The following operations are supported: * `commitAndPublish`: Commits project changes and publishes the project to production. :param project_id: (required) :type project_id: str - :param servicing_project_operation_request_dto: (required) - :type servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO + :param project_operation_request_dto: (required) + :type project_operation_request_dto: ProjectOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1948,7 +1948,7 @@ def run_project_operation_with_http_info( _param = self._run_project_operation_serialize( project_id=project_id, - servicing_project_operation_request_dto=servicing_project_operation_request_dto, + project_operation_request_dto=project_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1957,7 +1957,7 @@ def run_project_operation_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectOperationResponseDTO", + '200': "ProjectOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1974,7 +1974,7 @@ def run_project_operation_with_http_info( def run_project_operation_without_preload_content( self, project_id: StrictStr, - servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO, + project_operation_request_dto: ProjectOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -1995,8 +1995,8 @@ def run_project_operation_without_preload_content( :param project_id: (required) :type project_id: str - :param servicing_project_operation_request_dto: (required) - :type servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO + :param project_operation_request_dto: (required) + :type project_operation_request_dto: ProjectOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2023,7 +2023,7 @@ def run_project_operation_without_preload_content( _param = self._run_project_operation_serialize( project_id=project_id, - servicing_project_operation_request_dto=servicing_project_operation_request_dto, + project_operation_request_dto=project_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2032,7 +2032,7 @@ def run_project_operation_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingProjectOperationResponseDTO", + '200': "ProjectOperationResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2044,7 +2044,7 @@ def run_project_operation_without_preload_content( def _run_project_operation_serialize( self, project_id, - servicing_project_operation_request_dto, + project_operation_request_dto, target_tenant_id, _request_auth, _content_type, @@ -2075,8 +2075,8 @@ def _run_project_operation_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_project_operation_request_dto is not None: - _body_params = servicing_project_operation_request_dto + if project_operation_request_dto is not None: + _body_params = project_operation_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/release_version_configuration_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/release_version_configuration_api.py index 729db887b6..1b2a50c35f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/release_version_configuration_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/release_version_configuration_api.py @@ -20,9 +20,9 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_product_releases_dto import AdminProductReleasesDTO -from visier_platform_sdk.models.admin_product_versions_dto import AdminProductVersionsDTO -from visier_platform_sdk.models.admin_product_versions_update_response_dto import AdminProductVersionsUpdateResponseDTO +from visier_platform_sdk.models.product_releases_dto import ProductReleasesDTO +from visier_platform_sdk.models.product_versions_dto import ProductVersionsDTO +from visier_platform_sdk.models.product_versions_update_response_dto import ProductVersionsUpdateResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -57,7 +57,7 @@ def get_available_releases( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminProductReleasesDTO: + ) -> ProductReleasesDTO: """Retrieve available product releases Retrieve a list of release versions available for each product. The response returns information such as the unique ID of the product, the latest release version, and when the latest release version of the product will automatically be activated. Sometimes, the previous and latest versions are the same.
**Note:** 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). @@ -92,7 +92,7 @@ def get_available_releases( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductReleasesDTO", + '200': "ProductReleasesDTO", } response_data = self.api_client.call_api( *_param, @@ -120,7 +120,7 @@ def get_available_releases_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminProductReleasesDTO]: + ) -> ApiResponse[ProductReleasesDTO]: """Retrieve available product releases Retrieve a list of release versions available for each product. The response returns information such as the unique ID of the product, the latest release version, and when the latest release version of the product will automatically be activated. Sometimes, the previous and latest versions are the same.
**Note:** 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). @@ -155,7 +155,7 @@ def get_available_releases_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductReleasesDTO", + '200': "ProductReleasesDTO", } response_data = self.api_client.call_api( *_param, @@ -218,7 +218,7 @@ def get_available_releases_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductReleasesDTO", + '200': "ProductReleasesDTO", } response_data = self.api_client.call_api( *_param, @@ -308,7 +308,7 @@ def get_release_versions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminProductVersionsDTO: + ) -> ProductVersionsDTO: """Retrieve active product release versions Retrieve the currently active product release versions for a tenant.
**Note:** 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). @@ -346,7 +346,7 @@ def get_release_versions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductVersionsDTO", + '200': "ProductVersionsDTO", } response_data = self.api_client.call_api( *_param, @@ -375,7 +375,7 @@ def get_release_versions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminProductVersionsDTO]: + ) -> ApiResponse[ProductVersionsDTO]: """Retrieve active product release versions Retrieve the currently active product release versions for a tenant.
**Note:** 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). @@ -413,7 +413,7 @@ def get_release_versions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductVersionsDTO", + '200': "ProductVersionsDTO", } response_data = self.api_client.call_api( *_param, @@ -480,7 +480,7 @@ def get_release_versions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductVersionsDTO", + '200': "ProductVersionsDTO", } response_data = self.api_client.call_api( *_param, @@ -560,7 +560,7 @@ def _get_release_versions_serialize( @validate_call def set_release_versions( self, - admin_product_versions_dto: AdminProductVersionsDTO, + product_versions_dto: ProductVersionsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -573,13 +573,13 @@ def set_release_versions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminProductVersionsUpdateResponseDTO: + ) -> ProductVersionsUpdateResponseDTO: """Activate product release versions Set the product release version to activate it on the selected tenants. Analytic tenants will automatically inherit the release version from the administrating tenant. You cannot rollback to a previous version.
**Note:** 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). - :param admin_product_versions_dto: (required) - :type admin_product_versions_dto: AdminProductVersionsDTO + :param product_versions_dto: (required) + :type product_versions_dto: ProductVersionsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -603,7 +603,7 @@ def set_release_versions( """ # noqa: E501 _param = self._set_release_versions_serialize( - admin_product_versions_dto=admin_product_versions_dto, + product_versions_dto=product_versions_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -611,7 +611,7 @@ def set_release_versions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductVersionsUpdateResponseDTO", + '200': "ProductVersionsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -627,7 +627,7 @@ def set_release_versions( @validate_call def set_release_versions_with_http_info( self, - admin_product_versions_dto: AdminProductVersionsDTO, + product_versions_dto: ProductVersionsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -640,13 +640,13 @@ def set_release_versions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminProductVersionsUpdateResponseDTO]: + ) -> ApiResponse[ProductVersionsUpdateResponseDTO]: """Activate product release versions Set the product release version to activate it on the selected tenants. Analytic tenants will automatically inherit the release version from the administrating tenant. You cannot rollback to a previous version.
**Note:** 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). - :param admin_product_versions_dto: (required) - :type admin_product_versions_dto: AdminProductVersionsDTO + :param product_versions_dto: (required) + :type product_versions_dto: ProductVersionsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -670,7 +670,7 @@ def set_release_versions_with_http_info( """ # noqa: E501 _param = self._set_release_versions_serialize( - admin_product_versions_dto=admin_product_versions_dto, + product_versions_dto=product_versions_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -678,7 +678,7 @@ def set_release_versions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductVersionsUpdateResponseDTO", + '200': "ProductVersionsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -694,7 +694,7 @@ def set_release_versions_with_http_info( @validate_call def set_release_versions_without_preload_content( self, - admin_product_versions_dto: AdminProductVersionsDTO, + product_versions_dto: ProductVersionsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -712,8 +712,8 @@ def set_release_versions_without_preload_content( Set the product release version to activate it on the selected tenants. Analytic tenants will automatically inherit the release version from the administrating tenant. You cannot rollback to a previous version.
**Note:** 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). - :param admin_product_versions_dto: (required) - :type admin_product_versions_dto: AdminProductVersionsDTO + :param product_versions_dto: (required) + :type product_versions_dto: ProductVersionsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -737,7 +737,7 @@ def set_release_versions_without_preload_content( """ # noqa: E501 _param = self._set_release_versions_serialize( - admin_product_versions_dto=admin_product_versions_dto, + product_versions_dto=product_versions_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -745,7 +745,7 @@ def set_release_versions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminProductVersionsUpdateResponseDTO", + '200': "ProductVersionsUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -756,7 +756,7 @@ def set_release_versions_without_preload_content( def _set_release_versions_serialize( self, - admin_product_versions_dto, + product_versions_dto, _request_auth, _content_type, _headers, @@ -782,8 +782,8 @@ def _set_release_versions_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_product_versions_dto is not None: - _body_params = admin_product_versions_dto + if product_versions_dto is not None: + _body_params = product_versions_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/reporting_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/reporting_api.py index ee6c2d6ae2..95ff11563c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/reporting_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/reporting_api.py @@ -20,10 +20,10 @@ from pydantic import Field, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.analysis_common_report_create_request_dto import AnalysisCommonReportCreateRequestDTO -from visier_platform_sdk.models.analysis_common_report_dto import AnalysisCommonReportDTO -from visier_platform_sdk.models.analysis_common_report_delete_success_dto import AnalysisCommonReportDeleteSuccessDTO -from visier_platform_sdk.models.analysis_common_report_list_response_dto import AnalysisCommonReportListResponseDTO +from visier_platform_sdk.models.report_create_request_dto import ReportCreateRequestDTO +from visier_platform_sdk.models.report_dto import ReportDTO +from visier_platform_sdk.models.report_delete_success_dto import ReportDeleteSuccessDTO +from visier_platform_sdk.models.report_list_response_dto import ReportListResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -46,7 +46,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_report( self, - analysis_common_report_create_request_dto: AnalysisCommonReportCreateRequestDTO, + report_create_request_dto: ReportCreateRequestDTO, 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, _request_timeout: Union[ None, @@ -60,13 +60,13 @@ def create_report( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AnalysisCommonReportDTO: + ) -> ReportDTO: """Create a report Create a new report with a title and description. To edit other contents of the report, such as columns and group bys, navigate to the Reports room in Visier.
**Note:** 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). - :param analysis_common_report_create_request_dto: (required) - :type analysis_common_report_create_request_dto: AnalysisCommonReportCreateRequestDTO + :param report_create_request_dto: (required) + :type report_create_request_dto: ReportCreateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -92,7 +92,7 @@ def create_report( """ # noqa: E501 _param = self._create_report_serialize( - analysis_common_report_create_request_dto=analysis_common_report_create_request_dto, + report_create_request_dto=report_create_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -101,7 +101,7 @@ def create_report( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -117,7 +117,7 @@ def create_report( @validate_call def create_report_with_http_info( self, - analysis_common_report_create_request_dto: AnalysisCommonReportCreateRequestDTO, + report_create_request_dto: ReportCreateRequestDTO, 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, _request_timeout: Union[ None, @@ -131,13 +131,13 @@ def create_report_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AnalysisCommonReportDTO]: + ) -> ApiResponse[ReportDTO]: """Create a report Create a new report with a title and description. To edit other contents of the report, such as columns and group bys, navigate to the Reports room in Visier.
**Note:** 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). - :param analysis_common_report_create_request_dto: (required) - :type analysis_common_report_create_request_dto: AnalysisCommonReportCreateRequestDTO + :param report_create_request_dto: (required) + :type report_create_request_dto: ReportCreateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -163,7 +163,7 @@ def create_report_with_http_info( """ # noqa: E501 _param = self._create_report_serialize( - analysis_common_report_create_request_dto=analysis_common_report_create_request_dto, + report_create_request_dto=report_create_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -172,7 +172,7 @@ def create_report_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -188,7 +188,7 @@ def create_report_with_http_info( @validate_call def create_report_without_preload_content( self, - analysis_common_report_create_request_dto: AnalysisCommonReportCreateRequestDTO, + report_create_request_dto: ReportCreateRequestDTO, 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, _request_timeout: Union[ None, @@ -207,8 +207,8 @@ def create_report_without_preload_content( Create a new report with a title and description. To edit other contents of the report, such as columns and group bys, navigate to the Reports room in Visier.
**Note:** 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). - :param analysis_common_report_create_request_dto: (required) - :type analysis_common_report_create_request_dto: AnalysisCommonReportCreateRequestDTO + :param report_create_request_dto: (required) + :type report_create_request_dto: ReportCreateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -234,7 +234,7 @@ def create_report_without_preload_content( """ # noqa: E501 _param = self._create_report_serialize( - analysis_common_report_create_request_dto=analysis_common_report_create_request_dto, + report_create_request_dto=report_create_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -243,7 +243,7 @@ def create_report_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -254,7 +254,7 @@ def create_report_without_preload_content( def _create_report_serialize( self, - analysis_common_report_create_request_dto, + report_create_request_dto, target_tenant_id, _request_auth, _content_type, @@ -283,8 +283,8 @@ def _create_report_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if analysis_common_report_create_request_dto is not None: - _body_params = analysis_common_report_create_request_dto + if report_create_request_dto is not None: + _body_params = report_create_request_dto # set the HTTP header `Accept` @@ -353,7 +353,7 @@ def delete_report( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AnalysisCommonReportDeleteSuccessDTO: + ) -> ReportDeleteSuccessDTO: """Delete a report Delete a report in the tenant. You must know the ID of the report to delete it. To retrieve report IDs, see `GET /v1alpha/reporting/reports`.
**Note:** 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). @@ -394,7 +394,7 @@ def delete_report( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDeleteSuccessDTO", + '200': "ReportDeleteSuccessDTO", } response_data = self.api_client.call_api( *_param, @@ -424,7 +424,7 @@ def delete_report_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AnalysisCommonReportDeleteSuccessDTO]: + ) -> ApiResponse[ReportDeleteSuccessDTO]: """Delete a report Delete a report in the tenant. You must know the ID of the report to delete it. To retrieve report IDs, see `GET /v1alpha/reporting/reports`.
**Note:** 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). @@ -465,7 +465,7 @@ def delete_report_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDeleteSuccessDTO", + '200': "ReportDeleteSuccessDTO", } response_data = self.api_client.call_api( *_param, @@ -536,7 +536,7 @@ def delete_report_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDeleteSuccessDTO", + '200': "ReportDeleteSuccessDTO", } response_data = self.api_client.call_api( *_param, @@ -915,7 +915,7 @@ def duplicate_report( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AnalysisCommonReportDTO: + ) -> ReportDTO: """Duplicate a report Make a copy of an existing report. You must know the ID of the report to copy it. To retrieve report IDs, see `GET /v1alpha/reporting/reports`.
**Note:** 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). @@ -956,7 +956,7 @@ def duplicate_report( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -986,7 +986,7 @@ def duplicate_report_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AnalysisCommonReportDTO]: + ) -> ApiResponse[ReportDTO]: """Duplicate a report Make a copy of an existing report. You must know the ID of the report to copy it. To retrieve report IDs, see `GET /v1alpha/reporting/reports`.
**Note:** 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). @@ -1027,7 +1027,7 @@ def duplicate_report_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -1098,7 +1098,7 @@ def duplicate_report_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -1195,7 +1195,7 @@ def get_report( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AnalysisCommonReportDTO: + ) -> ReportDTO: """Retrieve a report's details Retrieve the details of a specific report. The response returns information such as title, description, owner, and the allowed actions you can take on the report. You must know the ID of the report to retrieve its details. To retrieve report IDs, see `GET /v1alpha/reporting/reports`.
**Note:** 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). @@ -1236,7 +1236,7 @@ def get_report( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -1266,7 +1266,7 @@ def get_report_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AnalysisCommonReportDTO]: + ) -> ApiResponse[ReportDTO]: """Retrieve a report's details Retrieve the details of a specific report. The response returns information such as title, description, owner, and the allowed actions you can take on the report. You must know the ID of the report to retrieve its details. To retrieve report IDs, see `GET /v1alpha/reporting/reports`.
**Note:** 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). @@ -1307,7 +1307,7 @@ def get_report_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -1378,7 +1378,7 @@ def get_report_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportDTO", + '200': "ReportDTO", } response_data = self.api_client.call_api( *_param, @@ -1476,7 +1476,7 @@ def get_reports( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AnalysisCommonReportListResponseDTO: + ) -> ReportListResponseDTO: """Retrieve a list of reports Retrieve a list of reports. The response returns information such as the unique ID, title, description, owner, and the allowed actions you can take on the report.
**Note:** 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). @@ -1520,7 +1520,7 @@ def get_reports( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportListResponseDTO", + '200': "ReportListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1551,7 +1551,7 @@ def get_reports_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AnalysisCommonReportListResponseDTO]: + ) -> ApiResponse[ReportListResponseDTO]: """Retrieve a list of reports Retrieve a list of reports. The response returns information such as the unique ID, title, description, owner, and the allowed actions you can take on the report.
**Note:** 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). @@ -1595,7 +1595,7 @@ def get_reports_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportListResponseDTO", + '200': "ReportListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1670,7 +1670,7 @@ def get_reports_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonReportListResponseDTO", + '200': "ReportListResponseDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/search_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/search_api.py index 7a2002cf18..0a7aac97d3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/search_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/search_api.py @@ -20,7 +20,7 @@ from pydantic import Field, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.servicing_simple_document_header_search_response_dto import ServicingSimpleDocumentHeaderSearchResponseDTO +from visier_platform_sdk.models.simple_document_header_search_response_dto import SimpleDocumentHeaderSearchResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -59,7 +59,7 @@ def simple_search_document_headers( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingSimpleDocumentHeaderSearchResponseDTO: + ) -> SimpleDocumentHeaderSearchResponseDTO: """Perform a simple search for Visier document headers Perform a simple search for Visier document headers, such as analysis titles. Simple search doesn't support keywords, Boolean expressions, or any other advanced search features. Example: `GET /v1alpha/search/simple/document-headers?q=My+Query&limit=10` returns the first 10 document headers that best match the query string `My Query`.
**Note:** 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). @@ -106,7 +106,7 @@ def simple_search_document_headers( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSimpleDocumentHeaderSearchResponseDTO", + '200': "SimpleDocumentHeaderSearchResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -138,7 +138,7 @@ def simple_search_document_headers_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingSimpleDocumentHeaderSearchResponseDTO]: + ) -> ApiResponse[SimpleDocumentHeaderSearchResponseDTO]: """Perform a simple search for Visier document headers Perform a simple search for Visier document headers, such as analysis titles. Simple search doesn't support keywords, Boolean expressions, or any other advanced search features. Example: `GET /v1alpha/search/simple/document-headers?q=My+Query&limit=10` returns the first 10 document headers that best match the query string `My Query`.
**Note:** 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). @@ -185,7 +185,7 @@ def simple_search_document_headers_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSimpleDocumentHeaderSearchResponseDTO", + '200': "SimpleDocumentHeaderSearchResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -264,7 +264,7 @@ def simple_search_document_headers_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingSimpleDocumentHeaderSearchResponseDTO", + '200': "SimpleDocumentHeaderSearchResponseDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/source_files_download_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/source_files_download_api.py index bddbae9501..33b08ed51a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/source_files_download_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/source_files_download_api.py @@ -20,8 +20,8 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.designer_download_source_files_dto import DesignerDownloadSourceFilesDTO -from visier_platform_sdk.models.designer_download_source_files_response_dto import DesignerDownloadSourceFilesResponseDTO +from visier_platform_sdk.models.download_source_files_dto import DownloadSourceFilesDTO +from visier_platform_sdk.models.download_source_files_response_dto import DownloadSourceFilesResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -44,7 +44,7 @@ def __init__(self, api_client=None) -> None: @validate_call def download_source_files( self, - designer_download_source_files_dto: DesignerDownloadSourceFilesDTO, + download_source_files_dto: DownloadSourceFilesDTO, 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, _request_timeout: Union[ None, @@ -58,13 +58,13 @@ def download_source_files( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerDownloadSourceFilesResponseDTO: + ) -> DownloadSourceFilesResponseDTO: """Download source files Download a tenant's source files. You can download all included source files or specify a list of sources to download. Use object names or unique identifiers to specify the list of sources. Excluded source files will not be downloaded. If `minTimestamp` and `maxTimestamp` are defined, downloads the source files uploaded within the specified time range for all sources or the specified sources. Administrating tenants can specify the tenant from which to download sources using the `TargetTenantID` header. **Note:** 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). - :param designer_download_source_files_dto: (required) - :type designer_download_source_files_dto: DesignerDownloadSourceFilesDTO + :param download_source_files_dto: (required) + :type download_source_files_dto: DownloadSourceFilesDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -90,7 +90,7 @@ def download_source_files( """ # noqa: E501 _param = self._download_source_files_serialize( - designer_download_source_files_dto=designer_download_source_files_dto, + download_source_files_dto=download_source_files_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -99,7 +99,7 @@ def download_source_files( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDownloadSourceFilesResponseDTO", + '200': "DownloadSourceFilesResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -115,7 +115,7 @@ def download_source_files( @validate_call def download_source_files_with_http_info( self, - designer_download_source_files_dto: DesignerDownloadSourceFilesDTO, + download_source_files_dto: DownloadSourceFilesDTO, 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, _request_timeout: Union[ None, @@ -129,13 +129,13 @@ def download_source_files_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerDownloadSourceFilesResponseDTO]: + ) -> ApiResponse[DownloadSourceFilesResponseDTO]: """Download source files Download a tenant's source files. You can download all included source files or specify a list of sources to download. Use object names or unique identifiers to specify the list of sources. Excluded source files will not be downloaded. If `minTimestamp` and `maxTimestamp` are defined, downloads the source files uploaded within the specified time range for all sources or the specified sources. Administrating tenants can specify the tenant from which to download sources using the `TargetTenantID` header. **Note:** 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). - :param designer_download_source_files_dto: (required) - :type designer_download_source_files_dto: DesignerDownloadSourceFilesDTO + :param download_source_files_dto: (required) + :type download_source_files_dto: DownloadSourceFilesDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -161,7 +161,7 @@ def download_source_files_with_http_info( """ # noqa: E501 _param = self._download_source_files_serialize( - designer_download_source_files_dto=designer_download_source_files_dto, + download_source_files_dto=download_source_files_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -170,7 +170,7 @@ def download_source_files_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDownloadSourceFilesResponseDTO", + '200': "DownloadSourceFilesResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -186,7 +186,7 @@ def download_source_files_with_http_info( @validate_call def download_source_files_without_preload_content( self, - designer_download_source_files_dto: DesignerDownloadSourceFilesDTO, + download_source_files_dto: DownloadSourceFilesDTO, 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, _request_timeout: Union[ None, @@ -205,8 +205,8 @@ def download_source_files_without_preload_content( Download a tenant's source files. You can download all included source files or specify a list of sources to download. Use object names or unique identifiers to specify the list of sources. Excluded source files will not be downloaded. If `minTimestamp` and `maxTimestamp` are defined, downloads the source files uploaded within the specified time range for all sources or the specified sources. Administrating tenants can specify the tenant from which to download sources using the `TargetTenantID` header. **Note:** 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). - :param designer_download_source_files_dto: (required) - :type designer_download_source_files_dto: DesignerDownloadSourceFilesDTO + :param download_source_files_dto: (required) + :type download_source_files_dto: DownloadSourceFilesDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -232,7 +232,7 @@ def download_source_files_without_preload_content( """ # noqa: E501 _param = self._download_source_files_serialize( - designer_download_source_files_dto=designer_download_source_files_dto, + download_source_files_dto=download_source_files_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -241,7 +241,7 @@ def download_source_files_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerDownloadSourceFilesResponseDTO", + '200': "DownloadSourceFilesResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -252,7 +252,7 @@ def download_source_files_without_preload_content( def _download_source_files_serialize( self, - designer_download_source_files_dto, + download_source_files_dto, target_tenant_id, _request_auth, _content_type, @@ -281,8 +281,8 @@ def _download_source_files_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if designer_download_source_files_dto is not None: - _body_params = designer_download_source_files_dto + if download_source_files_dto is not None: + _body_params = download_source_files_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/sources_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/sources_api.py index e76e1a37aa..69db80043f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/sources_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/sources_api.py @@ -20,7 +20,7 @@ from pydantic import Field, StrictBool, StrictBytes, StrictStr from typing import Any, Dict, Optional, Tuple, Union from typing_extensions import Annotated -from visier_platform_sdk.models.servicing_sources_api_operation_request_dto import ServicingSourcesAPIOperationRequestDTO +from visier_platform_sdk.models.sources_api_operation_request_dto import SourcesAPIOperationRequestDTO from visier_platform_sdk.models.sources_api_put_response_dto import SourcesAPIPutResponseDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized @@ -362,7 +362,7 @@ def _put_sources_serialize( @validate_call def run_sources_operation( self, - servicing_sources_api_operation_request_dto: ServicingSourcesAPIOperationRequestDTO, + sources_api_operation_request_dto: SourcesAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -381,8 +381,8 @@ def run_sources_operation( Perform operations on all sources. The following operations are supported: * `exportSources`: Export a ZIP file that contains a list of all sources in the application. * `cloneFilesIntoSource`: Clone a source's files into a different source.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param servicing_sources_api_operation_request_dto: (required) - :type servicing_sources_api_operation_request_dto: ServicingSourcesAPIOperationRequestDTO + :param sources_api_operation_request_dto: (required) + :type sources_api_operation_request_dto: SourcesAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -408,7 +408,7 @@ def run_sources_operation( """ # noqa: E501 _param = self._run_sources_operation_serialize( - servicing_sources_api_operation_request_dto=servicing_sources_api_operation_request_dto, + sources_api_operation_request_dto=sources_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -433,7 +433,7 @@ def run_sources_operation( @validate_call def run_sources_operation_with_http_info( self, - servicing_sources_api_operation_request_dto: ServicingSourcesAPIOperationRequestDTO, + sources_api_operation_request_dto: SourcesAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -452,8 +452,8 @@ def run_sources_operation_with_http_info( Perform operations on all sources. The following operations are supported: * `exportSources`: Export a ZIP file that contains a list of all sources in the application. * `cloneFilesIntoSource`: Clone a source's files into a different source.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param servicing_sources_api_operation_request_dto: (required) - :type servicing_sources_api_operation_request_dto: ServicingSourcesAPIOperationRequestDTO + :param sources_api_operation_request_dto: (required) + :type sources_api_operation_request_dto: SourcesAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -479,7 +479,7 @@ def run_sources_operation_with_http_info( """ # noqa: E501 _param = self._run_sources_operation_serialize( - servicing_sources_api_operation_request_dto=servicing_sources_api_operation_request_dto, + sources_api_operation_request_dto=sources_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -504,7 +504,7 @@ def run_sources_operation_with_http_info( @validate_call def run_sources_operation_without_preload_content( self, - servicing_sources_api_operation_request_dto: ServicingSourcesAPIOperationRequestDTO, + sources_api_operation_request_dto: SourcesAPIOperationRequestDTO, 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, _request_timeout: Union[ None, @@ -523,8 +523,8 @@ def run_sources_operation_without_preload_content( Perform operations on all sources. The following operations are supported: * `exportSources`: Export a ZIP file that contains a list of all sources in the application. * `cloneFilesIntoSource`: Clone a source's files into a different source.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param servicing_sources_api_operation_request_dto: (required) - :type servicing_sources_api_operation_request_dto: ServicingSourcesAPIOperationRequestDTO + :param sources_api_operation_request_dto: (required) + :type sources_api_operation_request_dto: SourcesAPIOperationRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -550,7 +550,7 @@ def run_sources_operation_without_preload_content( """ # noqa: E501 _param = self._run_sources_operation_serialize( - servicing_sources_api_operation_request_dto=servicing_sources_api_operation_request_dto, + sources_api_operation_request_dto=sources_api_operation_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -570,7 +570,7 @@ def run_sources_operation_without_preload_content( def _run_sources_operation_serialize( self, - servicing_sources_api_operation_request_dto, + sources_api_operation_request_dto, target_tenant_id, _request_auth, _content_type, @@ -599,8 +599,8 @@ def _run_sources_operation_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_sources_api_operation_request_dto is not None: - _body_params = servicing_sources_api_operation_request_dto + if sources_api_operation_request_dto is not None: + _body_params = sources_api_operation_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/system_status_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/system_status_api.py index bca73c54fb..81e5cb2254 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/system_status_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/system_status_api.py @@ -20,7 +20,7 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.systemstatus_system_status_dto import SystemstatusSystemStatusDTO +from visier_platform_sdk.models.system_status_dto import SystemStatusDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -56,7 +56,7 @@ def post_system_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> SystemstatusSystemStatusDTO: + ) -> SystemStatusDTO: """Check the overall current status of Visier's systems Check the current overall status of Visier's systems. The overall status is one of: * ``UP`` : All systems are operational. * `DOWN`: At least one system is not fully operational. @@ -94,7 +94,7 @@ def post_system_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusSystemStatusDTO", + '200': "SystemStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -123,7 +123,7 @@ def post_system_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[SystemstatusSystemStatusDTO]: + ) -> ApiResponse[SystemStatusDTO]: """Check the overall current status of Visier's systems Check the current overall status of Visier's systems. The overall status is one of: * ``UP`` : All systems are operational. * `DOWN`: At least one system is not fully operational. @@ -161,7 +161,7 @@ def post_system_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusSystemStatusDTO", + '200': "SystemStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -228,7 +228,7 @@ def post_system_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusSystemStatusDTO", + '200': "SystemStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -321,7 +321,7 @@ def system_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> SystemstatusSystemStatusDTO: + ) -> SystemStatusDTO: """Check the overall current status of Visier's systems Check the current overall status of Visier's systems. The overall status is one of: * ``UP`` : All systems are operational. * `DOWN`: At least one system is not fully operational. @@ -359,7 +359,7 @@ def system_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusSystemStatusDTO", + '200': "SystemStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -388,7 +388,7 @@ def system_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[SystemstatusSystemStatusDTO]: + ) -> ApiResponse[SystemStatusDTO]: """Check the overall current status of Visier's systems Check the current overall status of Visier's systems. The overall status is one of: * ``UP`` : All systems are operational. * `DOWN`: At least one system is not fully operational. @@ -426,7 +426,7 @@ def system_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusSystemStatusDTO", + '200': "SystemStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -493,7 +493,7 @@ def system_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusSystemStatusDTO", + '200': "SystemStatusDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v1_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v1_api.py index ebd4240f27..4840b70c1e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v1_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v1_api.py @@ -20,14 +20,14 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_all_tenants_status_apidto import AdminAllTenantsStatusAPIDTO -from visier_platform_sdk.models.admin_batch_tenant_provision_apidto import AdminBatchTenantProvisionAPIDTO -from visier_platform_sdk.models.admin_tenant_detail_apidto import AdminTenantDetailAPIDTO -from visier_platform_sdk.models.admin_tenant_provision_apidto import AdminTenantProvisionAPIDTO -from visier_platform_sdk.models.admin_tenant_status_apidto import AdminTenantStatusAPIDTO -from visier_platform_sdk.models.admin_update_tenant_model import AdminUpdateTenantModel -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_dto import DpAutomationTenantPreviewEntriesSummaryDTO -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_list_dto import DpAutomationTenantPreviewEntriesSummaryListDTO +from visier_platform_sdk.models.all_tenants_status_apidto import AllTenantsStatusAPIDTO +from visier_platform_sdk.models.batch_tenant_provision_apidto import BatchTenantProvisionAPIDTO +from visier_platform_sdk.models.tenant_detail_apidto import TenantDetailAPIDTO +from visier_platform_sdk.models.tenant_preview_entries_summary_dto import TenantPreviewEntriesSummaryDTO +from visier_platform_sdk.models.tenant_preview_entries_summary_list_dto import TenantPreviewEntriesSummaryListDTO +from visier_platform_sdk.models.tenant_provision_apidto import TenantProvisionAPIDTO +from visier_platform_sdk.models.tenant_status_apidto import TenantStatusAPIDTO +from visier_platform_sdk.models.update_tenant_model import UpdateTenantModel from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -50,7 +50,7 @@ def __init__(self, api_client=None) -> None: @validate_call def add_tenant( self, - admin_tenant_provision_apidto: AdminTenantProvisionAPIDTO, + tenant_provision_apidto: TenantProvisionAPIDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -63,13 +63,13 @@ def add_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantProvisionAPIDTO: + ) -> TenantProvisionAPIDTO: """Add an analytic tenant Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create an analytic tenant and identify the applications assigned to the tenant. Visier organizes content under a set of modules. Contact Visier Support to determine the list of modules allocated to you. - :param admin_tenant_provision_apidto: (required) - :type admin_tenant_provision_apidto: AdminTenantProvisionAPIDTO + :param tenant_provision_apidto: (required) + :type tenant_provision_apidto: TenantProvisionAPIDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -93,7 +93,7 @@ def add_tenant( """ # noqa: E501 _param = self._add_tenant_serialize( - admin_tenant_provision_apidto=admin_tenant_provision_apidto, + tenant_provision_apidto=tenant_provision_apidto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -101,7 +101,7 @@ def add_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantProvisionAPIDTO", + '200': "TenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -117,7 +117,7 @@ def add_tenant( @validate_call def add_tenant_with_http_info( self, - admin_tenant_provision_apidto: AdminTenantProvisionAPIDTO, + tenant_provision_apidto: TenantProvisionAPIDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130,13 +130,13 @@ def add_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantProvisionAPIDTO]: + ) -> ApiResponse[TenantProvisionAPIDTO]: """Add an analytic tenant Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create an analytic tenant and identify the applications assigned to the tenant. Visier organizes content under a set of modules. Contact Visier Support to determine the list of modules allocated to you. - :param admin_tenant_provision_apidto: (required) - :type admin_tenant_provision_apidto: AdminTenantProvisionAPIDTO + :param tenant_provision_apidto: (required) + :type tenant_provision_apidto: TenantProvisionAPIDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -160,7 +160,7 @@ def add_tenant_with_http_info( """ # noqa: E501 _param = self._add_tenant_serialize( - admin_tenant_provision_apidto=admin_tenant_provision_apidto, + tenant_provision_apidto=tenant_provision_apidto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -168,7 +168,7 @@ def add_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantProvisionAPIDTO", + '200': "TenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -184,7 +184,7 @@ def add_tenant_with_http_info( @validate_call def add_tenant_without_preload_content( self, - admin_tenant_provision_apidto: AdminTenantProvisionAPIDTO, + tenant_provision_apidto: TenantProvisionAPIDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -202,8 +202,8 @@ def add_tenant_without_preload_content( Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create an analytic tenant and identify the applications assigned to the tenant. Visier organizes content under a set of modules. Contact Visier Support to determine the list of modules allocated to you. - :param admin_tenant_provision_apidto: (required) - :type admin_tenant_provision_apidto: AdminTenantProvisionAPIDTO + :param tenant_provision_apidto: (required) + :type tenant_provision_apidto: TenantProvisionAPIDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -227,7 +227,7 @@ def add_tenant_without_preload_content( """ # noqa: E501 _param = self._add_tenant_serialize( - admin_tenant_provision_apidto=admin_tenant_provision_apidto, + tenant_provision_apidto=tenant_provision_apidto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -235,7 +235,7 @@ def add_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantProvisionAPIDTO", + '200': "TenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -246,7 +246,7 @@ def add_tenant_without_preload_content( def _add_tenant_serialize( self, - admin_tenant_provision_apidto, + tenant_provision_apidto, _request_auth, _content_type, _headers, @@ -272,8 +272,8 @@ def _add_tenant_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_tenant_provision_apidto is not None: - _body_params = admin_tenant_provision_apidto + if tenant_provision_apidto is not None: + _body_params = tenant_provision_apidto # set the HTTP header `Accept` @@ -328,7 +328,7 @@ def _add_tenant_serialize( @validate_call def add_tenants( self, - admin_batch_tenant_provision_apidto: AdminBatchTenantProvisionAPIDTO, + batch_tenant_provision_apidto: BatchTenantProvisionAPIDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -341,13 +341,13 @@ def add_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminBatchTenantProvisionAPIDTO: + ) -> BatchTenantProvisionAPIDTO: """Add analytic tenants Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create one or more analytic tenants and identify the applications assigned to the tenants. The maximum number of tenants to create in one request is 200. Contact Visier Support to determine the list of modules allocated to you. - :param admin_batch_tenant_provision_apidto: (required) - :type admin_batch_tenant_provision_apidto: AdminBatchTenantProvisionAPIDTO + :param batch_tenant_provision_apidto: (required) + :type batch_tenant_provision_apidto: BatchTenantProvisionAPIDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -371,7 +371,7 @@ def add_tenants( """ # noqa: E501 _param = self._add_tenants_serialize( - admin_batch_tenant_provision_apidto=admin_batch_tenant_provision_apidto, + batch_tenant_provision_apidto=batch_tenant_provision_apidto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -379,7 +379,7 @@ def add_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminBatchTenantProvisionAPIDTO", + '200': "BatchTenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -395,7 +395,7 @@ def add_tenants( @validate_call def add_tenants_with_http_info( self, - admin_batch_tenant_provision_apidto: AdminBatchTenantProvisionAPIDTO, + batch_tenant_provision_apidto: BatchTenantProvisionAPIDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -408,13 +408,13 @@ def add_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminBatchTenantProvisionAPIDTO]: + ) -> ApiResponse[BatchTenantProvisionAPIDTO]: """Add analytic tenants Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create one or more analytic tenants and identify the applications assigned to the tenants. The maximum number of tenants to create in one request is 200. Contact Visier Support to determine the list of modules allocated to you. - :param admin_batch_tenant_provision_apidto: (required) - :type admin_batch_tenant_provision_apidto: AdminBatchTenantProvisionAPIDTO + :param batch_tenant_provision_apidto: (required) + :type batch_tenant_provision_apidto: BatchTenantProvisionAPIDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -438,7 +438,7 @@ def add_tenants_with_http_info( """ # noqa: E501 _param = self._add_tenants_serialize( - admin_batch_tenant_provision_apidto=admin_batch_tenant_provision_apidto, + batch_tenant_provision_apidto=batch_tenant_provision_apidto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -446,7 +446,7 @@ def add_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminBatchTenantProvisionAPIDTO", + '200': "BatchTenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -462,7 +462,7 @@ def add_tenants_with_http_info( @validate_call def add_tenants_without_preload_content( self, - admin_batch_tenant_provision_apidto: AdminBatchTenantProvisionAPIDTO, + batch_tenant_provision_apidto: BatchTenantProvisionAPIDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -480,8 +480,8 @@ def add_tenants_without_preload_content( Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create one or more analytic tenants and identify the applications assigned to the tenants. The maximum number of tenants to create in one request is 200. Contact Visier Support to determine the list of modules allocated to you. - :param admin_batch_tenant_provision_apidto: (required) - :type admin_batch_tenant_provision_apidto: AdminBatchTenantProvisionAPIDTO + :param batch_tenant_provision_apidto: (required) + :type batch_tenant_provision_apidto: BatchTenantProvisionAPIDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -505,7 +505,7 @@ def add_tenants_without_preload_content( """ # noqa: E501 _param = self._add_tenants_serialize( - admin_batch_tenant_provision_apidto=admin_batch_tenant_provision_apidto, + batch_tenant_provision_apidto=batch_tenant_provision_apidto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -513,7 +513,7 @@ def add_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminBatchTenantProvisionAPIDTO", + '200': "BatchTenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -524,7 +524,7 @@ def add_tenants_without_preload_content( def _add_tenants_serialize( self, - admin_batch_tenant_provision_apidto, + batch_tenant_provision_apidto, _request_auth, _content_type, _headers, @@ -550,8 +550,8 @@ def _add_tenants_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_batch_tenant_provision_apidto is not None: - _body_params = admin_batch_tenant_provision_apidto + if batch_tenant_provision_apidto is not None: + _body_params = batch_tenant_provision_apidto # set the HTTP header `Accept` @@ -619,7 +619,7 @@ def delete_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantStatusAPIDTO: + ) -> TenantStatusAPIDTO: """Deprovision an analytic tenant Warning! Deprovisioning an analytic tenant is not reversible. Before deprovisioning, you must disable an analytic tenant. For more information, see **`/v1/admin/tenants/{tenantId}/disable`**. This API removes an analytic tenant permanently from the Visier system. If you are unsure whether an analytic tenant may be re-enabled on any of the Visier modules at any time, you may instead want to disable the analytic tenant. If successful, the response returns the status \"Deprovisioned\". This indicates that the tenant is scheduled for deprovisioning, which may take several days to complete. @@ -657,7 +657,7 @@ def delete_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -686,7 +686,7 @@ def delete_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantStatusAPIDTO]: + ) -> ApiResponse[TenantStatusAPIDTO]: """Deprovision an analytic tenant Warning! Deprovisioning an analytic tenant is not reversible. Before deprovisioning, you must disable an analytic tenant. For more information, see **`/v1/admin/tenants/{tenantId}/disable`**. This API removes an analytic tenant permanently from the Visier system. If you are unsure whether an analytic tenant may be re-enabled on any of the Visier modules at any time, you may instead want to disable the analytic tenant. If successful, the response returns the status \"Deprovisioned\". This indicates that the tenant is scheduled for deprovisioning, which may take several days to complete. @@ -724,7 +724,7 @@ def delete_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -791,7 +791,7 @@ def delete_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -884,7 +884,7 @@ def disable_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantStatusAPIDTO: + ) -> TenantStatusAPIDTO: """Disable an analytic tenant Disable an analytic tenant and remove access to Visier visualizations for the tenant's users. You must disable an analytic tenant before deprovisioning, or removing, it from the system. @@ -922,7 +922,7 @@ def disable_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -951,7 +951,7 @@ def disable_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantStatusAPIDTO]: + ) -> ApiResponse[TenantStatusAPIDTO]: """Disable an analytic tenant Disable an analytic tenant and remove access to Visier visualizations for the tenant's users. You must disable an analytic tenant before deprovisioning, or removing, it from the system. @@ -989,7 +989,7 @@ def disable_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1056,7 +1056,7 @@ def disable_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1149,7 +1149,7 @@ def enable_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantStatusAPIDTO: + ) -> TenantStatusAPIDTO: """Enable an analytic tenant An analytic tenant is enabled when you provision or create the tenant. Use this API to enable a tenant that you have specifically disabled; for example, if you previously did not want that tenant to have access to Visier visualizations, but now do. @@ -1187,7 +1187,7 @@ def enable_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1216,7 +1216,7 @@ def enable_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantStatusAPIDTO]: + ) -> ApiResponse[TenantStatusAPIDTO]: """Enable an analytic tenant An analytic tenant is enabled when you provision or create the tenant. Use this API to enable a tenant that you have specifically disabled; for example, if you previously did not want that tenant to have access to Visier visualizations, but now do. @@ -1254,7 +1254,7 @@ def enable_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1321,7 +1321,7 @@ def enable_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1414,7 +1414,7 @@ def get_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantDetailAPIDTO: + ) -> TenantDetailAPIDTO: """Retrieve an analytic tenant's details Retrieve all details for a specified analytic tenant. Doing so allows you to see the current state of the tenant, the content modules assigned to it, and all other relevant details for the tenant. @@ -1452,7 +1452,7 @@ def get_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantDetailAPIDTO", + '200': "TenantDetailAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1481,7 +1481,7 @@ def get_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantDetailAPIDTO]: + ) -> ApiResponse[TenantDetailAPIDTO]: """Retrieve an analytic tenant's details Retrieve all details for a specified analytic tenant. Doing so allows you to see the current state of the tenant, the content modules assigned to it, and all other relevant details for the tenant. @@ -1519,7 +1519,7 @@ def get_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantDetailAPIDTO", + '200': "TenantDetailAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1586,7 +1586,7 @@ def get_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantDetailAPIDTO", + '200': "TenantDetailAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1681,7 +1681,7 @@ def get_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminAllTenantsStatusAPIDTO: + ) -> AllTenantsStatusAPIDTO: """Retrieve a list of all analytic tenants Retrieve the full list of analytic tenants managed by you with their current states and the content modules assigned to them, and all other relevant details for the tenants if requested. @@ -1725,7 +1725,7 @@ def get_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminAllTenantsStatusAPIDTO", + '200': "AllTenantsStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1756,7 +1756,7 @@ def get_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminAllTenantsStatusAPIDTO]: + ) -> ApiResponse[AllTenantsStatusAPIDTO]: """Retrieve a list of all analytic tenants Retrieve the full list of analytic tenants managed by you with their current states and the content modules assigned to them, and all other relevant details for the tenants if requested. @@ -1800,7 +1800,7 @@ def get_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminAllTenantsStatusAPIDTO", + '200': "AllTenantsStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1875,7 +1875,7 @@ def get_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminAllTenantsStatusAPIDTO", + '200': "AllTenantsStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -1968,7 +1968,7 @@ def _get_tenants_serialize( def update_tenant( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to update.")], - admin_update_tenant_model: AdminUpdateTenantModel, + update_tenant_model: UpdateTenantModel, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1981,15 +1981,15 @@ def update_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantProvisionAPIDTO: + ) -> TenantProvisionAPIDTO: """Update an analytic tenant You may need to update analytic tenants as they grow and as your organization upgrades the content available to them. You may also encounter a scenario where an analytic tenant transitions across different industries. To ensure that the analytic tenant receives accurate benchmarks and predictive functionality, update their industry code in the Visier system. You can use this API to update any field on an analytic tenant, except `tenantCode`. :param tenant_id: The ID of the tenant to update. (required) :type tenant_id: str - :param admin_update_tenant_model: (required) - :type admin_update_tenant_model: AdminUpdateTenantModel + :param update_tenant_model: (required) + :type update_tenant_model: UpdateTenantModel :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2014,7 +2014,7 @@ def update_tenant( _param = self._update_tenant_serialize( tenant_id=tenant_id, - admin_update_tenant_model=admin_update_tenant_model, + update_tenant_model=update_tenant_model, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2022,7 +2022,7 @@ def update_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantProvisionAPIDTO", + '200': "TenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -2039,7 +2039,7 @@ def update_tenant( def update_tenant_with_http_info( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to update.")], - admin_update_tenant_model: AdminUpdateTenantModel, + update_tenant_model: UpdateTenantModel, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2052,15 +2052,15 @@ def update_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantProvisionAPIDTO]: + ) -> ApiResponse[TenantProvisionAPIDTO]: """Update an analytic tenant You may need to update analytic tenants as they grow and as your organization upgrades the content available to them. You may also encounter a scenario where an analytic tenant transitions across different industries. To ensure that the analytic tenant receives accurate benchmarks and predictive functionality, update their industry code in the Visier system. You can use this API to update any field on an analytic tenant, except `tenantCode`. :param tenant_id: The ID of the tenant to update. (required) :type tenant_id: str - :param admin_update_tenant_model: (required) - :type admin_update_tenant_model: AdminUpdateTenantModel + :param update_tenant_model: (required) + :type update_tenant_model: UpdateTenantModel :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2085,7 +2085,7 @@ def update_tenant_with_http_info( _param = self._update_tenant_serialize( tenant_id=tenant_id, - admin_update_tenant_model=admin_update_tenant_model, + update_tenant_model=update_tenant_model, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2093,7 +2093,7 @@ def update_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantProvisionAPIDTO", + '200': "TenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -2110,7 +2110,7 @@ def update_tenant_with_http_info( def update_tenant_without_preload_content( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to update.")], - admin_update_tenant_model: AdminUpdateTenantModel, + update_tenant_model: UpdateTenantModel, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2130,8 +2130,8 @@ def update_tenant_without_preload_content( :param tenant_id: The ID of the tenant to update. (required) :type tenant_id: str - :param admin_update_tenant_model: (required) - :type admin_update_tenant_model: AdminUpdateTenantModel + :param update_tenant_model: (required) + :type update_tenant_model: UpdateTenantModel :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2156,7 +2156,7 @@ def update_tenant_without_preload_content( _param = self._update_tenant_serialize( tenant_id=tenant_id, - admin_update_tenant_model=admin_update_tenant_model, + update_tenant_model=update_tenant_model, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2164,7 +2164,7 @@ def update_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantProvisionAPIDTO", + '200': "TenantProvisionAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -2176,7 +2176,7 @@ def update_tenant_without_preload_content( def _update_tenant_serialize( self, tenant_id, - admin_update_tenant_model, + update_tenant_model, _request_auth, _content_type, _headers, @@ -2204,8 +2204,8 @@ def _update_tenant_serialize( # process the header parameters # process the form parameters # process the body parameter - if admin_update_tenant_model is not None: - _body_params = admin_update_tenant_model + if update_tenant_model is not None: + _body_params = update_tenant_model # set the HTTP header `Accept` @@ -2274,7 +2274,7 @@ def validate_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DpAutomationTenantPreviewEntriesSummaryDTO: + ) -> TenantPreviewEntriesSummaryDTO: """Validate an analytic tenant's metric values Retrieve the metric values for an individual analytic tenant. The metric values included in the response are the tenant's configured summary metrics. Administrators can configure summary metrics in a project: - Sign in to Visier as an administrator. - In a project, on the navigation bar, click the **Home button**. - Click **Dashboard**, and then click **Edit Summary Metrics**. - Select the metrics that you want to validate, and then close the **Summary Metrics** dialog. - Publish the project to production. @@ -2315,7 +2315,7 @@ def validate_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpAutomationTenantPreviewEntriesSummaryDTO", + '200': "TenantPreviewEntriesSummaryDTO", } response_data = self.api_client.call_api( *_param, @@ -2345,7 +2345,7 @@ def validate_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DpAutomationTenantPreviewEntriesSummaryDTO]: + ) -> ApiResponse[TenantPreviewEntriesSummaryDTO]: """Validate an analytic tenant's metric values Retrieve the metric values for an individual analytic tenant. The metric values included in the response are the tenant's configured summary metrics. Administrators can configure summary metrics in a project: - Sign in to Visier as an administrator. - In a project, on the navigation bar, click the **Home button**. - Click **Dashboard**, and then click **Edit Summary Metrics**. - Select the metrics that you want to validate, and then close the **Summary Metrics** dialog. - Publish the project to production. @@ -2386,7 +2386,7 @@ def validate_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpAutomationTenantPreviewEntriesSummaryDTO", + '200': "TenantPreviewEntriesSummaryDTO", } response_data = self.api_client.call_api( *_param, @@ -2457,7 +2457,7 @@ def validate_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpAutomationTenantPreviewEntriesSummaryDTO", + '200': "TenantPreviewEntriesSummaryDTO", } response_data = self.api_client.call_api( *_param, @@ -2555,7 +2555,7 @@ def validate_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DpAutomationTenantPreviewEntriesSummaryListDTO: + ) -> TenantPreviewEntriesSummaryListDTO: """Validate metric values for all analytic tenants As you onboard more analytic tenants, you can validate the data visible to your users to ensure it matches the source systems from which it was exported and that it matches what your expectations are for this data. The metric values included in the response are the tenant's configured summary metrics. Administrators can configure summary metrics in a project: - Sign in to Visier as an administrator. - In a project, on the navigation bar, click the **Home** button. - Click **Dashboard**, and then click **Edit Summary Metrics**. - Select the metrics that you want to validate, and then close the **Summary Metrics** dialog. - Publish the project to production. @@ -2599,7 +2599,7 @@ def validate_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpAutomationTenantPreviewEntriesSummaryListDTO", + '200': "TenantPreviewEntriesSummaryListDTO", } response_data = self.api_client.call_api( *_param, @@ -2630,7 +2630,7 @@ def validate_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DpAutomationTenantPreviewEntriesSummaryListDTO]: + ) -> ApiResponse[TenantPreviewEntriesSummaryListDTO]: """Validate metric values for all analytic tenants As you onboard more analytic tenants, you can validate the data visible to your users to ensure it matches the source systems from which it was exported and that it matches what your expectations are for this data. The metric values included in the response are the tenant's configured summary metrics. Administrators can configure summary metrics in a project: - Sign in to Visier as an administrator. - In a project, on the navigation bar, click the **Home** button. - Click **Dashboard**, and then click **Edit Summary Metrics**. - Select the metrics that you want to validate, and then close the **Summary Metrics** dialog. - Publish the project to production. @@ -2674,7 +2674,7 @@ def validate_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpAutomationTenantPreviewEntriesSummaryListDTO", + '200': "TenantPreviewEntriesSummaryListDTO", } response_data = self.api_client.call_api( *_param, @@ -2749,7 +2749,7 @@ def validate_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DpAutomationTenantPreviewEntriesSummaryListDTO", + '200': "TenantPreviewEntriesSummaryListDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v2_api.py index 453ee0f9da..7f4d88ef33 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v2_api.py @@ -20,12 +20,12 @@ from pydantic import Field, StrictInt, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_mask_message import AdminMaskMessage -from visier_platform_sdk.models.admin_tenant_management_api_get_response_dto import AdminTenantManagementAPIGetResponseDTO -from visier_platform_sdk.models.admin_tenant_management_api_list_response_dto import AdminTenantManagementAPIListResponseDTO -from visier_platform_sdk.models.admin_tenant_management_api_update_request_dto import AdminTenantManagementAPIUpdateRequestDTO -from visier_platform_sdk.models.admin_tenant_management_api_update_response_dto import AdminTenantManagementAPIUpdateResponseDTO -from visier_platform_sdk.models.admin_tenant_status_apidto import AdminTenantStatusAPIDTO +from visier_platform_sdk.models.mask_message import MaskMessage +from visier_platform_sdk.models.tenant_management_api_get_response_dto import TenantManagementAPIGetResponseDTO +from visier_platform_sdk.models.tenant_management_api_list_response_dto import TenantManagementAPIListResponseDTO +from visier_platform_sdk.models.tenant_management_api_update_request_dto import TenantManagementAPIUpdateRequestDTO +from visier_platform_sdk.models.tenant_management_api_update_response_dto import TenantManagementAPIUpdateResponseDTO +from visier_platform_sdk.models.tenant_status_apidto import TenantStatusAPIDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -48,7 +48,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_tenant( self, - admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO, + tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO, 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, _request_timeout: Union[ None, @@ -62,13 +62,13 @@ def create_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantManagementAPIUpdateResponseDTO: + ) -> TenantManagementAPIUpdateResponseDTO: """Add an analytic tenant Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create an analytic tenant and identify the applications assigned to the tenant. Visier organizes content under a set of modules. Contact Visier Support to determine the list of modules allocated to you. **Note:** API requests that contain `homeAnalysisId`, `homeAnalysisByUserGroup`, `clickThroughLink`, or `defaultCurrency` take longer to run because they require publishing a project to production. - :param admin_tenant_management_api_update_request_dto: (required) - :type admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO + :param tenant_management_api_update_request_dto: (required) + :type tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -94,7 +94,7 @@ def create_tenant( """ # noqa: E501 _param = self._create_tenant_serialize( - admin_tenant_management_api_update_request_dto=admin_tenant_management_api_update_request_dto, + tenant_management_api_update_request_dto=tenant_management_api_update_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -103,7 +103,7 @@ def create_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIUpdateResponseDTO", + '200': "TenantManagementAPIUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -119,7 +119,7 @@ def create_tenant( @validate_call def create_tenant_with_http_info( self, - admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO, + tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO, 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, _request_timeout: Union[ None, @@ -133,13 +133,13 @@ def create_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantManagementAPIUpdateResponseDTO]: + ) -> ApiResponse[TenantManagementAPIUpdateResponseDTO]: """Add an analytic tenant Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create an analytic tenant and identify the applications assigned to the tenant. Visier organizes content under a set of modules. Contact Visier Support to determine the list of modules allocated to you. **Note:** API requests that contain `homeAnalysisId`, `homeAnalysisByUserGroup`, `clickThroughLink`, or `defaultCurrency` take longer to run because they require publishing a project to production. - :param admin_tenant_management_api_update_request_dto: (required) - :type admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO + :param tenant_management_api_update_request_dto: (required) + :type tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -165,7 +165,7 @@ def create_tenant_with_http_info( """ # noqa: E501 _param = self._create_tenant_serialize( - admin_tenant_management_api_update_request_dto=admin_tenant_management_api_update_request_dto, + tenant_management_api_update_request_dto=tenant_management_api_update_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -174,7 +174,7 @@ def create_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIUpdateResponseDTO", + '200': "TenantManagementAPIUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -190,7 +190,7 @@ def create_tenant_with_http_info( @validate_call def create_tenant_without_preload_content( self, - admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO, + tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO, 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, _request_timeout: Union[ None, @@ -209,8 +209,8 @@ def create_tenant_without_preload_content( Prior to processing and loading an analytic tenant's data files, you must provision, or create, that tenant. A provisioned analytic tenant is automatically enabled. If the tenant's data is loaded after provisioning, that data is immediately accessible by their users. Create an analytic tenant and identify the applications assigned to the tenant. Visier organizes content under a set of modules. Contact Visier Support to determine the list of modules allocated to you. **Note:** API requests that contain `homeAnalysisId`, `homeAnalysisByUserGroup`, `clickThroughLink`, or `defaultCurrency` take longer to run because they require publishing a project to production. - :param admin_tenant_management_api_update_request_dto: (required) - :type admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO + :param tenant_management_api_update_request_dto: (required) + :type tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -236,7 +236,7 @@ def create_tenant_without_preload_content( """ # noqa: E501 _param = self._create_tenant_serialize( - admin_tenant_management_api_update_request_dto=admin_tenant_management_api_update_request_dto, + tenant_management_api_update_request_dto=tenant_management_api_update_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -245,7 +245,7 @@ def create_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIUpdateResponseDTO", + '200': "TenantManagementAPIUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -256,7 +256,7 @@ def create_tenant_without_preload_content( def _create_tenant_serialize( self, - admin_tenant_management_api_update_request_dto, + tenant_management_api_update_request_dto, target_tenant_id, _request_auth, _content_type, @@ -285,8 +285,8 @@ def _create_tenant_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_tenant_management_api_update_request_dto is not None: - _body_params = admin_tenant_management_api_update_request_dto + if tenant_management_api_update_request_dto is not None: + _body_params = tenant_management_api_update_request_dto # set the HTTP header `Accept` @@ -355,7 +355,7 @@ def delete_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantStatusAPIDTO: + ) -> TenantStatusAPIDTO: """Deprovision an analytic tenant Warning! Deprovisioning an analytic tenant is not reversible. Before deprovisioning, you must disable an analytic tenant. For more information, see **`/v1/admin/tenants/{tenantId}/disable`**. This API removes an analytic tenant permanently from the Visier system. If you are unsure whether an analytic tenant may be re-enabled on any of the Visier modules at any time, you may instead want to disable the analytic tenant. If successful, the response returns the status \"Deprovisioned\". This indicates that the tenant is scheduled for deprovisioning, which may take several days to complete. @@ -396,7 +396,7 @@ def delete_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -426,7 +426,7 @@ def delete_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantStatusAPIDTO]: + ) -> ApiResponse[TenantStatusAPIDTO]: """Deprovision an analytic tenant Warning! Deprovisioning an analytic tenant is not reversible. Before deprovisioning, you must disable an analytic tenant. For more information, see **`/v1/admin/tenants/{tenantId}/disable`**. This API removes an analytic tenant permanently from the Visier system. If you are unsure whether an analytic tenant may be re-enabled on any of the Visier modules at any time, you may instead want to disable the analytic tenant. If successful, the response returns the status \"Deprovisioned\". This indicates that the tenant is scheduled for deprovisioning, which may take several days to complete. @@ -467,7 +467,7 @@ def delete_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -538,7 +538,7 @@ def delete_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantStatusAPIDTO", + '200': "TenantStatusAPIDTO", } response_data = self.api_client.call_api( *_param, @@ -625,7 +625,7 @@ def list_tenants( start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None, mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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, - admin_mask_message: Optional[AdminMaskMessage] = None, + mask_message: Optional[MaskMessage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -638,7 +638,7 @@ def list_tenants( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantManagementAPIListResponseDTO: + ) -> TenantManagementAPIListResponseDTO: """Retrieve a list of all analytic tenants Retrieve the full list of analytic tenants managed by you with their current states and the content modules assigned to them, and all other relevant details for the tenants if requested. @@ -651,8 +651,8 @@ def list_tenants( :type mask: str :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. :type target_tenant_id: str - :param admin_mask_message: - :type admin_mask_message: AdminMaskMessage + :param mask_message: + :type mask_message: MaskMessage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -680,7 +680,7 @@ def list_tenants( start=start, mask=mask, target_tenant_id=target_tenant_id, - admin_mask_message=admin_mask_message, + mask_message=mask_message, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -688,7 +688,7 @@ def list_tenants( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIListResponseDTO", + '200': "TenantManagementAPIListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -708,7 +708,7 @@ def list_tenants_with_http_info( start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None, mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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, - admin_mask_message: Optional[AdminMaskMessage] = None, + mask_message: Optional[MaskMessage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -721,7 +721,7 @@ def list_tenants_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantManagementAPIListResponseDTO]: + ) -> ApiResponse[TenantManagementAPIListResponseDTO]: """Retrieve a list of all analytic tenants Retrieve the full list of analytic tenants managed by you with their current states and the content modules assigned to them, and all other relevant details for the tenants if requested. @@ -734,8 +734,8 @@ def list_tenants_with_http_info( :type mask: str :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. :type target_tenant_id: str - :param admin_mask_message: - :type admin_mask_message: AdminMaskMessage + :param mask_message: + :type mask_message: MaskMessage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -763,7 +763,7 @@ def list_tenants_with_http_info( start=start, mask=mask, target_tenant_id=target_tenant_id, - admin_mask_message=admin_mask_message, + mask_message=mask_message, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -771,7 +771,7 @@ def list_tenants_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIListResponseDTO", + '200': "TenantManagementAPIListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -791,7 +791,7 @@ def list_tenants_without_preload_content( start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None, mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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, - admin_mask_message: Optional[AdminMaskMessage] = None, + mask_message: Optional[MaskMessage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -817,8 +817,8 @@ def list_tenants_without_preload_content( :type mask: str :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. :type target_tenant_id: str - :param admin_mask_message: - :type admin_mask_message: AdminMaskMessage + :param mask_message: + :type mask_message: MaskMessage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -846,7 +846,7 @@ def list_tenants_without_preload_content( start=start, mask=mask, target_tenant_id=target_tenant_id, - admin_mask_message=admin_mask_message, + mask_message=mask_message, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -854,7 +854,7 @@ def list_tenants_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIListResponseDTO", + '200': "TenantManagementAPIListResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -869,7 +869,7 @@ def _list_tenants_serialize( start, mask, target_tenant_id, - admin_mask_message, + mask_message, _request_auth, _content_type, _headers, @@ -909,8 +909,8 @@ def _list_tenants_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_mask_message is not None: - _body_params = admin_mask_message + if mask_message is not None: + _body_params = mask_message # set the HTTP header `Accept` @@ -968,7 +968,7 @@ def tenant_info( tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to retrieve.")], mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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, - admin_mask_message: Optional[AdminMaskMessage] = None, + mask_message: Optional[MaskMessage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -981,7 +981,7 @@ def tenant_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantManagementAPIGetResponseDTO: + ) -> TenantManagementAPIGetResponseDTO: """Retrieve an analytic tenant's details Retrieve the details for a specified analytic tenant. Doing so allows you to see the current state of the tenant, the content modules assigned to it, and all other relevant details for the tenant. @@ -992,8 +992,8 @@ def tenant_info( :type mask: str :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. :type target_tenant_id: str - :param admin_mask_message: - :type admin_mask_message: AdminMaskMessage + :param mask_message: + :type mask_message: MaskMessage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1020,7 +1020,7 @@ def tenant_info( tenant_id=tenant_id, mask=mask, target_tenant_id=target_tenant_id, - admin_mask_message=admin_mask_message, + mask_message=mask_message, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1028,7 +1028,7 @@ def tenant_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIGetResponseDTO", + '200': "TenantManagementAPIGetResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1047,7 +1047,7 @@ def tenant_info_with_http_info( tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to retrieve.")], mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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, - admin_mask_message: Optional[AdminMaskMessage] = None, + mask_message: Optional[MaskMessage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1060,7 +1060,7 @@ def tenant_info_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantManagementAPIGetResponseDTO]: + ) -> ApiResponse[TenantManagementAPIGetResponseDTO]: """Retrieve an analytic tenant's details Retrieve the details for a specified analytic tenant. Doing so allows you to see the current state of the tenant, the content modules assigned to it, and all other relevant details for the tenant. @@ -1071,8 +1071,8 @@ def tenant_info_with_http_info( :type mask: str :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. :type target_tenant_id: str - :param admin_mask_message: - :type admin_mask_message: AdminMaskMessage + :param mask_message: + :type mask_message: MaskMessage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1099,7 +1099,7 @@ def tenant_info_with_http_info( tenant_id=tenant_id, mask=mask, target_tenant_id=target_tenant_id, - admin_mask_message=admin_mask_message, + mask_message=mask_message, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1107,7 +1107,7 @@ def tenant_info_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIGetResponseDTO", + '200': "TenantManagementAPIGetResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1126,7 +1126,7 @@ def tenant_info_without_preload_content( tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to retrieve.")], mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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, - admin_mask_message: Optional[AdminMaskMessage] = None, + mask_message: Optional[MaskMessage] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1150,8 +1150,8 @@ def tenant_info_without_preload_content( :type mask: str :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. :type target_tenant_id: str - :param admin_mask_message: - :type admin_mask_message: AdminMaskMessage + :param mask_message: + :type mask_message: MaskMessage :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1178,7 +1178,7 @@ def tenant_info_without_preload_content( tenant_id=tenant_id, mask=mask, target_tenant_id=target_tenant_id, - admin_mask_message=admin_mask_message, + mask_message=mask_message, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1186,7 +1186,7 @@ def tenant_info_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIGetResponseDTO", + '200': "TenantManagementAPIGetResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1200,7 +1200,7 @@ def _tenant_info_serialize( tenant_id, mask, target_tenant_id, - admin_mask_message, + mask_message, _request_auth, _content_type, _headers, @@ -1234,8 +1234,8 @@ def _tenant_info_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_mask_message is not None: - _body_params = admin_mask_message + if mask_message is not None: + _body_params = mask_message # set the HTTP header `Accept` @@ -1291,7 +1291,7 @@ def _tenant_info_serialize( def update_tenant( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to update.")], - admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO, + tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO, 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, _request_timeout: Union[ None, @@ -1305,15 +1305,15 @@ def update_tenant( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminTenantManagementAPIUpdateResponseDTO: + ) -> TenantManagementAPIUpdateResponseDTO: """Update an analytic tenant You may need to update analytic tenants as they grow and as your organization upgrades the content available to them. You may also encounter a scenario where an analytic tenant transitions across different industries. To make updates to your tenants, use this API. * To ensure that the analytic tenant receives accurate benchmarks and predictive functionality, update their industry code in the Visier system. * To programmatically assign the Home analysis that analytic tenants see at login, use this API to set the default Home analysis for a tenant and specific user groups of that tenant. You can use this API to update any field on an analytic tenant, except `tenantCode`. **Note:** API requests that contain `homeAnalysisId`, `homeAnalysisByUserGroup`, `clickThroughLink`, or `defaultCurrency` take longer to run because they require publishing a project to production. :param tenant_id: The ID of the tenant to update. (required) :type tenant_id: str - :param admin_tenant_management_api_update_request_dto: (required) - :type admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO + :param tenant_management_api_update_request_dto: (required) + :type tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1340,7 +1340,7 @@ def update_tenant( _param = self._update_tenant_serialize( tenant_id=tenant_id, - admin_tenant_management_api_update_request_dto=admin_tenant_management_api_update_request_dto, + tenant_management_api_update_request_dto=tenant_management_api_update_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1349,7 +1349,7 @@ def update_tenant( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIUpdateResponseDTO", + '200': "TenantManagementAPIUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1366,7 +1366,7 @@ def update_tenant( def update_tenant_with_http_info( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to update.")], - admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO, + tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO, 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, _request_timeout: Union[ None, @@ -1380,15 +1380,15 @@ def update_tenant_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminTenantManagementAPIUpdateResponseDTO]: + ) -> ApiResponse[TenantManagementAPIUpdateResponseDTO]: """Update an analytic tenant You may need to update analytic tenants as they grow and as your organization upgrades the content available to them. You may also encounter a scenario where an analytic tenant transitions across different industries. To make updates to your tenants, use this API. * To ensure that the analytic tenant receives accurate benchmarks and predictive functionality, update their industry code in the Visier system. * To programmatically assign the Home analysis that analytic tenants see at login, use this API to set the default Home analysis for a tenant and specific user groups of that tenant. You can use this API to update any field on an analytic tenant, except `tenantCode`. **Note:** API requests that contain `homeAnalysisId`, `homeAnalysisByUserGroup`, `clickThroughLink`, or `defaultCurrency` take longer to run because they require publishing a project to production. :param tenant_id: The ID of the tenant to update. (required) :type tenant_id: str - :param admin_tenant_management_api_update_request_dto: (required) - :type admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO + :param tenant_management_api_update_request_dto: (required) + :type tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1415,7 +1415,7 @@ def update_tenant_with_http_info( _param = self._update_tenant_serialize( tenant_id=tenant_id, - admin_tenant_management_api_update_request_dto=admin_tenant_management_api_update_request_dto, + tenant_management_api_update_request_dto=tenant_management_api_update_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1424,7 +1424,7 @@ def update_tenant_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIUpdateResponseDTO", + '200': "TenantManagementAPIUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1441,7 +1441,7 @@ def update_tenant_with_http_info( def update_tenant_without_preload_content( self, tenant_id: Annotated[StrictStr, Field(description="The ID of the tenant to update.")], - admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO, + tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO, 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, _request_timeout: Union[ None, @@ -1462,8 +1462,8 @@ def update_tenant_without_preload_content( :param tenant_id: The ID of the tenant to update. (required) :type tenant_id: str - :param admin_tenant_management_api_update_request_dto: (required) - :type admin_tenant_management_api_update_request_dto: AdminTenantManagementAPIUpdateRequestDTO + :param tenant_management_api_update_request_dto: (required) + :type tenant_management_api_update_request_dto: TenantManagementAPIUpdateRequestDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1490,7 +1490,7 @@ def update_tenant_without_preload_content( _param = self._update_tenant_serialize( tenant_id=tenant_id, - admin_tenant_management_api_update_request_dto=admin_tenant_management_api_update_request_dto, + tenant_management_api_update_request_dto=tenant_management_api_update_request_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1499,7 +1499,7 @@ def update_tenant_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminTenantManagementAPIUpdateResponseDTO", + '200': "TenantManagementAPIUpdateResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1511,7 +1511,7 @@ def update_tenant_without_preload_content( def _update_tenant_serialize( self, tenant_id, - admin_tenant_management_api_update_request_dto, + tenant_management_api_update_request_dto, target_tenant_id, _request_auth, _content_type, @@ -1542,8 +1542,8 @@ def _update_tenant_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_tenant_management_api_update_request_dto is not None: - _body_params = admin_tenant_management_api_update_request_dto + if tenant_management_api_update_request_dto is not None: + _body_params = tenant_management_api_update_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/user_groups_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/user_groups_v2_api.py index c9c6fc7ee1..4ac5674dba 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/user_groups_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/user_groups_v2_api.py @@ -20,13 +20,13 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.admin_delete_user_group_v2_request import AdminDeleteUserGroupV2Request -from visier_platform_sdk.models.admin_user_group_change_definition_dto import AdminUserGroupChangeDefinitionDTO -from visier_platform_sdk.models.admin_user_group_change_response_dto import AdminUserGroupChangeResponseDTO -from visier_platform_sdk.models.admin_user_group_delete_response_dto import AdminUserGroupDeleteResponseDTO -from visier_platform_sdk.models.admin_user_group_single_delete_response_dto import AdminUserGroupSingleDeleteResponseDTO -from visier_platform_sdk.models.admin_user_groups_change_dto import AdminUserGroupsChangeDTO -from visier_platform_sdk.models.admin_user_groups_delete_request_dto import AdminUserGroupsDeleteRequestDTO +from visier_platform_sdk.models.delete_user_group_v2_request import DeleteUserGroupV2Request +from visier_platform_sdk.models.user_group_change_definition_dto import UserGroupChangeDefinitionDTO +from visier_platform_sdk.models.user_group_change_response_dto import UserGroupChangeResponseDTO +from visier_platform_sdk.models.user_group_delete_response_dto import UserGroupDeleteResponseDTO +from visier_platform_sdk.models.user_group_single_delete_response_dto import UserGroupSingleDeleteResponseDTO +from visier_platform_sdk.models.user_groups_change_dto import UserGroupsChangeDTO +from visier_platform_sdk.models.user_groups_delete_request_dto import UserGroupsDeleteRequestDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -49,7 +49,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_user_groups( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -65,13 +65,13 @@ def create_user_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupChangeResponseDTO: + ) -> UserGroupChangeResponseDTO: """Create multiple user groups Create new user groups. To specify the tenant in which to add new user groups, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to create new user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -101,7 +101,7 @@ def create_user_groups( """ # noqa: E501 _param = self._create_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -112,7 +112,7 @@ def create_user_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -128,7 +128,7 @@ def create_user_groups( @validate_call def create_user_groups_with_http_info( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -144,13 +144,13 @@ def create_user_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupChangeResponseDTO]: + ) -> ApiResponse[UserGroupChangeResponseDTO]: """Create multiple user groups Create new user groups. To specify the tenant in which to add new user groups, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to create new user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -180,7 +180,7 @@ def create_user_groups_with_http_info( """ # noqa: E501 _param = self._create_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -191,7 +191,7 @@ def create_user_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -207,7 +207,7 @@ def create_user_groups_with_http_info( @validate_call def create_user_groups_without_preload_content( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -228,8 +228,8 @@ def create_user_groups_without_preload_content( Create new user groups. To specify the tenant in which to add new user groups, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to create new user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -259,7 +259,7 @@ def create_user_groups_without_preload_content( """ # noqa: E501 _param = self._create_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -270,7 +270,7 @@ def create_user_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -281,7 +281,7 @@ def create_user_groups_without_preload_content( def _create_user_groups_serialize( self, - admin_user_groups_change_dto, + user_groups_change_dto, target_tenant_id, project_id, non_versioned, @@ -316,8 +316,8 @@ def _create_user_groups_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_user_groups_change_dto is not None: - _body_params = admin_user_groups_change_dto + if user_groups_change_dto is not None: + _body_params = user_groups_change_dto # set the HTTP header `Accept` @@ -373,7 +373,7 @@ def _create_user_groups_serialize( def delete_user_group( self, user_group_id: Annotated[StrictStr, Field(description="The ID of user group to delete.")], - admin_delete_user_group_v2_request: AdminDeleteUserGroupV2Request, + delete_user_group_v2_request: DeleteUserGroupV2Request, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -389,15 +389,15 @@ def delete_user_group( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupSingleDeleteResponseDTO: + ) -> UserGroupSingleDeleteResponseDTO: """Delete a user group Delete a specific user group. To specify the tenant in which to delete a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to delete a user group, provide a project UUID in the `ProjectID` request header. :param user_group_id: The ID of user group to delete. (required) :type user_group_id: str - :param admin_delete_user_group_v2_request: (required) - :type admin_delete_user_group_v2_request: AdminDeleteUserGroupV2Request + :param delete_user_group_v2_request: (required) + :type delete_user_group_v2_request: DeleteUserGroupV2Request :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -428,7 +428,7 @@ def delete_user_group( _param = self._delete_user_group_serialize( user_group_id=user_group_id, - admin_delete_user_group_v2_request=admin_delete_user_group_v2_request, + delete_user_group_v2_request=delete_user_group_v2_request, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -439,7 +439,7 @@ def delete_user_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupSingleDeleteResponseDTO", + '200': "UserGroupSingleDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -456,7 +456,7 @@ def delete_user_group( def delete_user_group_with_http_info( self, user_group_id: Annotated[StrictStr, Field(description="The ID of user group to delete.")], - admin_delete_user_group_v2_request: AdminDeleteUserGroupV2Request, + delete_user_group_v2_request: DeleteUserGroupV2Request, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -472,15 +472,15 @@ def delete_user_group_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupSingleDeleteResponseDTO]: + ) -> ApiResponse[UserGroupSingleDeleteResponseDTO]: """Delete a user group Delete a specific user group. To specify the tenant in which to delete a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to delete a user group, provide a project UUID in the `ProjectID` request header. :param user_group_id: The ID of user group to delete. (required) :type user_group_id: str - :param admin_delete_user_group_v2_request: (required) - :type admin_delete_user_group_v2_request: AdminDeleteUserGroupV2Request + :param delete_user_group_v2_request: (required) + :type delete_user_group_v2_request: DeleteUserGroupV2Request :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -511,7 +511,7 @@ def delete_user_group_with_http_info( _param = self._delete_user_group_serialize( user_group_id=user_group_id, - admin_delete_user_group_v2_request=admin_delete_user_group_v2_request, + delete_user_group_v2_request=delete_user_group_v2_request, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -522,7 +522,7 @@ def delete_user_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupSingleDeleteResponseDTO", + '200': "UserGroupSingleDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -539,7 +539,7 @@ def delete_user_group_with_http_info( def delete_user_group_without_preload_content( self, user_group_id: Annotated[StrictStr, Field(description="The ID of user group to delete.")], - admin_delete_user_group_v2_request: AdminDeleteUserGroupV2Request, + delete_user_group_v2_request: DeleteUserGroupV2Request, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -562,8 +562,8 @@ def delete_user_group_without_preload_content( :param user_group_id: The ID of user group to delete. (required) :type user_group_id: str - :param admin_delete_user_group_v2_request: (required) - :type admin_delete_user_group_v2_request: AdminDeleteUserGroupV2Request + :param delete_user_group_v2_request: (required) + :type delete_user_group_v2_request: DeleteUserGroupV2Request :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -594,7 +594,7 @@ def delete_user_group_without_preload_content( _param = self._delete_user_group_serialize( user_group_id=user_group_id, - admin_delete_user_group_v2_request=admin_delete_user_group_v2_request, + delete_user_group_v2_request=delete_user_group_v2_request, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -605,7 +605,7 @@ def delete_user_group_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupSingleDeleteResponseDTO", + '200': "UserGroupSingleDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -617,7 +617,7 @@ def delete_user_group_without_preload_content( def _delete_user_group_serialize( self, user_group_id, - admin_delete_user_group_v2_request, + delete_user_group_v2_request, target_tenant_id, project_id, non_versioned, @@ -654,8 +654,8 @@ def _delete_user_group_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_delete_user_group_v2_request is not None: - _body_params = admin_delete_user_group_v2_request + if delete_user_group_v2_request is not None: + _body_params = delete_user_group_v2_request # set the HTTP header `Accept` @@ -710,7 +710,7 @@ def _delete_user_group_serialize( @validate_call def delete_user_groups( self, - admin_user_groups_delete_request_dto: AdminUserGroupsDeleteRequestDTO, + user_groups_delete_request_dto: UserGroupsDeleteRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -726,13 +726,13 @@ def delete_user_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupDeleteResponseDTO: + ) -> UserGroupDeleteResponseDTO: """Delete multiple user groups Delete user groups in bulk. To specify the tenant in which to delete user groups, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to delete user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_delete_request_dto: (required) - :type admin_user_groups_delete_request_dto: AdminUserGroupsDeleteRequestDTO + :param user_groups_delete_request_dto: (required) + :type user_groups_delete_request_dto: UserGroupsDeleteRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -762,7 +762,7 @@ def delete_user_groups( """ # noqa: E501 _param = self._delete_user_groups_serialize( - admin_user_groups_delete_request_dto=admin_user_groups_delete_request_dto, + user_groups_delete_request_dto=user_groups_delete_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -773,7 +773,7 @@ def delete_user_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupDeleteResponseDTO", + '200': "UserGroupDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -789,7 +789,7 @@ def delete_user_groups( @validate_call def delete_user_groups_with_http_info( self, - admin_user_groups_delete_request_dto: AdminUserGroupsDeleteRequestDTO, + user_groups_delete_request_dto: UserGroupsDeleteRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -805,13 +805,13 @@ def delete_user_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupDeleteResponseDTO]: + ) -> ApiResponse[UserGroupDeleteResponseDTO]: """Delete multiple user groups Delete user groups in bulk. To specify the tenant in which to delete user groups, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to delete user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_delete_request_dto: (required) - :type admin_user_groups_delete_request_dto: AdminUserGroupsDeleteRequestDTO + :param user_groups_delete_request_dto: (required) + :type user_groups_delete_request_dto: UserGroupsDeleteRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -841,7 +841,7 @@ def delete_user_groups_with_http_info( """ # noqa: E501 _param = self._delete_user_groups_serialize( - admin_user_groups_delete_request_dto=admin_user_groups_delete_request_dto, + user_groups_delete_request_dto=user_groups_delete_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -852,7 +852,7 @@ def delete_user_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupDeleteResponseDTO", + '200': "UserGroupDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -868,7 +868,7 @@ def delete_user_groups_with_http_info( @validate_call def delete_user_groups_without_preload_content( self, - admin_user_groups_delete_request_dto: AdminUserGroupsDeleteRequestDTO, + user_groups_delete_request_dto: UserGroupsDeleteRequestDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -889,8 +889,8 @@ def delete_user_groups_without_preload_content( Delete user groups in bulk. To specify the tenant in which to delete user groups, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to delete user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_delete_request_dto: (required) - :type admin_user_groups_delete_request_dto: AdminUserGroupsDeleteRequestDTO + :param user_groups_delete_request_dto: (required) + :type user_groups_delete_request_dto: UserGroupsDeleteRequestDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -920,7 +920,7 @@ def delete_user_groups_without_preload_content( """ # noqa: E501 _param = self._delete_user_groups_serialize( - admin_user_groups_delete_request_dto=admin_user_groups_delete_request_dto, + user_groups_delete_request_dto=user_groups_delete_request_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -931,7 +931,7 @@ def delete_user_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupDeleteResponseDTO", + '200': "UserGroupDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -942,7 +942,7 @@ def delete_user_groups_without_preload_content( def _delete_user_groups_serialize( self, - admin_user_groups_delete_request_dto, + user_groups_delete_request_dto, target_tenant_id, project_id, non_versioned, @@ -977,8 +977,8 @@ def _delete_user_groups_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_user_groups_delete_request_dto is not None: - _body_params = admin_user_groups_delete_request_dto + if user_groups_delete_request_dto is not None: + _body_params = user_groups_delete_request_dto # set the HTTP header `Accept` @@ -1050,7 +1050,7 @@ def get_user_group( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupChangeDefinitionDTO: + ) -> UserGroupChangeDefinitionDTO: """Retrieve the details of a user group Retrieve all available information about a specific user group.
To specify the tenant in which to retrieve a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to return a user group, provide a project UUID in the `ProjectID` request header. @@ -1100,7 +1100,7 @@ def get_user_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeDefinitionDTO", + '200': "UserGroupChangeDefinitionDTO", } response_data = self.api_client.call_api( *_param, @@ -1133,7 +1133,7 @@ def get_user_group_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupChangeDefinitionDTO]: + ) -> ApiResponse[UserGroupChangeDefinitionDTO]: """Retrieve the details of a user group Retrieve all available information about a specific user group.
To specify the tenant in which to retrieve a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. To specify the project in which to return a user group, provide a project UUID in the `ProjectID` request header. @@ -1183,7 +1183,7 @@ def get_user_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeDefinitionDTO", + '200': "UserGroupChangeDefinitionDTO", } response_data = self.api_client.call_api( *_param, @@ -1266,7 +1266,7 @@ def get_user_group_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeDefinitionDTO", + '200': "UserGroupChangeDefinitionDTO", } response_data = self.api_client.call_api( *_param, @@ -1377,7 +1377,7 @@ def get_user_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupsChangeDTO: + ) -> UserGroupsChangeDTO: """Retrieve a list of user groups Retrieve a collection of user groups. Use `with` to control the amount of detail returned in the response. `with` supports these values: * **permissions**: Include the user group's permissions. * **users**: Include the users in the user group. * **details**: Include all available information. This API can return a maximum of 1000 user groups. The default number of user groups to return is 100. To specify the project in which to return user groups, provide a project UUID in the `ProjectID` request header.
To specify the tenant in which to retrieve user groups, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. @@ -1427,7 +1427,7 @@ def get_user_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsChangeDTO", + '200': "UserGroupsChangeDTO", } response_data = self.api_client.call_api( *_param, @@ -1460,7 +1460,7 @@ def get_user_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupsChangeDTO]: + ) -> ApiResponse[UserGroupsChangeDTO]: """Retrieve a list of user groups Retrieve a collection of user groups. Use `with` to control the amount of detail returned in the response. `with` supports these values: * **permissions**: Include the user group's permissions. * **users**: Include the users in the user group. * **details**: Include all available information. This API can return a maximum of 1000 user groups. The default number of user groups to return is 100. To specify the project in which to return user groups, provide a project UUID in the `ProjectID` request header.
To specify the tenant in which to retrieve user groups, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header. @@ -1510,7 +1510,7 @@ def get_user_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsChangeDTO", + '200': "UserGroupsChangeDTO", } response_data = self.api_client.call_api( *_param, @@ -1593,7 +1593,7 @@ def get_user_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsChangeDTO", + '200': "UserGroupsChangeDTO", } response_data = self.api_client.call_api( *_param, @@ -1689,7 +1689,7 @@ def _get_user_groups_serialize( @validate_call def patch_user_groups( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -1705,13 +1705,13 @@ def patch_user_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupChangeResponseDTO: + ) -> UserGroupChangeResponseDTO: """Patch multiple user groups Make partial changes to user groups. To specify the tenant in which to patch a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each user group in the request body. Unlike `PUT`, which completely replaces the user group definition, use `PATCH` to change specific fields in the user group without affecting omitted fields. To specify the project in which to patch user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1741,7 +1741,7 @@ def patch_user_groups( """ # noqa: E501 _param = self._patch_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -1752,7 +1752,7 @@ def patch_user_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1768,7 +1768,7 @@ def patch_user_groups( @validate_call def patch_user_groups_with_http_info( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -1784,13 +1784,13 @@ def patch_user_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupChangeResponseDTO]: + ) -> ApiResponse[UserGroupChangeResponseDTO]: """Patch multiple user groups Make partial changes to user groups. To specify the tenant in which to patch a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each user group in the request body. Unlike `PUT`, which completely replaces the user group definition, use `PATCH` to change specific fields in the user group without affecting omitted fields. To specify the project in which to patch user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1820,7 +1820,7 @@ def patch_user_groups_with_http_info( """ # noqa: E501 _param = self._patch_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -1831,7 +1831,7 @@ def patch_user_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1847,7 +1847,7 @@ def patch_user_groups_with_http_info( @validate_call def patch_user_groups_without_preload_content( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -1868,8 +1868,8 @@ def patch_user_groups_without_preload_content( Make partial changes to user groups. To specify the tenant in which to patch a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each user group in the request body. Unlike `PUT`, which completely replaces the user group definition, use `PATCH` to change specific fields in the user group without affecting omitted fields. To specify the project in which to patch user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1899,7 +1899,7 @@ def patch_user_groups_without_preload_content( """ # noqa: E501 _param = self._patch_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -1910,7 +1910,7 @@ def patch_user_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1921,7 +1921,7 @@ def patch_user_groups_without_preload_content( def _patch_user_groups_serialize( self, - admin_user_groups_change_dto, + user_groups_change_dto, target_tenant_id, project_id, non_versioned, @@ -1956,8 +1956,8 @@ def _patch_user_groups_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_user_groups_change_dto is not None: - _body_params = admin_user_groups_change_dto + if user_groups_change_dto is not None: + _body_params = user_groups_change_dto # set the HTTP header `Accept` @@ -2012,7 +2012,7 @@ def _patch_user_groups_serialize( @validate_call def put_user_groups( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -2028,13 +2028,13 @@ def put_user_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupChangeResponseDTO: + ) -> UserGroupChangeResponseDTO: """Update multiple user groups Update existing user groups. To specify the tenant in which to update a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each user group in the request body. When updating user groups, the user group 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 user group. We recommend that you retrieve a user group's details before you update the user group with new values. To specify the project in which to update user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -2064,7 +2064,7 @@ def put_user_groups( """ # noqa: E501 _param = self._put_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -2075,7 +2075,7 @@ def put_user_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2091,7 +2091,7 @@ def put_user_groups( @validate_call def put_user_groups_with_http_info( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -2107,13 +2107,13 @@ def put_user_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupChangeResponseDTO]: + ) -> ApiResponse[UserGroupChangeResponseDTO]: """Update multiple user groups Update existing user groups. To specify the tenant in which to update a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each user group in the request body. When updating user groups, the user group 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 user group. We recommend that you retrieve a user group's details before you update the user group with new values. To specify the project in which to update user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -2143,7 +2143,7 @@ def put_user_groups_with_http_info( """ # noqa: E501 _param = self._put_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -2154,7 +2154,7 @@ def put_user_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2170,7 +2170,7 @@ def put_user_groups_with_http_info( @validate_call def put_user_groups_without_preload_content( self, - admin_user_groups_change_dto: AdminUserGroupsChangeDTO, + user_groups_change_dto: UserGroupsChangeDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -2191,8 +2191,8 @@ def put_user_groups_without_preload_content( Update existing user groups. To specify the tenant in which to update a user group, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each user group in the request body. When updating user groups, the user group 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 user group. We recommend that you retrieve a user group's details before you update the user group with new values. To specify the project in which to update user groups, provide a project UUID in the `ProjectID` request header or `projectId` for each user group in the request body. - :param admin_user_groups_change_dto: (required) - :type admin_user_groups_change_dto: AdminUserGroupsChangeDTO + :param user_groups_change_dto: (required) + :type user_groups_change_dto: UserGroupsChangeDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -2222,7 +2222,7 @@ def put_user_groups_without_preload_content( """ # noqa: E501 _param = self._put_user_groups_serialize( - admin_user_groups_change_dto=admin_user_groups_change_dto, + user_groups_change_dto=user_groups_change_dto, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -2233,7 +2233,7 @@ def put_user_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupChangeResponseDTO", + '200': "UserGroupChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2244,7 +2244,7 @@ def put_user_groups_without_preload_content( def _put_user_groups_serialize( self, - admin_user_groups_change_dto, + user_groups_change_dto, target_tenant_id, project_id, non_versioned, @@ -2279,8 +2279,8 @@ def _put_user_groups_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_user_groups_change_dto is not None: - _body_params = admin_user_groups_change_dto + if user_groups_change_dto is not None: + _body_params = user_groups_change_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/users_v1_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/users_v1_api.py index ba702df828..00ff6db6ae 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/users_v1_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/users_v1_api.py @@ -20,20 +20,20 @@ from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr from typing import Any, Dict, Optional, Tuple, Union from typing_extensions import Annotated -from visier_platform_sdk.models.admin_permissions_to_user_group_for_tenant_dto import AdminPermissionsToUserGroupForTenantDTO -from visier_platform_sdk.models.admin_permissions_to_user_groups_request_dto import AdminPermissionsToUserGroupsRequestDTO -from visier_platform_sdk.models.admin_security_assignment_response_dto import AdminSecurityAssignmentResponseDTO -from visier_platform_sdk.models.admin_user_groups_get_api_response_dto import AdminUserGroupsGetAPIResponseDTO -from visier_platform_sdk.models.admin_user_groups_users_dto import AdminUserGroupsUsersDTO -from visier_platform_sdk.models.admin_users_to_user_groups_request_dto import AdminUsersToUserGroupsRequestDTO -from visier_platform_sdk.models.servicing_all_users_get_api_response_dto import ServicingAllUsersGetAPIResponseDTO -from visier_platform_sdk.models.servicing_assign_revoke_permissions_request_dto import ServicingAssignRevokePermissionsRequestDTO -from visier_platform_sdk.models.servicing_assign_revoke_permissions_response_dto import ServicingAssignRevokePermissionsResponseDTO -from visier_platform_sdk.models.servicing_permission_assigned_users_dto import ServicingPermissionAssignedUsersDTO -from visier_platform_sdk.models.servicing_user_creation_api_request_dto import ServicingUserCreationAPIRequestDTO -from visier_platform_sdk.models.servicing_user_get_api_response_dto import ServicingUserGetAPIResponseDTO -from visier_platform_sdk.models.servicing_user_update_api_request_dto import ServicingUserUpdateAPIRequestDTO +from visier_platform_sdk.models.all_users_get_api_response_dto import AllUsersGetAPIResponseDTO +from visier_platform_sdk.models.assign_revoke_permissions_request_dto import AssignRevokePermissionsRequestDTO +from visier_platform_sdk.models.assign_revoke_permissions_response_dto import AssignRevokePermissionsResponseDTO +from visier_platform_sdk.models.permission_assigned_users_dto import PermissionAssignedUsersDTO +from visier_platform_sdk.models.permissions_to_user_group_for_tenant_dto import PermissionsToUserGroupForTenantDTO +from visier_platform_sdk.models.permissions_to_user_groups_request_dto import PermissionsToUserGroupsRequestDTO +from visier_platform_sdk.models.security_assignment_response_dto import SecurityAssignmentResponseDTO +from visier_platform_sdk.models.user_creation_api_request_dto import UserCreationAPIRequestDTO from visier_platform_sdk.models.user_creation_api_response_dto import UserCreationAPIResponseDTO +from visier_platform_sdk.models.user_get_api_response_dto import UserGetAPIResponseDTO +from visier_platform_sdk.models.user_groups_get_api_response_dto import UserGroupsGetAPIResponseDTO +from visier_platform_sdk.models.user_groups_users_dto import UserGroupsUsersDTO +from visier_platform_sdk.models.user_update_api_request_dto import UserUpdateAPIRequestDTO +from visier_platform_sdk.models.users_to_user_groups_request_dto import UsersToUserGroupsRequestDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -56,7 +56,7 @@ def __init__(self, api_client=None) -> None: @validate_call def add_user( self, - servicing_user_creation_api_request_dto: ServicingUserCreationAPIRequestDTO, + user_creation_api_request_dto: UserCreationAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create a user in.")] = None, 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, _request_timeout: Union[ @@ -76,8 +76,8 @@ def add_user( Create a new user. Administrating tenant users can specify the tenant in which to add a user. - :param servicing_user_creation_api_request_dto: (required) - :type servicing_user_creation_api_request_dto: ServicingUserCreationAPIRequestDTO + :param user_creation_api_request_dto: (required) + :type user_creation_api_request_dto: UserCreationAPIRequestDTO :param tenant_code: Specify the tenant to create a user in. :type tenant_code: str :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. @@ -105,7 +105,7 @@ def add_user( """ # noqa: E501 _param = self._add_user_serialize( - servicing_user_creation_api_request_dto=servicing_user_creation_api_request_dto, + user_creation_api_request_dto=user_creation_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -131,7 +131,7 @@ def add_user( @validate_call def add_user_with_http_info( self, - servicing_user_creation_api_request_dto: ServicingUserCreationAPIRequestDTO, + user_creation_api_request_dto: UserCreationAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create a user in.")] = None, 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, _request_timeout: Union[ @@ -151,8 +151,8 @@ def add_user_with_http_info( Create a new user. Administrating tenant users can specify the tenant in which to add a user. - :param servicing_user_creation_api_request_dto: (required) - :type servicing_user_creation_api_request_dto: ServicingUserCreationAPIRequestDTO + :param user_creation_api_request_dto: (required) + :type user_creation_api_request_dto: UserCreationAPIRequestDTO :param tenant_code: Specify the tenant to create a user in. :type tenant_code: str :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. @@ -180,7 +180,7 @@ def add_user_with_http_info( """ # noqa: E501 _param = self._add_user_serialize( - servicing_user_creation_api_request_dto=servicing_user_creation_api_request_dto, + user_creation_api_request_dto=user_creation_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -206,7 +206,7 @@ def add_user_with_http_info( @validate_call def add_user_without_preload_content( self, - servicing_user_creation_api_request_dto: ServicingUserCreationAPIRequestDTO, + user_creation_api_request_dto: UserCreationAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create a user in.")] = None, 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, _request_timeout: Union[ @@ -226,8 +226,8 @@ def add_user_without_preload_content( Create a new user. Administrating tenant users can specify the tenant in which to add a user. - :param servicing_user_creation_api_request_dto: (required) - :type servicing_user_creation_api_request_dto: ServicingUserCreationAPIRequestDTO + :param user_creation_api_request_dto: (required) + :type user_creation_api_request_dto: UserCreationAPIRequestDTO :param tenant_code: Specify the tenant to create a user in. :type tenant_code: str :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. @@ -255,7 +255,7 @@ def add_user_without_preload_content( """ # noqa: E501 _param = self._add_user_serialize( - servicing_user_creation_api_request_dto=servicing_user_creation_api_request_dto, + user_creation_api_request_dto=user_creation_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -276,7 +276,7 @@ def add_user_without_preload_content( def _add_user_serialize( self, - servicing_user_creation_api_request_dto, + user_creation_api_request_dto, tenant_code, target_tenant_id, _request_auth, @@ -310,8 +310,8 @@ def _add_user_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_user_creation_api_request_dto is not None: - _body_params = servicing_user_creation_api_request_dto + if user_creation_api_request_dto is not None: + _body_params = user_creation_api_request_dto # set the HTTP header `Accept` @@ -366,7 +366,7 @@ def _add_user_serialize( @validate_call def add_users_to_user_group( self, - admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO, + users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -382,13 +382,13 @@ def add_users_to_user_group( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminSecurityAssignmentResponseDTO: + ) -> SecurityAssignmentResponseDTO: """Assign users to user groups This API allows you to assign users to specific user groups. To assign users to user groups in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can assign users to user groups in multiple analytic tenants by providing a tenant code and project ID in the request body. We recommend that administrating tenants set the analytic tenant in which to execute the API call using the `TargetTenantID` request header. - :param admin_users_to_user_groups_request_dto: (required) - :type admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO + :param users_to_user_groups_request_dto: (required) + :type users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -418,7 +418,7 @@ def add_users_to_user_group( """ # noqa: E501 _param = self._add_users_to_user_group_serialize( - admin_users_to_user_groups_request_dto=admin_users_to_user_groups_request_dto, + users_to_user_groups_request_dto=users_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -429,7 +429,7 @@ def add_users_to_user_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSecurityAssignmentResponseDTO", + '200': "SecurityAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -445,7 +445,7 @@ def add_users_to_user_group( @validate_call def add_users_to_user_group_with_http_info( self, - admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO, + users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -461,13 +461,13 @@ def add_users_to_user_group_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminSecurityAssignmentResponseDTO]: + ) -> ApiResponse[SecurityAssignmentResponseDTO]: """Assign users to user groups This API allows you to assign users to specific user groups. To assign users to user groups in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can assign users to user groups in multiple analytic tenants by providing a tenant code and project ID in the request body. We recommend that administrating tenants set the analytic tenant in which to execute the API call using the `TargetTenantID` request header. - :param admin_users_to_user_groups_request_dto: (required) - :type admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO + :param users_to_user_groups_request_dto: (required) + :type users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -497,7 +497,7 @@ def add_users_to_user_group_with_http_info( """ # noqa: E501 _param = self._add_users_to_user_group_serialize( - admin_users_to_user_groups_request_dto=admin_users_to_user_groups_request_dto, + users_to_user_groups_request_dto=users_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -508,7 +508,7 @@ def add_users_to_user_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSecurityAssignmentResponseDTO", + '200': "SecurityAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -524,7 +524,7 @@ def add_users_to_user_group_with_http_info( @validate_call def add_users_to_user_group_without_preload_content( self, - admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO, + users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -545,8 +545,8 @@ def add_users_to_user_group_without_preload_content( This API allows you to assign users to specific user groups. To assign users to user groups in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can assign users to user groups in multiple analytic tenants by providing a tenant code and project ID in the request body. We recommend that administrating tenants set the analytic tenant in which to execute the API call using the `TargetTenantID` request header. - :param admin_users_to_user_groups_request_dto: (required) - :type admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO + :param users_to_user_groups_request_dto: (required) + :type users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -576,7 +576,7 @@ def add_users_to_user_group_without_preload_content( """ # noqa: E501 _param = self._add_users_to_user_group_serialize( - admin_users_to_user_groups_request_dto=admin_users_to_user_groups_request_dto, + users_to_user_groups_request_dto=users_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -587,7 +587,7 @@ def add_users_to_user_group_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSecurityAssignmentResponseDTO", + '200': "SecurityAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -598,7 +598,7 @@ def add_users_to_user_group_without_preload_content( def _add_users_to_user_group_serialize( self, - admin_users_to_user_groups_request_dto, + users_to_user_groups_request_dto, project_id, target_tenant_id, non_versioned, @@ -633,8 +633,8 @@ def _add_users_to_user_group_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_users_to_user_groups_request_dto is not None: - _body_params = admin_users_to_user_groups_request_dto + if users_to_user_groups_request_dto is not None: + _body_params = users_to_user_groups_request_dto # set the HTTP header `Accept` @@ -689,7 +689,7 @@ def _add_users_to_user_group_serialize( @validate_call def assign_permissions( self, - servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO, + assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -705,13 +705,13 @@ def assign_permissions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingAssignRevokePermissionsResponseDTO: + ) -> AssignRevokePermissionsResponseDTO: """Assign permissions to users This API allows you to assign a permission to specific users. Administrating tenant users can assign permissions to users in the administrating tenant and in the analytic tenants those users belong to. To assign permissions to users in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can assign permissions to users in analytic tenants by providing a tenant code and project ID in the request body. - :param servicing_assign_revoke_permissions_request_dto: (required) - :type servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO + :param assign_revoke_permissions_request_dto: (required) + :type assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -741,7 +741,7 @@ def assign_permissions( """ # noqa: E501 _param = self._assign_permissions_serialize( - servicing_assign_revoke_permissions_request_dto=servicing_assign_revoke_permissions_request_dto, + assign_revoke_permissions_request_dto=assign_revoke_permissions_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -752,7 +752,7 @@ def assign_permissions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAssignRevokePermissionsResponseDTO", + '200': "AssignRevokePermissionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -768,7 +768,7 @@ def assign_permissions( @validate_call def assign_permissions_with_http_info( self, - servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO, + assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -784,13 +784,13 @@ def assign_permissions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingAssignRevokePermissionsResponseDTO]: + ) -> ApiResponse[AssignRevokePermissionsResponseDTO]: """Assign permissions to users This API allows you to assign a permission to specific users. Administrating tenant users can assign permissions to users in the administrating tenant and in the analytic tenants those users belong to. To assign permissions to users in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can assign permissions to users in analytic tenants by providing a tenant code and project ID in the request body. - :param servicing_assign_revoke_permissions_request_dto: (required) - :type servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO + :param assign_revoke_permissions_request_dto: (required) + :type assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -820,7 +820,7 @@ def assign_permissions_with_http_info( """ # noqa: E501 _param = self._assign_permissions_serialize( - servicing_assign_revoke_permissions_request_dto=servicing_assign_revoke_permissions_request_dto, + assign_revoke_permissions_request_dto=assign_revoke_permissions_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -831,7 +831,7 @@ def assign_permissions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAssignRevokePermissionsResponseDTO", + '200': "AssignRevokePermissionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -847,7 +847,7 @@ def assign_permissions_with_http_info( @validate_call def assign_permissions_without_preload_content( self, - servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO, + assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -868,8 +868,8 @@ def assign_permissions_without_preload_content( This API allows you to assign a permission to specific users. Administrating tenant users can assign permissions to users in the administrating tenant and in the analytic tenants those users belong to. To assign permissions to users in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can assign permissions to users in analytic tenants by providing a tenant code and project ID in the request body. - :param servicing_assign_revoke_permissions_request_dto: (required) - :type servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO + :param assign_revoke_permissions_request_dto: (required) + :type assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -899,7 +899,7 @@ def assign_permissions_without_preload_content( """ # noqa: E501 _param = self._assign_permissions_serialize( - servicing_assign_revoke_permissions_request_dto=servicing_assign_revoke_permissions_request_dto, + assign_revoke_permissions_request_dto=assign_revoke_permissions_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -910,7 +910,7 @@ def assign_permissions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAssignRevokePermissionsResponseDTO", + '200': "AssignRevokePermissionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -921,7 +921,7 @@ def assign_permissions_without_preload_content( def _assign_permissions_serialize( self, - servicing_assign_revoke_permissions_request_dto, + assign_revoke_permissions_request_dto, project_id, target_tenant_id, non_versioned, @@ -956,8 +956,8 @@ def _assign_permissions_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if servicing_assign_revoke_permissions_request_dto is not None: - _body_params = servicing_assign_revoke_permissions_request_dto + if assign_revoke_permissions_request_dto is not None: + _body_params = assign_revoke_permissions_request_dto # set the HTTP header `Accept` @@ -1012,7 +1012,7 @@ def _assign_permissions_serialize( @validate_call def assign_permissions_to_user_groups( self, - admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO, + permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, _request_timeout: Union[ @@ -1027,13 +1027,13 @@ def assign_permissions_to_user_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminPermissionsToUserGroupForTenantDTO: + ) -> PermissionsToUserGroupForTenantDTO: """Assign permissions to user groups This API allows you to assign a permission to specific user groups. This assigns the permission to all users in the user group. To assign permissions to user groups in a project, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_to_user_groups_request_dto: (required) - :type admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO + :param permissions_to_user_groups_request_dto: (required) + :type permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -1061,7 +1061,7 @@ def assign_permissions_to_user_groups( """ # noqa: E501 _param = self._assign_permissions_to_user_groups_serialize( - admin_permissions_to_user_groups_request_dto=admin_permissions_to_user_groups_request_dto, + permissions_to_user_groups_request_dto=permissions_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -1071,7 +1071,7 @@ def assign_permissions_to_user_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminPermissionsToUserGroupForTenantDTO", + '200': "PermissionsToUserGroupForTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -1087,7 +1087,7 @@ def assign_permissions_to_user_groups( @validate_call def assign_permissions_to_user_groups_with_http_info( self, - admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO, + permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, _request_timeout: Union[ @@ -1102,13 +1102,13 @@ def assign_permissions_to_user_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminPermissionsToUserGroupForTenantDTO]: + ) -> ApiResponse[PermissionsToUserGroupForTenantDTO]: """Assign permissions to user groups This API allows you to assign a permission to specific user groups. This assigns the permission to all users in the user group. To assign permissions to user groups in a project, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_to_user_groups_request_dto: (required) - :type admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO + :param permissions_to_user_groups_request_dto: (required) + :type permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -1136,7 +1136,7 @@ def assign_permissions_to_user_groups_with_http_info( """ # noqa: E501 _param = self._assign_permissions_to_user_groups_serialize( - admin_permissions_to_user_groups_request_dto=admin_permissions_to_user_groups_request_dto, + permissions_to_user_groups_request_dto=permissions_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -1146,7 +1146,7 @@ def assign_permissions_to_user_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminPermissionsToUserGroupForTenantDTO", + '200': "PermissionsToUserGroupForTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -1162,7 +1162,7 @@ def assign_permissions_to_user_groups_with_http_info( @validate_call def assign_permissions_to_user_groups_without_preload_content( self, - admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO, + permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, _request_timeout: Union[ @@ -1182,8 +1182,8 @@ def assign_permissions_to_user_groups_without_preload_content( This API allows you to assign a permission to specific user groups. This assigns the permission to all users in the user group. To assign permissions to user groups in a project, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_to_user_groups_request_dto: (required) - :type admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO + :param permissions_to_user_groups_request_dto: (required) + :type permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -1211,7 +1211,7 @@ def assign_permissions_to_user_groups_without_preload_content( """ # noqa: E501 _param = self._assign_permissions_to_user_groups_serialize( - admin_permissions_to_user_groups_request_dto=admin_permissions_to_user_groups_request_dto, + permissions_to_user_groups_request_dto=permissions_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -1221,7 +1221,7 @@ def assign_permissions_to_user_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminPermissionsToUserGroupForTenantDTO", + '200': "PermissionsToUserGroupForTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -1232,7 +1232,7 @@ def assign_permissions_to_user_groups_without_preload_content( def _assign_permissions_to_user_groups_serialize( self, - admin_permissions_to_user_groups_request_dto, + permissions_to_user_groups_request_dto, project_id, target_tenant_id, _request_auth, @@ -1264,8 +1264,8 @@ def _assign_permissions_to_user_groups_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_permissions_to_user_groups_request_dto is not None: - _body_params = admin_permissions_to_user_groups_request_dto + if permissions_to_user_groups_request_dto is not None: + _body_params = permissions_to_user_groups_request_dto # set the HTTP header `Accept` @@ -1917,7 +1917,7 @@ def get_all_user_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupsGetAPIResponseDTO: + ) -> UserGroupsGetAPIResponseDTO: """Retrieve a list of all user groups This API allows you to retrieve the full list of user groups in a tenant. To specify the project in which to retrieve user groups for a tenant, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves user information from production. @@ -1967,7 +1967,7 @@ def get_all_user_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsGetAPIResponseDTO", + '200': "UserGroupsGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2000,7 +2000,7 @@ def get_all_user_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupsGetAPIResponseDTO]: + ) -> ApiResponse[UserGroupsGetAPIResponseDTO]: """Retrieve a list of all user groups This API allows you to retrieve the full list of user groups in a tenant. To specify the project in which to retrieve user groups for a tenant, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves user information from production. @@ -2050,7 +2050,7 @@ def get_all_user_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsGetAPIResponseDTO", + '200': "UserGroupsGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2133,7 +2133,7 @@ def get_all_user_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsGetAPIResponseDTO", + '200': "UserGroupsGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2251,7 +2251,7 @@ def get_all_users( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingAllUsersGetAPIResponseDTO: + ) -> AllUsersGetAPIResponseDTO: """Retrieve a list of all users This API allows you to retrieve the full list of users and their current states. To specify the project in which to retrieve user information, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves user information from production. @@ -2310,7 +2310,7 @@ def get_all_users( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllUsersGetAPIResponseDTO", + '200': "AllUsersGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2346,7 +2346,7 @@ def get_all_users_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingAllUsersGetAPIResponseDTO]: + ) -> ApiResponse[AllUsersGetAPIResponseDTO]: """Retrieve a list of all users This API allows you to retrieve the full list of users and their current states. To specify the project in which to retrieve user information, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves user information from production. @@ -2405,7 +2405,7 @@ def get_all_users_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllUsersGetAPIResponseDTO", + '200': "AllUsersGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2500,7 +2500,7 @@ def get_all_users_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAllUsersGetAPIResponseDTO", + '200': "AllUsersGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3248,7 +3248,7 @@ def get_permission_assigned_users( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingPermissionAssignedUsersDTO: + ) -> PermissionAssignedUsersDTO: """Retrieve users that are assigned a specific permission This API allows you to retrieve all the users that are assigned a specified permission. You must know the ID of the permission you want to retrieve users for. To specify the project in which to retrieve users assigned to a specific permission for the login tenant, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves users assigned to a specific permission from production. @@ -3307,7 +3307,7 @@ def get_permission_assigned_users( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionAssignedUsersDTO", + '200': "PermissionAssignedUsersDTO", } response_data = self.api_client.call_api( *_param, @@ -3343,7 +3343,7 @@ def get_permission_assigned_users_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingPermissionAssignedUsersDTO]: + ) -> ApiResponse[PermissionAssignedUsersDTO]: """Retrieve users that are assigned a specific permission This API allows you to retrieve all the users that are assigned a specified permission. You must know the ID of the permission you want to retrieve users for. To specify the project in which to retrieve users assigned to a specific permission for the login tenant, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves users assigned to a specific permission from production. @@ -3402,7 +3402,7 @@ def get_permission_assigned_users_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionAssignedUsersDTO", + '200': "PermissionAssignedUsersDTO", } response_data = self.api_client.call_api( *_param, @@ -3497,7 +3497,7 @@ def get_permission_assigned_users_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingPermissionAssignedUsersDTO", + '200': "PermissionAssignedUsersDTO", } response_data = self.api_client.call_api( *_param, @@ -3908,7 +3908,7 @@ def get_user_detail( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingUserGetAPIResponseDTO: + ) -> UserGetAPIResponseDTO: """Retrieve a user's details This API allows you to retrieve all details for a specified user. To specify the project in which to retrieve user information, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves user information from production. @@ -3964,7 +3964,7 @@ def get_user_detail( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUserGetAPIResponseDTO", + '200': "UserGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3999,7 +3999,7 @@ def get_user_detail_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingUserGetAPIResponseDTO]: + ) -> ApiResponse[UserGetAPIResponseDTO]: """Retrieve a user's details This API allows you to retrieve all details for a specified user. To specify the project in which to retrieve user information, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves user information from production. @@ -4055,7 +4055,7 @@ def get_user_detail_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUserGetAPIResponseDTO", + '200': "UserGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4146,7 +4146,7 @@ def get_user_detail_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUserGetAPIResponseDTO", + '200': "UserGetAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4270,7 +4270,7 @@ def get_user_group_users( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminUserGroupsUsersDTO: + ) -> UserGroupsUsersDTO: """Retrieve a list of user group users This API allows you to retrieve the list of users explicitly assigned to a user group. Users that are implicitly included in the user group through the user group's dynamic filters are not returned by this endpoint. To specify the project in which to retrieve user group users for the login tenant, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves user group users from production. @@ -4323,7 +4323,7 @@ def get_user_group_users( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsUsersDTO", + '200': "UserGroupsUsersDTO", } response_data = self.api_client.call_api( *_param, @@ -4357,7 +4357,7 @@ def get_user_group_users_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminUserGroupsUsersDTO]: + ) -> ApiResponse[UserGroupsUsersDTO]: """Retrieve a list of user group users This API allows you to retrieve the list of users explicitly assigned to a user group. Users that are implicitly included in the user group through the user group's dynamic filters are not returned by this endpoint. To specify the project in which to retrieve user group users for the login tenant, provide a project UUID in the `ProjectID` request header. If omitted, the request retrieves user group users from production. @@ -4410,7 +4410,7 @@ def get_user_group_users_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsUsersDTO", + '200': "UserGroupsUsersDTO", } response_data = self.api_client.call_api( *_param, @@ -4497,7 +4497,7 @@ def get_user_group_users_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminUserGroupsUsersDTO", + '200': "UserGroupsUsersDTO", } response_data = self.api_client.call_api( *_param, @@ -4881,7 +4881,7 @@ def _get_user_permissions_xlsx_serialize( @validate_call def remove_permissions( self, - servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO, + assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -4897,13 +4897,13 @@ def remove_permissions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingAssignRevokePermissionsResponseDTO: + ) -> AssignRevokePermissionsResponseDTO: """Remove permissions from users This API allows you to remove a permission from specific users. Administrating tenant users can remove permissions from users in the administrating tenant and in the analytic tenants those users belong to. To remove permission from users in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can remove permissions from users in analytic tenants by providing a tenant code and project ID in the request body. - :param servicing_assign_revoke_permissions_request_dto: (required) - :type servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO + :param assign_revoke_permissions_request_dto: (required) + :type assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -4933,7 +4933,7 @@ def remove_permissions( """ # noqa: E501 _param = self._remove_permissions_serialize( - servicing_assign_revoke_permissions_request_dto=servicing_assign_revoke_permissions_request_dto, + assign_revoke_permissions_request_dto=assign_revoke_permissions_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -4944,7 +4944,7 @@ def remove_permissions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAssignRevokePermissionsResponseDTO", + '200': "AssignRevokePermissionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4960,7 +4960,7 @@ def remove_permissions( @validate_call def remove_permissions_with_http_info( self, - servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO, + assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -4976,13 +4976,13 @@ def remove_permissions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingAssignRevokePermissionsResponseDTO]: + ) -> ApiResponse[AssignRevokePermissionsResponseDTO]: """Remove permissions from users This API allows you to remove a permission from specific users. Administrating tenant users can remove permissions from users in the administrating tenant and in the analytic tenants those users belong to. To remove permission from users in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can remove permissions from users in analytic tenants by providing a tenant code and project ID in the request body. - :param servicing_assign_revoke_permissions_request_dto: (required) - :type servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO + :param assign_revoke_permissions_request_dto: (required) + :type assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -5012,7 +5012,7 @@ def remove_permissions_with_http_info( """ # noqa: E501 _param = self._remove_permissions_serialize( - servicing_assign_revoke_permissions_request_dto=servicing_assign_revoke_permissions_request_dto, + assign_revoke_permissions_request_dto=assign_revoke_permissions_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -5023,7 +5023,7 @@ def remove_permissions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAssignRevokePermissionsResponseDTO", + '200': "AssignRevokePermissionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5039,7 +5039,7 @@ def remove_permissions_with_http_info( @validate_call def remove_permissions_without_preload_content( self, - servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO, + assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -5060,8 +5060,8 @@ def remove_permissions_without_preload_content( This API allows you to remove a permission from specific users. Administrating tenant users can remove permissions from users in the administrating tenant and in the analytic tenants those users belong to. To remove permission from users in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can remove permissions from users in analytic tenants by providing a tenant code and project ID in the request body. - :param servicing_assign_revoke_permissions_request_dto: (required) - :type servicing_assign_revoke_permissions_request_dto: ServicingAssignRevokePermissionsRequestDTO + :param assign_revoke_permissions_request_dto: (required) + :type assign_revoke_permissions_request_dto: AssignRevokePermissionsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -5091,7 +5091,7 @@ def remove_permissions_without_preload_content( """ # noqa: E501 _param = self._remove_permissions_serialize( - servicing_assign_revoke_permissions_request_dto=servicing_assign_revoke_permissions_request_dto, + assign_revoke_permissions_request_dto=assign_revoke_permissions_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -5102,7 +5102,7 @@ def remove_permissions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingAssignRevokePermissionsResponseDTO", + '200': "AssignRevokePermissionsResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5113,7 +5113,7 @@ def remove_permissions_without_preload_content( def _remove_permissions_serialize( self, - servicing_assign_revoke_permissions_request_dto, + assign_revoke_permissions_request_dto, project_id, target_tenant_id, non_versioned, @@ -5148,8 +5148,8 @@ def _remove_permissions_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if servicing_assign_revoke_permissions_request_dto is not None: - _body_params = servicing_assign_revoke_permissions_request_dto + if assign_revoke_permissions_request_dto is not None: + _body_params = assign_revoke_permissions_request_dto # set the HTTP header `Accept` @@ -5204,7 +5204,7 @@ def _remove_permissions_serialize( @validate_call def remove_users_from_user_group( self, - admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO, + users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -5220,13 +5220,13 @@ def remove_users_from_user_group( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminSecurityAssignmentResponseDTO: + ) -> SecurityAssignmentResponseDTO: """Remove users from user groups This API allows you to remove users from specific user groups. To remove users from user groups in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can remove users to user groups in multiple analytic tenants by providing a tenant code and project ID in the request body. We recommend that administrating tenants set the analytic tenant in which to execute the API call using the `TargetTenantID` request header. - :param admin_users_to_user_groups_request_dto: (required) - :type admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO + :param users_to_user_groups_request_dto: (required) + :type users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -5256,7 +5256,7 @@ def remove_users_from_user_group( """ # noqa: E501 _param = self._remove_users_from_user_group_serialize( - admin_users_to_user_groups_request_dto=admin_users_to_user_groups_request_dto, + users_to_user_groups_request_dto=users_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -5267,7 +5267,7 @@ def remove_users_from_user_group( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSecurityAssignmentResponseDTO", + '200': "SecurityAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5283,7 +5283,7 @@ def remove_users_from_user_group( @validate_call def remove_users_from_user_group_with_http_info( self, - admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO, + users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -5299,13 +5299,13 @@ def remove_users_from_user_group_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminSecurityAssignmentResponseDTO]: + ) -> ApiResponse[SecurityAssignmentResponseDTO]: """Remove users from user groups This API allows you to remove users from specific user groups. To remove users from user groups in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can remove users to user groups in multiple analytic tenants by providing a tenant code and project ID in the request body. We recommend that administrating tenants set the analytic tenant in which to execute the API call using the `TargetTenantID` request header. - :param admin_users_to_user_groups_request_dto: (required) - :type admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO + :param users_to_user_groups_request_dto: (required) + :type users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -5335,7 +5335,7 @@ def remove_users_from_user_group_with_http_info( """ # noqa: E501 _param = self._remove_users_from_user_group_serialize( - admin_users_to_user_groups_request_dto=admin_users_to_user_groups_request_dto, + users_to_user_groups_request_dto=users_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -5346,7 +5346,7 @@ def remove_users_from_user_group_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSecurityAssignmentResponseDTO", + '200': "SecurityAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5362,7 +5362,7 @@ def remove_users_from_user_group_with_http_info( @validate_call def remove_users_from_user_group_without_preload_content( self, - admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO, + users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -5383,8 +5383,8 @@ def remove_users_from_user_group_without_preload_content( This API allows you to remove users from specific user groups. To remove users from user groups in a project for the administrating tenant, provide a project UUID in the `ProjectID` request header. Administrating tenants can remove users to user groups in multiple analytic tenants by providing a tenant code and project ID in the request body. We recommend that administrating tenants set the analytic tenant in which to execute the API call using the `TargetTenantID` request header. - :param admin_users_to_user_groups_request_dto: (required) - :type admin_users_to_user_groups_request_dto: AdminUsersToUserGroupsRequestDTO + :param users_to_user_groups_request_dto: (required) + :type users_to_user_groups_request_dto: UsersToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -5414,7 +5414,7 @@ def remove_users_from_user_group_without_preload_content( """ # noqa: E501 _param = self._remove_users_from_user_group_serialize( - admin_users_to_user_groups_request_dto=admin_users_to_user_groups_request_dto, + users_to_user_groups_request_dto=users_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, @@ -5425,7 +5425,7 @@ def remove_users_from_user_group_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminSecurityAssignmentResponseDTO", + '200': "SecurityAssignmentResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5436,7 +5436,7 @@ def remove_users_from_user_group_without_preload_content( def _remove_users_from_user_group_serialize( self, - admin_users_to_user_groups_request_dto, + users_to_user_groups_request_dto, project_id, target_tenant_id, non_versioned, @@ -5471,8 +5471,8 @@ def _remove_users_from_user_group_serialize( _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter - if admin_users_to_user_groups_request_dto is not None: - _body_params = admin_users_to_user_groups_request_dto + if users_to_user_groups_request_dto is not None: + _body_params = users_to_user_groups_request_dto # set the HTTP header `Accept` @@ -5527,7 +5527,7 @@ def _remove_users_from_user_group_serialize( @validate_call def revoke_permissions_from_user_groups( self, - admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO, + permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, _request_timeout: Union[ @@ -5542,13 +5542,13 @@ def revoke_permissions_from_user_groups( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AdminPermissionsToUserGroupForTenantDTO: + ) -> PermissionsToUserGroupForTenantDTO: """Remove permissions from user groups This API allows you to remove a permission from specific user groups. To remove permissions from user groups in a project, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_to_user_groups_request_dto: (required) - :type admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO + :param permissions_to_user_groups_request_dto: (required) + :type permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -5576,7 +5576,7 @@ def revoke_permissions_from_user_groups( """ # noqa: E501 _param = self._revoke_permissions_from_user_groups_serialize( - admin_permissions_to_user_groups_request_dto=admin_permissions_to_user_groups_request_dto, + permissions_to_user_groups_request_dto=permissions_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -5586,7 +5586,7 @@ def revoke_permissions_from_user_groups( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminPermissionsToUserGroupForTenantDTO", + '200': "PermissionsToUserGroupForTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -5602,7 +5602,7 @@ def revoke_permissions_from_user_groups( @validate_call def revoke_permissions_from_user_groups_with_http_info( self, - admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO, + permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, _request_timeout: Union[ @@ -5617,13 +5617,13 @@ def revoke_permissions_from_user_groups_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AdminPermissionsToUserGroupForTenantDTO]: + ) -> ApiResponse[PermissionsToUserGroupForTenantDTO]: """Remove permissions from user groups This API allows you to remove a permission from specific user groups. To remove permissions from user groups in a project, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_to_user_groups_request_dto: (required) - :type admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO + :param permissions_to_user_groups_request_dto: (required) + :type permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -5651,7 +5651,7 @@ def revoke_permissions_from_user_groups_with_http_info( """ # noqa: E501 _param = self._revoke_permissions_from_user_groups_serialize( - admin_permissions_to_user_groups_request_dto=admin_permissions_to_user_groups_request_dto, + permissions_to_user_groups_request_dto=permissions_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -5661,7 +5661,7 @@ def revoke_permissions_from_user_groups_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminPermissionsToUserGroupForTenantDTO", + '200': "PermissionsToUserGroupForTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -5677,7 +5677,7 @@ def revoke_permissions_from_user_groups_with_http_info( @validate_call def revoke_permissions_from_user_groups_without_preload_content( self, - admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO, + permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, _request_timeout: Union[ @@ -5697,8 +5697,8 @@ def revoke_permissions_from_user_groups_without_preload_content( This API allows you to remove a permission from specific user groups. To remove permissions from user groups in a project, provide a project UUID in the `ProjectID` request header. - :param admin_permissions_to_user_groups_request_dto: (required) - :type admin_permissions_to_user_groups_request_dto: AdminPermissionsToUserGroupsRequestDTO + :param permissions_to_user_groups_request_dto: (required) + :type permissions_to_user_groups_request_dto: PermissionsToUserGroupsRequestDTO :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. :type project_id: str :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. @@ -5726,7 +5726,7 @@ def revoke_permissions_from_user_groups_without_preload_content( """ # noqa: E501 _param = self._revoke_permissions_from_user_groups_serialize( - admin_permissions_to_user_groups_request_dto=admin_permissions_to_user_groups_request_dto, + permissions_to_user_groups_request_dto=permissions_to_user_groups_request_dto, project_id=project_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -5736,7 +5736,7 @@ def revoke_permissions_from_user_groups_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AdminPermissionsToUserGroupForTenantDTO", + '200': "PermissionsToUserGroupForTenantDTO", } response_data = self.api_client.call_api( *_param, @@ -5747,7 +5747,7 @@ def revoke_permissions_from_user_groups_without_preload_content( def _revoke_permissions_from_user_groups_serialize( self, - admin_permissions_to_user_groups_request_dto, + permissions_to_user_groups_request_dto, project_id, target_tenant_id, _request_auth, @@ -5779,8 +5779,8 @@ def _revoke_permissions_from_user_groups_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if admin_permissions_to_user_groups_request_dto is not None: - _body_params = admin_permissions_to_user_groups_request_dto + if permissions_to_user_groups_request_dto is not None: + _body_params = permissions_to_user_groups_request_dto # set the HTTP header `Accept` @@ -5836,7 +5836,7 @@ def _revoke_permissions_from_user_groups_serialize( def update_user( self, user_id: Annotated[StrictStr, Field(description="The ID of the user you want to update.")], - servicing_user_update_api_request_dto: ServicingUserUpdateAPIRequestDTO, + user_update_api_request_dto: UserUpdateAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update a user in.")] = None, 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, _request_timeout: Union[ @@ -5851,15 +5851,15 @@ def update_user( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingUserUpdateAPIRequestDTO: + ) -> UserUpdateAPIRequestDTO: """Update a user Update an existing user's information, such as their display name or if the user is enabled in Visier. :param user_id: The ID of the user you want to update. (required) :type user_id: str - :param servicing_user_update_api_request_dto: (required) - :type servicing_user_update_api_request_dto: ServicingUserUpdateAPIRequestDTO + :param user_update_api_request_dto: (required) + :type user_update_api_request_dto: UserUpdateAPIRequestDTO :param tenant_code: Specify the tenant to update a user in. :type tenant_code: str :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. @@ -5888,7 +5888,7 @@ def update_user( _param = self._update_user_serialize( user_id=user_id, - servicing_user_update_api_request_dto=servicing_user_update_api_request_dto, + user_update_api_request_dto=user_update_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -5898,7 +5898,7 @@ def update_user( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUserUpdateAPIRequestDTO", + '200': "UserUpdateAPIRequestDTO", } response_data = self.api_client.call_api( *_param, @@ -5915,7 +5915,7 @@ def update_user( def update_user_with_http_info( self, user_id: Annotated[StrictStr, Field(description="The ID of the user you want to update.")], - servicing_user_update_api_request_dto: ServicingUserUpdateAPIRequestDTO, + user_update_api_request_dto: UserUpdateAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update a user in.")] = None, 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, _request_timeout: Union[ @@ -5930,15 +5930,15 @@ def update_user_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingUserUpdateAPIRequestDTO]: + ) -> ApiResponse[UserUpdateAPIRequestDTO]: """Update a user Update an existing user's information, such as their display name or if the user is enabled in Visier. :param user_id: The ID of the user you want to update. (required) :type user_id: str - :param servicing_user_update_api_request_dto: (required) - :type servicing_user_update_api_request_dto: ServicingUserUpdateAPIRequestDTO + :param user_update_api_request_dto: (required) + :type user_update_api_request_dto: UserUpdateAPIRequestDTO :param tenant_code: Specify the tenant to update a user in. :type tenant_code: str :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. @@ -5967,7 +5967,7 @@ def update_user_with_http_info( _param = self._update_user_serialize( user_id=user_id, - servicing_user_update_api_request_dto=servicing_user_update_api_request_dto, + user_update_api_request_dto=user_update_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -5977,7 +5977,7 @@ def update_user_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUserUpdateAPIRequestDTO", + '200': "UserUpdateAPIRequestDTO", } response_data = self.api_client.call_api( *_param, @@ -5994,7 +5994,7 @@ def update_user_with_http_info( def update_user_without_preload_content( self, user_id: Annotated[StrictStr, Field(description="The ID of the user you want to update.")], - servicing_user_update_api_request_dto: ServicingUserUpdateAPIRequestDTO, + user_update_api_request_dto: UserUpdateAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update a user in.")] = None, 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, _request_timeout: Union[ @@ -6016,8 +6016,8 @@ def update_user_without_preload_content( :param user_id: The ID of the user you want to update. (required) :type user_id: str - :param servicing_user_update_api_request_dto: (required) - :type servicing_user_update_api_request_dto: ServicingUserUpdateAPIRequestDTO + :param user_update_api_request_dto: (required) + :type user_update_api_request_dto: UserUpdateAPIRequestDTO :param tenant_code: Specify the tenant to update a user in. :type tenant_code: str :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. @@ -6046,7 +6046,7 @@ def update_user_without_preload_content( _param = self._update_user_serialize( user_id=user_id, - servicing_user_update_api_request_dto=servicing_user_update_api_request_dto, + user_update_api_request_dto=user_update_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -6056,7 +6056,7 @@ def update_user_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUserUpdateAPIRequestDTO", + '200': "UserUpdateAPIRequestDTO", } response_data = self.api_client.call_api( *_param, @@ -6068,7 +6068,7 @@ def update_user_without_preload_content( def _update_user_serialize( self, user_id, - servicing_user_update_api_request_dto, + user_update_api_request_dto, tenant_code, target_tenant_id, _request_auth, @@ -6104,8 +6104,8 @@ def _update_user_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_user_update_api_request_dto is not None: - _body_params = servicing_user_update_api_request_dto + if user_update_api_request_dto is not None: + _body_params = user_update_api_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/users_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/users_v2_api.py index 0aa2ff69a9..81d2be75a0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/users_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/users_v2_api.py @@ -20,10 +20,10 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.servicing_users_api_response_dto import ServicingUsersAPIResponseDTO -from visier_platform_sdk.models.servicing_users_creation_api_request_dto import ServicingUsersCreationAPIRequestDTO -from visier_platform_sdk.models.servicing_users_delete_api_request_dto import ServicingUsersDeleteAPIRequestDTO -from visier_platform_sdk.models.servicing_users_update_api_request_dto import ServicingUsersUpdateAPIRequestDTO +from visier_platform_sdk.models.users_api_response_dto import UsersAPIResponseDTO +from visier_platform_sdk.models.users_creation_api_request_dto import UsersCreationAPIRequestDTO +from visier_platform_sdk.models.users_delete_api_request_dto import UsersDeleteAPIRequestDTO +from visier_platform_sdk.models.users_update_api_request_dto import UsersUpdateAPIRequestDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -46,7 +46,7 @@ def __init__(self, api_client=None) -> None: @validate_call def add_users( self, - servicing_users_creation_api_request_dto: ServicingUsersCreationAPIRequestDTO, + users_creation_api_request_dto: UsersCreationAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create a user in.")] = None, 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, _request_timeout: Union[ @@ -61,13 +61,13 @@ def add_users( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingUsersAPIResponseDTO: + ) -> UsersAPIResponseDTO: """Add users Create new users. Administrating tenant users can specify the tenant in which to add these users. - :param servicing_users_creation_api_request_dto: (required) - :type servicing_users_creation_api_request_dto: ServicingUsersCreationAPIRequestDTO + :param users_creation_api_request_dto: (required) + :type users_creation_api_request_dto: UsersCreationAPIRequestDTO :param tenant_code: Specify the tenant to create a user in. :type tenant_code: str :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. @@ -95,7 +95,7 @@ def add_users( """ # noqa: E501 _param = self._add_users_serialize( - servicing_users_creation_api_request_dto=servicing_users_creation_api_request_dto, + users_creation_api_request_dto=users_creation_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -105,7 +105,7 @@ def add_users( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -121,7 +121,7 @@ def add_users( @validate_call def add_users_with_http_info( self, - servicing_users_creation_api_request_dto: ServicingUsersCreationAPIRequestDTO, + users_creation_api_request_dto: UsersCreationAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create a user in.")] = None, 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, _request_timeout: Union[ @@ -136,13 +136,13 @@ def add_users_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingUsersAPIResponseDTO]: + ) -> ApiResponse[UsersAPIResponseDTO]: """Add users Create new users. Administrating tenant users can specify the tenant in which to add these users. - :param servicing_users_creation_api_request_dto: (required) - :type servicing_users_creation_api_request_dto: ServicingUsersCreationAPIRequestDTO + :param users_creation_api_request_dto: (required) + :type users_creation_api_request_dto: UsersCreationAPIRequestDTO :param tenant_code: Specify the tenant to create a user in. :type tenant_code: str :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. @@ -170,7 +170,7 @@ def add_users_with_http_info( """ # noqa: E501 _param = self._add_users_serialize( - servicing_users_creation_api_request_dto=servicing_users_creation_api_request_dto, + users_creation_api_request_dto=users_creation_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -180,7 +180,7 @@ def add_users_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -196,7 +196,7 @@ def add_users_with_http_info( @validate_call def add_users_without_preload_content( self, - servicing_users_creation_api_request_dto: ServicingUsersCreationAPIRequestDTO, + users_creation_api_request_dto: UsersCreationAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to create a user in.")] = None, 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, _request_timeout: Union[ @@ -216,8 +216,8 @@ def add_users_without_preload_content( Create new users. Administrating tenant users can specify the tenant in which to add these users. - :param servicing_users_creation_api_request_dto: (required) - :type servicing_users_creation_api_request_dto: ServicingUsersCreationAPIRequestDTO + :param users_creation_api_request_dto: (required) + :type users_creation_api_request_dto: UsersCreationAPIRequestDTO :param tenant_code: Specify the tenant to create a user in. :type tenant_code: str :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. @@ -245,7 +245,7 @@ def add_users_without_preload_content( """ # noqa: E501 _param = self._add_users_serialize( - servicing_users_creation_api_request_dto=servicing_users_creation_api_request_dto, + users_creation_api_request_dto=users_creation_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -255,7 +255,7 @@ def add_users_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -266,7 +266,7 @@ def add_users_without_preload_content( def _add_users_serialize( self, - servicing_users_creation_api_request_dto, + users_creation_api_request_dto, tenant_code, target_tenant_id, _request_auth, @@ -300,8 +300,8 @@ def _add_users_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_users_creation_api_request_dto is not None: - _body_params = servicing_users_creation_api_request_dto + if users_creation_api_request_dto is not None: + _body_params = users_creation_api_request_dto # set the HTTP header `Accept` @@ -356,7 +356,7 @@ def _add_users_serialize( @validate_call def delete_users( self, - servicing_users_delete_api_request_dto: ServicingUsersDeleteAPIRequestDTO, + users_delete_api_request_dto: UsersDeleteAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete a user in.")] = None, 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, _request_timeout: Union[ @@ -371,13 +371,13 @@ def delete_users( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingUsersAPIResponseDTO: + ) -> UsersAPIResponseDTO: """Delete users Delete an existing user. Administrating tenant users can specify the tenant from which to delete a user. - :param servicing_users_delete_api_request_dto: (required) - :type servicing_users_delete_api_request_dto: ServicingUsersDeleteAPIRequestDTO + :param users_delete_api_request_dto: (required) + :type users_delete_api_request_dto: UsersDeleteAPIRequestDTO :param tenant_code: Specify the tenant to delete a user in. :type tenant_code: str :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. @@ -405,7 +405,7 @@ def delete_users( """ # noqa: E501 _param = self._delete_users_serialize( - servicing_users_delete_api_request_dto=servicing_users_delete_api_request_dto, + users_delete_api_request_dto=users_delete_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -415,7 +415,7 @@ def delete_users( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -431,7 +431,7 @@ def delete_users( @validate_call def delete_users_with_http_info( self, - servicing_users_delete_api_request_dto: ServicingUsersDeleteAPIRequestDTO, + users_delete_api_request_dto: UsersDeleteAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete a user in.")] = None, 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, _request_timeout: Union[ @@ -446,13 +446,13 @@ def delete_users_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingUsersAPIResponseDTO]: + ) -> ApiResponse[UsersAPIResponseDTO]: """Delete users Delete an existing user. Administrating tenant users can specify the tenant from which to delete a user. - :param servicing_users_delete_api_request_dto: (required) - :type servicing_users_delete_api_request_dto: ServicingUsersDeleteAPIRequestDTO + :param users_delete_api_request_dto: (required) + :type users_delete_api_request_dto: UsersDeleteAPIRequestDTO :param tenant_code: Specify the tenant to delete a user in. :type tenant_code: str :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. @@ -480,7 +480,7 @@ def delete_users_with_http_info( """ # noqa: E501 _param = self._delete_users_serialize( - servicing_users_delete_api_request_dto=servicing_users_delete_api_request_dto, + users_delete_api_request_dto=users_delete_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -490,7 +490,7 @@ def delete_users_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -506,7 +506,7 @@ def delete_users_with_http_info( @validate_call def delete_users_without_preload_content( self, - servicing_users_delete_api_request_dto: ServicingUsersDeleteAPIRequestDTO, + users_delete_api_request_dto: UsersDeleteAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete a user in.")] = None, 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, _request_timeout: Union[ @@ -526,8 +526,8 @@ def delete_users_without_preload_content( Delete an existing user. Administrating tenant users can specify the tenant from which to delete a user. - :param servicing_users_delete_api_request_dto: (required) - :type servicing_users_delete_api_request_dto: ServicingUsersDeleteAPIRequestDTO + :param users_delete_api_request_dto: (required) + :type users_delete_api_request_dto: UsersDeleteAPIRequestDTO :param tenant_code: Specify the tenant to delete a user in. :type tenant_code: str :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. @@ -555,7 +555,7 @@ def delete_users_without_preload_content( """ # noqa: E501 _param = self._delete_users_serialize( - servicing_users_delete_api_request_dto=servicing_users_delete_api_request_dto, + users_delete_api_request_dto=users_delete_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -565,7 +565,7 @@ def delete_users_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -576,7 +576,7 @@ def delete_users_without_preload_content( def _delete_users_serialize( self, - servicing_users_delete_api_request_dto, + users_delete_api_request_dto, tenant_code, target_tenant_id, _request_auth, @@ -610,8 +610,8 @@ def _delete_users_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_users_delete_api_request_dto is not None: - _body_params = servicing_users_delete_api_request_dto + if users_delete_api_request_dto is not None: + _body_params = users_delete_api_request_dto # set the HTTP header `Accept` @@ -666,7 +666,7 @@ def _delete_users_serialize( @validate_call def update_users( self, - servicing_users_update_api_request_dto: ServicingUsersUpdateAPIRequestDTO, + users_update_api_request_dto: UsersUpdateAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update a user in.")] = None, 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, _request_timeout: Union[ @@ -681,13 +681,13 @@ def update_users( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ServicingUsersAPIResponseDTO: + ) -> UsersAPIResponseDTO: """Update users Update an existing user's information, such as their display name or if the user is enabled in Visier. - :param servicing_users_update_api_request_dto: (required) - :type servicing_users_update_api_request_dto: ServicingUsersUpdateAPIRequestDTO + :param users_update_api_request_dto: (required) + :type users_update_api_request_dto: UsersUpdateAPIRequestDTO :param tenant_code: Specify the tenant to update a user in. :type tenant_code: str :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. @@ -715,7 +715,7 @@ def update_users( """ # noqa: E501 _param = self._update_users_serialize( - servicing_users_update_api_request_dto=servicing_users_update_api_request_dto, + users_update_api_request_dto=users_update_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -725,7 +725,7 @@ def update_users( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -741,7 +741,7 @@ def update_users( @validate_call def update_users_with_http_info( self, - servicing_users_update_api_request_dto: ServicingUsersUpdateAPIRequestDTO, + users_update_api_request_dto: UsersUpdateAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update a user in.")] = None, 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, _request_timeout: Union[ @@ -756,13 +756,13 @@ def update_users_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ServicingUsersAPIResponseDTO]: + ) -> ApiResponse[UsersAPIResponseDTO]: """Update users Update an existing user's information, such as their display name or if the user is enabled in Visier. - :param servicing_users_update_api_request_dto: (required) - :type servicing_users_update_api_request_dto: ServicingUsersUpdateAPIRequestDTO + :param users_update_api_request_dto: (required) + :type users_update_api_request_dto: UsersUpdateAPIRequestDTO :param tenant_code: Specify the tenant to update a user in. :type tenant_code: str :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. @@ -790,7 +790,7 @@ def update_users_with_http_info( """ # noqa: E501 _param = self._update_users_serialize( - servicing_users_update_api_request_dto=servicing_users_update_api_request_dto, + users_update_api_request_dto=users_update_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -800,7 +800,7 @@ def update_users_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -816,7 +816,7 @@ def update_users_with_http_info( @validate_call def update_users_without_preload_content( self, - servicing_users_update_api_request_dto: ServicingUsersUpdateAPIRequestDTO, + users_update_api_request_dto: UsersUpdateAPIRequestDTO, tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to update a user in.")] = None, 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, _request_timeout: Union[ @@ -836,8 +836,8 @@ def update_users_without_preload_content( Update an existing user's information, such as their display name or if the user is enabled in Visier. - :param servicing_users_update_api_request_dto: (required) - :type servicing_users_update_api_request_dto: ServicingUsersUpdateAPIRequestDTO + :param users_update_api_request_dto: (required) + :type users_update_api_request_dto: UsersUpdateAPIRequestDTO :param tenant_code: Specify the tenant to update a user in. :type tenant_code: str :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. @@ -865,7 +865,7 @@ def update_users_without_preload_content( """ # noqa: E501 _param = self._update_users_serialize( - servicing_users_update_api_request_dto=servicing_users_update_api_request_dto, + users_update_api_request_dto=users_update_api_request_dto, tenant_code=tenant_code, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -875,7 +875,7 @@ def update_users_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ServicingUsersAPIResponseDTO", + '200': "UsersAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -886,7 +886,7 @@ def update_users_without_preload_content( def _update_users_serialize( self, - servicing_users_update_api_request_dto, + users_update_api_request_dto, tenant_code, target_tenant_id, _request_auth, @@ -920,8 +920,8 @@ def _update_users_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if servicing_users_update_api_request_dto is not None: - _body_params = servicing_users_update_api_request_dto + if users_update_api_request_dto is not None: + _body_params = users_update_api_request_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/vee_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/vee_api.py index 1d3c7118c9..0e4b4fa80d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/vee_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/vee_api.py @@ -20,12 +20,12 @@ from pydantic import Field, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.analysis_common_vee_feedback_dto import AnalysisCommonVeeFeedbackDTO -from visier_platform_sdk.models.analysis_common_vee_question_dto import AnalysisCommonVeeQuestionDTO -from visier_platform_sdk.models.analysis_common_vee_response_dto import AnalysisCommonVeeResponseDTO -from visier_platform_sdk.models.analysis_common_vee_sample_question_library_dto import AnalysisCommonVeeSampleQuestionLibraryDTO -from visier_platform_sdk.models.analysis_common_vee_status_code_dto import AnalysisCommonVeeStatusCodeDTO -from visier_platform_sdk.models.systemstatus_vee_status_dto import SystemstatusVeeStatusDTO +from visier_platform_sdk.models.vee_feedback_dto import VeeFeedbackDTO +from visier_platform_sdk.models.vee_question_dto import VeeQuestionDTO +from visier_platform_sdk.models.vee_response_dto import VeeResponseDTO +from visier_platform_sdk.models.vee_sample_question_library_dto import VeeSampleQuestionLibraryDTO +from visier_platform_sdk.models.vee_status_code_dto import VeeStatusCodeDTO +from visier_platform_sdk.models.vee_status_dto import VeeStatusDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -48,7 +48,7 @@ def __init__(self, api_client=None) -> None: @validate_call def vee_feedback( self, - analysis_common_vee_feedback_dto: AnalysisCommonVeeFeedbackDTO, + vee_feedback_dto: VeeFeedbackDTO, 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, _request_timeout: Union[ None, @@ -62,13 +62,13 @@ def vee_feedback( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AnalysisCommonVeeStatusCodeDTO: + ) -> VeeStatusCodeDTO: """Submit Vee feedback Give Vee feedback for a previous answer. To submit feedback, include: * The conversation details from the `/question` response. * A rating of Vee's answer. If `isApproved` is `true`, Vee answered the question correctly. If `isApproved` is `false`, Vee's answer was incorrect or lacked details. * A description of how Vee should have answered the question or how Vee can improve the answer, such as \"Expected Headcount metric, but Vee returned Average Headcount\".
**Note:** 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). - :param analysis_common_vee_feedback_dto: (required) - :type analysis_common_vee_feedback_dto: AnalysisCommonVeeFeedbackDTO + :param vee_feedback_dto: (required) + :type vee_feedback_dto: VeeFeedbackDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -94,7 +94,7 @@ def vee_feedback( """ # noqa: E501 _param = self._vee_feedback_serialize( - analysis_common_vee_feedback_dto=analysis_common_vee_feedback_dto, + vee_feedback_dto=vee_feedback_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -103,7 +103,7 @@ def vee_feedback( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeStatusCodeDTO", + '200': "VeeStatusCodeDTO", } response_data = self.api_client.call_api( *_param, @@ -119,7 +119,7 @@ def vee_feedback( @validate_call def vee_feedback_with_http_info( self, - analysis_common_vee_feedback_dto: AnalysisCommonVeeFeedbackDTO, + vee_feedback_dto: VeeFeedbackDTO, 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, _request_timeout: Union[ None, @@ -133,13 +133,13 @@ def vee_feedback_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AnalysisCommonVeeStatusCodeDTO]: + ) -> ApiResponse[VeeStatusCodeDTO]: """Submit Vee feedback Give Vee feedback for a previous answer. To submit feedback, include: * The conversation details from the `/question` response. * A rating of Vee's answer. If `isApproved` is `true`, Vee answered the question correctly. If `isApproved` is `false`, Vee's answer was incorrect or lacked details. * A description of how Vee should have answered the question or how Vee can improve the answer, such as \"Expected Headcount metric, but Vee returned Average Headcount\".
**Note:** 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). - :param analysis_common_vee_feedback_dto: (required) - :type analysis_common_vee_feedback_dto: AnalysisCommonVeeFeedbackDTO + :param vee_feedback_dto: (required) + :type vee_feedback_dto: VeeFeedbackDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -165,7 +165,7 @@ def vee_feedback_with_http_info( """ # noqa: E501 _param = self._vee_feedback_serialize( - analysis_common_vee_feedback_dto=analysis_common_vee_feedback_dto, + vee_feedback_dto=vee_feedback_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -174,7 +174,7 @@ def vee_feedback_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeStatusCodeDTO", + '200': "VeeStatusCodeDTO", } response_data = self.api_client.call_api( *_param, @@ -190,7 +190,7 @@ def vee_feedback_with_http_info( @validate_call def vee_feedback_without_preload_content( self, - analysis_common_vee_feedback_dto: AnalysisCommonVeeFeedbackDTO, + vee_feedback_dto: VeeFeedbackDTO, 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, _request_timeout: Union[ None, @@ -209,8 +209,8 @@ def vee_feedback_without_preload_content( Give Vee feedback for a previous answer. To submit feedback, include: * The conversation details from the `/question` response. * A rating of Vee's answer. If `isApproved` is `true`, Vee answered the question correctly. If `isApproved` is `false`, Vee's answer was incorrect or lacked details. * A description of how Vee should have answered the question or how Vee can improve the answer, such as \"Expected Headcount metric, but Vee returned Average Headcount\".
**Note:** 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). - :param analysis_common_vee_feedback_dto: (required) - :type analysis_common_vee_feedback_dto: AnalysisCommonVeeFeedbackDTO + :param vee_feedback_dto: (required) + :type vee_feedback_dto: VeeFeedbackDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -236,7 +236,7 @@ def vee_feedback_without_preload_content( """ # noqa: E501 _param = self._vee_feedback_serialize( - analysis_common_vee_feedback_dto=analysis_common_vee_feedback_dto, + vee_feedback_dto=vee_feedback_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -245,7 +245,7 @@ def vee_feedback_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeStatusCodeDTO", + '200': "VeeStatusCodeDTO", } response_data = self.api_client.call_api( *_param, @@ -256,7 +256,7 @@ def vee_feedback_without_preload_content( def _vee_feedback_serialize( self, - analysis_common_vee_feedback_dto, + vee_feedback_dto, target_tenant_id, _request_auth, _content_type, @@ -285,8 +285,8 @@ def _vee_feedback_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if analysis_common_vee_feedback_dto is not None: - _body_params = analysis_common_vee_feedback_dto + if vee_feedback_dto is not None: + _body_params = vee_feedback_dto # set the HTTP header `Accept` @@ -341,7 +341,7 @@ def _vee_feedback_serialize( @validate_call def vee_question_request( self, - analysis_common_vee_question_dto: AnalysisCommonVeeQuestionDTO, + vee_question_dto: VeeQuestionDTO, 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, _request_timeout: Union[ None, @@ -355,13 +355,13 @@ def vee_question_request( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AnalysisCommonVeeResponseDTO: + ) -> VeeResponseDTO: """Ask Vee a question Use plain language to ask Vee a people question. Use body parameters to specify how Vee should respond, such as returning a visualization, data, or rewording the question. The response always returns a `conversationState` object containing a unique ID for the conversation. To ask a follow-up question or continue the conversation with Vee, include the `conversationState` from the response in your next `/question` call. To submit feedback about Vee's answer, copy the entire response into your `/feedback` call.
**Note:** 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). - :param analysis_common_vee_question_dto: (required) - :type analysis_common_vee_question_dto: AnalysisCommonVeeQuestionDTO + :param vee_question_dto: (required) + :type vee_question_dto: VeeQuestionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -387,7 +387,7 @@ def vee_question_request( """ # noqa: E501 _param = self._vee_question_request_serialize( - analysis_common_vee_question_dto=analysis_common_vee_question_dto, + vee_question_dto=vee_question_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -396,7 +396,7 @@ def vee_question_request( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeResponseDTO", + '200': "VeeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -412,7 +412,7 @@ def vee_question_request( @validate_call def vee_question_request_with_http_info( self, - analysis_common_vee_question_dto: AnalysisCommonVeeQuestionDTO, + vee_question_dto: VeeQuestionDTO, 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, _request_timeout: Union[ None, @@ -426,13 +426,13 @@ def vee_question_request_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AnalysisCommonVeeResponseDTO]: + ) -> ApiResponse[VeeResponseDTO]: """Ask Vee a question Use plain language to ask Vee a people question. Use body parameters to specify how Vee should respond, such as returning a visualization, data, or rewording the question. The response always returns a `conversationState` object containing a unique ID for the conversation. To ask a follow-up question or continue the conversation with Vee, include the `conversationState` from the response in your next `/question` call. To submit feedback about Vee's answer, copy the entire response into your `/feedback` call.
**Note:** 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). - :param analysis_common_vee_question_dto: (required) - :type analysis_common_vee_question_dto: AnalysisCommonVeeQuestionDTO + :param vee_question_dto: (required) + :type vee_question_dto: VeeQuestionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -458,7 +458,7 @@ def vee_question_request_with_http_info( """ # noqa: E501 _param = self._vee_question_request_serialize( - analysis_common_vee_question_dto=analysis_common_vee_question_dto, + vee_question_dto=vee_question_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -467,7 +467,7 @@ def vee_question_request_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeResponseDTO", + '200': "VeeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -483,7 +483,7 @@ def vee_question_request_with_http_info( @validate_call def vee_question_request_without_preload_content( self, - analysis_common_vee_question_dto: AnalysisCommonVeeQuestionDTO, + vee_question_dto: VeeQuestionDTO, 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, _request_timeout: Union[ None, @@ -502,8 +502,8 @@ def vee_question_request_without_preload_content( Use plain language to ask Vee a people question. Use body parameters to specify how Vee should respond, such as returning a visualization, data, or rewording the question. The response always returns a `conversationState` object containing a unique ID for the conversation. To ask a follow-up question or continue the conversation with Vee, include the `conversationState` from the response in your next `/question` call. To submit feedback about Vee's answer, copy the entire response into your `/feedback` call.
**Note:** 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). - :param analysis_common_vee_question_dto: (required) - :type analysis_common_vee_question_dto: AnalysisCommonVeeQuestionDTO + :param vee_question_dto: (required) + :type vee_question_dto: VeeQuestionDTO :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -529,7 +529,7 @@ def vee_question_request_without_preload_content( """ # noqa: E501 _param = self._vee_question_request_serialize( - analysis_common_vee_question_dto=analysis_common_vee_question_dto, + vee_question_dto=vee_question_dto, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -538,7 +538,7 @@ def vee_question_request_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeResponseDTO", + '200': "VeeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -549,7 +549,7 @@ def vee_question_request_without_preload_content( def _vee_question_request_serialize( self, - analysis_common_vee_question_dto, + vee_question_dto, target_tenant_id, _request_auth, _content_type, @@ -578,8 +578,8 @@ def _vee_question_request_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if analysis_common_vee_question_dto is not None: - _body_params = analysis_common_vee_question_dto + if vee_question_dto is not None: + _body_params = vee_question_dto # set the HTTP header `Accept` @@ -647,7 +647,7 @@ def vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> AnalysisCommonVeeSampleQuestionLibraryDTO: + ) -> VeeSampleQuestionLibraryDTO: """Retrieve a list of sample questions to ask Vee Get a list of sample questions to help you start using Vee. The response returns a list of questions that you can ask Vee, such as \"What is the turnover rate?\". You may occasionally encounter a sample question that can't be answered due to data availability or your data access
**Note:** 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). @@ -685,7 +685,7 @@ def vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeSampleQuestionLibraryDTO", + '200': "VeeSampleQuestionLibraryDTO", } response_data = self.api_client.call_api( *_param, @@ -714,7 +714,7 @@ def vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[AnalysisCommonVeeSampleQuestionLibraryDTO]: + ) -> ApiResponse[VeeSampleQuestionLibraryDTO]: """Retrieve a list of sample questions to ask Vee Get a list of sample questions to help you start using Vee. The response returns a list of questions that you can ask Vee, such as \"What is the turnover rate?\". You may occasionally encounter a sample question that can't be answered due to data availability or your data access
**Note:** 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). @@ -752,7 +752,7 @@ def vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeSampleQuestionLibraryDTO", + '200': "VeeSampleQuestionLibraryDTO", } response_data = self.api_client.call_api( *_param, @@ -819,7 +819,7 @@ def vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "AnalysisCommonVeeSampleQuestionLibraryDTO", + '200': "VeeSampleQuestionLibraryDTO", } response_data = self.api_client.call_api( *_param, @@ -912,7 +912,7 @@ def vee_status( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> SystemstatusVeeStatusDTO: + ) -> VeeStatusDTO: """Check the overall current status of Vee Check the current overall status of Vee. The overall status is one of: * `UP` : Vee is operational. * `DOWN`: Vee is not operational. @@ -950,7 +950,7 @@ def vee_status( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusVeeStatusDTO", + '200': "VeeStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -979,7 +979,7 @@ def vee_status_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[SystemstatusVeeStatusDTO]: + ) -> ApiResponse[VeeStatusDTO]: """Check the overall current status of Vee Check the current overall status of Vee. The overall status is one of: * `UP` : Vee is operational. * `DOWN`: Vee is not operational. @@ -1017,7 +1017,7 @@ def vee_status_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusVeeStatusDTO", + '200': "VeeStatusDTO", } response_data = self.api_client.call_api( *_param, @@ -1084,7 +1084,7 @@ def vee_status_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SystemstatusVeeStatusDTO", + '200': "VeeStatusDTO", } response_data = self.api_client.call_api( *_param, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/webhooks_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/webhooks_api.py index 9f750504de..bffce0302f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/webhooks_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/webhooks_api.py @@ -20,12 +20,12 @@ from pydantic import Field, StrictBool, StrictStr from typing import Optional from typing_extensions import Annotated -from visier_platform_sdk.models.designer_webhook_webhook_credentials_dto import DesignerWebhookWebhookCredentialsDTO -from visier_platform_sdk.models.designer_webhook_webhook_dto import DesignerWebhookWebhookDTO -from visier_platform_sdk.models.designer_webhook_webhook_event_type_dto import DesignerWebhookWebhookEventTypeDTO -from visier_platform_sdk.models.designer_webhook_webhook_message_response_dto import DesignerWebhookWebhookMessageResponseDTO -from visier_platform_sdk.models.designer_webhook_webhook_request_dto import DesignerWebhookWebhookRequestDTO -from visier_platform_sdk.models.designer_webhook_webhooks_dto import DesignerWebhookWebhooksDTO +from visier_platform_sdk.models.webhook_credentials_dto import WebhookCredentialsDTO +from visier_platform_sdk.models.webhook_dto import WebhookDTO +from visier_platform_sdk.models.webhook_event_type_dto import WebhookEventTypeDTO +from visier_platform_sdk.models.webhook_message_response_dto import WebhookMessageResponseDTO +from visier_platform_sdk.models.webhook_request_dto import WebhookRequestDTO +from visier_platform_sdk.models.webhooks_dto import WebhooksDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -48,7 +48,7 @@ def __init__(self, api_client=None) -> None: @validate_call def create_webhook( self, - designer_webhook_webhook_request_dto: DesignerWebhookWebhookRequestDTO, + webhook_request_dto: WebhookRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -61,13 +61,13 @@ def create_webhook( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerWebhookWebhookDTO: + ) -> WebhookDTO: """Create a webhook Create a new webhook with Visier. You must specify the webhook's endpoint URL, its active status, the event types to listen for, and the credentials to authenticate calls to the webhook endpoint.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param designer_webhook_webhook_request_dto: (required) - :type designer_webhook_webhook_request_dto: DesignerWebhookWebhookRequestDTO + :param webhook_request_dto: (required) + :type webhook_request_dto: WebhookRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -91,7 +91,7 @@ def create_webhook( """ # noqa: E501 _param = self._create_webhook_serialize( - designer_webhook_webhook_request_dto=designer_webhook_webhook_request_dto, + webhook_request_dto=webhook_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -99,7 +99,7 @@ def create_webhook( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -115,7 +115,7 @@ def create_webhook( @validate_call def create_webhook_with_http_info( self, - designer_webhook_webhook_request_dto: DesignerWebhookWebhookRequestDTO, + webhook_request_dto: WebhookRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128,13 +128,13 @@ def create_webhook_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerWebhookWebhookDTO]: + ) -> ApiResponse[WebhookDTO]: """Create a webhook Create a new webhook with Visier. You must specify the webhook's endpoint URL, its active status, the event types to listen for, and the credentials to authenticate calls to the webhook endpoint.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param designer_webhook_webhook_request_dto: (required) - :type designer_webhook_webhook_request_dto: DesignerWebhookWebhookRequestDTO + :param webhook_request_dto: (required) + :type webhook_request_dto: WebhookRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -158,7 +158,7 @@ def create_webhook_with_http_info( """ # noqa: E501 _param = self._create_webhook_serialize( - designer_webhook_webhook_request_dto=designer_webhook_webhook_request_dto, + webhook_request_dto=webhook_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -166,7 +166,7 @@ def create_webhook_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -182,7 +182,7 @@ def create_webhook_with_http_info( @validate_call def create_webhook_without_preload_content( self, - designer_webhook_webhook_request_dto: DesignerWebhookWebhookRequestDTO, + webhook_request_dto: WebhookRequestDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -200,8 +200,8 @@ def create_webhook_without_preload_content( Create a new webhook with Visier. You must specify the webhook's endpoint URL, its active status, the event types to listen for, and the credentials to authenticate calls to the webhook endpoint.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param designer_webhook_webhook_request_dto: (required) - :type designer_webhook_webhook_request_dto: DesignerWebhookWebhookRequestDTO + :param webhook_request_dto: (required) + :type webhook_request_dto: WebhookRequestDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -225,7 +225,7 @@ def create_webhook_without_preload_content( """ # noqa: E501 _param = self._create_webhook_serialize( - designer_webhook_webhook_request_dto=designer_webhook_webhook_request_dto, + webhook_request_dto=webhook_request_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -233,7 +233,7 @@ def create_webhook_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -244,7 +244,7 @@ def create_webhook_without_preload_content( def _create_webhook_serialize( self, - designer_webhook_webhook_request_dto, + webhook_request_dto, _request_auth, _content_type, _headers, @@ -270,8 +270,8 @@ def _create_webhook_serialize( # process the header parameters # process the form parameters # process the body parameter - if designer_webhook_webhook_request_dto is not None: - _body_params = designer_webhook_webhook_request_dto + if webhook_request_dto is not None: + _body_params = webhook_request_dto # set the HTTP header `Accept` @@ -339,7 +339,7 @@ def delete_webhook( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerWebhookWebhookDTO: + ) -> WebhookDTO: """Delete a webhook Delete a specific webhook. You must know the ID of the webhook to delete it. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). @@ -377,7 +377,7 @@ def delete_webhook( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -406,7 +406,7 @@ def delete_webhook_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerWebhookWebhookDTO]: + ) -> ApiResponse[WebhookDTO]: """Delete a webhook Delete a specific webhook. You must know the ID of the webhook to delete it. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). @@ -444,7 +444,7 @@ def delete_webhook_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -511,7 +511,7 @@ def delete_webhook_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -604,7 +604,7 @@ def delete_webhook_credentials( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerWebhookWebhookDTO: + ) -> WebhookDTO: """Delete a webhook's credentials Delete the credentials for a webhook. You must know the ID of the webhook to delete its credentials. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). @@ -642,7 +642,7 @@ def delete_webhook_credentials( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -671,7 +671,7 @@ def delete_webhook_credentials_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerWebhookWebhookDTO]: + ) -> ApiResponse[WebhookDTO]: """Delete a webhook's credentials Delete the credentials for a webhook. You must know the ID of the webhook to delete its credentials. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). @@ -709,7 +709,7 @@ def delete_webhook_credentials_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -776,7 +776,7 @@ def delete_webhook_credentials_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -870,7 +870,7 @@ def get_all_webhooks( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerWebhookWebhooksDTO: + ) -> WebhooksDTO: """Retrieve a list of webhooks Retrieve a list of all webhooks. The response returns each webhook's definition, such as its endpoint URL, active status, and event types.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). @@ -911,7 +911,7 @@ def get_all_webhooks( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhooksDTO", + '200': "WebhooksDTO", } response_data = self.api_client.call_api( *_param, @@ -941,7 +941,7 @@ def get_all_webhooks_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerWebhookWebhooksDTO]: + ) -> ApiResponse[WebhooksDTO]: """Retrieve a list of webhooks Retrieve a list of all webhooks. The response returns each webhook's definition, such as its endpoint URL, active status, and event types.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). @@ -982,7 +982,7 @@ def get_all_webhooks_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhooksDTO", + '200': "WebhooksDTO", } response_data = self.api_client.call_api( *_param, @@ -1053,7 +1053,7 @@ def get_all_webhooks_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhooksDTO", + '200': "WebhooksDTO", } response_data = self.api_client.call_api( *_param, @@ -1153,7 +1153,7 @@ def get_webhook( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerWebhookWebhookDTO: + ) -> WebhookDTO: """Retrieve a webhook's details Retrieve the details of a specific webhook. You must know the ID of the webhook to retrieve its details. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). @@ -1191,7 +1191,7 @@ def get_webhook( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -1220,7 +1220,7 @@ def get_webhook_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerWebhookWebhookDTO]: + ) -> ApiResponse[WebhookDTO]: """Retrieve a webhook's details Retrieve the details of a specific webhook. You must know the ID of the webhook to retrieve its details. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). @@ -1258,7 +1258,7 @@ def get_webhook_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -1325,7 +1325,7 @@ def get_webhook_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -1406,7 +1406,7 @@ def _get_webhook_serialize( def send_test_event( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_event_type_dto: DesignerWebhookWebhookEventTypeDTO, + webhook_event_type_dto: WebhookEventTypeDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1419,15 +1419,15 @@ def send_test_event( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerWebhookWebhookMessageResponseDTO: + ) -> WebhookMessageResponseDTO: """Test a webhook Send a test event to an existing webhook. This validates whether the webhook works. You must specify the webhook ID and an event type.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_event_type_dto: (required) - :type designer_webhook_webhook_event_type_dto: DesignerWebhookWebhookEventTypeDTO + :param webhook_event_type_dto: (required) + :type webhook_event_type_dto: WebhookEventTypeDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1452,7 +1452,7 @@ def send_test_event( _param = self._send_test_event_serialize( webhook_id=webhook_id, - designer_webhook_webhook_event_type_dto=designer_webhook_webhook_event_type_dto, + webhook_event_type_dto=webhook_event_type_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1460,7 +1460,7 @@ def send_test_event( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookMessageResponseDTO", + '200': "WebhookMessageResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1477,7 +1477,7 @@ def send_test_event( def send_test_event_with_http_info( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_event_type_dto: DesignerWebhookWebhookEventTypeDTO, + webhook_event_type_dto: WebhookEventTypeDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1490,15 +1490,15 @@ def send_test_event_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerWebhookWebhookMessageResponseDTO]: + ) -> ApiResponse[WebhookMessageResponseDTO]: """Test a webhook Send a test event to an existing webhook. This validates whether the webhook works. You must specify the webhook ID and an event type.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_event_type_dto: (required) - :type designer_webhook_webhook_event_type_dto: DesignerWebhookWebhookEventTypeDTO + :param webhook_event_type_dto: (required) + :type webhook_event_type_dto: WebhookEventTypeDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1523,7 +1523,7 @@ def send_test_event_with_http_info( _param = self._send_test_event_serialize( webhook_id=webhook_id, - designer_webhook_webhook_event_type_dto=designer_webhook_webhook_event_type_dto, + webhook_event_type_dto=webhook_event_type_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1531,7 +1531,7 @@ def send_test_event_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookMessageResponseDTO", + '200': "WebhookMessageResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1548,7 +1548,7 @@ def send_test_event_with_http_info( def send_test_event_without_preload_content( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_event_type_dto: DesignerWebhookWebhookEventTypeDTO, + webhook_event_type_dto: WebhookEventTypeDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1568,8 +1568,8 @@ def send_test_event_without_preload_content( :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_event_type_dto: (required) - :type designer_webhook_webhook_event_type_dto: DesignerWebhookWebhookEventTypeDTO + :param webhook_event_type_dto: (required) + :type webhook_event_type_dto: WebhookEventTypeDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1594,7 +1594,7 @@ def send_test_event_without_preload_content( _param = self._send_test_event_serialize( webhook_id=webhook_id, - designer_webhook_webhook_event_type_dto=designer_webhook_webhook_event_type_dto, + webhook_event_type_dto=webhook_event_type_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1602,7 +1602,7 @@ def send_test_event_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookMessageResponseDTO", + '200': "WebhookMessageResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1614,7 +1614,7 @@ def send_test_event_without_preload_content( def _send_test_event_serialize( self, webhook_id, - designer_webhook_webhook_event_type_dto, + webhook_event_type_dto, _request_auth, _content_type, _headers, @@ -1642,8 +1642,8 @@ def _send_test_event_serialize( # process the header parameters # process the form parameters # process the body parameter - if designer_webhook_webhook_event_type_dto is not None: - _body_params = designer_webhook_webhook_event_type_dto + if webhook_event_type_dto is not None: + _body_params = webhook_event_type_dto # set the HTTP header `Accept` @@ -1699,7 +1699,7 @@ def _send_test_event_serialize( def update_webhook( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_dto: DesignerWebhookWebhookDTO, + webhook_dto: WebhookDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1712,15 +1712,15 @@ def update_webhook( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerWebhookWebhookDTO: + ) -> WebhookDTO: """Update a webhook's details Update the details of an existing webhook, such as its URL and active status. You must know the ID of the webhook to update it. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`. To update a webhook's credentials, see `PUT /v1beta/op/webhooks/{webhookId}/credentials`. When updating a webhook, the webhook 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 webhook. We recommend that you retrieve a webhook's details before you update the webhook with new values.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_dto: (required) - :type designer_webhook_webhook_dto: DesignerWebhookWebhookDTO + :param webhook_dto: (required) + :type webhook_dto: WebhookDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1745,7 +1745,7 @@ def update_webhook( _param = self._update_webhook_serialize( webhook_id=webhook_id, - designer_webhook_webhook_dto=designer_webhook_webhook_dto, + webhook_dto=webhook_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1753,7 +1753,7 @@ def update_webhook( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -1770,7 +1770,7 @@ def update_webhook( def update_webhook_with_http_info( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_dto: DesignerWebhookWebhookDTO, + webhook_dto: WebhookDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1783,15 +1783,15 @@ def update_webhook_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerWebhookWebhookDTO]: + ) -> ApiResponse[WebhookDTO]: """Update a webhook's details Update the details of an existing webhook, such as its URL and active status. You must know the ID of the webhook to update it. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`. To update a webhook's credentials, see `PUT /v1beta/op/webhooks/{webhookId}/credentials`. When updating a webhook, the webhook 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 webhook. We recommend that you retrieve a webhook's details before you update the webhook with new values.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_dto: (required) - :type designer_webhook_webhook_dto: DesignerWebhookWebhookDTO + :param webhook_dto: (required) + :type webhook_dto: WebhookDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1816,7 +1816,7 @@ def update_webhook_with_http_info( _param = self._update_webhook_serialize( webhook_id=webhook_id, - designer_webhook_webhook_dto=designer_webhook_webhook_dto, + webhook_dto=webhook_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1824,7 +1824,7 @@ def update_webhook_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -1841,7 +1841,7 @@ def update_webhook_with_http_info( def update_webhook_without_preload_content( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_dto: DesignerWebhookWebhookDTO, + webhook_dto: WebhookDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1861,8 +1861,8 @@ def update_webhook_without_preload_content( :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_dto: (required) - :type designer_webhook_webhook_dto: DesignerWebhookWebhookDTO + :param webhook_dto: (required) + :type webhook_dto: WebhookDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1887,7 +1887,7 @@ def update_webhook_without_preload_content( _param = self._update_webhook_serialize( webhook_id=webhook_id, - designer_webhook_webhook_dto=designer_webhook_webhook_dto, + webhook_dto=webhook_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1895,7 +1895,7 @@ def update_webhook_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -1907,7 +1907,7 @@ def update_webhook_without_preload_content( def _update_webhook_serialize( self, webhook_id, - designer_webhook_webhook_dto, + webhook_dto, _request_auth, _content_type, _headers, @@ -1935,8 +1935,8 @@ def _update_webhook_serialize( # process the header parameters # process the form parameters # process the body parameter - if designer_webhook_webhook_dto is not None: - _body_params = designer_webhook_webhook_dto + if webhook_dto is not None: + _body_params = webhook_dto # set the HTTP header `Accept` @@ -1992,7 +1992,7 @@ def _update_webhook_serialize( def update_webhook_credentials( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_credentials_dto: DesignerWebhookWebhookCredentialsDTO, + webhook_credentials_dto: WebhookCredentialsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2005,15 +2005,15 @@ def update_webhook_credentials( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DesignerWebhookWebhookDTO: + ) -> WebhookDTO: """Update a webhook's credentials Update the credentials to authenticate calls to the webhook endpoint. You must know the ID of the webhook to update it. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`. To update a webhook's details, see `PUT /v1beta/op/webhooks/{webhookId}`. When updating a webhook, the webhook 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 webhook. We recommend that you retrieve a webhook's details before you update the webhook with new values.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_credentials_dto: (required) - :type designer_webhook_webhook_credentials_dto: DesignerWebhookWebhookCredentialsDTO + :param webhook_credentials_dto: (required) + :type webhook_credentials_dto: WebhookCredentialsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2038,7 +2038,7 @@ def update_webhook_credentials( _param = self._update_webhook_credentials_serialize( webhook_id=webhook_id, - designer_webhook_webhook_credentials_dto=designer_webhook_webhook_credentials_dto, + webhook_credentials_dto=webhook_credentials_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2046,7 +2046,7 @@ def update_webhook_credentials( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -2063,7 +2063,7 @@ def update_webhook_credentials( def update_webhook_credentials_with_http_info( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_credentials_dto: DesignerWebhookWebhookCredentialsDTO, + webhook_credentials_dto: WebhookCredentialsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2076,15 +2076,15 @@ def update_webhook_credentials_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DesignerWebhookWebhookDTO]: + ) -> ApiResponse[WebhookDTO]: """Update a webhook's credentials Update the credentials to authenticate calls to the webhook endpoint. You must know the ID of the webhook to update it. To retrieve webhook IDs, see `GET /v1beta/op/webhooks`. To update a webhook's details, see `PUT /v1beta/op/webhooks/{webhookId}`. When updating a webhook, the webhook 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 webhook. We recommend that you retrieve a webhook's details before you update the webhook with new values.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_credentials_dto: (required) - :type designer_webhook_webhook_credentials_dto: DesignerWebhookWebhookCredentialsDTO + :param webhook_credentials_dto: (required) + :type webhook_credentials_dto: WebhookCredentialsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2109,7 +2109,7 @@ def update_webhook_credentials_with_http_info( _param = self._update_webhook_credentials_serialize( webhook_id=webhook_id, - designer_webhook_webhook_credentials_dto=designer_webhook_webhook_credentials_dto, + webhook_credentials_dto=webhook_credentials_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2117,7 +2117,7 @@ def update_webhook_credentials_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -2134,7 +2134,7 @@ def update_webhook_credentials_with_http_info( def update_webhook_credentials_without_preload_content( self, webhook_id: Annotated[StrictStr, Field(description="The unique identifier of the webhook.")], - designer_webhook_webhook_credentials_dto: DesignerWebhookWebhookCredentialsDTO, + webhook_credentials_dto: WebhookCredentialsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2154,8 +2154,8 @@ def update_webhook_credentials_without_preload_content( :param webhook_id: The unique identifier of the webhook. (required) :type webhook_id: str - :param designer_webhook_webhook_credentials_dto: (required) - :type designer_webhook_webhook_credentials_dto: DesignerWebhookWebhookCredentialsDTO + :param webhook_credentials_dto: (required) + :type webhook_credentials_dto: WebhookCredentialsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2180,7 +2180,7 @@ def update_webhook_credentials_without_preload_content( _param = self._update_webhook_credentials_serialize( webhook_id=webhook_id, - designer_webhook_webhook_credentials_dto=designer_webhook_webhook_credentials_dto, + webhook_credentials_dto=webhook_credentials_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2188,7 +2188,7 @@ def update_webhook_credentials_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DesignerWebhookWebhookDTO", + '200': "WebhookDTO", } response_data = self.api_client.call_api( *_param, @@ -2200,7 +2200,7 @@ def update_webhook_credentials_without_preload_content( def _update_webhook_credentials_serialize( self, webhook_id, - designer_webhook_webhook_credentials_dto, + webhook_credentials_dto, _request_auth, _content_type, _headers, @@ -2228,8 +2228,8 @@ def _update_webhook_credentials_serialize( # process the header parameters # process the form parameters # process the body parameter - if designer_webhook_webhook_credentials_dto is not None: - _body_params = designer_webhook_webhook_credentials_dto + if webhook_credentials_dto is not None: + _body_params = webhook_credentials_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api_client.py b/src/visier_platform_sdk/visier_platform_sdk/api_client.py index c8fa1e5504..e390613980 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api_client.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api_client.py @@ -89,7 +89,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Visier-SDK/22222222.99201.1914/python' + self.user_agent = 'Visier-SDK/22222222.99201.1914.beta6/python' self.client_side_validation = configuration.client_side_validation self.auth_retries = auth_retries diff --git a/src/visier_platform_sdk/visier_platform_sdk/configuration.py b/src/visier_platform_sdk/visier_platform_sdk/configuration.py index 7463642374..0c221023fe 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/configuration.py +++ b/src/visier_platform_sdk/visier_platform_sdk/configuration.py @@ -480,7 +480,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 22222222.99201.1914\n"\ - "SDK Package Version: 22222222.99201.1914".\ + "SDK Package Version: 22222222.99201.1914.beta6".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/__init__.py b/src/visier_platform_sdk/visier_platform_sdk/models/__init__.py index 5aa862ce27..02302ef672 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/__init__.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/__init__.py @@ -15,606 +15,472 @@ # import models into model package -from visier_platform_sdk.models.admin_all_tenants_status_apidto import AdminAllTenantsStatusAPIDTO -from visier_platform_sdk.models.admin_assign_connector_credentials_by_tenant_response_dto import AdminAssignConnectorCredentialsByTenantResponseDTO -from visier_platform_sdk.models.admin_assign_connector_credentials_response_dto import AdminAssignConnectorCredentialsResponseDTO -from visier_platform_sdk.models.admin_assign_connector_with_credentials_response_dto import AdminAssignConnectorWithCredentialsResponseDTO -from visier_platform_sdk.models.admin_assigned_credential_info_response_dto import AdminAssignedCredentialInfoResponseDTO -from visier_platform_sdk.models.admin_batch_tenant_provision_apidto import AdminBatchTenantProvisionAPIDTO -from visier_platform_sdk.models.admin_business_location_dto import AdminBusinessLocationDTO -from visier_platform_sdk.models.admin_connector_info_response_dto import AdminConnectorInfoResponseDTO -from visier_platform_sdk.models.admin_connector_setting_request_dto import AdminConnectorSettingRequestDTO -from visier_platform_sdk.models.admin_connector_setting_response_dto import AdminConnectorSettingResponseDTO -from visier_platform_sdk.models.admin_connector_settings_response_dto import AdminConnectorSettingsResponseDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_excluded_source_list_dto import AdminConsolidatedAnalyticsAPIExcludedSourceListDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_source_tenant_list_dto import AdminConsolidatedAnalyticsAPISourceTenantListDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_create_request_dto import AdminConsolidatedAnalyticsAPITenantCreateRequestDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_list_response_dto import AdminConsolidatedAnalyticsAPITenantListResponseDTO -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details import AdminConsolidatedAnalyticsAPITenantWithDetails -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details_list_response_dto import AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO -from visier_platform_sdk.models.admin_custom_property_dto import AdminCustomPropertyDTO -from visier_platform_sdk.models.admin_custom_tenant_property_dto import AdminCustomTenantPropertyDTO -from visier_platform_sdk.models.admin_data_import_definition_apidto import AdminDataImportDefinitionAPIDTO -from visier_platform_sdk.models.admin_data_import_definitions_apidto import AdminDataImportDefinitionsAPIDTO -from visier_platform_sdk.models.admin_data_version_and_date_dto import AdminDataVersionAndDateDTO -from visier_platform_sdk.models.admin_delete_user_group_v2_request import AdminDeleteUserGroupV2Request -from visier_platform_sdk.models.admin_element_ids_dto import AdminElementIDsDTO -from visier_platform_sdk.models.admin_email_domains_dto import AdminEmailDomainsDTO -from visier_platform_sdk.models.admin_excluded_sources_body import AdminExcludedSourcesBody -from visier_platform_sdk.models.admin_extractor_setting_apidto import AdminExtractorSettingAPIDTO -from visier_platform_sdk.models.admin_extractor_setting_key_value_apidto import AdminExtractorSettingKeyValueAPIDTO -from visier_platform_sdk.models.admin_extractor_settings_apidto import AdminExtractorSettingsAPIDTO -from visier_platform_sdk.models.admin_home_analysis_by_user_group_dto import AdminHomeAnalysisByUserGroupDTO -from visier_platform_sdk.models.admin_jobs_consolidated_analytics_job_request_dto import AdminJobsConsolidatedAnalyticsJobRequestDTO -from visier_platform_sdk.models.admin_jobs_extract_data_and_load_dto import AdminJobsExtractDataAndLoadDTO -from visier_platform_sdk.models.admin_jobs_processing_job_request_dto import AdminJobsProcessingJobRequestDTO -from visier_platform_sdk.models.admin_key_name import AdminKeyName -from visier_platform_sdk.models.admin_mask_message import AdminMaskMessage -from visier_platform_sdk.models.admin_multiple_tenant_data_versions_details_dto import AdminMultipleTenantDataVersionsDetailsDTO -from visier_platform_sdk.models.admin_multiple_tenant_data_versions_list_dto import AdminMultipleTenantDataVersionsListDTO -from visier_platform_sdk.models.admin_network_subnets_message_request import AdminNetworkSubnetsMessageRequest -from visier_platform_sdk.models.admin_network_subnets_message_response import AdminNetworkSubnetsMessageResponse -from visier_platform_sdk.models.admin_permission_response_dto import AdminPermissionResponseDTO -from visier_platform_sdk.models.admin_permissions_list_dto import AdminPermissionsListDTO -from visier_platform_sdk.models.admin_permissions_to_user_group_for_tenant_dto import AdminPermissionsToUserGroupForTenantDTO -from visier_platform_sdk.models.admin_permissions_to_user_group_request_dto import AdminPermissionsToUserGroupRequestDTO -from visier_platform_sdk.models.admin_permissions_to_user_groups_request_dto import AdminPermissionsToUserGroupsRequestDTO -from visier_platform_sdk.models.admin_product_release_dto import AdminProductReleaseDTO -from visier_platform_sdk.models.admin_product_releases_dto import AdminProductReleasesDTO -from visier_platform_sdk.models.admin_product_version_dto import AdminProductVersionDTO -from visier_platform_sdk.models.admin_product_versions_dto import AdminProductVersionsDTO -from visier_platform_sdk.models.admin_product_versions_update_failure_tenant_response_dto import AdminProductVersionsUpdateFailureTenantResponseDTO -from visier_platform_sdk.models.admin_product_versions_update_response_dto import AdminProductVersionsUpdateResponseDTO -from visier_platform_sdk.models.admin_product_versions_update_successful_tenant_response_dto import AdminProductVersionsUpdateSuccessfulTenantResponseDTO -from visier_platform_sdk.models.admin_put_project_commits_request import AdminPutProjectCommitsRequest -from visier_platform_sdk.models.admin_security_assignment_response_dto import AdminSecurityAssignmentResponseDTO -from visier_platform_sdk.models.admin_set_connector_setting_request_dto import AdminSetConnectorSettingRequestDTO -from visier_platform_sdk.models.admin_set_connector_setting_response_dto import AdminSetConnectorSettingResponseDTO -from visier_platform_sdk.models.admin_set_connector_settings_request_dto import AdminSetConnectorSettingsRequestDTO -from visier_platform_sdk.models.admin_set_connector_settings_response_dto import AdminSetConnectorSettingsResponseDTO -from visier_platform_sdk.models.admin_simple_user_dto import AdminSimpleUserDTO -from visier_platform_sdk.models.admin_target_project_for_tenant_dto import AdminTargetProjectForTenantDTO -from visier_platform_sdk.models.admin_target_project_for_tenants_list_dto import AdminTargetProjectForTenantsListDTO -from visier_platform_sdk.models.admin_tenant_assignments_dto import AdminTenantAssignmentsDTO -from visier_platform_sdk.models.admin_tenant_code_body import AdminTenantCodeBody -from visier_platform_sdk.models.admin_tenant_connector_settings_request_dto import AdminTenantConnectorSettingsRequestDTO -from visier_platform_sdk.models.admin_tenant_detail_apidto import AdminTenantDetailAPIDTO -from visier_platform_sdk.models.admin_tenant_details_traits_dto import AdminTenantDetailsTraitsDTO -from visier_platform_sdk.models.admin_tenant_management_api_get_response_dto import AdminTenantManagementAPIGetResponseDTO -from visier_platform_sdk.models.admin_tenant_management_api_list_response_dto import AdminTenantManagementAPIListResponseDTO -from visier_platform_sdk.models.admin_tenant_management_api_update_request_dto import AdminTenantManagementAPIUpdateRequestDTO -from visier_platform_sdk.models.admin_tenant_management_api_update_response_dto import AdminTenantManagementAPIUpdateResponseDTO -from visier_platform_sdk.models.admin_tenant_provision_apidto import AdminTenantProvisionAPIDTO -from visier_platform_sdk.models.admin_tenant_status_apidto import AdminTenantStatusAPIDTO -from visier_platform_sdk.models.admin_update_tenant_model import AdminUpdateTenantModel -from visier_platform_sdk.models.admin_user_group_change_definition_dto import AdminUserGroupChangeDefinitionDTO -from visier_platform_sdk.models.admin_user_group_change_dimension_filter_dto import AdminUserGroupChangeDimensionFilterDTO -from visier_platform_sdk.models.admin_user_group_change_failure_dto import AdminUserGroupChangeFailureDTO -from visier_platform_sdk.models.admin_user_group_change_filter_dto import AdminUserGroupChangeFilterDTO -from visier_platform_sdk.models.admin_user_group_change_member_selection_dto import AdminUserGroupChangeMemberSelectionDTO -from visier_platform_sdk.models.admin_user_group_change_response_dto import AdminUserGroupChangeResponseDTO -from visier_platform_sdk.models.admin_user_group_change_success_dto import AdminUserGroupChangeSuccessDTO -from visier_platform_sdk.models.admin_user_group_change_users_dto import AdminUserGroupChangeUsersDTO -from visier_platform_sdk.models.admin_user_group_delete_dto import AdminUserGroupDeleteDTO -from visier_platform_sdk.models.admin_user_group_delete_failure_dto import AdminUserGroupDeleteFailureDTO -from visier_platform_sdk.models.admin_user_group_delete_response_dto import AdminUserGroupDeleteResponseDTO -from visier_platform_sdk.models.admin_user_group_delete_success_dto import AdminUserGroupDeleteSuccessDTO -from visier_platform_sdk.models.admin_user_group_filters_dto import AdminUserGroupFiltersDTO -from visier_platform_sdk.models.admin_user_group_get_api_response_dto import AdminUserGroupGetAPIResponseDTO -from visier_platform_sdk.models.admin_user_group_single_delete_response_dto import AdminUserGroupSingleDeleteResponseDTO -from visier_platform_sdk.models.admin_user_groups_change_dto import AdminUserGroupsChangeDTO -from visier_platform_sdk.models.admin_user_groups_delete_request_dto import AdminUserGroupsDeleteRequestDTO -from visier_platform_sdk.models.admin_user_groups_get_api_response_dto import AdminUserGroupsGetAPIResponseDTO -from visier_platform_sdk.models.admin_user_groups_users_dto import AdminUserGroupsUsersDTO -from visier_platform_sdk.models.admin_user_groups_users_for_tenant_dto import AdminUserGroupsUsersForTenantDTO -from visier_platform_sdk.models.admin_user_security_assignments_dto import AdminUserSecurityAssignmentsDTO -from visier_platform_sdk.models.admin_users_to_user_group_request_dto import AdminUsersToUserGroupRequestDTO -from visier_platform_sdk.models.admin_users_to_user_groups_request_dto import AdminUsersToUserGroupsRequestDTO -from visier_platform_sdk.models.analysis_common_report_create_request_dto import AnalysisCommonReportCreateRequestDTO -from visier_platform_sdk.models.analysis_common_report_dto import AnalysisCommonReportDTO -from visier_platform_sdk.models.analysis_common_report_delete_success_dto import AnalysisCommonReportDeleteSuccessDTO -from visier_platform_sdk.models.analysis_common_report_list_response_dto import AnalysisCommonReportListResponseDTO -from visier_platform_sdk.models.analysis_common_vee_clarification_dto import AnalysisCommonVeeClarificationDTO -from visier_platform_sdk.models.analysis_common_vee_conversation_dto import AnalysisCommonVeeConversationDTO -from visier_platform_sdk.models.analysis_common_vee_conversation_state_dto import AnalysisCommonVeeConversationStateDTO -from visier_platform_sdk.models.analysis_common_vee_corrections_dto import AnalysisCommonVeeCorrectionsDTO -from visier_platform_sdk.models.analysis_common_vee_data_dto import AnalysisCommonVeeDataDTO -from visier_platform_sdk.models.analysis_common_vee_feedback_dto import AnalysisCommonVeeFeedbackDTO -from visier_platform_sdk.models.analysis_common_vee_options_dto import AnalysisCommonVeeOptionsDTO -from visier_platform_sdk.models.analysis_common_vee_question_dto import AnalysisCommonVeeQuestionDTO -from visier_platform_sdk.models.analysis_common_vee_response_dto import AnalysisCommonVeeResponseDTO -from visier_platform_sdk.models.analysis_common_vee_response_schema_dto import AnalysisCommonVeeResponseSchemaDTO -from visier_platform_sdk.models.analysis_common_vee_response_schema_reference_dto import AnalysisCommonVeeResponseSchemaReferenceDTO -from visier_platform_sdk.models.analysis_common_vee_sample_question_dto import AnalysisCommonVeeSampleQuestionDTO -from visier_platform_sdk.models.analysis_common_vee_sample_question_library_dto import AnalysisCommonVeeSampleQuestionLibraryDTO -from visier_platform_sdk.models.analysis_common_vee_status_code_dto import AnalysisCommonVeeStatusCodeDTO -from visier_platform_sdk.models.analysis_common_vee_visual_dto import AnalysisCommonVeeVisualDTO -from visier_platform_sdk.models.analysis_common_vee_visual_options_dto import AnalysisCommonVeeVisualOptionsDTO +from visier_platform_sdk.models.accessible_tenant_profile_assignment_request_dto import AccessibleTenantProfileAssignmentRequestDTO +from visier_platform_sdk.models.accessible_tenant_profile_assignment_response_dto import AccessibleTenantProfileAssignmentResponseDTO +from visier_platform_sdk.models.accessible_tenant_profile_revoke_request_dto import AccessibleTenantProfileRevokeRequestDTO +from visier_platform_sdk.models.accessible_tenant_profile_revoke_response_dto import AccessibleTenantProfileRevokeResponseDTO +from visier_platform_sdk.models.additional_capabilities_dto import AdditionalCapabilitiesDTO +from visier_platform_sdk.models.admin_capability_config_dto import AdminCapabilityConfigDTO +from visier_platform_sdk.models.adp_auth_params_dto import AdpAuthParamsDTO +from visier_platform_sdk.models.aggregation_query_dto import AggregationQueryDTO +from visier_platform_sdk.models.aggregation_query_execution_dto import AggregationQueryExecutionDTO +from visier_platform_sdk.models.aggregation_query_source_dto import AggregationQuerySourceDTO +from visier_platform_sdk.models.aggregation_query_source_metric_dto import AggregationQuerySourceMetricDTO +from visier_platform_sdk.models.aggregation_query_source_metrics_dto import AggregationQuerySourceMetricsDTO +from visier_platform_sdk.models.aggregation_type_option_dto import AggregationTypeOptionDTO +from visier_platform_sdk.models.aggregation_type_parameter_dto import AggregationTypeParameterDTO +from visier_platform_sdk.models.aggregation_type_parameter_value_dto import AggregationTypeParameterValueDTO +from visier_platform_sdk.models.all_permissions_assigned_for_local_tenant_dto import AllPermissionsAssignedForLocalTenantDTO +from visier_platform_sdk.models.all_profile_assigned_for_accessible_tenant_dto import AllProfileAssignedForAccessibleTenantDTO +from visier_platform_sdk.models.all_profile_assigned_for_local_tenant_dto import AllProfileAssignedForLocalTenantDTO +from visier_platform_sdk.models.all_tenants_status_apidto import AllTenantsStatusAPIDTO +from visier_platform_sdk.models.all_user_groups_assigned_for_local_tenant_dto import AllUserGroupsAssignedForLocalTenantDTO +from visier_platform_sdk.models.all_users_get_api_response_dto import AllUsersGetAPIResponseDTO +from visier_platform_sdk.models.analytic_object_dto import AnalyticObjectDTO +from visier_platform_sdk.models.analytic_object_definition_dto import AnalyticObjectDefinitionDTO +from visier_platform_sdk.models.analytic_object_filter_dto import AnalyticObjectFilterDTO +from visier_platform_sdk.models.analytic_object_request_dto import AnalyticObjectRequestDTO +from visier_platform_sdk.models.analytic_object_with_context_dto import AnalyticObjectWithContextDTO +from visier_platform_sdk.models.analytic_objects_dto import AnalyticObjectsDTO +from visier_platform_sdk.models.any import Any from visier_platform_sdk.models.api_error import ApiError -from visier_platform_sdk.models.authentication_o_auth2_user_info_dto import AuthenticationOAuth2UserInfoDTO -from visier_platform_sdk.models.authentication_o_auth2_user_subnet_info_dto import AuthenticationOAuth2UserSubnetInfoDTO -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_detail_dto import AuthenticationOAuth2UserTenantDetailDTO -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_details_dto import AuthenticationOAuth2UserTenantDetailsDTO -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_properties_dto import AuthenticationOAuth2UserTenantPropertiesDTO +from visier_platform_sdk.models.assign_connector_credential_request import AssignConnectorCredentialRequest +from visier_platform_sdk.models.assign_connector_credentials_by_tenant_response_dto import AssignConnectorCredentialsByTenantResponseDTO +from visier_platform_sdk.models.assign_connector_credentials_response_dto import AssignConnectorCredentialsResponseDTO +from visier_platform_sdk.models.assign_connector_with_credentials_response_dto import AssignConnectorWithCredentialsResponseDTO +from visier_platform_sdk.models.assign_revoke_permission_by_permission_dto import AssignRevokePermissionByPermissionDTO +from visier_platform_sdk.models.assign_revoke_permission_by_tenant_dto import AssignRevokePermissionByTenantDTO +from visier_platform_sdk.models.assign_revoke_permission_by_user_dto import AssignRevokePermissionByUserDTO +from visier_platform_sdk.models.assign_revoke_permission_request_dto import AssignRevokePermissionRequestDTO +from visier_platform_sdk.models.assign_revoke_permissions_request_dto import AssignRevokePermissionsRequestDTO +from visier_platform_sdk.models.assign_revoke_permissions_response_dto import AssignRevokePermissionsResponseDTO +from visier_platform_sdk.models.assigned_credential_info_response_dto import AssignedCredentialInfoResponseDTO +from visier_platform_sdk.models.bamboo_auth_params_dto import BambooAuthParamsDTO +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.basic_s3_auth_params_dto import BasicS3AuthParamsDTO +from visier_platform_sdk.models.batch_tenant_provision_apidto import BatchTenantProvisionAPIDTO from visier_platform_sdk.models.benchmark_info import BenchmarkInfo from visier_platform_sdk.models.benchmark_value import BenchmarkValue -from visier_platform_sdk.models.data_in_assign_connector_credential_request import DataInAssignConnectorCredentialRequest -from visier_platform_sdk.models.data_in_connector import DataInConnector -from visier_platform_sdk.models.data_in_data_load_request import DataInDataLoadRequest -from visier_platform_sdk.models.data_in_data_load_request_model import DataInDataLoadRequestModel -from visier_platform_sdk.models.data_in_data_load_response import DataInDataLoadResponse -from visier_platform_sdk.models.data_in_data_transfer_result_detail import DataInDataTransferResultDetail -from visier_platform_sdk.models.data_in_data_version_object import DataInDataVersionObject -from visier_platform_sdk.models.data_in_disable_dv_model import DataInDisableDVModel -from visier_platform_sdk.models.data_in_disable_dv_request import DataInDisableDVRequest -from visier_platform_sdk.models.data_in_disable_dv_response import DataInDisableDVResponse -from visier_platform_sdk.models.data_in_dispatching_job_status_response import DataInDispatchingJobStatusResponse -from visier_platform_sdk.models.data_in_exclude_data_uploads_request import DataInExcludeDataUploadsRequest -from visier_platform_sdk.models.data_in_extraction_job import DataInExtractionJob -from visier_platform_sdk.models.data_in_extraction_job_and_status_response import DataInExtractionJobAndStatusResponse -from visier_platform_sdk.models.data_in_include_data_uploads_request import DataInIncludeDataUploadsRequest -from visier_platform_sdk.models.data_in_job_status_list_response import DataInJobStatusListResponse -from visier_platform_sdk.models.data_in_job_status_with_start_time import DataInJobStatusWithStartTime -from visier_platform_sdk.models.data_in_processing_job import DataInProcessingJob -from visier_platform_sdk.models.data_in_processing_job_and_status_response import DataInProcessingJobAndStatusResponse -from visier_platform_sdk.models.data_in_processing_job_status_response import DataInProcessingJobStatusResponse -from visier_platform_sdk.models.data_in_push_data_cancel_response import DataInPushDataCancelResponse -from visier_platform_sdk.models.data_in_push_data_complete_request import DataInPushDataCompleteRequest -from visier_platform_sdk.models.data_in_push_data_complete_response import DataInPushDataCompleteResponse -from visier_platform_sdk.models.data_in_push_data_response import DataInPushDataResponse -from visier_platform_sdk.models.data_in_receiving_job import DataInReceivingJob -from visier_platform_sdk.models.data_in_receiving_job_and_status_response import DataInReceivingJobAndStatusResponse -from visier_platform_sdk.models.data_in_receiving_job_status_response import DataInReceivingJobStatusResponse -from visier_platform_sdk.models.data_in_result import DataInResult -from visier_platform_sdk.models.data_in_source import DataInSource -from visier_platform_sdk.models.data_in_start_extraction_response import DataInStartExtractionResponse -from visier_platform_sdk.models.data_in_start_transfer_response import DataInStartTransferResponse -from visier_platform_sdk.models.data_in_tenant import DataInTenant -from visier_platform_sdk.models.data_in_tenant_and_credential import DataInTenantAndCredential -from visier_platform_sdk.models.data_in_upload_to_exclude import DataInUploadToExclude -from visier_platform_sdk.models.data_in_upload_to_include import DataInUploadToInclude -from visier_platform_sdk.models.data_out_list_response import DataOutListResponse -from visier_platform_sdk.models.dataservices_common_dimension_member_reference_dto import DataservicesCommonDimensionMemberReferenceDTO -from visier_platform_sdk.models.dataservices_common_member_values_dto import DataservicesCommonMemberValuesDTO -from visier_platform_sdk.models.dataservices_datamodel_aggregation_type_option_dto import DataservicesDatamodelAggregationTypeOptionDTO -from visier_platform_sdk.models.dataservices_datamodel_aggregation_type_parameter_dto import DataservicesDatamodelAggregationTypeParameterDTO -from visier_platform_sdk.models.dataservices_datamodel_analytic_object_dto import DataservicesDatamodelAnalyticObjectDTO -from visier_platform_sdk.models.dataservices_datamodel_analytic_objects_dto import DataservicesDatamodelAnalyticObjectsDTO -from visier_platform_sdk.models.dataservices_datamodel_currencies_dto import DataservicesDatamodelCurrenciesDTO -from visier_platform_sdk.models.dataservices_datamodel_currency_dto import DataservicesDatamodelCurrencyDTO -from visier_platform_sdk.models.dataservices_datamodel_currency_rate_dto import DataservicesDatamodelCurrencyRateDTO -from visier_platform_sdk.models.dataservices_datamodel_currency_rates_dto import DataservicesDatamodelCurrencyRatesDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_dto import DataservicesDatamodelDimensionDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_mapping_validation_dto import DataservicesDatamodelDimensionMappingValidationDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_mapping_validation_execution_dto import DataservicesDatamodelDimensionMappingValidationExecutionDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_dimensions_dto import DataservicesDatamodelDimensionsDTO -from visier_platform_sdk.models.dataservices_datamodel_level_dto import DataservicesDatamodelLevelDTO -from visier_platform_sdk.models.dataservices_datamodel_member_dto import DataservicesDatamodelMemberDTO -from visier_platform_sdk.models.dataservices_datamodel_member_parameter_definition_dto import DataservicesDatamodelMemberParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_members_dto import DataservicesDatamodelMembersDTO -from visier_platform_sdk.models.dataservices_datamodel_metric_dto import DataservicesDatamodelMetricDTO -from visier_platform_sdk.models.dataservices_datamodel_metrics_dto import DataservicesDatamodelMetricsDTO -from visier_platform_sdk.models.dataservices_datamodel_numeric_parameter_definition_dto import DataservicesDatamodelNumericParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_object_reference_dto import DataservicesDatamodelObjectReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_parameter_definition_dto import DataservicesDatamodelParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_plan_parameter_definition_dto import DataservicesDatamodelPlanParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_concept_filter_context_dto import DataservicesDatamodelPlanningConceptFilterContextDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_hierarchy_filter_context_dto import DataservicesDatamodelPlanningHierarchyFilterContextDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_model_dto import DataservicesDatamodelPlanningModelDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_models_dto import DataservicesDatamodelPlanningModelsDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_context_dto import DataservicesDatamodelPlanningPlanContextDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_dto import DataservicesDatamodelPlanningPlanDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_plans_dto import DataservicesDatamodelPlanningPlansDTO -from visier_platform_sdk.models.dataservices_datamodel_population_configuration_dto import DataservicesDatamodelPopulationConfigurationDTO -from visier_platform_sdk.models.dataservices_datamodel_prediction_dto import DataservicesDatamodelPredictionDTO -from visier_platform_sdk.models.dataservices_datamodel_predictions_dto import DataservicesDatamodelPredictionsDTO -from visier_platform_sdk.models.dataservices_datamodel_properties_dto import DataservicesDatamodelPropertiesDTO -from visier_platform_sdk.models.dataservices_datamodel_property_dto import DataservicesDatamodelPropertyDTO -from visier_platform_sdk.models.dataservices_datamodel_property_reference_dto import DataservicesDatamodelPropertyReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_scenario_or_snapshot_dto import DataservicesDatamodelScenarioOrSnapshotDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_dto import DataservicesDatamodelSelectionConceptDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_reference_dto import DataservicesDatamodelSelectionConceptReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concepts_dto import DataservicesDatamodelSelectionConceptsDTO -from visier_platform_sdk.models.dataservices_datamodel_tag_map_element_dto import DataservicesDatamodelTagMapElementDTO -from visier_platform_sdk.models.dataservices_datamodel_validity_range_dto import DataservicesDatamodelValidityRangeDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_dto import DataservicesQueryAggregationQueryDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_execution_dto import DataservicesQueryAggregationQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_dto import DataservicesQueryAggregationQuerySourceDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_metric_dto import DataservicesQueryAggregationQuerySourceMetricDTO -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_metrics_dto import DataservicesQueryAggregationQuerySourceMetricsDTO -from visier_platform_sdk.models.dataservices_query_aggregation_type_parameter_value_dto import DataservicesQueryAggregationTypeParameterValueDTO -from visier_platform_sdk.models.dataservices_query_cell_dto import DataservicesQueryCellDTO -from visier_platform_sdk.models.dataservices_query_cell_distribution_bin_dto import DataservicesQueryCellDistributionBinDTO -from visier_platform_sdk.models.dataservices_query_cell_distribution_options_dto import DataservicesQueryCellDistributionOptionsDTO -from visier_platform_sdk.models.dataservices_query_cell_set_axis_dto import DataservicesQueryCellSetAxisDTO -from visier_platform_sdk.models.dataservices_query_cell_set_axis_position_dto import DataservicesQueryCellSetAxisPositionDTO -from visier_platform_sdk.models.dataservices_query_cell_set_dto import DataservicesQueryCellSetDTO -from visier_platform_sdk.models.dataservices_query_cell_set_or_error_dto import DataservicesQueryCellSetOrErrorDTO -from visier_platform_sdk.models.dataservices_query_cohort_filter_dto import DataservicesQueryCohortFilterDTO -from visier_platform_sdk.models.dataservices_query_internal_query_execution_options_dto import DataservicesQueryInternalQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_key_group_filter_dto import DataservicesQueryKeyGroupFilterDTO -from visier_platform_sdk.models.dataservices_query_key_group_filter_item_dto import DataservicesQueryKeyGroupFilterItemDTO -from visier_platform_sdk.models.dataservices_query_lineage_dto import DataservicesQueryLineageDTO -from visier_platform_sdk.models.dataservices_query_list_query_execution_dto import DataservicesQueryListQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_list_query_execution_options_dto import DataservicesQueryListQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_list_query_source_dto import DataservicesQueryListQuerySourceDTO -from visier_platform_sdk.models.dataservices_query_member_filter_dto import DataservicesQueryMemberFilterDTO -from visier_platform_sdk.models.dataservices_query_member_parameter_value_dto import DataservicesQueryMemberParameterValueDTO -from visier_platform_sdk.models.dataservices_query_numeric_parameter_value_dto import DataservicesQueryNumericParameterValueDTO -from visier_platform_sdk.models.dataservices_query_plan_parameter_value_dto import DataservicesQueryPlanParameterValueDTO -from visier_platform_sdk.models.dataservices_query_property_column_dto import DataservicesQueryPropertyColumnDTO -from visier_platform_sdk.models.dataservices_query_query_axis_dto import DataservicesQueryQueryAxisDTO -from visier_platform_sdk.models.dataservices_query_query_axis_options_dto import DataservicesQueryQueryAxisOptionsDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_data_member_selection_dto import DataservicesQueryQueryDimensionDataMemberSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_leaf_selection_dto import DataservicesQueryQueryDimensionLeafSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_level_property_dto import DataservicesQueryQueryDimensionLevelPropertyDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_level_selection_dto import DataservicesQueryQueryDimensionLevelSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_member_selection_dto import DataservicesQueryQueryDimensionMemberSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_execution_error_dto import DataservicesQueryQueryExecutionErrorDTO -from visier_platform_sdk.models.dataservices_query_query_execution_error_details_dto import DataservicesQueryQueryExecutionErrorDetailsDTO -from visier_platform_sdk.models.dataservices_query_query_execution_errors_dto import DataservicesQueryQueryExecutionErrorsDTO -from visier_platform_sdk.models.dataservices_query_query_execution_options_dto import DataservicesQueryQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_query_filter_dto import DataservicesQueryQueryFilterDTO -from visier_platform_sdk.models.dataservices_query_query_member_map_property_dto import DataservicesQueryQueryMemberMapPropertyDTO -from visier_platform_sdk.models.dataservices_query_query_member_map_selection_dto import DataservicesQueryQueryMemberMapSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_numeric_ranges_dto import DataservicesQueryQueryNumericRangesDTO -from visier_platform_sdk.models.dataservices_query_query_parameter_value_dto import DataservicesQueryQueryParameterValueDTO -from visier_platform_sdk.models.dataservices_query_query_property_dto import DataservicesQueryQueryPropertyDTO -from visier_platform_sdk.models.dataservices_query_query_time_interval_dto import DataservicesQueryQueryTimeIntervalDTO -from visier_platform_sdk.models.dataservices_query_query_time_intervals_dto import DataservicesQueryQueryTimeIntervalsDTO -from visier_platform_sdk.models.dataservices_query_snapshot_query_execution_dto import DataservicesQuerySnapshotQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_snapshot_query_execution_options_dto import DataservicesQuerySnapshotQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_sort_option_dto import DataservicesQuerySortOptionDTO -from visier_platform_sdk.models.dataservices_query_sql_like_query_execution_dto import DataservicesQuerySqlLikeQueryExecutionDTO -from visier_platform_sdk.models.dataservices_query_time_shift_dto import DataservicesQueryTimeShiftDTO +from visier_platform_sdk.models.big_query_auth_params_dto import BigQueryAuthParamsDTO +from visier_platform_sdk.models.big_query_service_account_params_dto import BigQueryServiceAccountParamsDTO +from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO +from visier_platform_sdk.models.bulk_data_access_set_response_dto import BulkDataAccessSetResponseDTO +from visier_platform_sdk.models.business_location_dto import BusinessLocationDTO +from visier_platform_sdk.models.calculated_property_type_dto import CalculatedPropertyTypeDTO +from visier_platform_sdk.models.calculation_concept_configuration_dto import CalculationConceptConfigurationDTO +from visier_platform_sdk.models.calculation_concept_configuration_map_dto import CalculationConceptConfigurationMapDTO +from visier_platform_sdk.models.calculation_concept_dto import CalculationConceptDTO +from visier_platform_sdk.models.calculation_concept_list_dto import CalculationConceptListDTO +from visier_platform_sdk.models.cancel_job_batch_from_job_id_dto import CancelJobBatchFromJobIdDTO +from visier_platform_sdk.models.capabilities_dto import CapabilitiesDTO +from visier_platform_sdk.models.capability_dto import CapabilityDTO +from visier_platform_sdk.models.capability_group_dto import CapabilityGroupDTO +from visier_platform_sdk.models.cell_dto import CellDTO +from visier_platform_sdk.models.cell_distribution_bin_dto import CellDistributionBinDTO +from visier_platform_sdk.models.cell_distribution_options_dto import CellDistributionOptionsDTO +from visier_platform_sdk.models.cell_set_axis_dto import CellSetAxisDTO +from visier_platform_sdk.models.cell_set_axis_position_dto import CellSetAxisPositionDTO +from visier_platform_sdk.models.cell_set_dto import CellSetDTO +from visier_platform_sdk.models.cell_set_or_error_dto import CellSetOrErrorDTO +from visier_platform_sdk.models.clone_files_into_source_parameters_dto import CloneFilesIntoSourceParametersDTO +from visier_platform_sdk.models.cohort_filter_dto import CohortFilterDTO +from visier_platform_sdk.models.commit_and_publish_operation_response_dto import CommitAndPublishOperationResponseDTO +from visier_platform_sdk.models.commit_dto import CommitDTO +from visier_platform_sdk.models.concept_configuration_result_dto import ConceptConfigurationResultDTO +from visier_platform_sdk.models.concept_definition_dto import ConceptDefinitionDTO +from visier_platform_sdk.models.concept_delete_request_dto import ConceptDeleteRequestDTO +from visier_platform_sdk.models.concept_delete_with_context_dto import ConceptDeleteWithContextDTO +from visier_platform_sdk.models.concept_request_dto import ConceptRequestDTO +from visier_platform_sdk.models.concept_response_dto import ConceptResponseDTO +from visier_platform_sdk.models.concept_type_details_dto import ConceptTypeDetailsDTO +from visier_platform_sdk.models.concept_with_context_dto import ConceptWithContextDTO +from visier_platform_sdk.models.connector import Connector +from visier_platform_sdk.models.connector_info_response_dto import ConnectorInfoResponseDTO +from visier_platform_sdk.models.connector_setting_request_dto import ConnectorSettingRequestDTO +from visier_platform_sdk.models.connector_setting_response_dto import ConnectorSettingResponseDTO +from visier_platform_sdk.models.connector_settings_response_dto import ConnectorSettingsResponseDTO +from visier_platform_sdk.models.consolidated_analytics_api_excluded_source_list_dto import ConsolidatedAnalyticsAPIExcludedSourceListDTO +from visier_platform_sdk.models.consolidated_analytics_api_source_tenant_list_dto import ConsolidatedAnalyticsAPISourceTenantListDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_create_request_dto import ConsolidatedAnalyticsAPITenantCreateRequestDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_list_response_dto import ConsolidatedAnalyticsAPITenantListResponseDTO +from visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details import ConsolidatedAnalyticsAPITenantWithDetails +from visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details_list_response_dto import ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO +from visier_platform_sdk.models.consolidated_analytics_job_request_dto import ConsolidatedAnalyticsJobRequestDTO +from visier_platform_sdk.models.content_package_dto import ContentPackageDTO +from visier_platform_sdk.models.copy_s3_auth_params_dto import CopyS3AuthParamsDTO +from visier_platform_sdk.models.create_data_access_set_request_dto import CreateDataAccessSetRequestDTO +from visier_platform_sdk.models.credential_creation_api_response_dto import CredentialCreationAPIResponseDTO +from visier_platform_sdk.models.currencies_dto import CurrenciesDTO +from visier_platform_sdk.models.currency_dto import CurrencyDTO +from visier_platform_sdk.models.currency_rate_dto import CurrencyRateDTO +from visier_platform_sdk.models.currency_rates_dto import CurrencyRatesDTO +from visier_platform_sdk.models.custom_property_dto import CustomPropertyDTO +from visier_platform_sdk.models.custom_tenant_property_dto import CustomTenantPropertyDTO +from visier_platform_sdk.models.data_access_set_dto import DataAccessSetDTO +from visier_platform_sdk.models.data_access_set_error_dto import DataAccessSetErrorDTO +from visier_platform_sdk.models.data_access_set_failure_dto import DataAccessSetFailureDTO +from visier_platform_sdk.models.data_access_set_success_dto import DataAccessSetSuccessDTO +from visier_platform_sdk.models.data_categories_response_dto import DataCategoriesResponseDTO +from visier_platform_sdk.models.data_category_response_dto import DataCategoryResponseDTO +from visier_platform_sdk.models.data_load_request import DataLoadRequest +from visier_platform_sdk.models.data_load_request_model import DataLoadRequestModel +from visier_platform_sdk.models.data_load_response import DataLoadResponse +from visier_platform_sdk.models.data_model_analytic_object_dto import DataModelAnalyticObjectDTO +from visier_platform_sdk.models.data_provider_auth_information_dto import DataProviderAuthInformationDTO +from visier_platform_sdk.models.data_provider_auth_params_dto import DataProviderAuthParamsDTO +from visier_platform_sdk.models.data_provider_basic_information_dto import DataProviderBasicInformationDTO +from visier_platform_sdk.models.data_provider_basic_metadata_dto import DataProviderBasicMetadataDTO +from visier_platform_sdk.models.data_security_profile_dto import DataSecurityProfileDTO +from visier_platform_sdk.models.data_transfer_result_detail import DataTransferResultDetail +from visier_platform_sdk.models.data_version_and_date_dto import DataVersionAndDateDTO +from visier_platform_sdk.models.data_version_export_column_dto import DataVersionExportColumnDTO +from visier_platform_sdk.models.data_version_export_dto import DataVersionExportDTO +from visier_platform_sdk.models.data_version_export_data_version_summary_dto import DataVersionExportDataVersionSummaryDTO +from visier_platform_sdk.models.data_version_export_data_versions_dto import DataVersionExportDataVersionsDTO +from visier_platform_sdk.models.data_version_export_file_dto import DataVersionExportFileDTO +from visier_platform_sdk.models.data_version_export_job_status_dto import DataVersionExportJobStatusDTO +from visier_platform_sdk.models.data_version_export_part_file_dto import DataVersionExportPartFileDTO +from visier_platform_sdk.models.data_version_export_schedule_job_request_dto import DataVersionExportScheduleJobRequestDTO +from visier_platform_sdk.models.data_version_export_schedule_job_response_dto import DataVersionExportScheduleJobResponseDTO +from visier_platform_sdk.models.data_version_export_table_dto import DataVersionExportTableDTO +from visier_platform_sdk.models.data_version_exports_dto import DataVersionExportsDTO +from visier_platform_sdk.models.data_version_object import DataVersionObject +from visier_platform_sdk.models.databricks_auth_params_dto import DatabricksAuthParamsDTO +from visier_platform_sdk.models.date_range_dto import DateRangeDTO +from visier_platform_sdk.models.dayforce_v2_auth_params_dto import DayforceV2AuthParamsDTO +from visier_platform_sdk.models.delete_permissions_request_dto import DeletePermissionsRequestDTO +from visier_platform_sdk.models.delete_user_group_v2_request import DeleteUserGroupV2Request +from visier_platform_sdk.models.dependent_dto import DependentDTO from visier_platform_sdk.models.description_entry import DescriptionEntry -from visier_platform_sdk.models.designer_adp_auth_params_dto import DesignerAdpAuthParamsDTO -from visier_platform_sdk.models.designer_api_analytic_object_filter_dto import DesignerApiAnalyticObjectFilterDTO -from visier_platform_sdk.models.designer_api_calculation_concept_configuration_dto import DesignerApiCalculationConceptConfigurationDTO -from visier_platform_sdk.models.designer_api_calculation_concept_configuration_map_dto import DesignerApiCalculationConceptConfigurationMapDTO -from visier_platform_sdk.models.designer_api_calculation_concept_dto import DesignerApiCalculationConceptDTO -from visier_platform_sdk.models.designer_api_calculation_concept_list_dto import DesignerApiCalculationConceptListDTO -from visier_platform_sdk.models.designer_api_concept_configuration_result_dto import DesignerApiConceptConfigurationResultDTO -from visier_platform_sdk.models.designer_api_dimension_filter_dto import DesignerApiDimensionFilterDTO -from visier_platform_sdk.models.designer_api_dimension_member_dto import DesignerApiDimensionMemberDTO -from visier_platform_sdk.models.designer_api_perspective_configuration_dto import DesignerApiPerspectiveConfigurationDTO -from visier_platform_sdk.models.designer_api_perspective_node_dto import DesignerApiPerspectiveNodeDTO -from visier_platform_sdk.models.designer_api_selection_concept_configuration_dto import DesignerApiSelectionConceptConfigurationDTO -from visier_platform_sdk.models.designer_api_selection_concept_configuration_map_dto import DesignerApiSelectionConceptConfigurationMapDTO -from visier_platform_sdk.models.designer_api_selection_concept_dto import DesignerApiSelectionConceptDTO -from visier_platform_sdk.models.designer_api_selection_concept_list_dto import DesignerApiSelectionConceptListDTO -from visier_platform_sdk.models.designer_bamboo_auth_params_dto import DesignerBambooAuthParamsDTO -from visier_platform_sdk.models.designer_basic_s3_auth_params_dto import DesignerBasicS3AuthParamsDTO -from visier_platform_sdk.models.designer_big_query_auth_params_dto import DesignerBigQueryAuthParamsDTO -from visier_platform_sdk.models.designer_big_query_service_account_params_dto import DesignerBigQueryServiceAccountParamsDTO -from visier_platform_sdk.models.designer_copy_s3_auth_params_dto import DesignerCopyS3AuthParamsDTO -from visier_platform_sdk.models.designer_credential_creation_api_response_dto import DesignerCredentialCreationAPIResponseDTO -from visier_platform_sdk.models.designer_crypto_generate_key_request_dto import DesignerCryptoGenerateKeyRequestDTO -from visier_platform_sdk.models.designer_crypto_key_pair_delete_response_dto import DesignerCryptoKeyPairDeleteResponseDTO -from visier_platform_sdk.models.designer_crypto_key_pair_generate_request_dto import DesignerCryptoKeyPairGenerateRequestDTO -from visier_platform_sdk.models.designer_crypto_public_key_dto import DesignerCryptoPublicKeyDTO -from visier_platform_sdk.models.designer_crypto_public_keys_dto import DesignerCryptoPublicKeysDTO -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_dto import DesignerCryptoTenantEncryptionKeyDTO -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_details_dto import DesignerCryptoTenantEncryptionKeyDetailsDTO -from visier_platform_sdk.models.designer_data_provider_auth_information_dto import DesignerDataProviderAuthInformationDTO -from visier_platform_sdk.models.designer_data_provider_auth_params_dto import DesignerDataProviderAuthParamsDTO -from visier_platform_sdk.models.designer_data_provider_basic_information_dto import DesignerDataProviderBasicInformationDTO -from visier_platform_sdk.models.designer_data_provider_basic_metadata_dto import DesignerDataProviderBasicMetadataDTO -from visier_platform_sdk.models.designer_data_version_export_column_dto import DesignerDataVersionExportColumnDTO -from visier_platform_sdk.models.designer_data_version_export_dto import DesignerDataVersionExportDTO -from visier_platform_sdk.models.designer_data_version_export_data_version_summary_dto import DesignerDataVersionExportDataVersionSummaryDTO -from visier_platform_sdk.models.designer_data_version_export_data_versions_dto import DesignerDataVersionExportDataVersionsDTO -from visier_platform_sdk.models.designer_data_version_export_file_dto import DesignerDataVersionExportFileDTO -from visier_platform_sdk.models.designer_data_version_export_job_status_dto import DesignerDataVersionExportJobStatusDTO -from visier_platform_sdk.models.designer_data_version_export_part_file_dto import DesignerDataVersionExportPartFileDTO -from visier_platform_sdk.models.designer_data_version_export_schedule_job_request_dto import DesignerDataVersionExportScheduleJobRequestDTO -from visier_platform_sdk.models.designer_data_version_export_schedule_job_response_dto import DesignerDataVersionExportScheduleJobResponseDTO -from visier_platform_sdk.models.designer_data_version_export_table_dto import DesignerDataVersionExportTableDTO -from visier_platform_sdk.models.designer_data_version_exports_dto import DesignerDataVersionExportsDTO -from visier_platform_sdk.models.designer_databricks_auth_params_dto import DesignerDatabricksAuthParamsDTO -from visier_platform_sdk.models.designer_dayforce_v2_auth_params_dto import DesignerDayforceV2AuthParamsDTO -from visier_platform_sdk.models.designer_dimensions_auth_params_dto import DesignerDimensionsAuthParamsDTO -from visier_platform_sdk.models.designer_download_source_files_dto import DesignerDownloadSourceFilesDTO -from visier_platform_sdk.models.designer_download_source_files_response_dto import DesignerDownloadSourceFilesResponseDTO -from visier_platform_sdk.models.designer_extractor_credential_apidto import DesignerExtractorCredentialAPIDTO -from visier_platform_sdk.models.designer_extractor_credentials_apidto import DesignerExtractorCredentialsAPIDTO -from visier_platform_sdk.models.designer_fusion_auth_params_dto import DesignerFusionAuthParamsDTO -from visier_platform_sdk.models.designer_gong_auth_params_dto import DesignerGongAuthParamsDTO -from visier_platform_sdk.models.designer_google_sheets_auth_params_dto import DesignerGoogleSheetsAuthParamsDTO -from visier_platform_sdk.models.designer_google_workspace_auth_params_dto import DesignerGoogleWorkspaceAuthParamsDTO -from visier_platform_sdk.models.designer_greenhouse_auth_params_dto import DesignerGreenhouseAuthParamsDTO -from visier_platform_sdk.models.designer_icims_auth_params_dto import DesignerIcimsAuthParamsDTO -from visier_platform_sdk.models.designer_internal_s3_auth_params_dto import DesignerInternalS3AuthParamsDTO -from visier_platform_sdk.models.designer_jdbc_auth_params_dto import DesignerJdbcAuthParamsDTO -from visier_platform_sdk.models.designer_jira_auth_params_dto import DesignerJiraAuthParamsDTO -from visier_platform_sdk.models.designer_jira_connect_params_dto import DesignerJiraConnectParamsDTO -from visier_platform_sdk.models.designer_lever_auth_params_dto import DesignerLeverAuthParamsDTO -from visier_platform_sdk.models.designer_medallia_auth_params_dto import DesignerMedalliaAuthParamsDTO -from visier_platform_sdk.models.designer_microsoft365_auth_params_dto import DesignerMicrosoft365AuthParamsDTO -from visier_platform_sdk.models.designer_module_settings_dto import DesignerModuleSettingsDTO -from visier_platform_sdk.models.designer_my_sql_auth_params_dto import DesignerMySqlAuthParamsDTO -from visier_platform_sdk.models.designer_namely_auth_params_dto import DesignerNamelyAuthParamsDTO -from visier_platform_sdk.models.designer_oracle_db_auth_params_dto import DesignerOracleDbAuthParamsDTO -from visier_platform_sdk.models.designer_pair_dto import DesignerPairDTO -from visier_platform_sdk.models.designer_push_data_column_definition_dto import DesignerPushDataColumnDefinitionDTO -from visier_platform_sdk.models.designer_push_data_source_definition_dto import DesignerPushDataSourceDefinitionDTO -from visier_platform_sdk.models.designer_push_data_source_definitions_dto import DesignerPushDataSourceDefinitionsDTO -from visier_platform_sdk.models.designer_qualtrics_auth_params_dto import DesignerQualtricsAuthParamsDTO -from visier_platform_sdk.models.designer_redshift_auth_params_dto import DesignerRedshiftAuthParamsDTO -from visier_platform_sdk.models.designer_salesforce_auth_params_dto import DesignerSalesforceAuthParamsDTO -from visier_platform_sdk.models.designer_salesforce_v2_auth_params_dto import DesignerSalesforceV2AuthParamsDTO -from visier_platform_sdk.models.designer_service_now_auth_params_dto import DesignerServiceNowAuthParamsDTO -from visier_platform_sdk.models.designer_service_now_v2_auth_params_dto import DesignerServiceNowV2AuthParamsDTO -from visier_platform_sdk.models.designer_slack_auth_params_dto import DesignerSlackAuthParamsDTO -from visier_platform_sdk.models.designer_snowflake_auth_params_dto import DesignerSnowflakeAuthParamsDTO -from visier_platform_sdk.models.designer_sql_server_auth_params_dto import DesignerSqlServerAuthParamsDTO -from visier_platform_sdk.models.designer_subject_missing_access_dto import DesignerSubjectMissingAccessDTO -from visier_platform_sdk.models.designer_success_factors_auth_params_dto import DesignerSuccessFactorsAuthParamsDTO -from visier_platform_sdk.models.designer_success_factors_o_auth_params_dto import DesignerSuccessFactorsOAuthParamsDTO -from visier_platform_sdk.models.designer_tenant_module_dto import DesignerTenantModuleDTO -from visier_platform_sdk.models.designer_ultimate_auth_params_dto import DesignerUltimateAuthParamsDTO -from visier_platform_sdk.models.designer_webhook_webhook_basic_auth_credential_dto import DesignerWebhookWebhookBasicAuthCredentialDTO -from visier_platform_sdk.models.designer_webhook_webhook_credentials_dto import DesignerWebhookWebhookCredentialsDTO -from visier_platform_sdk.models.designer_webhook_webhook_dto import DesignerWebhookWebhookDTO -from visier_platform_sdk.models.designer_webhook_webhook_details_dto import DesignerWebhookWebhookDetailsDTO -from visier_platform_sdk.models.designer_webhook_webhook_event_type_dto import DesignerWebhookWebhookEventTypeDTO -from visier_platform_sdk.models.designer_webhook_webhook_message_response_dto import DesignerWebhookWebhookMessageResponseDTO -from visier_platform_sdk.models.designer_webhook_webhook_request_dto import DesignerWebhookWebhookRequestDTO -from visier_platform_sdk.models.designer_webhook_webhooks_dto import DesignerWebhookWebhooksDTO -from visier_platform_sdk.models.designer_willow_auth_params_dto import DesignerWillowAuthParamsDTO -from visier_platform_sdk.models.designer_workday_auth_params_dto import DesignerWorkdayAuthParamsDTO -from visier_platform_sdk.models.designer_workday_o_auth_params_dto import DesignerWorkdayOAuthParamsDTO -from visier_platform_sdk.models.designer_workday_raas_auth_params_dto import DesignerWorkdayRaasAuthParamsDTO -from visier_platform_sdk.models.designer_workday_refresh_token_params_dto import DesignerWorkdayRefreshTokenParamsDTO -from visier_platform_sdk.models.designer_zoom_auth_params_dto import DesignerZoomAuthParamsDTO +from visier_platform_sdk.models.designer_dimension_filter_dto import DesignerDimensionFilterDTO +from visier_platform_sdk.models.designer_selection_concept_dto import DesignerSelectionConceptDTO +from visier_platform_sdk.models.dimension_change_definition_dto import DimensionChangeDefinitionDTO +from visier_platform_sdk.models.dimension_change_definitions_by_tenant_dto import DimensionChangeDefinitionsByTenantDTO +from visier_platform_sdk.models.dimension_dto import DimensionDTO +from visier_platform_sdk.models.dimension_filter_dto import DimensionFilterDTO +from visier_platform_sdk.models.dimension_mapping_validation_dto import DimensionMappingValidationDTO +from visier_platform_sdk.models.dimension_mapping_validation_execution_dto import DimensionMappingValidationExecutionDTO from visier_platform_sdk.models.dimension_member import DimensionMember +from visier_platform_sdk.models.dimension_member_dto import DimensionMemberDTO +from visier_platform_sdk.models.dimension_member_reference_dto import DimensionMemberReferenceDTO +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from visier_platform_sdk.models.dimensions_auth_params_dto import DimensionsAuthParamsDTO +from visier_platform_sdk.models.dimensions_change_definitions_dto import DimensionsChangeDefinitionsDTO +from visier_platform_sdk.models.dimensions_dto import DimensionsDTO +from visier_platform_sdk.models.direct_data_job_config_dto import DirectDataJobConfigDTO +from visier_platform_sdk.models.direct_data_job_status_response_dto import DirectDataJobStatusResponseDTO +from visier_platform_sdk.models.direct_data_list_transactions_response_dto import DirectDataListTransactionsResponseDTO +from visier_platform_sdk.models.direct_data_load_config_dto import DirectDataLoadConfigDTO +from visier_platform_sdk.models.direct_data_schema_dto import DirectDataSchemaDTO +from visier_platform_sdk.models.direct_data_schema_field_dto import DirectDataSchemaFieldDTO +from visier_platform_sdk.models.direct_data_transaction_dto import DirectDataTransactionDTO +from visier_platform_sdk.models.direct_data_transaction_start_response_dto import DirectDataTransactionStartResponseDTO from visier_platform_sdk.models.direct_data_upload_file_response_dto import DirectDataUploadFileResponseDTO -from visier_platform_sdk.models.dp_automation_metric_validation_summary_dto import DpAutomationMetricValidationSummaryDTO -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_dto import DpAutomationTenantPreviewEntriesSummaryDTO -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_list_dto import DpAutomationTenantPreviewEntriesSummaryListDTO -from visier_platform_sdk.models.dp_cancel_job_batch_from_job_id_dto import DpCancelJobBatchFromJobIdDTO -from visier_platform_sdk.models.dp_job_cancellation_result_dto import DpJobCancellationResultDTO -from visier_platform_sdk.models.dp_job_cancellation_results_dto import DpJobCancellationResultsDTO +from visier_platform_sdk.models.disable_dv_model import DisableDVModel +from visier_platform_sdk.models.disable_dv_request import DisableDVRequest +from visier_platform_sdk.models.disable_dv_response import DisableDVResponse +from visier_platform_sdk.models.dispatching_job_status_response import DispatchingJobStatusResponse +from visier_platform_sdk.models.document_search_link_dto import DocumentSearchLinkDTO +from visier_platform_sdk.models.download_source_files_dto import DownloadSourceFilesDTO +from visier_platform_sdk.models.download_source_files_response_dto import DownloadSourceFilesResponseDTO from visier_platform_sdk.models.dv_export_status import DvExportStatus +from visier_platform_sdk.models.dynamic_dimension_filter_dto import DynamicDimensionFilterDTO +from visier_platform_sdk.models.dynamic_property_mapping_dto import DynamicPropertyMappingDTO +from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO +from visier_platform_sdk.models.email_domains_dto import EmailDomainsDTO +from visier_platform_sdk.models.error_dto import ErrorDTO +from visier_platform_sdk.models.exclude_data_uploads_request import ExcludeDataUploadsRequest +from visier_platform_sdk.models.excluded_sources_body import ExcludedSourcesBody +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from visier_platform_sdk.models.export_production_versions_api_operation_parameters_dto import ExportProductionVersionsAPIOperationParametersDTO +from visier_platform_sdk.models.extract_data_and_load_dto import ExtractDataAndLoadDTO from visier_platform_sdk.models.extracted_skill import ExtractedSkill +from visier_platform_sdk.models.extraction_job import ExtractionJob +from visier_platform_sdk.models.extraction_job_and_status_response import ExtractionJobAndStatusResponse +from visier_platform_sdk.models.extractor_credential_apidto import ExtractorCredentialAPIDTO +from visier_platform_sdk.models.extractor_credentials_apidto import ExtractorCredentialsAPIDTO +from visier_platform_sdk.models.extractor_setting_apidto import ExtractorSettingAPIDTO +from visier_platform_sdk.models.extractor_setting_key_value_apidto import ExtractorSettingKeyValueAPIDTO +from visier_platform_sdk.models.extractor_settings_apidto import ExtractorSettingsAPIDTO +from visier_platform_sdk.models.failed_accessible_tenant_profile_assignment_dto import FailedAccessibleTenantProfileAssignmentDTO +from visier_platform_sdk.models.failed_change_dto import FailedChangeDTO +from visier_platform_sdk.models.failed_local_tenant_profile_assignment_dto import FailedLocalTenantProfileAssignmentDTO +from visier_platform_sdk.models.failed_local_tenant_profile_revoke_dto import FailedLocalTenantProfileRevokeDTO +from visier_platform_sdk.models.fusion_auth_params_dto import FusionAuthParamsDTO from visier_platform_sdk.models.generate_impersonation_token_request import GenerateImpersonationTokenRequest -from visier_platform_sdk.models.google_protobuf_any import GoogleProtobufAny +from visier_platform_sdk.models.generate_key_request_dto import GenerateKeyRequestDTO +from visier_platform_sdk.models.get_capabilities_api_response_dto import GetCapabilitiesAPIResponseDTO +from visier_platform_sdk.models.get_content_packages_api_response_dto import GetContentPackagesAPIResponseDTO +from visier_platform_sdk.models.get_data_access_sets_api_response_dto import GetDataAccessSetsAPIResponseDTO +from visier_platform_sdk.models.get_data_security_objects_api_response_dto import GetDataSecurityObjectsAPIResponseDTO +from visier_platform_sdk.models.get_permissions_api_response_dto import GetPermissionsAPIResponseDTO +from visier_platform_sdk.models.get_plan_list_response_dto import GetPlanListResponseDTO +from visier_platform_sdk.models.get_production_versions_api_response_dto import GetProductionVersionsAPIResponseDTO +from visier_platform_sdk.models.get_projects_api_response_dto import GetProjectsAPIResponseDTO +from visier_platform_sdk.models.gong_auth_params_dto import GongAuthParamsDTO +from visier_platform_sdk.models.google_sheets_auth_params_dto import GoogleSheetsAuthParamsDTO +from visier_platform_sdk.models.google_workspace_auth_params_dto import GoogleWorkspaceAuthParamsDTO +from visier_platform_sdk.models.greenhouse_auth_params_dto import GreenhouseAuthParamsDTO from visier_platform_sdk.models.hierarchy import Hierarchy +from visier_platform_sdk.models.hierarchy_property_dto import HierarchyPropertyDTO +from visier_platform_sdk.models.home_analysis_by_user_group_dto import HomeAnalysisByUserGroupDTO +from visier_platform_sdk.models.icims_auth_params_dto import IcimsAuthParamsDTO +from visier_platform_sdk.models.import_definition_apidto import ImportDefinitionAPIDTO +from visier_platform_sdk.models.import_definitions_apidto import ImportDefinitionsAPIDTO +from visier_platform_sdk.models.include_data_uploads_request import IncludeDataUploadsRequest +from visier_platform_sdk.models.inherited_access_config_dto import InheritedAccessConfigDTO +from visier_platform_sdk.models.inherited_reference_member_filter_config_dto import InheritedReferenceMemberFilterConfigDTO +from visier_platform_sdk.models.internal_query_execution_options_dto import InternalQueryExecutionOptionsDTO +from visier_platform_sdk.models.internal_s3_auth_params_dto import InternalS3AuthParamsDTO +from visier_platform_sdk.models.jdbc_auth_params_dto import JdbcAuthParamsDTO +from visier_platform_sdk.models.jira_auth_params_dto import JiraAuthParamsDTO +from visier_platform_sdk.models.jira_connect_params_dto import JiraConnectParamsDTO from visier_platform_sdk.models.job import Job +from visier_platform_sdk.models.job_cancellation_result_dto import JobCancellationResultDTO +from visier_platform_sdk.models.job_cancellation_results_dto import JobCancellationResultsDTO from visier_platform_sdk.models.job_entry import JobEntry from visier_platform_sdk.models.job_feedback_input import JobFeedbackInput +from visier_platform_sdk.models.job_id_response import JobIdResponse from visier_platform_sdk.models.job_search_failure_output import JobSearchFailureOutput from visier_platform_sdk.models.job_search_input import JobSearchInput from visier_platform_sdk.models.job_search_output import JobSearchOutput from visier_platform_sdk.models.job_standardization_input import JobStandardizationInput from visier_platform_sdk.models.job_standardization_input_skills import JobStandardizationInputSkills +from visier_platform_sdk.models.job_status_list_response import JobStatusListResponse +from visier_platform_sdk.models.job_status_with_start_time import JobStatusWithStartTime +from visier_platform_sdk.models.key_group_filter_dto import KeyGroupFilterDTO +from visier_platform_sdk.models.key_group_filter_item_dto import KeyGroupFilterItemDTO +from visier_platform_sdk.models.key_name import KeyName +from visier_platform_sdk.models.key_pair_delete_response_dto import KeyPairDeleteResponseDTO +from visier_platform_sdk.models.key_pair_generate_request_dto import KeyPairGenerateRequestDTO +from visier_platform_sdk.models.last_login_dto import LastLoginDTO +from visier_platform_sdk.models.level_dto import LevelDTO +from visier_platform_sdk.models.lever_auth_params_dto import LeverAuthParamsDTO +from visier_platform_sdk.models.lineage_dto import LineageDTO +from visier_platform_sdk.models.list_query_execution_dto import ListQueryExecutionDTO +from visier_platform_sdk.models.list_query_execution_options_dto import ListQueryExecutionOptionsDTO +from visier_platform_sdk.models.list_query_source_dto import ListQuerySourceDTO +from visier_platform_sdk.models.list_response import ListResponse +from visier_platform_sdk.models.local_tenant_profile_assignment_request_dto import LocalTenantProfileAssignmentRequestDTO +from visier_platform_sdk.models.local_tenant_profile_assignment_response_dto import LocalTenantProfileAssignmentResponseDTO +from visier_platform_sdk.models.local_tenant_profile_revoke_request_dto import LocalTenantProfileRevokeRequestDTO +from visier_platform_sdk.models.local_tenant_profile_revoke_response_dto import LocalTenantProfileRevokeResponseDTO from visier_platform_sdk.models.location_search_failure_output import LocationSearchFailureOutput from visier_platform_sdk.models.location_search_input import LocationSearchInput from visier_platform_sdk.models.location_search_input1 import LocationSearchInput1 from visier_platform_sdk.models.location_search_output import LocationSearchOutput from visier_platform_sdk.models.location_search_successful_output import LocationSearchSuccessfulOutput +from visier_platform_sdk.models.mask_message import MaskMessage +from visier_platform_sdk.models.medallia_auth_params_dto import MedalliaAuthParamsDTO +from visier_platform_sdk.models.member_dto import MemberDTO +from visier_platform_sdk.models.member_filter_config_dto import MemberFilterConfigDTO +from visier_platform_sdk.models.member_filter_dto import MemberFilterDTO +from visier_platform_sdk.models.member_parameter_definition_dto import MemberParameterDefinitionDTO +from visier_platform_sdk.models.member_parameter_value_dto import MemberParameterValueDTO +from visier_platform_sdk.models.member_selection_dto import MemberSelectionDTO +from visier_platform_sdk.models.member_values_dto import MemberValuesDTO +from visier_platform_sdk.models.members_dto import MembersDTO +from visier_platform_sdk.models.metric_dto import MetricDTO +from visier_platform_sdk.models.metric_definition_dto import MetricDefinitionDTO +from visier_platform_sdk.models.metric_type_details_dto import MetricTypeDetailsDTO +from visier_platform_sdk.models.metric_validation_summary_dto import MetricValidationSummaryDTO +from visier_platform_sdk.models.metrics_dto import MetricsDTO +from visier_platform_sdk.models.microsoft365_auth_params_dto import Microsoft365AuthParamsDTO +from visier_platform_sdk.models.module_settings_dto import ModuleSettingsDTO +from visier_platform_sdk.models.multiple_tenant_data_versions_details_dto import MultipleTenantDataVersionsDetailsDTO +from visier_platform_sdk.models.multiple_tenant_data_versions_list_dto import MultipleTenantDataVersionsListDTO +from visier_platform_sdk.models.my_sql_auth_params_dto import MySqlAuthParamsDTO +from visier_platform_sdk.models.namely_auth_params_dto import NamelyAuthParamsDTO +from visier_platform_sdk.models.network_subnets_message_request import NetworkSubnetsMessageRequest +from visier_platform_sdk.models.network_subnets_message_response import NetworkSubnetsMessageResponse +from visier_platform_sdk.models.numeric_parameter_definition_dto import NumericParameterDefinitionDTO +from visier_platform_sdk.models.numeric_parameter_value_dto import NumericParameterValueDTO +from visier_platform_sdk.models.o_auth2_user_info_dto import OAuth2UserInfoDTO +from visier_platform_sdk.models.o_auth2_user_subnet_info_dto import OAuth2UserSubnetInfoDTO +from visier_platform_sdk.models.o_auth2_user_tenant_detail_dto import OAuth2UserTenantDetailDTO +from visier_platform_sdk.models.o_auth2_user_tenant_details_dto import OAuth2UserTenantDetailsDTO +from visier_platform_sdk.models.o_auth2_user_tenant_properties_dto import OAuth2UserTenantPropertiesDTO +from visier_platform_sdk.models.object_change_failure_dto import ObjectChangeFailureDTO +from visier_platform_sdk.models.object_change_success_dto import ObjectChangeSuccessDTO +from visier_platform_sdk.models.object_id_dto import ObjectIdDTO +from visier_platform_sdk.models.object_reference_dto import ObjectReferenceDTO +from visier_platform_sdk.models.objects_bulk_change_response_dto import ObjectsBulkChangeResponseDTO +from visier_platform_sdk.models.oracle_db_auth_params_dto import OracleDbAuthParamsDTO from visier_platform_sdk.models.output_entry import OutputEntry from visier_platform_sdk.models.output_entry1 import OutputEntry1 from visier_platform_sdk.models.output_entry1_matches_inner import OutputEntry1MatchesInner +from visier_platform_sdk.models.pair_dto import PairDTO +from visier_platform_sdk.models.parameter_definition_dto import ParameterDefinitionDTO +from visier_platform_sdk.models.permission_assigned_by_tenant_dto import PermissionAssignedByTenantDTO +from visier_platform_sdk.models.permission_assigned_for_local_tenant_dto import PermissionAssignedForLocalTenantDTO +from visier_platform_sdk.models.permission_assigned_user_dto import PermissionAssignedUserDTO +from visier_platform_sdk.models.permission_assigned_users_dto import PermissionAssignedUsersDTO +from visier_platform_sdk.models.permission_bulk_operation_response_dto import PermissionBulkOperationResponseDTO +from visier_platform_sdk.models.permission_dto import PermissionDTO +from visier_platform_sdk.models.permission_error_dto import PermissionErrorDTO +from visier_platform_sdk.models.permission_failure_dto import PermissionFailureDTO +from visier_platform_sdk.models.permission_response_dto import PermissionResponseDTO +from visier_platform_sdk.models.permission_success_dto import PermissionSuccessDTO +from visier_platform_sdk.models.permissions_list_dto import PermissionsListDTO +from visier_platform_sdk.models.permissions_to_user_group_for_tenant_dto import PermissionsToUserGroupForTenantDTO +from visier_platform_sdk.models.permissions_to_user_group_request_dto import PermissionsToUserGroupRequestDTO +from visier_platform_sdk.models.permissions_to_user_groups_request_dto import PermissionsToUserGroupsRequestDTO +from visier_platform_sdk.models.perspective_configuration_dto import PerspectiveConfigurationDTO +from visier_platform_sdk.models.perspective_node_dto import PerspectiveNodeDTO from visier_platform_sdk.models.plan_data_load_change_dto import PlanDataLoadChangeDTO from visier_platform_sdk.models.plan_data_load_change_list_dto import PlanDataLoadChangeListDTO +from visier_platform_sdk.models.plan_data_load_error_dto import PlanDataLoadErrorDTO from visier_platform_sdk.models.plan_data_upload_response_dto import PlanDataUploadResponseDTO +from visier_platform_sdk.models.plan_info_dto import PlanInfoDTO +from visier_platform_sdk.models.plan_item_dto import PlanItemDTO +from visier_platform_sdk.models.plan_parameter_definition_dto import PlanParameterDefinitionDTO +from visier_platform_sdk.models.plan_parameter_value_dto import PlanParameterValueDTO from visier_platform_sdk.models.plan_row_data_load_response_dto import PlanRowDataLoadResponseDTO -from visier_platform_sdk.models.planning_get_plan_list_response_dto import PlanningGetPlanListResponseDTO -from visier_platform_sdk.models.planning_plan_data_load_error_dto import PlanningPlanDataLoadErrorDTO -from visier_platform_sdk.models.planning_plan_info_dto import PlanningPlanInfoDTO -from visier_platform_sdk.models.planning_plan_item_dto import PlanningPlanItemDTO -from visier_platform_sdk.models.planning_plan_schema_dto import PlanningPlanSchemaDTO -from visier_platform_sdk.models.planning_plan_segment_level_dto import PlanningPlanSegmentLevelDTO -from visier_platform_sdk.models.planning_plan_segment_level_member_dto import PlanningPlanSegmentLevelMemberDTO -from visier_platform_sdk.models.planning_plan_segment_level_member_list_dto import PlanningPlanSegmentLevelMemberListDTO -from visier_platform_sdk.models.planning_plan_time_period_dto import PlanningPlanTimePeriodDTO -from visier_platform_sdk.models.planning_plan_with_schema_dto import PlanningPlanWithSchemaDTO -from visier_platform_sdk.models.planning_scenario_info_dto import PlanningScenarioInfoDTO +from visier_platform_sdk.models.plan_schema_dto import PlanSchemaDTO +from visier_platform_sdk.models.plan_segment_level_dto import PlanSegmentLevelDTO +from visier_platform_sdk.models.plan_segment_level_member_dto import PlanSegmentLevelMemberDTO +from visier_platform_sdk.models.plan_segment_level_member_list_dto import PlanSegmentLevelMemberListDTO +from visier_platform_sdk.models.plan_time_period_dto import PlanTimePeriodDTO +from visier_platform_sdk.models.plan_with_schema_dto import PlanWithSchemaDTO +from visier_platform_sdk.models.planning_concept_filter_context_dto import PlanningConceptFilterContextDTO +from visier_platform_sdk.models.planning_hierarchy_filter_context_dto import PlanningHierarchyFilterContextDTO +from visier_platform_sdk.models.planning_model_dto import PlanningModelDTO +from visier_platform_sdk.models.planning_models_dto import PlanningModelsDTO +from visier_platform_sdk.models.planning_plan_context_dto import PlanningPlanContextDTO +from visier_platform_sdk.models.planning_plan_dto import PlanningPlanDTO +from visier_platform_sdk.models.planning_plans_dto import PlanningPlansDTO +from visier_platform_sdk.models.population_configuration_dto import PopulationConfigurationDTO +from visier_platform_sdk.models.prediction_dto import PredictionDTO +from visier_platform_sdk.models.predictions_dto import PredictionsDTO +from visier_platform_sdk.models.process_concept_definition_dto import ProcessConceptDefinitionDTO +from visier_platform_sdk.models.process_concept_member_dto import ProcessConceptMemberDTO +from visier_platform_sdk.models.process_concept_member_list_dto import ProcessConceptMemberListDTO +from visier_platform_sdk.models.process_concept_metric_definition_dto import ProcessConceptMetricDefinitionDTO +from visier_platform_sdk.models.process_concept_metric_list_dto import ProcessConceptMetricListDTO +from visier_platform_sdk.models.process_concept_outcome_dto import ProcessConceptOutcomeDTO +from visier_platform_sdk.models.process_concept_outcome_list_dto import ProcessConceptOutcomeListDTO +from visier_platform_sdk.models.process_concept_property_list_dto import ProcessConceptPropertyListDTO +from visier_platform_sdk.models.process_concept_property_type_dto import ProcessConceptPropertyTypeDTO +from visier_platform_sdk.models.process_concept_stage_dto import ProcessConceptStageDTO +from visier_platform_sdk.models.process_concept_stage_list_dto import ProcessConceptStageListDTO +from visier_platform_sdk.models.processing_job import ProcessingJob +from visier_platform_sdk.models.processing_job_and_status_response import ProcessingJobAndStatusResponse +from visier_platform_sdk.models.processing_job_request_dto import ProcessingJobRequestDTO +from visier_platform_sdk.models.processing_job_status_response import ProcessingJobStatusResponse +from visier_platform_sdk.models.product_release_dto import ProductReleaseDTO +from visier_platform_sdk.models.product_releases_dto import ProductReleasesDTO +from visier_platform_sdk.models.product_version_dto import ProductVersionDTO +from visier_platform_sdk.models.product_versions_dto import ProductVersionsDTO +from visier_platform_sdk.models.product_versions_update_failure_tenant_response_dto import ProductVersionsUpdateFailureTenantResponseDTO +from visier_platform_sdk.models.product_versions_update_response_dto import ProductVersionsUpdateResponseDTO +from visier_platform_sdk.models.product_versions_update_successful_tenant_response_dto import ProductVersionsUpdateSuccessfulTenantResponseDTO +from visier_platform_sdk.models.production_version_api_operation_request_dto import ProductionVersionAPIOperationRequestDTO +from visier_platform_sdk.models.production_version_api_operation_response_dto import ProductionVersionAPIOperationResponseDTO +from visier_platform_sdk.models.production_versions_api_operation_request_dto import ProductionVersionsAPIOperationRequestDTO +from visier_platform_sdk.models.production_versions_api_operation_response_dto import ProductionVersionsAPIOperationResponseDTO +from visier_platform_sdk.models.profile_assigned_for_accessible_tenant_dto import ProfileAssignedForAccessibleTenantDTO +from visier_platform_sdk.models.profile_assigned_for_local_tenant_dto import ProfileAssignedForLocalTenantDTO +from visier_platform_sdk.models.profile_get_api_response_dto import ProfileGetAPIResponseDTO +from visier_platform_sdk.models.profiles_get_api_response_dto import ProfilesGetAPIResponseDTO +from visier_platform_sdk.models.project_commits_api_response_dto import ProjectCommitsAPIResponseDTO +from visier_platform_sdk.models.project_dto import ProjectDTO +from visier_platform_sdk.models.project_operation_request_dto import ProjectOperationRequestDTO +from visier_platform_sdk.models.project_operation_response_dto import ProjectOperationResponseDTO +from visier_platform_sdk.models.properties_change_definitions_dto import PropertiesChangeDefinitionsDTO +from visier_platform_sdk.models.properties_dto import PropertiesDTO +from visier_platform_sdk.models.properties_delete_definitions_dto import PropertiesDeleteDefinitionsDTO +from visier_platform_sdk.models.property_access_config_dto import PropertyAccessConfigDTO +from visier_platform_sdk.models.property_bulk_delete_response_dto import PropertyBulkDeleteResponseDTO +from visier_platform_sdk.models.property_change_definition_dto import PropertyChangeDefinitionDTO +from visier_platform_sdk.models.property_change_definitions_by_tenant_dto import PropertyChangeDefinitionsByTenantDTO +from visier_platform_sdk.models.property_column_dto import PropertyColumnDTO +from visier_platform_sdk.models.property_dto import PropertyDTO +from visier_platform_sdk.models.property_definition_dto import PropertyDefinitionDTO +from visier_platform_sdk.models.property_delete_definitions_by_tenant_dto import PropertyDeleteDefinitionsByTenantDTO +from visier_platform_sdk.models.property_delete_failure_dto import PropertyDeleteFailureDTO +from visier_platform_sdk.models.property_delete_success_dto import PropertyDeleteSuccessDTO +from visier_platform_sdk.models.property_reference_dto import PropertyReferenceDTO +from visier_platform_sdk.models.property_set_config_dto import PropertySetConfigDTO +from visier_platform_sdk.models.property_type_dto import PropertyTypeDTO +from visier_platform_sdk.models.property_type_details_dto import PropertyTypeDetailsDTO +from visier_platform_sdk.models.public_key_dto import PublicKeyDTO +from visier_platform_sdk.models.public_keys_dto import PublicKeysDTO +from visier_platform_sdk.models.push_data_cancel_response import PushDataCancelResponse +from visier_platform_sdk.models.push_data_column_definition_dto import PushDataColumnDefinitionDTO +from visier_platform_sdk.models.push_data_complete_request import PushDataCompleteRequest +from visier_platform_sdk.models.push_data_complete_response import PushDataCompleteResponse +from visier_platform_sdk.models.push_data_response import PushDataResponse +from visier_platform_sdk.models.push_data_source_definition_dto import PushDataSourceDefinitionDTO +from visier_platform_sdk.models.push_data_source_definitions_dto import PushDataSourceDefinitionsDTO +from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest +from visier_platform_sdk.models.qualtrics_auth_params_dto import QualtricsAuthParamsDTO +from visier_platform_sdk.models.query_axis_dto import QueryAxisDTO +from visier_platform_sdk.models.query_axis_options_dto import QueryAxisOptionsDTO +from visier_platform_sdk.models.query_dimension_data_member_selection_dto import QueryDimensionDataMemberSelectionDTO +from visier_platform_sdk.models.query_dimension_leaf_selection_dto import QueryDimensionLeafSelectionDTO +from visier_platform_sdk.models.query_dimension_level_property_dto import QueryDimensionLevelPropertyDTO +from visier_platform_sdk.models.query_dimension_level_selection_dto import QueryDimensionLevelSelectionDTO +from visier_platform_sdk.models.query_dimension_member_selection_dto import QueryDimensionMemberSelectionDTO +from visier_platform_sdk.models.query_execution_error_dto import QueryExecutionErrorDTO +from visier_platform_sdk.models.query_execution_error_details_dto import QueryExecutionErrorDetailsDTO +from visier_platform_sdk.models.query_execution_errors_dto import QueryExecutionErrorsDTO +from visier_platform_sdk.models.query_execution_options_dto import QueryExecutionOptionsDTO +from visier_platform_sdk.models.query_filter_dto import QueryFilterDTO +from visier_platform_sdk.models.query_member_map_property_dto import QueryMemberMapPropertyDTO +from visier_platform_sdk.models.query_member_map_selection_dto import QueryMemberMapSelectionDTO +from visier_platform_sdk.models.query_numeric_ranges_dto import QueryNumericRangesDTO +from visier_platform_sdk.models.query_parameter_value_dto import QueryParameterValueDTO +from visier_platform_sdk.models.query_property_dto import QueryPropertyDTO +from visier_platform_sdk.models.query_time_interval_dto import QueryTimeIntervalDTO +from visier_platform_sdk.models.query_time_intervals_dto import QueryTimeIntervalsDTO +from visier_platform_sdk.models.question_categories_api_response_dto import QuestionCategoriesAPIResponseDTO +from visier_platform_sdk.models.question_category_api_response_dto import QuestionCategoryAPIResponseDTO +from visier_platform_sdk.models.receiving_job import ReceivingJob +from visier_platform_sdk.models.receiving_job_and_status_response import ReceivingJobAndStatusResponse +from visier_platform_sdk.models.receiving_job_status_response import ReceivingJobStatusResponse +from visier_platform_sdk.models.redshift_auth_params_dto import RedshiftAuthParamsDTO +from visier_platform_sdk.models.reduced_error_dto import ReducedErrorDTO +from visier_platform_sdk.models.reduced_tenant_code_error_dto import ReducedTenantCodeErrorDTO +from visier_platform_sdk.models.reduced_user_id_error_dto import ReducedUserIdErrorDTO +from visier_platform_sdk.models.related_analytic_object_dto import RelatedAnalyticObjectDTO +from visier_platform_sdk.models.report_create_request_dto import ReportCreateRequestDTO +from visier_platform_sdk.models.report_dto import ReportDTO +from visier_platform_sdk.models.report_delete_success_dto import ReportDeleteSuccessDTO +from visier_platform_sdk.models.report_list_response_dto import ReportListResponseDTO +from visier_platform_sdk.models.result import Result +from visier_platform_sdk.models.role_modules_config_dto import RoleModulesConfigDTO from visier_platform_sdk.models.salary_benchmark_input import SalaryBenchmarkInput from visier_platform_sdk.models.salary_benchmarks_batch_processing_failure_output import SalaryBenchmarksBatchProcessingFailureOutput from visier_platform_sdk.models.salary_benchmarks_batch_processing_outputs import SalaryBenchmarksBatchProcessingOutputs from visier_platform_sdk.models.salary_benchmarks_batch_processing_successful_output import SalaryBenchmarksBatchProcessingSuccessfulOutput -from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_request_dto import ServicingAccessibleTenantProfileAssignmentRequestDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_response_dto import ServicingAccessibleTenantProfileAssignmentResponseDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_request_dto import ServicingAccessibleTenantProfileRevokeRequestDTO -from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_response_dto import ServicingAccessibleTenantProfileRevokeResponseDTO -from visier_platform_sdk.models.servicing_additional_capabilities_dto import ServicingAdditionalCapabilitiesDTO -from visier_platform_sdk.models.servicing_admin_capability_config_dto import ServicingAdminCapabilityConfigDTO -from visier_platform_sdk.models.servicing_all_permissions_assigned_for_local_tenant_dto import ServicingAllPermissionsAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_all_profile_assigned_for_accessible_tenant_dto import ServicingAllProfileAssignedForAccessibleTenantDTO -from visier_platform_sdk.models.servicing_all_profile_assigned_for_local_tenant_dto import ServicingAllProfileAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_all_user_groups_assigned_for_local_tenant_dto import ServicingAllUserGroupsAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_all_users_get_api_response_dto import ServicingAllUsersGetAPIResponseDTO -from visier_platform_sdk.models.servicing_analytic_object_dto import ServicingAnalyticObjectDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_permission_dto import ServicingAssignRevokePermissionByPermissionDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_tenant_dto import ServicingAssignRevokePermissionByTenantDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_user_dto import ServicingAssignRevokePermissionByUserDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_request_dto import ServicingAssignRevokePermissionRequestDTO -from visier_platform_sdk.models.servicing_assign_revoke_permissions_request_dto import ServicingAssignRevokePermissionsRequestDTO -from visier_platform_sdk.models.servicing_assign_revoke_permissions_response_dto import ServicingAssignRevokePermissionsResponseDTO -from visier_platform_sdk.models.servicing_bulk_data_access_set_response_dto import ServicingBulkDataAccessSetResponseDTO -from visier_platform_sdk.models.servicing_capabilities_dto import ServicingCapabilitiesDTO -from visier_platform_sdk.models.servicing_capability_dto import ServicingCapabilityDTO -from visier_platform_sdk.models.servicing_capability_group_dto import ServicingCapabilityGroupDTO -from visier_platform_sdk.models.servicing_clone_files_into_source_parameters_dto import ServicingCloneFilesIntoSourceParametersDTO -from visier_platform_sdk.models.servicing_commit_and_publish_operation_response_dto import ServicingCommitAndPublishOperationResponseDTO -from visier_platform_sdk.models.servicing_commit_dto import ServicingCommitDTO -from visier_platform_sdk.models.servicing_content_package_dto import ServicingContentPackageDTO -from visier_platform_sdk.models.servicing_create_data_access_set_request_dto import ServicingCreateDataAccessSetRequestDTO -from visier_platform_sdk.models.servicing_data_access_set_dto import ServicingDataAccessSetDTO -from visier_platform_sdk.models.servicing_data_access_set_error_dto import ServicingDataAccessSetErrorDTO -from visier_platform_sdk.models.servicing_data_access_set_failure_dto import ServicingDataAccessSetFailureDTO -from visier_platform_sdk.models.servicing_data_access_set_success_dto import ServicingDataAccessSetSuccessDTO -from visier_platform_sdk.models.servicing_data_categories_response_dto import ServicingDataCategoriesResponseDTO -from visier_platform_sdk.models.servicing_data_category_response_dto import ServicingDataCategoryResponseDTO -from visier_platform_sdk.models.servicing_data_security_profile_dto import ServicingDataSecurityProfileDTO -from visier_platform_sdk.models.servicing_date_range_dto import ServicingDateRangeDTO -from visier_platform_sdk.models.servicing_delete_permissions_request_dto import ServicingDeletePermissionsRequestDTO -from visier_platform_sdk.models.servicing_dimension_filter_dto import ServicingDimensionFilterDTO -from visier_platform_sdk.models.servicing_direct_data_job_config_dto import ServicingDirectDataJobConfigDTO -from visier_platform_sdk.models.servicing_direct_data_job_status_response_dto import ServicingDirectDataJobStatusResponseDTO -from visier_platform_sdk.models.servicing_direct_data_list_transactions_response_dto import ServicingDirectDataListTransactionsResponseDTO -from visier_platform_sdk.models.servicing_direct_data_load_config_dto import ServicingDirectDataLoadConfigDTO -from visier_platform_sdk.models.servicing_direct_data_schema_dto import ServicingDirectDataSchemaDTO -from visier_platform_sdk.models.servicing_direct_data_schema_field_dto import ServicingDirectDataSchemaFieldDTO -from visier_platform_sdk.models.servicing_direct_data_transaction_dto import ServicingDirectDataTransactionDTO -from visier_platform_sdk.models.servicing_direct_data_transaction_start_response_dto import ServicingDirectDataTransactionStartResponseDTO +from visier_platform_sdk.models.salesforce_auth_params_dto import SalesforceAuthParamsDTO +from visier_platform_sdk.models.salesforce_v2_auth_params_dto import SalesforceV2AuthParamsDTO +from visier_platform_sdk.models.sample_question_api_response_dto import SampleQuestionAPIResponseDTO +from visier_platform_sdk.models.sample_questions_api_response_dto import SampleQuestionsAPIResponseDTO +from visier_platform_sdk.models.scenario_info_dto import ScenarioInfoDTO +from visier_platform_sdk.models.scenario_or_snapshot_dto import ScenarioOrSnapshotDTO +from visier_platform_sdk.models.securable_dimension_dto import SecurableDimensionDTO +from visier_platform_sdk.models.securable_property_dto import SecurablePropertyDTO +from visier_platform_sdk.models.security_assignment_response_dto import SecurityAssignmentResponseDTO +from visier_platform_sdk.models.selection_concept_configuration_dto import SelectionConceptConfigurationDTO +from visier_platform_sdk.models.selection_concept_configuration_map_dto import SelectionConceptConfigurationMapDTO +from visier_platform_sdk.models.selection_concept_dto import SelectionConceptDTO +from visier_platform_sdk.models.selection_concept_list_dto import SelectionConceptListDTO +from visier_platform_sdk.models.selection_concept_reference_dto import SelectionConceptReferenceDTO +from visier_platform_sdk.models.selection_concepts_dto import SelectionConceptsDTO +from visier_platform_sdk.models.service_now_auth_params_dto import ServiceNowAuthParamsDTO +from visier_platform_sdk.models.service_now_v2_auth_params_dto import ServiceNowV2AuthParamsDTO +from visier_platform_sdk.models.servicing_capability_proto_enum_access_lookup_dto import ServicingCapabilityProtoEnumAccessLookupDTO from visier_platform_sdk.models.servicing_direct_data_upload_file_response_dto import ServicingDirectDataUploadFileResponseDTO -from visier_platform_sdk.models.servicing_document_search_link_dto import ServicingDocumentSearchLinkDTO -from visier_platform_sdk.models.servicing_dynamic_dimension_filter_dto import ServicingDynamicDimensionFilterDTO -from visier_platform_sdk.models.servicing_dynamic_property_mapping_dto import ServicingDynamicPropertyMappingDTO -from visier_platform_sdk.models.servicing_error_dto import ServicingErrorDTO -from visier_platform_sdk.models.servicing_export_production_versions_api_operation_parameters_dto import ServicingExportProductionVersionsAPIOperationParametersDTO -from visier_platform_sdk.models.servicing_failed_accessible_tenant_profile_assignment_dto import ServicingFailedAccessibleTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_failed_local_tenant_profile_assignment_dto import ServicingFailedLocalTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_failed_local_tenant_profile_revoke_dto import ServicingFailedLocalTenantProfileRevokeDTO -from visier_platform_sdk.models.servicing_get_capabilities_api_response_dto import ServicingGetCapabilitiesAPIResponseDTO -from visier_platform_sdk.models.servicing_get_content_packages_api_response_dto import ServicingGetContentPackagesAPIResponseDTO -from visier_platform_sdk.models.servicing_get_data_access_sets_api_response_dto import ServicingGetDataAccessSetsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_data_security_objects_api_response_dto import ServicingGetDataSecurityObjectsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_permissions_api_response_dto import ServicingGetPermissionsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_production_versions_api_response_dto import ServicingGetProductionVersionsAPIResponseDTO -from visier_platform_sdk.models.servicing_get_projects_api_response_dto import ServicingGetProjectsAPIResponseDTO -from visier_platform_sdk.models.servicing_hierarchy_property_dto import ServicingHierarchyPropertyDTO -from visier_platform_sdk.models.servicing_inherited_access_config_dto import ServicingInheritedAccessConfigDTO -from visier_platform_sdk.models.servicing_inherited_reference_member_filter_config_dto import ServicingInheritedReferenceMemberFilterConfigDTO -from visier_platform_sdk.models.servicing_job_id_response import ServicingJobIdResponse -from visier_platform_sdk.models.servicing_last_login_dto import ServicingLastLoginDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_request_dto import ServicingLocalTenantProfileAssignmentRequestDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_response_dto import ServicingLocalTenantProfileAssignmentResponseDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_request_dto import ServicingLocalTenantProfileRevokeRequestDTO -from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_response_dto import ServicingLocalTenantProfileRevokeResponseDTO -from visier_platform_sdk.models.servicing_member_filter_config_dto import ServicingMemberFilterConfigDTO -from visier_platform_sdk.models.servicing_member_selection_dto import ServicingMemberSelectionDTO -from visier_platform_sdk.models.servicing_objectconfiguration_calculated_property_type_dto import ServicingObjectconfigurationCalculatedPropertyTypeDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dependent_dto import ServicingObjectconfigurationDependentDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dimension_change_definition_dto import ServicingObjectconfigurationDimensionChangeDefinitionDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto import ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_objectconfiguration_dimensions_change_definitions_dto import ServicingObjectconfigurationDimensionsChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_object_change_failure_dto import ServicingObjectconfigurationObjectChangeFailureDTO -from visier_platform_sdk.models.servicing_objectconfiguration_object_change_success_dto import ServicingObjectconfigurationObjectChangeSuccessDTO -from visier_platform_sdk.models.servicing_objectconfiguration_objects_bulk_change_response_dto import ServicingObjectconfigurationObjectsBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_objectconfiguration_properties_change_definitions_dto import ServicingObjectconfigurationPropertiesChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_properties_delete_definitions_dto import ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_bulk_delete_response_dto import ServicingObjectconfigurationPropertyBulkDeleteResponseDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_change_definition_dto import ServicingObjectconfigurationPropertyChangeDefinitionDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_change_definitions_by_tenant_dto import ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_definitions_by_tenant_dto import ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_failure_dto import ServicingObjectconfigurationPropertyDeleteFailureDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_success_dto import ServicingObjectconfigurationPropertyDeleteSuccessDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_type_dto import ServicingObjectconfigurationPropertyTypeDTO -from visier_platform_sdk.models.servicing_objectconfiguration_simple_property_type_dto import ServicingObjectconfigurationSimplePropertyTypeDTO -from visier_platform_sdk.models.servicing_objectconfiguration_tags_dto import ServicingObjectconfigurationTagsDTO -from visier_platform_sdk.models.servicing_permission_assigned_by_tenant_dto import ServicingPermissionAssignedByTenantDTO -from visier_platform_sdk.models.servicing_permission_assigned_for_local_tenant_dto import ServicingPermissionAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_permission_assigned_user_dto import ServicingPermissionAssignedUserDTO -from visier_platform_sdk.models.servicing_permission_assigned_users_dto import ServicingPermissionAssignedUsersDTO -from visier_platform_sdk.models.servicing_permission_bulk_operation_response_dto import ServicingPermissionBulkOperationResponseDTO -from visier_platform_sdk.models.servicing_permission_dto import ServicingPermissionDTO -from visier_platform_sdk.models.servicing_permission_error_dto import ServicingPermissionErrorDTO -from visier_platform_sdk.models.servicing_permission_failure_dto import ServicingPermissionFailureDTO -from visier_platform_sdk.models.servicing_permission_success_dto import ServicingPermissionSuccessDTO -from visier_platform_sdk.models.servicing_production_version_api_operation_request_dto import ServicingProductionVersionAPIOperationRequestDTO -from visier_platform_sdk.models.servicing_production_version_api_operation_response_dto import ServicingProductionVersionAPIOperationResponseDTO -from visier_platform_sdk.models.servicing_production_versions_api_operation_request_dto import ServicingProductionVersionsAPIOperationRequestDTO -from visier_platform_sdk.models.servicing_production_versions_api_operation_response_dto import ServicingProductionVersionsAPIOperationResponseDTO -from visier_platform_sdk.models.servicing_profile_assigned_for_accessible_tenant_dto import ServicingProfileAssignedForAccessibleTenantDTO -from visier_platform_sdk.models.servicing_profile_assigned_for_local_tenant_dto import ServicingProfileAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_profile_get_api_response_dto import ServicingProfileGetAPIResponseDTO -from visier_platform_sdk.models.servicing_profiles_get_api_response_dto import ServicingProfilesGetAPIResponseDTO -from visier_platform_sdk.models.servicing_project_commits_api_response_dto import ServicingProjectCommitsAPIResponseDTO -from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO -from visier_platform_sdk.models.servicing_project_operation_request_dto import ServicingProjectOperationRequestDTO -from visier_platform_sdk.models.servicing_project_operation_response_dto import ServicingProjectOperationResponseDTO -from visier_platform_sdk.models.servicing_property_access_config_dto import ServicingPropertyAccessConfigDTO -from visier_platform_sdk.models.servicing_property_set_config_dto import ServicingPropertySetConfigDTO -from visier_platform_sdk.models.servicing_question_categories_api_response_dto import ServicingQuestionCategoriesAPIResponseDTO -from visier_platform_sdk.models.servicing_question_category_api_response_dto import ServicingQuestionCategoryAPIResponseDTO -from visier_platform_sdk.models.servicing_reduced_error_dto import ServicingReducedErrorDTO -from visier_platform_sdk.models.servicing_reduced_tenant_code_error_dto import ServicingReducedTenantCodeErrorDTO -from visier_platform_sdk.models.servicing_reduced_user_id_error_dto import ServicingReducedUserIdErrorDTO -from visier_platform_sdk.models.servicing_related_analytic_object_dto import ServicingRelatedAnalyticObjectDTO -from visier_platform_sdk.models.servicing_role_modules_config_dto import ServicingRoleModulesConfigDTO -from visier_platform_sdk.models.servicing_sample_question_api_response_dto import ServicingSampleQuestionAPIResponseDTO -from visier_platform_sdk.models.servicing_sample_questions_api_response_dto import ServicingSampleQuestionsAPIResponseDTO -from visier_platform_sdk.models.servicing_securable_dimension_dto import ServicingSecurableDimensionDTO -from visier_platform_sdk.models.servicing_securable_property_dto import ServicingSecurablePropertyDTO -from visier_platform_sdk.models.servicing_servicing_capability_proto_enum_access_lookup_dto import ServicingServicingCapabilityProtoEnumAccessLookupDTO -from visier_platform_sdk.models.servicing_shareable_data_access_set import ServicingShareableDataAccessSet -from visier_platform_sdk.models.servicing_simple_document_header_search_response_dto import ServicingSimpleDocumentHeaderSearchResponseDTO -from visier_platform_sdk.models.servicing_simple_document_header_search_result_dto import ServicingSimpleDocumentHeaderSearchResultDTO -from visier_platform_sdk.models.servicing_sources_api_operation_request_dto import ServicingSourcesAPIOperationRequestDTO -from visier_platform_sdk.models.servicing_static_dimension_filter_dto import ServicingStaticDimensionFilterDTO -from visier_platform_sdk.models.servicing_successful_accessible_tenant_profile_assignment_dto import ServicingSuccessfulAccessibleTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_successful_local_tenant_profile_assignment_dto import ServicingSuccessfulLocalTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_target_tenant_code_dto import ServicingTargetTenantCodeDTO -from visier_platform_sdk.models.servicing_tenant_code_error_dto import ServicingTenantCodeErrorDTO -from visier_platform_sdk.models.servicing_tenant_data_upload_status_response_dto import ServicingTenantDataUploadStatusResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_upload_update_status_response_dto import ServicingTenantDataUploadUpdateStatusResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_uploads_list_response_dto import ServicingTenantDataUploadsListResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_uploads_response_dto import ServicingTenantDataUploadsResponseDTO -from visier_platform_sdk.models.servicing_tenant_data_uploads_update_response_dto import ServicingTenantDataUploadsUpdateResponseDTO -from visier_platform_sdk.models.servicing_user_creation_api_request_dto import ServicingUserCreationAPIRequestDTO -from visier_platform_sdk.models.servicing_user_get_api_response_dto import ServicingUserGetAPIResponseDTO -from visier_platform_sdk.models.servicing_user_group_assigned_for_local_tenant_dto import ServicingUserGroupAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_user_group_assignment_dto import ServicingUserGroupAssignmentDTO -from visier_platform_sdk.models.servicing_user_id_error_dto import ServicingUserIdErrorDTO -from visier_platform_sdk.models.servicing_user_property_dto import ServicingUserPropertyDTO -from visier_platform_sdk.models.servicing_user_update_api_request_dto import ServicingUserUpdateAPIRequestDTO -from visier_platform_sdk.models.servicing_users_api_error_message_dto import ServicingUsersAPIErrorMessageDTO -from visier_platform_sdk.models.servicing_users_api_failure_dto import ServicingUsersAPIFailureDTO -from visier_platform_sdk.models.servicing_users_api_response_dto import ServicingUsersAPIResponseDTO -from visier_platform_sdk.models.servicing_users_api_success_dto import ServicingUsersAPISuccessDTO -from visier_platform_sdk.models.servicing_users_creation_api_request_dto import ServicingUsersCreationAPIRequestDTO -from visier_platform_sdk.models.servicing_users_delete_api_request_dto import ServicingUsersDeleteAPIRequestDTO -from visier_platform_sdk.models.servicing_users_update_api_request_dto import ServicingUsersUpdateAPIRequestDTO -from visier_platform_sdk.models.servicing_users_update_api_user_dto import ServicingUsersUpdateAPIUserDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_definition_dto import ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_request_dto import ServicingV2ObjectconfigurationAnalyticObjectRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_with_context_dto import ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_basic_information_dto import ServicingV2ObjectconfigurationBasicInformationDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_bulk_change_response_dto import ServicingV2ObjectconfigurationBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_calculated_property_type_dto import ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_definition_dto import ServicingV2ObjectconfigurationConceptDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_delete_request_dto import ServicingV2ObjectconfigurationConceptDeleteRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_delete_with_context_dto import ServicingV2ObjectconfigurationConceptDeleteWithContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_request_dto import ServicingV2ObjectconfigurationConceptRequestDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_response_dto import ServicingV2ObjectconfigurationConceptResponseDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_type_details_dto import ServicingV2ObjectconfigurationConceptTypeDetailsDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_with_context_dto import ServicingV2ObjectconfigurationConceptWithContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_execution_context_dto import ServicingV2ObjectconfigurationExecutionContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_failed_change_dto import ServicingV2ObjectconfigurationFailedChangeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_metric_definition_dto import ServicingV2ObjectconfigurationMetricDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_metric_type_details_dto import ServicingV2ObjectconfigurationMetricTypeDetailsDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_object_id_dto import ServicingV2ObjectconfigurationObjectIdDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_definition_dto import ServicingV2ObjectconfigurationProcessConceptDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_dto import ServicingV2ObjectconfigurationProcessConceptMemberDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_list_dto import ServicingV2ObjectconfigurationProcessConceptMemberListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_metric_definition_dto import ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_metric_list_dto import ServicingV2ObjectconfigurationProcessConceptMetricListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_outcome_dto import ServicingV2ObjectconfigurationProcessConceptOutcomeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_outcome_list_dto import ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_property_list_dto import ServicingV2ObjectconfigurationProcessConceptPropertyListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_property_type_dto import ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_stage_dto import ServicingV2ObjectconfigurationProcessConceptStageDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_stage_list_dto import ServicingV2ObjectconfigurationProcessConceptStageListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_property_definition_dto import ServicingV2ObjectconfigurationPropertyDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_property_type_details_dto import ServicingV2ObjectconfigurationPropertyTypeDetailsDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_simple_property_type_dto import ServicingV2ObjectconfigurationSimplePropertyTypeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_successful_change_dto import ServicingV2ObjectconfigurationSuccessfulChangeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_synonym_list_dto import ServicingV2ObjectconfigurationSynonymListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_tag_reference_dto import ServicingV2ObjectconfigurationTagReferenceDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_tag_reference_list_dto import ServicingV2ObjectconfigurationTagReferenceListDTO -from visier_platform_sdk.models.servicing_vee_question_change_definition_dto import ServicingVeeQuestionChangeDefinitionDTO -from visier_platform_sdk.models.servicing_vee_question_change_definitions_by_tenant_dto import ServicingVeeQuestionChangeDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_vee_question_change_failure_dto import ServicingVeeQuestionChangeFailureDTO -from visier_platform_sdk.models.servicing_vee_question_change_success_dto import ServicingVeeQuestionChangeSuccessDTO -from visier_platform_sdk.models.servicing_vee_question_delete_definitions_by_tenant_dto import ServicingVeeQuestionDeleteDefinitionsByTenantDTO -from visier_platform_sdk.models.servicing_vee_questions_bulk_change_response_dto import ServicingVeeQuestionsBulkChangeResponseDTO -from visier_platform_sdk.models.servicing_vee_questions_change_definitions_dto import ServicingVeeQuestionsChangeDefinitionsDTO -from visier_platform_sdk.models.servicing_vee_questions_delete_definitions_dto import ServicingVeeQuestionsDeleteDefinitionsDTO +from visier_platform_sdk.models.set_connector_setting_request_dto import SetConnectorSettingRequestDTO +from visier_platform_sdk.models.set_connector_setting_response_dto import SetConnectorSettingResponseDTO +from visier_platform_sdk.models.set_connector_settings_request_dto import SetConnectorSettingsRequestDTO +from visier_platform_sdk.models.set_connector_settings_response_dto import SetConnectorSettingsResponseDTO +from visier_platform_sdk.models.shareable_data_access_set import ShareableDataAccessSet +from visier_platform_sdk.models.simple_document_header_search_response_dto import SimpleDocumentHeaderSearchResponseDTO +from visier_platform_sdk.models.simple_document_header_search_result_dto import SimpleDocumentHeaderSearchResultDTO +from visier_platform_sdk.models.simple_property_type_dto import SimplePropertyTypeDTO +from visier_platform_sdk.models.simple_user_dto import SimpleUserDTO from visier_platform_sdk.models.skill import Skill from visier_platform_sdk.models.skill_category import SkillCategory from visier_platform_sdk.models.skill_category_entry import SkillCategoryEntry @@ -623,12 +489,146 @@ from visier_platform_sdk.models.skill_group import SkillGroup from visier_platform_sdk.models.skill_group_entry import SkillGroupEntry from visier_platform_sdk.models.skill_match_input import SkillMatchInput +from visier_platform_sdk.models.slack_auth_params_dto import SlackAuthParamsDTO +from visier_platform_sdk.models.snapshot_query_execution_dto import SnapshotQueryExecutionDTO +from visier_platform_sdk.models.snapshot_query_execution_options_dto import SnapshotQueryExecutionOptionsDTO +from visier_platform_sdk.models.snowflake_auth_params_dto import SnowflakeAuthParamsDTO +from visier_platform_sdk.models.sort_option_dto import SortOptionDTO +from visier_platform_sdk.models.source import Source from visier_platform_sdk.models.source_import_result_summary_dto import SourceImportResultSummaryDTO +from visier_platform_sdk.models.sources_api_operation_request_dto import SourcesAPIOperationRequestDTO from visier_platform_sdk.models.sources_api_put_response_dto import SourcesAPIPutResponseDTO from visier_platform_sdk.models.sql_like200_response import SqlLike200Response +from visier_platform_sdk.models.sql_like_query_execution_dto import SqlLikeQueryExecutionDTO +from visier_platform_sdk.models.sql_server_auth_params_dto import SqlServerAuthParamsDTO +from visier_platform_sdk.models.start_extraction_response import StartExtractionResponse +from visier_platform_sdk.models.start_transfer_response import StartTransferResponse +from visier_platform_sdk.models.static_dimension_filter_dto import StaticDimensionFilterDTO from visier_platform_sdk.models.status import Status -from visier_platform_sdk.models.systemstatus_system_status_dto import SystemstatusSystemStatusDTO -from visier_platform_sdk.models.systemstatus_vee_status_dto import SystemstatusVeeStatusDTO +from visier_platform_sdk.models.subject_missing_access_dto import SubjectMissingAccessDTO +from visier_platform_sdk.models.success_factors_auth_params_dto import SuccessFactorsAuthParamsDTO +from visier_platform_sdk.models.success_factors_o_auth_params_dto import SuccessFactorsOAuthParamsDTO +from visier_platform_sdk.models.successful_accessible_tenant_profile_assignment_dto import SuccessfulAccessibleTenantProfileAssignmentDTO +from visier_platform_sdk.models.successful_change_dto import SuccessfulChangeDTO +from visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto import SuccessfulLocalTenantProfileAssignmentDTO +from visier_platform_sdk.models.synonym_list_dto import SynonymListDTO +from visier_platform_sdk.models.system_status_dto import SystemStatusDTO from visier_platform_sdk.models.table_response_dto import TableResponseDTO +from visier_platform_sdk.models.tag_map_element_dto import TagMapElementDTO +from visier_platform_sdk.models.tag_reference_dto import TagReferenceDTO +from visier_platform_sdk.models.tag_reference_list_dto import TagReferenceListDTO +from visier_platform_sdk.models.tags_dto import TagsDTO +from visier_platform_sdk.models.target_project_for_tenant_dto import TargetProjectForTenantDTO +from visier_platform_sdk.models.target_project_for_tenants_list_dto import TargetProjectForTenantsListDTO +from visier_platform_sdk.models.target_tenant_code_dto import TargetTenantCodeDTO +from visier_platform_sdk.models.tenant import Tenant +from visier_platform_sdk.models.tenant_and_credential import TenantAndCredential +from visier_platform_sdk.models.tenant_assignments_dto import TenantAssignmentsDTO +from visier_platform_sdk.models.tenant_code_body import TenantCodeBody +from visier_platform_sdk.models.tenant_code_error_dto import TenantCodeErrorDTO +from visier_platform_sdk.models.tenant_connector_settings_request_dto import TenantConnectorSettingsRequestDTO +from visier_platform_sdk.models.tenant_data_upload_status_response_dto import TenantDataUploadStatusResponseDTO +from visier_platform_sdk.models.tenant_data_upload_update_status_response_dto import TenantDataUploadUpdateStatusResponseDTO +from visier_platform_sdk.models.tenant_data_uploads_list_response_dto import TenantDataUploadsListResponseDTO +from visier_platform_sdk.models.tenant_data_uploads_response_dto import TenantDataUploadsResponseDTO +from visier_platform_sdk.models.tenant_data_uploads_update_response_dto import TenantDataUploadsUpdateResponseDTO +from visier_platform_sdk.models.tenant_detail_apidto import TenantDetailAPIDTO +from visier_platform_sdk.models.tenant_details_traits_dto import TenantDetailsTraitsDTO +from visier_platform_sdk.models.tenant_encryption_key_dto import TenantEncryptionKeyDTO +from visier_platform_sdk.models.tenant_encryption_key_details_dto import TenantEncryptionKeyDetailsDTO +from visier_platform_sdk.models.tenant_management_api_get_response_dto import TenantManagementAPIGetResponseDTO +from visier_platform_sdk.models.tenant_management_api_list_response_dto import TenantManagementAPIListResponseDTO +from visier_platform_sdk.models.tenant_management_api_update_request_dto import TenantManagementAPIUpdateRequestDTO +from visier_platform_sdk.models.tenant_management_api_update_response_dto import TenantManagementAPIUpdateResponseDTO +from visier_platform_sdk.models.tenant_module_dto import TenantModuleDTO +from visier_platform_sdk.models.tenant_preview_entries_summary_dto import TenantPreviewEntriesSummaryDTO +from visier_platform_sdk.models.tenant_preview_entries_summary_list_dto import TenantPreviewEntriesSummaryListDTO +from visier_platform_sdk.models.tenant_provision_apidto import TenantProvisionAPIDTO +from visier_platform_sdk.models.tenant_status_apidto import TenantStatusAPIDTO +from visier_platform_sdk.models.time_shift_dto import TimeShiftDTO from visier_platform_sdk.models.token_response import TokenResponse +from visier_platform_sdk.models.ultimate_auth_params_dto import UltimateAuthParamsDTO +from visier_platform_sdk.models.update_tenant_model import UpdateTenantModel +from visier_platform_sdk.models.upload_to_exclude import UploadToExclude +from visier_platform_sdk.models.upload_to_include import UploadToInclude +from visier_platform_sdk.models.user_creation_api_request_dto import UserCreationAPIRequestDTO from visier_platform_sdk.models.user_creation_api_response_dto import UserCreationAPIResponseDTO +from visier_platform_sdk.models.user_get_api_response_dto import UserGetAPIResponseDTO +from visier_platform_sdk.models.user_group_assigned_for_local_tenant_dto import UserGroupAssignedForLocalTenantDTO +from visier_platform_sdk.models.user_group_assignment_dto import UserGroupAssignmentDTO +from visier_platform_sdk.models.user_group_change_definition_dto import UserGroupChangeDefinitionDTO +from visier_platform_sdk.models.user_group_change_dimension_filter_dto import UserGroupChangeDimensionFilterDTO +from visier_platform_sdk.models.user_group_change_failure_dto import UserGroupChangeFailureDTO +from visier_platform_sdk.models.user_group_change_filter_dto import UserGroupChangeFilterDTO +from visier_platform_sdk.models.user_group_change_member_selection_dto import UserGroupChangeMemberSelectionDTO +from visier_platform_sdk.models.user_group_change_response_dto import UserGroupChangeResponseDTO +from visier_platform_sdk.models.user_group_change_success_dto import UserGroupChangeSuccessDTO +from visier_platform_sdk.models.user_group_change_users_dto import UserGroupChangeUsersDTO +from visier_platform_sdk.models.user_group_delete_dto import UserGroupDeleteDTO +from visier_platform_sdk.models.user_group_delete_failure_dto import UserGroupDeleteFailureDTO +from visier_platform_sdk.models.user_group_delete_response_dto import UserGroupDeleteResponseDTO +from visier_platform_sdk.models.user_group_delete_success_dto import UserGroupDeleteSuccessDTO +from visier_platform_sdk.models.user_group_filters_dto import UserGroupFiltersDTO +from visier_platform_sdk.models.user_group_get_api_response_dto import UserGroupGetAPIResponseDTO +from visier_platform_sdk.models.user_group_single_delete_response_dto import UserGroupSingleDeleteResponseDTO +from visier_platform_sdk.models.user_groups_change_dto import UserGroupsChangeDTO +from visier_platform_sdk.models.user_groups_delete_request_dto import UserGroupsDeleteRequestDTO +from visier_platform_sdk.models.user_groups_get_api_response_dto import UserGroupsGetAPIResponseDTO +from visier_platform_sdk.models.user_groups_users_dto import UserGroupsUsersDTO +from visier_platform_sdk.models.user_groups_users_for_tenant_dto import UserGroupsUsersForTenantDTO +from visier_platform_sdk.models.user_id_error_dto import UserIdErrorDTO +from visier_platform_sdk.models.user_property_dto import UserPropertyDTO +from visier_platform_sdk.models.user_security_assignments_dto import UserSecurityAssignmentsDTO +from visier_platform_sdk.models.user_update_api_request_dto import UserUpdateAPIRequestDTO +from visier_platform_sdk.models.users_api_error_message_dto import UsersAPIErrorMessageDTO +from visier_platform_sdk.models.users_api_failure_dto import UsersAPIFailureDTO +from visier_platform_sdk.models.users_api_response_dto import UsersAPIResponseDTO +from visier_platform_sdk.models.users_api_success_dto import UsersAPISuccessDTO +from visier_platform_sdk.models.users_creation_api_request_dto import UsersCreationAPIRequestDTO +from visier_platform_sdk.models.users_delete_api_request_dto import UsersDeleteAPIRequestDTO +from visier_platform_sdk.models.users_to_user_group_request_dto import UsersToUserGroupRequestDTO +from visier_platform_sdk.models.users_to_user_groups_request_dto import UsersToUserGroupsRequestDTO +from visier_platform_sdk.models.users_update_api_request_dto import UsersUpdateAPIRequestDTO +from visier_platform_sdk.models.users_update_api_user_dto import UsersUpdateAPIUserDTO +from visier_platform_sdk.models.v2_calculated_property_type_dto import V2CalculatedPropertyTypeDTO +from visier_platform_sdk.models.v2_simple_property_type_dto import V2SimplePropertyTypeDTO +from visier_platform_sdk.models.validity_range_dto import ValidityRangeDTO +from visier_platform_sdk.models.vee_clarification_dto import VeeClarificationDTO +from visier_platform_sdk.models.vee_conversation_dto import VeeConversationDTO +from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO +from visier_platform_sdk.models.vee_corrections_dto import VeeCorrectionsDTO +from visier_platform_sdk.models.vee_data_dto import VeeDataDTO +from visier_platform_sdk.models.vee_feedback_dto import VeeFeedbackDTO +from visier_platform_sdk.models.vee_options_dto import VeeOptionsDTO +from visier_platform_sdk.models.vee_question_change_definition_dto import VeeQuestionChangeDefinitionDTO +from visier_platform_sdk.models.vee_question_change_definitions_by_tenant_dto import VeeQuestionChangeDefinitionsByTenantDTO +from visier_platform_sdk.models.vee_question_change_failure_dto import VeeQuestionChangeFailureDTO +from visier_platform_sdk.models.vee_question_change_success_dto import VeeQuestionChangeSuccessDTO +from visier_platform_sdk.models.vee_question_dto import VeeQuestionDTO +from visier_platform_sdk.models.vee_question_delete_definitions_by_tenant_dto import VeeQuestionDeleteDefinitionsByTenantDTO +from visier_platform_sdk.models.vee_questions_bulk_change_response_dto import VeeQuestionsBulkChangeResponseDTO +from visier_platform_sdk.models.vee_questions_change_definitions_dto import VeeQuestionsChangeDefinitionsDTO +from visier_platform_sdk.models.vee_questions_delete_definitions_dto import VeeQuestionsDeleteDefinitionsDTO +from visier_platform_sdk.models.vee_response_dto import VeeResponseDTO +from visier_platform_sdk.models.vee_response_schema_dto import VeeResponseSchemaDTO +from visier_platform_sdk.models.vee_response_schema_reference_dto import VeeResponseSchemaReferenceDTO +from visier_platform_sdk.models.vee_sample_question_dto import VeeSampleQuestionDTO +from visier_platform_sdk.models.vee_sample_question_library_dto import VeeSampleQuestionLibraryDTO +from visier_platform_sdk.models.vee_status_code_dto import VeeStatusCodeDTO +from visier_platform_sdk.models.vee_status_dto import VeeStatusDTO +from visier_platform_sdk.models.vee_visual_dto import VeeVisualDTO +from visier_platform_sdk.models.vee_visual_options_dto import VeeVisualOptionsDTO +from visier_platform_sdk.models.webhook_basic_auth_credential_dto import WebhookBasicAuthCredentialDTO +from visier_platform_sdk.models.webhook_credentials_dto import WebhookCredentialsDTO +from visier_platform_sdk.models.webhook_dto import WebhookDTO +from visier_platform_sdk.models.webhook_details_dto import WebhookDetailsDTO +from visier_platform_sdk.models.webhook_event_type_dto import WebhookEventTypeDTO +from visier_platform_sdk.models.webhook_message_response_dto import WebhookMessageResponseDTO +from visier_platform_sdk.models.webhook_request_dto import WebhookRequestDTO +from visier_platform_sdk.models.webhooks_dto import WebhooksDTO +from visier_platform_sdk.models.willow_auth_params_dto import WillowAuthParamsDTO +from visier_platform_sdk.models.workday_auth_params_dto import WorkdayAuthParamsDTO +from visier_platform_sdk.models.workday_o_auth_params_dto import WorkdayOAuthParamsDTO +from visier_platform_sdk.models.workday_raas_auth_params_dto import WorkdayRaasAuthParamsDTO +from visier_platform_sdk.models.workday_refresh_token_params_dto import WorkdayRefreshTokenParamsDTO +from visier_platform_sdk.models.zoom_auth_params_dto import ZoomAuthParamsDTO diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py new file mode 100644 index 0000000000..fabb80753b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.target_tenant_code_dto import TargetTenantCodeDTO +from typing import Optional, Set +from typing_extensions import Self + +class AccessibleTenantProfileAssignmentRequestDTO(BaseModel): + """ + AccessibleTenantProfileAssignmentRequestDTO + """ # noqa: E501 + target_user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of users to assign this profile.", alias="targetUserIds") + target_tenant_codes: Optional[List[TargetTenantCodeDTO]] = Field(default=None, description="A list of objects representing the analytic tenants for profiles assigned to the users.", alias="targetTenantCodes") + validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active.", alias="validityStartTime") + validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active.", alias="validityEndTime") + __properties: ClassVar[List[str]] = ["targetUserIds", "targetTenantCodes", "validityStartTime", "validityEndTime"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AccessibleTenantProfileAssignmentRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in target_tenant_codes (list) + _items = [] + if self.target_tenant_codes: + for _item_target_tenant_codes in self.target_tenant_codes: + if _item_target_tenant_codes: + _items.append(_item_target_tenant_codes.to_dict()) + _dict['targetTenantCodes'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AccessibleTenantProfileAssignmentRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetUserIds": obj.get("targetUserIds"), + "targetTenantCodes": [TargetTenantCodeDTO.from_dict(_item) for _item in obj["targetTenantCodes"]] if obj.get("targetTenantCodes") is not None else None, + "validityStartTime": obj.get("validityStartTime"), + "validityEndTime": obj.get("validityEndTime") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py new file mode 100644 index 0000000000..99a2b3dc97 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py @@ -0,0 +1,128 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.failed_accessible_tenant_profile_assignment_dto import FailedAccessibleTenantProfileAssignmentDTO +from visier_platform_sdk.models.successful_accessible_tenant_profile_assignment_dto import SuccessfulAccessibleTenantProfileAssignmentDTO +from visier_platform_sdk.models.tenant_code_error_dto import TenantCodeErrorDTO +from visier_platform_sdk.models.user_id_error_dto import UserIdErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class AccessibleTenantProfileAssignmentResponseDTO(BaseModel): + """ + AccessibleTenantProfileAssignmentResponseDTO + """ # noqa: E501 + errors: Optional[StrictBool] = Field(default=None, description="If true, an error is generated by the request.") + bad_tenant_codes: Optional[List[TenantCodeErrorDTO]] = Field(default=None, description="A list of objects representing any tenants that returned errors.", alias="badTenantCodes") + bad_user_ids: Optional[List[UserIdErrorDTO]] = Field(default=None, description="A list of objects representing the user IDs that may not be valid.", alias="badUserIds") + failed_assignments: Optional[List[FailedAccessibleTenantProfileAssignmentDTO]] = Field(default=None, description="A list of objects representing any errors during the assignment operation.", alias="failedAssignments") + successful_assignments: Optional[List[SuccessfulAccessibleTenantProfileAssignmentDTO]] = Field(default=None, description="A list of user IDs that were successfully assigned the profiles.", alias="successfulAssignments") + __properties: ClassVar[List[str]] = ["errors", "badTenantCodes", "badUserIds", "failedAssignments", "successfulAssignments"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AccessibleTenantProfileAssignmentResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in bad_tenant_codes (list) + _items = [] + if self.bad_tenant_codes: + for _item_bad_tenant_codes in self.bad_tenant_codes: + if _item_bad_tenant_codes: + _items.append(_item_bad_tenant_codes.to_dict()) + _dict['badTenantCodes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in bad_user_ids (list) + _items = [] + if self.bad_user_ids: + for _item_bad_user_ids in self.bad_user_ids: + if _item_bad_user_ids: + _items.append(_item_bad_user_ids.to_dict()) + _dict['badUserIds'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failed_assignments (list) + _items = [] + if self.failed_assignments: + for _item_failed_assignments in self.failed_assignments: + if _item_failed_assignments: + _items.append(_item_failed_assignments.to_dict()) + _dict['failedAssignments'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in successful_assignments (list) + _items = [] + if self.successful_assignments: + for _item_successful_assignments in self.successful_assignments: + if _item_successful_assignments: + _items.append(_item_successful_assignments.to_dict()) + _dict['successfulAssignments'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AccessibleTenantProfileAssignmentResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "errors": obj.get("errors"), + "badTenantCodes": [TenantCodeErrorDTO.from_dict(_item) for _item in obj["badTenantCodes"]] if obj.get("badTenantCodes") is not None else None, + "badUserIds": [UserIdErrorDTO.from_dict(_item) for _item in obj["badUserIds"]] if obj.get("badUserIds") is not None else None, + "failedAssignments": [FailedAccessibleTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["failedAssignments"]] if obj.get("failedAssignments") is not None else None, + "successfulAssignments": [SuccessfulAccessibleTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["successfulAssignments"]] if obj.get("successfulAssignments") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py new file mode 100644 index 0000000000..156c4d6a9b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.target_tenant_code_dto import TargetTenantCodeDTO +from typing import Optional, Set +from typing_extensions import Self + +class AccessibleTenantProfileRevokeRequestDTO(BaseModel): + """ + AccessibleTenantProfileRevokeRequestDTO + """ # noqa: E501 + target_user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of users to remove this profile from.", alias="targetUserIds") + target_tenant_codes: Optional[List[TargetTenantCodeDTO]] = Field(default=None, description="A list of objects representing the analytic tenants for removing profiles from each target user ID.", alias="targetTenantCodes") + __properties: ClassVar[List[str]] = ["targetUserIds", "targetTenantCodes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AccessibleTenantProfileRevokeRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in target_tenant_codes (list) + _items = [] + if self.target_tenant_codes: + for _item_target_tenant_codes in self.target_tenant_codes: + if _item_target_tenant_codes: + _items.append(_item_target_tenant_codes.to_dict()) + _dict['targetTenantCodes'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AccessibleTenantProfileRevokeRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetUserIds": obj.get("targetUserIds"), + "targetTenantCodes": [TargetTenantCodeDTO.from_dict(_item) for _item in obj["targetTenantCodes"]] if obj.get("targetTenantCodes") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py new file mode 100644 index 0000000000..9544a77073 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.reduced_tenant_code_error_dto import ReducedTenantCodeErrorDTO +from visier_platform_sdk.models.reduced_user_id_error_dto import ReducedUserIdErrorDTO +from visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto import SuccessfulLocalTenantProfileAssignmentDTO +from typing import Optional, Set +from typing_extensions import Self + +class AccessibleTenantProfileRevokeResponseDTO(BaseModel): + """ + AccessibleTenantProfileRevokeResponseDTO + """ # noqa: E501 + bad_tenant_codes: Optional[List[ReducedTenantCodeErrorDTO]] = Field(default=None, description="A list of objects representing any tenants that returned errors.", alias="badTenantCodes") + bad_user_ids: Optional[List[ReducedUserIdErrorDTO]] = Field(default=None, description="A list of objects representing the user IDs that may not be valid.", alias="badUserIds") + unaffected_users: Optional[List[SuccessfulLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of objects representing the valid user IDs that were not affected.", alias="unaffectedUsers") + succeeded: Optional[List[SuccessfulLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of objects representing the valid user IDs that succeeded.") + __properties: ClassVar[List[str]] = ["badTenantCodes", "badUserIds", "unaffectedUsers", "succeeded"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AccessibleTenantProfileRevokeResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in bad_tenant_codes (list) + _items = [] + if self.bad_tenant_codes: + for _item_bad_tenant_codes in self.bad_tenant_codes: + if _item_bad_tenant_codes: + _items.append(_item_bad_tenant_codes.to_dict()) + _dict['badTenantCodes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in bad_user_ids (list) + _items = [] + if self.bad_user_ids: + for _item_bad_user_ids in self.bad_user_ids: + if _item_bad_user_ids: + _items.append(_item_bad_user_ids.to_dict()) + _dict['badUserIds'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in unaffected_users (list) + _items = [] + if self.unaffected_users: + for _item_unaffected_users in self.unaffected_users: + if _item_unaffected_users: + _items.append(_item_unaffected_users.to_dict()) + _dict['unaffectedUsers'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in succeeded (list) + _items = [] + if self.succeeded: + for _item_succeeded in self.succeeded: + if _item_succeeded: + _items.append(_item_succeeded.to_dict()) + _dict['succeeded'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AccessibleTenantProfileRevokeResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "badTenantCodes": [ReducedTenantCodeErrorDTO.from_dict(_item) for _item in obj["badTenantCodes"]] if obj.get("badTenantCodes") is not None else None, + "badUserIds": [ReducedUserIdErrorDTO.from_dict(_item) for _item in obj["badUserIds"]] if obj.get("badUserIds") is not None else None, + "unaffectedUsers": [SuccessfulLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["unaffectedUsers"]] if obj.get("unaffectedUsers") is not None else None, + "succeeded": [SuccessfulLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["succeeded"]] if obj.get("succeeded") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/additional_capabilities_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/additional_capabilities_dto.py new file mode 100644 index 0000000000..c12593ac76 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/additional_capabilities_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AdditionalCapabilitiesDTO(BaseModel): + """ + AdditionalCapabilitiesDTO + """ # noqa: E501 + additional_capabilities: Optional[List[StrictStr]] = Field(default=None, description="The additional capabilities assigned to this profile.", alias="additionalCapabilities") + __properties: ClassVar[List[str]] = ["additionalCapabilities"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AdditionalCapabilitiesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AdditionalCapabilitiesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "additionalCapabilities": obj.get("additionalCapabilities") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_all_tenants_status_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_all_tenants_status_apidto.py deleted file mode 100644 index 92f13a48a4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_all_tenants_status_apidto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_tenant_detail_apidto import AdminTenantDetailAPIDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminAllTenantsStatusAPIDTO(BaseModel): - """ - AdminAllTenantsStatusAPIDTO - """ # noqa: E501 - tenants: Optional[List[AdminTenantDetailAPIDTO]] = Field(default=None, description="A list of objects representing all the analytic tenants.") - limit: Optional[StrictInt] = Field(default=None, description="The limit of analytic tenants to return. The maximum value is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminAllTenantsStatusAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminAllTenantsStatusAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminTenantDetailAPIDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_credentials_by_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_credentials_by_tenant_response_dto.py deleted file mode 100644 index 5c5572cdbe..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_credentials_by_tenant_response_dto.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_assign_connector_with_credentials_response_dto import AdminAssignConnectorWithCredentialsResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminAssignConnectorCredentialsByTenantResponseDTO(BaseModel): - """ - AdminAssignConnectorCredentialsByTenantResponseDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - connectors: Optional[List[AdminAssignConnectorWithCredentialsResponseDTO]] = Field(default=None, description="A list of objects representing the assigned credentials and connectors.") - status: Optional[StrictStr] = Field(default=None, description="The state of the credential assignment. Valid values are Succeed or Failed.") - message: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["tenantCode", "connectors", "status", "message"] - - @field_validator('status') - def status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unknown', 'Succeed', 'Failed']): - raise ValueError("must be one of enum values ('Unknown', 'Succeed', 'Failed')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminAssignConnectorCredentialsByTenantResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) - _items = [] - if self.connectors: - for _item_connectors in self.connectors: - if _item_connectors: - _items.append(_item_connectors.to_dict()) - _dict['connectors'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminAssignConnectorCredentialsByTenantResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "connectors": [AdminAssignConnectorWithCredentialsResponseDTO.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None, - "status": obj.get("status"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_credentials_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_credentials_response_dto.py deleted file mode 100644 index acb62df805..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_credentials_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_assign_connector_credentials_by_tenant_response_dto import AdminAssignConnectorCredentialsByTenantResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminAssignConnectorCredentialsResponseDTO(BaseModel): - """ - AdminAssignConnectorCredentialsResponseDTO - """ # noqa: E501 - tenants: Optional[List[AdminAssignConnectorCredentialsByTenantResponseDTO]] = Field(default=None, description="A list of objects representing the tenants and data connectors that were assigned connector credentials.") - __properties: ClassVar[List[str]] = ["tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminAssignConnectorCredentialsResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminAssignConnectorCredentialsResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminAssignConnectorCredentialsByTenantResponseDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_with_credentials_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_with_credentials_response_dto.py deleted file mode 100644 index 82725ce5a2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_assign_connector_with_credentials_response_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_assigned_credential_info_response_dto import AdminAssignedCredentialInfoResponseDTO -from visier_platform_sdk.models.admin_connector_info_response_dto import AdminConnectorInfoResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminAssignConnectorWithCredentialsResponseDTO(BaseModel): - """ - AdminAssignConnectorWithCredentialsResponseDTO - """ # noqa: E501 - connector: Optional[AdminConnectorInfoResponseDTO] = Field(default=None, description="The data connector that was assigned a connector credential.") - credential: Optional[AdminAssignedCredentialInfoResponseDTO] = Field(default=None, description="A connector credential that was assigned to a data connector") - __properties: ClassVar[List[str]] = ["connector", "credential"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminAssignConnectorWithCredentialsResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of connector - if self.connector: - _dict['connector'] = self.connector.to_dict() - # override the default output from pydantic by calling `to_dict()` of credential - if self.credential: - _dict['credential'] = self.credential.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminAssignConnectorWithCredentialsResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connector": AdminConnectorInfoResponseDTO.from_dict(obj["connector"]) if obj.get("connector") is not None else None, - "credential": AdminAssignedCredentialInfoResponseDTO.from_dict(obj["credential"]) if obj.get("credential") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_assigned_credential_info_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_assigned_credential_info_response_dto.py deleted file mode 100644 index 65aae2f41f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_assigned_credential_info_response_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminAssignedCredentialInfoResponseDTO(BaseModel): - """ - AdminAssignedCredentialInfoResponseDTO - """ # noqa: E501 - credential_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="credentialId") - display_name: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.", alias="displayName") - message: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["credentialId", "displayName", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminAssignedCredentialInfoResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminAssignedCredentialInfoResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "credentialId": obj.get("credentialId"), - "displayName": obj.get("displayName"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_batch_tenant_provision_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_batch_tenant_provision_apidto.py deleted file mode 100644 index 3c602de544..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_batch_tenant_provision_apidto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_tenant_provision_apidto import AdminTenantProvisionAPIDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminBatchTenantProvisionAPIDTO(BaseModel): - """ - AdminBatchTenantProvisionAPIDTO - """ # noqa: E501 - tenants: Optional[List[AdminTenantProvisionAPIDTO]] = Field(default=None, description="An array of tenants to create. The maximum number of tenants to create in one request is 200.") - __properties: ClassVar[List[str]] = ["tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminBatchTenantProvisionAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminBatchTenantProvisionAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminTenantProvisionAPIDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_business_location_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_business_location_dto.py deleted file mode 100644 index e8f41c8490..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_business_location_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminBusinessLocationDTO(BaseModel): - """ - The location of operations or where business is performed. - """ # noqa: E501 - country_code: Optional[StrictStr] = Field(default=None, description="The country in which the business is located or business is performed. The country code must follow ISO 3166 standards in alpha-2 format (two-letter code).", alias="countryCode") - postal_code: Optional[StrictStr] = Field(default=None, description="The postal code associated with the business location. Cannot be blank.", alias="postalCode") - __properties: ClassVar[List[str]] = ["countryCode", "postalCode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminBusinessLocationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminBusinessLocationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "countryCode": obj.get("countryCode"), - "postalCode": obj.get("postalCode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_capability_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_capability_config_dto.py new file mode 100644 index 0000000000..4e5886dac8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/admin_capability_config_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AdminCapabilityConfigDTO(BaseModel): + """ + AdminCapabilityConfigDTO + """ # noqa: E501 + all_capabilities_access: Optional[StrictBool] = Field(default=None, description="If `true`, the permission has all possible capabilities.", alias="allCapabilitiesAccess") + capabilities: Optional[List[StrictStr]] = Field(default=None, description="A list of the capabilities assigned in the permission. Not required if `allCapabilitiesAccess` is true.") + __properties: ClassVar[List[str]] = ["allCapabilitiesAccess", "capabilities"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AdminCapabilityConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AdminCapabilityConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "allCapabilitiesAccess": obj.get("allCapabilitiesAccess"), + "capabilities": obj.get("capabilities") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_info_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_info_response_dto.py deleted file mode 100644 index 26605863b2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_info_response_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminConnectorInfoResponseDTO(BaseModel): - """ - AdminConnectorInfoResponseDTO - """ # noqa: E501 - connector_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data connector.", alias="connectorId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data connector name that is displayed within Visier.", alias="displayName") - description: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["connectorId", "displayName", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConnectorInfoResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConnectorInfoResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectorId": obj.get("connectorId"), - "displayName": obj.get("displayName"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_setting_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_setting_request_dto.py deleted file mode 100644 index f7695701fa..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_setting_request_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminConnectorSettingRequestDTO(BaseModel): - """ - AdminConnectorSettingRequestDTO - """ # noqa: E501 - setting_key: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the setting.", alias="settingKey") - value: Optional[StrictStr] = Field(default=None, description="The setting's value.") - __properties: ClassVar[List[str]] = ["settingKey", "value"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConnectorSettingRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConnectorSettingRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "settingKey": obj.get("settingKey"), - "value": obj.get("value") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_setting_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_setting_response_dto.py deleted file mode 100644 index 63f9cc23d2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_setting_response_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminConnectorSettingResponseDTO(BaseModel): - """ - AdminConnectorSettingResponseDTO - """ # noqa: E501 - key: Optional[StrictStr] = Field(default=None, description="The unique identifier of the connector setting.") - value: Optional[StrictStr] = Field(default=None, description="The value that was set for the connector setting.") - message: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["key", "value", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConnectorSettingResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConnectorSettingResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "key": obj.get("key"), - "value": obj.get("value"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_settings_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_settings_response_dto.py deleted file mode 100644 index 28587befe3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_connector_settings_response_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_connector_info_response_dto import AdminConnectorInfoResponseDTO -from visier_platform_sdk.models.admin_connector_setting_response_dto import AdminConnectorSettingResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminConnectorSettingsResponseDTO(BaseModel): - """ - AdminConnectorSettingsResponseDTO - """ # noqa: E501 - connector: Optional[AdminConnectorInfoResponseDTO] = Field(default=None, description="The data connector that was updated in the API request.") - settings: Optional[List[AdminConnectorSettingResponseDTO]] = Field(default=None, description="The settings that were updated for a data connector.") - __properties: ClassVar[List[str]] = ["connector", "settings"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConnectorSettingsResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of connector - if self.connector: - _dict['connector'] = self.connector.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in settings (list) - _items = [] - if self.settings: - for _item_settings in self.settings: - if _item_settings: - _items.append(_item_settings.to_dict()) - _dict['settings'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConnectorSettingsResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connector": AdminConnectorInfoResponseDTO.from_dict(obj["connector"]) if obj.get("connector") is not None else None, - "settings": [AdminConnectorSettingResponseDTO.from_dict(_item) for _item in obj["settings"]] if obj.get("settings") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_excluded_source_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_excluded_source_list_dto.py deleted file mode 100644 index 7812f5b169..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_excluded_source_list_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminConsolidatedAnalyticsAPIExcludedSourceListDTO(BaseModel): - """ - AdminConsolidatedAnalyticsAPIExcludedSourceListDTO - """ # noqa: E501 - excluded_sources: Optional[List[StrictStr]] = Field(default=None, description="A list of the CA tenant's excluded sources.", alias="excludedSources") - __properties: ClassVar[List[str]] = ["excludedSources"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPIExcludedSourceListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPIExcludedSourceListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "excludedSources": obj.get("excludedSources") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_source_tenant_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_source_tenant_list_dto.py deleted file mode 100644 index c0e5ad59aa..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_source_tenant_list_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminConsolidatedAnalyticsAPISourceTenantListDTO(BaseModel): - """ - AdminConsolidatedAnalyticsAPISourceTenantListDTO - """ # noqa: E501 - tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="A list of the CA tenant's source tenants.", alias="tenantCodes") - __properties: ClassVar[List[str]] = ["tenantCodes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPISourceTenantListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPISourceTenantListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCodes": obj.get("tenantCodes") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_create_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_create_request_dto.py deleted file mode 100644 index d1020f49c3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_create_request_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminConsolidatedAnalyticsAPITenantCreateRequestDTO(BaseModel): - """ - AdminConsolidatedAnalyticsAPITenantCreateRequestDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.", alias="tenantCode") - __properties: ClassVar[List[str]] = ["tenantCode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPITenantCreateRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPITenantCreateRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_list_response_dto.py deleted file mode 100644 index bc8b256108..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_list_response_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminConsolidatedAnalyticsAPITenantListResponseDTO(BaseModel): - """ - AdminConsolidatedAnalyticsAPITenantListResponseDTO - """ # noqa: E501 - tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="A list of CA tenant codes.", alias="tenantCodes") - __properties: ClassVar[List[str]] = ["tenantCodes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPITenantListResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPITenantListResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCodes": obj.get("tenantCodes") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details.py deleted file mode 100644 index 12f16ed2d9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminConsolidatedAnalyticsAPITenantWithDetails(BaseModel): - """ - AdminConsolidatedAnalyticsAPITenantWithDetails - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The CA tenant's code.", alias="tenantCode") - source_tenants_list: Optional[List[StrictStr]] = Field(default=None, description="A list of the CA tenant's source tenants.", alias="sourceTenantsList") - excluded_sources_list: Optional[List[StrictStr]] = Field(default=None, description="A list of the CA tenant's excluded sources.", alias="excludedSourcesList") - __properties: ClassVar[List[str]] = ["tenantCode", "sourceTenantsList", "excludedSourcesList"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPITenantWithDetails from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPITenantWithDetails from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "sourceTenantsList": obj.get("sourceTenantsList"), - "excludedSourcesList": obj.get("excludedSourcesList") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py deleted file mode 100644 index c585529209..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_consolidated_analytics_api_tenant_with_details import AdminConsolidatedAnalyticsAPITenantWithDetails -from typing import Optional, Set -from typing_extensions import Self - -class AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO(BaseModel): - """ - AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO - """ # noqa: E501 - tenants: Optional[List[AdminConsolidatedAnalyticsAPITenantWithDetails]] = Field(default=None, description="A list of CA tenants and their details.") - __properties: ClassVar[List[str]] = ["tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminConsolidatedAnalyticsAPITenantWithDetails.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_custom_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_custom_property_dto.py deleted file mode 100644 index 9b93e85b83..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_custom_property_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminCustomPropertyDTO(BaseModel): - """ - AdminCustomPropertyDTO - """ # noqa: E501 - key: Optional[StrictStr] = None - value: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["key", "value"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminCustomPropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminCustomPropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "key": obj.get("key"), - "value": obj.get("value") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_custom_tenant_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_custom_tenant_property_dto.py deleted file mode 100644 index f2dba17c6e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_custom_tenant_property_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminCustomTenantPropertyDTO(BaseModel): - """ - AdminCustomTenantPropertyDTO - """ # noqa: E501 - key: Optional[StrictStr] = None - value: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["key", "value"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminCustomTenantPropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminCustomTenantPropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "key": obj.get("key"), - "value": obj.get("value") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_import_definition_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_import_definition_apidto.py deleted file mode 100644 index 50a2292446..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_import_definition_apidto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminDataImportDefinitionAPIDTO(BaseModel): - """ - AdminDataImportDefinitionAPIDTO - """ # noqa: E501 - connector_id: Optional[StrictStr] = Field(default=None, description="The ID associated with the data connector.", alias="connectorId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data connector name that is displayed within Visier.", alias="displayName") - credential_id: Optional[StrictStr] = Field(default=None, description="The ID associated with the connector credentials currently assigned to this data connector.", alias="credentialId") - __properties: ClassVar[List[str]] = ["connectorId", "displayName", "credentialId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminDataImportDefinitionAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminDataImportDefinitionAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectorId": obj.get("connectorId"), - "displayName": obj.get("displayName"), - "credentialId": obj.get("credentialId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_import_definitions_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_import_definitions_apidto.py deleted file mode 100644 index e8038ce5d1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_import_definitions_apidto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_data_import_definition_apidto import AdminDataImportDefinitionAPIDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminDataImportDefinitionsAPIDTO(BaseModel): - """ - AdminDataImportDefinitionsAPIDTO - """ # noqa: E501 - data_connectors: Optional[List[AdminDataImportDefinitionAPIDTO]] = Field(default=None, description="A list of objects representing all the available data connectors in Production.", alias="dataConnectors") - limit: Optional[StrictInt] = Field(default=None, description="The number of data connectors to return. The maximum number of data connectors to return is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["dataConnectors", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminDataImportDefinitionsAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_connectors (list) - _items = [] - if self.data_connectors: - for _item_data_connectors in self.data_connectors: - if _item_data_connectors: - _items.append(_item_data_connectors.to_dict()) - _dict['dataConnectors'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminDataImportDefinitionsAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataConnectors": [AdminDataImportDefinitionAPIDTO.from_dict(_item) for _item in obj["dataConnectors"]] if obj.get("dataConnectors") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_version_and_date_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_version_and_date_dto.py deleted file mode 100644 index 7a1b148bb5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_data_version_and_date_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminDataVersionAndDateDTO(BaseModel): - """ - AdminDataVersionAndDateDTO - """ # noqa: E501 - data_version: Optional[StrictStr] = Field(default=None, description="The data version ID.", alias="dataVersion") - data_version_date: Optional[StrictStr] = Field(default=None, description="The date that the data version was created.", alias="dataVersionDate") - __properties: ClassVar[List[str]] = ["dataVersion", "dataVersionDate"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminDataVersionAndDateDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminDataVersionAndDateDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataVersion": obj.get("dataVersion"), - "dataVersionDate": obj.get("dataVersionDate") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_delete_user_group_v2_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_delete_user_group_v2_request.py deleted file mode 100644 index b4be35b866..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_delete_user_group_v2_request.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminDeleteUserGroupV2Request(BaseModel): - """ - AdminDeleteUserGroupV2Request - """ # noqa: E501 - user_group_id: Optional[StrictStr] = Field(default=None, description="The ID of user group to delete.", alias="userGroupId") - __properties: ClassVar[List[str]] = ["userGroupId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminDeleteUserGroupV2Request from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminDeleteUserGroupV2Request from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroupId": obj.get("userGroupId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_element_ids_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_element_ids_dto.py deleted file mode 100644 index 9337395da5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_element_ids_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminElementIDsDTO(BaseModel): - """ - AdminElementIDsDTO - """ # noqa: E501 - ids: Optional[List[StrictStr]] = Field(default=None, description="The unique identifiers.") - __properties: ClassVar[List[str]] = ["ids"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminElementIDsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminElementIDsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "ids": obj.get("ids") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_email_domains_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_email_domains_dto.py deleted file mode 100644 index 154d339e43..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_email_domains_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminEmailDomainsDTO(BaseModel): - """ - AdminEmailDomainsDTO - """ # noqa: E501 - domains: Optional[List[StrictStr]] = Field(default=None, description="The list of allowed email address domains.") - confirm_not_allowed_domain: Optional[StrictBool] = Field(default=None, description="If `true`, you cannot sign in using credentials, such as username and password. You can only log in with single sign-on (SSO). To avoid this, add your current email address's domain to allowed domains list.", alias="confirmNotAllowedDomain") - __properties: ClassVar[List[str]] = ["domains", "confirmNotAllowedDomain"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminEmailDomainsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminEmailDomainsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "domains": obj.get("domains"), - "confirmNotAllowedDomain": obj.get("confirmNotAllowedDomain") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_excluded_sources_body.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_excluded_sources_body.py deleted file mode 100644 index 1651f4a409..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_excluded_sources_body.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminExcludedSourcesBody(BaseModel): - """ - AdminExcludedSourcesBody - """ # noqa: E501 - excluded_sources: Optional[List[StrictStr]] = Field(default=None, description="A list of a CA tenant's excluded sources.", alias="excludedSources") - __properties: ClassVar[List[str]] = ["excludedSources"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminExcludedSourcesBody from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminExcludedSourcesBody from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "excludedSources": obj.get("excludedSources") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_setting_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_setting_apidto.py deleted file mode 100644 index e5d29d8d00..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_setting_apidto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_extractor_setting_key_value_apidto import AdminExtractorSettingKeyValueAPIDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminExtractorSettingAPIDTO(BaseModel): - """ - AdminExtractorSettingAPIDTO - """ # noqa: E501 - connector_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data connector.", alias="connectorId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data connector name that is displayed within Visier.", alias="displayName") - connector_settings: Optional[List[AdminExtractorSettingKeyValueAPIDTO]] = Field(default=None, description="A list of objects representing the settings that are available for the data connector.", alias="connectorSettings") - __properties: ClassVar[List[str]] = ["connectorId", "displayName", "connectorSettings"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminExtractorSettingAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in connector_settings (list) - _items = [] - if self.connector_settings: - for _item_connector_settings in self.connector_settings: - if _item_connector_settings: - _items.append(_item_connector_settings.to_dict()) - _dict['connectorSettings'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminExtractorSettingAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectorId": obj.get("connectorId"), - "displayName": obj.get("displayName"), - "connectorSettings": [AdminExtractorSettingKeyValueAPIDTO.from_dict(_item) for _item in obj["connectorSettings"]] if obj.get("connectorSettings") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_setting_key_value_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_setting_key_value_apidto.py deleted file mode 100644 index 94be16ecdd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_setting_key_value_apidto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminExtractorSettingKeyValueAPIDTO(BaseModel): - """ - AdminExtractorSettingKeyValueAPIDTO - """ # noqa: E501 - setting_key: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the setting.", alias="settingKey") - value: Optional[StrictStr] = Field(default=None, description="The current value of the setting.") - __properties: ClassVar[List[str]] = ["settingKey", "value"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminExtractorSettingKeyValueAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminExtractorSettingKeyValueAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "settingKey": obj.get("settingKey"), - "value": obj.get("value") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_settings_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_settings_apidto.py deleted file mode 100644 index ad5ec8f2a0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_extractor_settings_apidto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_extractor_setting_apidto import AdminExtractorSettingAPIDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminExtractorSettingsAPIDTO(BaseModel): - """ - AdminExtractorSettingsAPIDTO - """ # noqa: E501 - connectors: Optional[List[AdminExtractorSettingAPIDTO]] = Field(default=None, description="A list of all data connectors in the production environment and their settings.") - __properties: ClassVar[List[str]] = ["connectors"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminExtractorSettingsAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) - _items = [] - if self.connectors: - for _item_connectors in self.connectors: - if _item_connectors: - _items.append(_item_connectors.to_dict()) - _dict['connectors'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminExtractorSettingsAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectors": [AdminExtractorSettingAPIDTO.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_home_analysis_by_user_group_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_home_analysis_by_user_group_dto.py deleted file mode 100644 index 831dcc2f3e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_home_analysis_by_user_group_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminHomeAnalysisByUserGroupDTO(BaseModel): - """ - AdminHomeAnalysisByUserGroupDTO - """ # noqa: E501 - user_group_id: Optional[StrictStr] = Field(default=None, description="The user group ID.", alias="userGroupId") - home_analysis_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analysis to show for this user group when a user logs in.", alias="homeAnalysisId") - __properties: ClassVar[List[str]] = ["userGroupId", "homeAnalysisId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminHomeAnalysisByUserGroupDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminHomeAnalysisByUserGroupDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroupId": obj.get("userGroupId"), - "homeAnalysisId": obj.get("homeAnalysisId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_consolidated_analytics_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_consolidated_analytics_job_request_dto.py deleted file mode 100644 index c0cfb8759a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_consolidated_analytics_job_request_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminJobsConsolidatedAnalyticsJobRequestDTO(BaseModel): - """ - AdminJobsConsolidatedAnalyticsJobRequestDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the consolidated analytics tenant; for example, \"WFF_j1r~CAa7s\".", alias="tenantCode") - __properties: ClassVar[List[str]] = ["tenantCode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminJobsConsolidatedAnalyticsJobRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminJobsConsolidatedAnalyticsJobRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_extract_data_and_load_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_extract_data_and_load_dto.py deleted file mode 100644 index b5ca0c1611..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_extract_data_and_load_dto.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminJobsExtractDataAndLoadDTO(BaseModel): - """ - AdminJobsExtractDataAndLoadDTO - """ # noqa: E501 - tenants: Optional[List[StrictStr]] = Field(default=None, description="A list of analytic tenants to dispatch extraction jobs for. One extraction job is dispatched per tenant. Only valid for requests from an administrating tenant.") - all_tenants: Optional[StrictBool] = Field(default=None, description="If `true`, one extraction job is dispatched for each accessible analytic tenant. Only valid for requests from an administrating tenant.", alias="allTenants") - override_last_extraction_timestamp: Optional[StrictStr] = Field(default=None, description="An epoch timestamp in milliseconds from which to retrieve data. This overrides the last extraction date to retrieve more data.", alias="overrideLastExtractionTimestamp") - publish_data_load_artifacts: Optional[StrictBool] = Field(default=None, description="If `true`, the generated data load artifacts are published to production immediately.", alias="publishDataLoadArtifacts") - run_processing_job: Optional[StrictBool] = Field(default=None, description="If `true`, a processing job is spawned after a dispatched extraction job runs successfully.", alias="runProcessingJob") - data_category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data category on which to trigger the extraction job. Default is the tenant's primary data category.", alias="dataCategoryId") - disable_artifact_generation: Optional[StrictBool] = Field(default=None, description="If `true`, the job does not generate data load artifacts. If unspecified, the default is `false`.", alias="disableArtifactGeneration") - connector_ids: Optional[List[StrictStr]] = Field(default=None, description="The unique identifiers of the connectors to run extraction jobs.", alias="connectorIds") - last_extraction_time_offset_weeks: Optional[StrictInt] = Field(default=None, description="The number of weeks in the past to retrieve data. This overrides the last extraction date to retrieve more data.", alias="lastExtractionTimeOffsetWeeks") - months_to_extract: Optional[StrictInt] = Field(default=None, description="The number of months to retrieve snapshot data.", alias="monthsToExtract") - extract_to_time_override: Optional[StrictStr] = Field(default=None, description="An epoch timestamp in milliseconds for the end time up to which to retrieve data.", alias="extractToTimeOverride") - batch_size_override: Optional[StrictInt] = Field(default=None, description="The maximum number of subjects the job can retrieve in each batch.", alias="batchSizeOverride") - sql_batch_size: Optional[StrictInt] = Field(default=None, description="The maximum number of SQL table records the job can retrieve in each batch.", alias="sqlBatchSize") - force_update_existing_artifacts: Optional[StrictBool] = Field(default=None, description="If `true` and `disableArtifactGeneration` is `false`, updates extractor artifacts, which may overwrite the artifacts' manual overrides. Ignored if `disableArtifactGeneration` is `true`.", alias="forceUpdateExistingArtifacts") - excluded_tenants: Optional[List[StrictStr]] = Field(default=None, description="The unique identifiers of the tenants to exclude from the extraction job. Only valid if `allTenants` is `true`. Only valid for requests from an administrating tenant.", alias="excludedTenants") - spill_debug_info_partitions_dto: Optional[StrictStr] = Field(default=None, description="The partitioning of debugging info to be generated, if any. Valid values are: - `spillNone`: No debugging info is generated. - `spillStagesAndRecords`: Debugging info is generated for stages and records. - `spillAll`: Debugging info is generated for all partitions.", alias="spillDebugInfoPartitionsDTO") - spill_debug_info_detail_level_dto: Optional[StrictStr] = Field(default=None, description="The detail level of the debugging info to be generated. Valid values are: - `fileAndLine`: Debugging info is generated for file and line. - `mappingName`: Debugging info is generated for mapping name.", alias="spillDebugInfoDetailLevelDTO") - last_extraction_time_offset_months: Optional[StrictInt] = Field(default=None, description="The number of months to offset the last extraction time. This overrides the last extraction date backward to retrieve more data.", alias="lastExtractionTimeOffsetMonths") - last_extraction_time_offset_mode: Optional[StrictStr] = Field(default=None, description="The mode used to offset the last extraction time (weeks vs months)", alias="lastExtractionTimeOffsetMode") - offset_week_option: Optional[StrictStr] = Field(default=None, description="The week options used to offset the last extraction time (first of day / last of day)", alias="offsetWeekOption") - offset_month_option: Optional[StrictStr] = Field(default=None, description="The month options used to offset the last extraction time (first of month / last of month)", alias="offsetMonthOption") - credential_id: Optional[StrictStr] = Field(default=None, description="If running a job for the Databricks connector, specify the unique identifier of the connector credentials to use.", alias="credentialId") - __properties: ClassVar[List[str]] = ["tenants", "allTenants", "overrideLastExtractionTimestamp", "publishDataLoadArtifacts", "runProcessingJob", "dataCategoryId", "disableArtifactGeneration", "connectorIds", "lastExtractionTimeOffsetWeeks", "monthsToExtract", "extractToTimeOverride", "batchSizeOverride", "sqlBatchSize", "forceUpdateExistingArtifacts", "excludedTenants", "spillDebugInfoPartitionsDTO", "spillDebugInfoDetailLevelDTO", "lastExtractionTimeOffsetMonths", "lastExtractionTimeOffsetMode", "offsetWeekOption", "offsetMonthOption", "credentialId"] - - @field_validator('spill_debug_info_partitions_dto') - def spill_debug_info_partitions_dto_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['spillNone', 'spillStagesAndRecords', 'spillAll']): - raise ValueError("must be one of enum values ('spillNone', 'spillStagesAndRecords', 'spillAll')") - return value - - @field_validator('spill_debug_info_detail_level_dto') - def spill_debug_info_detail_level_dto_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['fileAndLine', 'mappingName']): - raise ValueError("must be one of enum values ('fileAndLine', 'mappingName')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminJobsExtractDataAndLoadDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminJobsExtractDataAndLoadDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": obj.get("tenants"), - "allTenants": obj.get("allTenants"), - "overrideLastExtractionTimestamp": obj.get("overrideLastExtractionTimestamp"), - "publishDataLoadArtifacts": obj.get("publishDataLoadArtifacts"), - "runProcessingJob": obj.get("runProcessingJob"), - "dataCategoryId": obj.get("dataCategoryId"), - "disableArtifactGeneration": obj.get("disableArtifactGeneration"), - "connectorIds": obj.get("connectorIds"), - "lastExtractionTimeOffsetWeeks": obj.get("lastExtractionTimeOffsetWeeks"), - "monthsToExtract": obj.get("monthsToExtract"), - "extractToTimeOverride": obj.get("extractToTimeOverride"), - "batchSizeOverride": obj.get("batchSizeOverride"), - "sqlBatchSize": obj.get("sqlBatchSize"), - "forceUpdateExistingArtifacts": obj.get("forceUpdateExistingArtifacts"), - "excludedTenants": obj.get("excludedTenants"), - "spillDebugInfoPartitionsDTO": obj.get("spillDebugInfoPartitionsDTO"), - "spillDebugInfoDetailLevelDTO": obj.get("spillDebugInfoDetailLevelDTO"), - "lastExtractionTimeOffsetMonths": obj.get("lastExtractionTimeOffsetMonths"), - "lastExtractionTimeOffsetMode": obj.get("lastExtractionTimeOffsetMode"), - "offsetWeekOption": obj.get("offsetWeekOption"), - "offsetMonthOption": obj.get("offsetMonthOption"), - "credentialId": obj.get("credentialId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_processing_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_processing_job_request_dto.py deleted file mode 100644 index 9d8f599806..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_jobs_processing_job_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminJobsProcessingJobRequestDTO(BaseModel): - """ - AdminJobsProcessingJobRequestDTO - """ # noqa: E501 - tenants: Optional[List[StrictStr]] = Field(default=None, description="The tenant codes of the tenants to run processing jobs for. If omitted, runs a processing job for the tenant associated with the user who made the API request. Only valid for requests from an administrating tenant.") - all_tenants: Optional[StrictBool] = Field(default=None, description="If `true`, runs processing jobs for all accessible analytic tenants. Default is `false`. Only valid for requests from an administrating tenant.", alias="allTenants") - data_category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data category to run the job. If omitted, runs a job using the primary data category. To retrieve a list of all data categories, see `GET /v1/op/data/categories`.", alias="dataCategoryId") - publish_to_production: Optional[StrictBool] = Field(default=None, description="If `true`, publishes the generated data version to production. Default is `false`.", alias="publishToProduction") - excluded_tenants: Optional[List[StrictStr]] = Field(default=None, description="The unique IDs of the tenants to exclude from the extraction job. Only valid if `allTenants` is \"true\". Only valid for requests from an administrating tenant.", alias="excludedTenants") - __properties: ClassVar[List[str]] = ["tenants", "allTenants", "dataCategoryId", "publishToProduction", "excludedTenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminJobsProcessingJobRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminJobsProcessingJobRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": obj.get("tenants"), - "allTenants": obj.get("allTenants"), - "dataCategoryId": obj.get("dataCategoryId"), - "publishToProduction": obj.get("publishToProduction"), - "excludedTenants": obj.get("excludedTenants") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_key_name.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_key_name.py deleted file mode 100644 index 001263b7a4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_key_name.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminKeyName(BaseModel): - """ - AdminKeyName - """ # noqa: E501 - key_name: Optional[StrictStr] = Field(default=None, description="The encryption key's display name. The name may only contain alphanumeric or dash (-) characters and must be between 3 and 36 characters long.", alias="keyName") - __properties: ClassVar[List[str]] = ["keyName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminKeyName from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminKeyName from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "keyName": obj.get("keyName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_mask_message.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_mask_message.py deleted file mode 100644 index 81b4eac25d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_mask_message.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminMaskMessage(BaseModel): - """ - AdminMaskMessage - """ # noqa: E501 - mask: Optional[StrictStr] = Field(default=None, description="A comma-separated list of strings that specifies which fields to include in the response.") - __properties: ClassVar[List[str]] = ["mask"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminMaskMessage from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminMaskMessage from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "mask": obj.get("mask") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_multiple_tenant_data_versions_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_multiple_tenant_data_versions_details_dto.py deleted file mode 100644 index 6c9578df15..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_multiple_tenant_data_versions_details_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_data_version_and_date_dto import AdminDataVersionAndDateDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminMultipleTenantDataVersionsDetailsDTO(BaseModel): - """ - AdminMultipleTenantDataVersionsDetailsDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The owner of the data versions.", alias="tenantCode") - data_versions: Optional[List[AdminDataVersionAndDateDTO]] = Field(default=None, description="The latest enabled data versions for the given analytic tenant. If the analytic tenant has no enabled data versions, an empty string \"\" is returned.", alias="dataVersions") - __properties: ClassVar[List[str]] = ["tenantCode", "dataVersions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminMultipleTenantDataVersionsDetailsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_versions (list) - _items = [] - if self.data_versions: - for _item_data_versions in self.data_versions: - if _item_data_versions: - _items.append(_item_data_versions.to_dict()) - _dict['dataVersions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminMultipleTenantDataVersionsDetailsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "dataVersions": [AdminDataVersionAndDateDTO.from_dict(_item) for _item in obj["dataVersions"]] if obj.get("dataVersions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_multiple_tenant_data_versions_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_multiple_tenant_data_versions_list_dto.py deleted file mode 100644 index 3f3c9058fb..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_multiple_tenant_data_versions_list_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_multiple_tenant_data_versions_details_dto import AdminMultipleTenantDataVersionsDetailsDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminMultipleTenantDataVersionsListDTO(BaseModel): - """ - AdminMultipleTenantDataVersionsListDTO - """ # noqa: E501 - tenants: Optional[List[AdminMultipleTenantDataVersionsDetailsDTO]] = Field(default=None, description="A list of analytic tenants and their latest enabled data versions.") - limit: Optional[StrictInt] = Field(default=None, description="The number of analytic tenants to retrieve. The maximum number to retrieve is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminMultipleTenantDataVersionsListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminMultipleTenantDataVersionsListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminMultipleTenantDataVersionsDetailsDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_network_subnets_message_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_network_subnets_message_request.py deleted file mode 100644 index 4828acc066..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_network_subnets_message_request.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminNetworkSubnetsMessageRequest(BaseModel): - """ - The IP addresses to modify in the API network subnet allowlist. - """ # noqa: E501 - network_subnets_for_api: Optional[List[StrictStr]] = Field(default=None, description="The IP addresses in the request.", alias="networkSubnetsForApi") - confirm_lockout: Optional[StrictBool] = Field(default=None, description="If `true`, you acknowledge that the API call removes your IP address from the list of allowed network subnets and you will not be able to call Visier APIs from your current IP address. Default is `false`. To avoid this, add your current IP address to the allowed network subnets list.", alias="confirmLockout") - __properties: ClassVar[List[str]] = ["networkSubnetsForApi", "confirmLockout"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminNetworkSubnetsMessageRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminNetworkSubnetsMessageRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "networkSubnetsForApi": obj.get("networkSubnetsForApi"), - "confirmLockout": obj.get("confirmLockout") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_network_subnets_message_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_network_subnets_message_response.py deleted file mode 100644 index 8fc636b06b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_network_subnets_message_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminNetworkSubnetsMessageResponse(BaseModel): - """ - The list of IP addresses that are allowed to call Visier APIs. - """ # noqa: E501 - network_subnets_for_api: Optional[List[StrictStr]] = Field(default=None, description="The IP addresses that are allowed to call Visier APIs.", alias="networkSubnetsForApi") - __properties: ClassVar[List[str]] = ["networkSubnetsForApi"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminNetworkSubnetsMessageResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminNetworkSubnetsMessageResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "networkSubnetsForApi": obj.get("networkSubnetsForApi") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permission_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_permission_response_dto.py deleted file mode 100644 index a6320940ca..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permission_response_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminPermissionResponseDTO(BaseModel): - """ - AdminPermissionResponseDTO - """ # noqa: E501 - permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") - __properties: ClassVar[List[str]] = ["permissionId", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminPermissionResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminPermissionResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissionId": obj.get("permissionId"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_list_dto.py deleted file mode 100644 index e3b2d4b84d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_permission_dto import ServicingPermissionDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminPermissionsListDTO(BaseModel): - """ - AdminPermissionsListDTO - """ # noqa: E501 - permissions: Optional[List[ServicingPermissionDTO]] = Field(default=None, description="The list of permissions that will be created or updated") - __properties: ClassVar[List[str]] = ["permissions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminPermissionsListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item_permissions in self.permissions: - if _item_permissions: - _items.append(_item_permissions.to_dict()) - _dict['permissions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminPermissionsListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissions": [ServicingPermissionDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_group_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_group_for_tenant_dto.py deleted file mode 100644 index c38a7f0a4a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_group_for_tenant_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_get_api_response_dto import AdminUserGroupGetAPIResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminPermissionsToUserGroupForTenantDTO(BaseModel): - """ - AdminPermissionsToUserGroupForTenantDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - status: Optional[StrictStr] = Field(default=None, description="The state of the permission assignment or removal. Valid values are Succeed or Failed.") - message: Optional[StrictStr] = Field(default=None, description="A detailed description of the request outcome, if available.") - user_groups: Optional[List[AdminUserGroupGetAPIResponseDTO]] = Field(default=None, description="A list of objects representing user groups and the permissions to assign to or remove from them.", alias="userGroups") - __properties: ClassVar[List[str]] = ["tenantCode", "status", "message", "userGroups"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminPermissionsToUserGroupForTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) - _items = [] - if self.user_groups: - for _item_user_groups in self.user_groups: - if _item_user_groups: - _items.append(_item_user_groups.to_dict()) - _dict['userGroups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminPermissionsToUserGroupForTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "status": obj.get("status"), - "message": obj.get("message"), - "userGroups": [AdminUserGroupGetAPIResponseDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_group_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_group_request_dto.py deleted file mode 100644 index ee3ac1155d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_group_request_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminPermissionsToUserGroupRequestDTO(BaseModel): - """ - AdminPermissionsToUserGroupRequestDTO - """ # noqa: E501 - user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user group.", alias="userGroupId") - permissions_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the unique permission IDs to assign.", alias="permissionsIds") - __properties: ClassVar[List[str]] = ["userGroupId", "permissionsIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminPermissionsToUserGroupRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminPermissionsToUserGroupRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroupId": obj.get("userGroupId"), - "permissionsIds": obj.get("permissionsIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_groups_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_groups_request_dto.py deleted file mode 100644 index 689e96ecdf..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_permissions_to_user_groups_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_permissions_to_user_group_request_dto import AdminPermissionsToUserGroupRequestDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminPermissionsToUserGroupsRequestDTO(BaseModel): - """ - AdminPermissionsToUserGroupsRequestDTO - """ # noqa: E501 - user_groups: Optional[List[AdminPermissionsToUserGroupRequestDTO]] = Field(default=None, description="A list of objects representing the user groups and permissions to assign or remove.", alias="userGroups") - __properties: ClassVar[List[str]] = ["userGroups"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminPermissionsToUserGroupsRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) - _items = [] - if self.user_groups: - for _item_user_groups in self.user_groups: - if _item_user_groups: - _items.append(_item_user_groups.to_dict()) - _dict['userGroups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminPermissionsToUserGroupsRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroups": [AdminPermissionsToUserGroupRequestDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_release_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_release_dto.py deleted file mode 100644 index 022a8ba1a0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_release_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminProductReleaseDTO(BaseModel): - """ - Details about the available release versions for a specific product. - """ # noqa: E501 - product_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the product.", alias="productId") - previous_version: Optional[StrictStr] = Field(default=None, description="The release version being replaced by the latest version.", alias="previousVersion") - previous_version_end_date: Optional[StrictStr] = Field(default=None, description="The end-of-life date for the previous release version. Once this date has passed, the latest version will be automatically activated on all tenants. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.", alias="previousVersionEndDate") - latest_version: Optional[StrictStr] = Field(default=None, description="The release version that replaces previous versions.", alias="latestVersion") - __properties: ClassVar[List[str]] = ["productId", "previousVersion", "previousVersionEndDate", "latestVersion"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminProductReleaseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminProductReleaseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "productId": obj.get("productId"), - "previousVersion": obj.get("previousVersion"), - "previousVersionEndDate": obj.get("previousVersionEndDate"), - "latestVersion": obj.get("latestVersion") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_releases_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_releases_dto.py deleted file mode 100644 index e13d333bf8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_releases_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_product_release_dto import AdminProductReleaseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminProductReleasesDTO(BaseModel): - """ - A collection of products and details about their available release versions. - """ # noqa: E501 - releases: Optional[List[AdminProductReleaseDTO]] = Field(default=None, description="A list of products and details about their available release versions.") - __properties: ClassVar[List[str]] = ["releases"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminProductReleasesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in releases (list) - _items = [] - if self.releases: - for _item_releases in self.releases: - if _item_releases: - _items.append(_item_releases.to_dict()) - _dict['releases'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminProductReleasesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "releases": [AdminProductReleaseDTO.from_dict(_item) for _item in obj["releases"]] if obj.get("releases") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_version_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_version_dto.py deleted file mode 100644 index 4298e18487..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_version_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminProductVersionDTO(BaseModel): - """ - Provides information about the product release version of a tenant. It is used when retrieving the active product release version and activating the product release version. - """ # noqa: E501 - product_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the product.", alias="productId") - version: Optional[StrictStr] = Field(default=None, description="The release version of the product.") - tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="The tenants you want to execute the API call on. Retrieve or activate the product release versions on these tenants.", alias="tenantCodes") - __properties: ClassVar[List[str]] = ["productId", "version", "tenantCodes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminProductVersionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminProductVersionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "productId": obj.get("productId"), - "version": obj.get("version"), - "tenantCodes": obj.get("tenantCodes") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_dto.py deleted file mode 100644 index 54339ef6ec..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_product_version_dto import AdminProductVersionDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminProductVersionsDTO(BaseModel): - """ - A collection of products and their current release version for a tenant. - """ # noqa: E501 - versions: Optional[List[AdminProductVersionDTO]] = Field(default=None, description="A list of products and their current release versions for a tenant.") - __properties: ClassVar[List[str]] = ["versions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminProductVersionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in versions (list) - _items = [] - if self.versions: - for _item_versions in self.versions: - if _item_versions: - _items.append(_item_versions.to_dict()) - _dict['versions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminProductVersionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "versions": [AdminProductVersionDTO.from_dict(_item) for _item in obj["versions"]] if obj.get("versions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_failure_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_failure_tenant_response_dto.py deleted file mode 100644 index 10f2f96cae..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_failure_tenant_response_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminProductVersionsUpdateFailureTenantResponseDTO(BaseModel): - """ - Provides details about the failed activation of a product release version. - """ # noqa: E501 - product_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the product that failed to activate.", alias="productId") - version: Optional[StrictStr] = Field(default=None, description="The release version of the product that was being activated.") - tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="The tenants where the specified release version failed to activate.", alias="tenantCodes") - message: Optional[StrictStr] = Field(default=None, description="More information about why the activation failed.") - __properties: ClassVar[List[str]] = ["productId", "version", "tenantCodes", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminProductVersionsUpdateFailureTenantResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminProductVersionsUpdateFailureTenantResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "productId": obj.get("productId"), - "version": obj.get("version"), - "tenantCodes": obj.get("tenantCodes"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_response_dto.py deleted file mode 100644 index dfd881bb88..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_product_versions_update_failure_tenant_response_dto import AdminProductVersionsUpdateFailureTenantResponseDTO -from visier_platform_sdk.models.admin_product_versions_update_successful_tenant_response_dto import AdminProductVersionsUpdateSuccessfulTenantResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminProductVersionsUpdateResponseDTO(BaseModel): - """ - A collection of responses indicating the success or failure of a product release version activation request, including lists of tenants with successful or failed activations. - """ # noqa: E501 - successes: Optional[List[AdminProductVersionsUpdateSuccessfulTenantResponseDTO]] = Field(default=None, description="The products that were successfully activated.") - failures: Optional[List[AdminProductVersionsUpdateFailureTenantResponseDTO]] = Field(default=None, description="The products that failed to activate.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminProductVersionsUpdateResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminProductVersionsUpdateResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [AdminProductVersionsUpdateSuccessfulTenantResponseDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [AdminProductVersionsUpdateFailureTenantResponseDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_successful_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_successful_tenant_response_dto.py deleted file mode 100644 index 352dcdf5ae..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_product_versions_update_successful_tenant_response_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminProductVersionsUpdateSuccessfulTenantResponseDTO(BaseModel): - """ - Provides confirmation details about the successful activation of a product release version. - """ # noqa: E501 - product_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the product that was successfully activated.", alias="productId") - version: Optional[StrictStr] = Field(default=None, description="The release version of the product that was activated.") - tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="The tenants where the specified release version was succesfully activated.", alias="tenantCodes") - __properties: ClassVar[List[str]] = ["productId", "version", "tenantCodes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminProductVersionsUpdateSuccessfulTenantResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminProductVersionsUpdateSuccessfulTenantResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "productId": obj.get("productId"), - "version": obj.get("version"), - "tenantCodes": obj.get("tenantCodes") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_put_project_commits_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_put_project_commits_request.py deleted file mode 100644 index b6c8df0bff..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_put_project_commits_request.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminPutProjectCommitsRequest(BaseModel): - """ - AdminPutProjectCommitsRequest - """ # noqa: E501 - project_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the draft project you want to import committed changes into.", alias="projectId") - __properties: ClassVar[List[str]] = ["projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminPutProjectCommitsRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminPutProjectCommitsRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_security_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_security_assignment_response_dto.py deleted file mode 100644 index 3edf4f68f3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_security_assignment_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_tenant_assignments_dto import AdminTenantAssignmentsDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminSecurityAssignmentResponseDTO(BaseModel): - """ - AdminSecurityAssignmentResponseDTO - """ # noqa: E501 - tenants: Optional[List[AdminTenantAssignmentsDTO]] = Field(default=None, description="A list of objects representing the tenants and users that were assigned to or removed from user groups.") - __properties: ClassVar[List[str]] = ["tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminSecurityAssignmentResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminSecurityAssignmentResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminTenantAssignmentsDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_setting_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_setting_request_dto.py deleted file mode 100644 index 7838d584d1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_setting_request_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_tenant_connector_settings_request_dto import AdminTenantConnectorSettingsRequestDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminSetConnectorSettingRequestDTO(BaseModel): - """ - AdminSetConnectorSettingRequestDTO - """ # noqa: E501 - connector_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data connector.", alias="connectorId") - tenants: Optional[List[AdminTenantConnectorSettingsRequestDTO]] = Field(default=None, description="The tenant codes and data connector settings to update.") - __properties: ClassVar[List[str]] = ["connectorId", "tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminSetConnectorSettingRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminSetConnectorSettingRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectorId": obj.get("connectorId"), - "tenants": [AdminTenantConnectorSettingsRequestDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_setting_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_setting_response_dto.py deleted file mode 100644 index 70ebcbdc02..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_setting_response_dto.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_connector_settings_response_dto import AdminConnectorSettingsResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminSetConnectorSettingResponseDTO(BaseModel): - """ - AdminSetConnectorSettingResponseDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - connectors: Optional[List[AdminConnectorSettingsResponseDTO]] = Field(default=None, description="A list of objects representing the assigned settings and connectors.") - status: Optional[StrictStr] = Field(default=None, description="The state of the setting assignment. Valid values are Succeed or Failed.") - message: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["tenantCode", "connectors", "status", "message"] - - @field_validator('status') - def status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unknown', 'Succeed', 'Failed']): - raise ValueError("must be one of enum values ('Unknown', 'Succeed', 'Failed')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminSetConnectorSettingResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) - _items = [] - if self.connectors: - for _item_connectors in self.connectors: - if _item_connectors: - _items.append(_item_connectors.to_dict()) - _dict['connectors'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminSetConnectorSettingResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "connectors": [AdminConnectorSettingsResponseDTO.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None, - "status": obj.get("status"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_settings_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_settings_request_dto.py deleted file mode 100644 index 50195fcab2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_settings_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_set_connector_setting_request_dto import AdminSetConnectorSettingRequestDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminSetConnectorSettingsRequestDTO(BaseModel): - """ - AdminSetConnectorSettingsRequestDTO - """ # noqa: E501 - connectors: Optional[List[AdminSetConnectorSettingRequestDTO]] = Field(default=None, description="The settings to define for each data connector and tenant.") - __properties: ClassVar[List[str]] = ["connectors"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminSetConnectorSettingsRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) - _items = [] - if self.connectors: - for _item_connectors in self.connectors: - if _item_connectors: - _items.append(_item_connectors.to_dict()) - _dict['connectors'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminSetConnectorSettingsRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectors": [AdminSetConnectorSettingRequestDTO.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_settings_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_settings_response_dto.py deleted file mode 100644 index 8eb968baff..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_set_connector_settings_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_set_connector_setting_response_dto import AdminSetConnectorSettingResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminSetConnectorSettingsResponseDTO(BaseModel): - """ - AdminSetConnectorSettingsResponseDTO - """ # noqa: E501 - tenants: Optional[List[AdminSetConnectorSettingResponseDTO]] = Field(default=None, description="The tenants and data connectors that were updated in the API request.") - __properties: ClassVar[List[str]] = ["tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminSetConnectorSettingsResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminSetConnectorSettingsResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminSetConnectorSettingResponseDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_simple_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_simple_user_dto.py deleted file mode 100644 index 14c73918bf..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_simple_user_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminSimpleUserDTO(BaseModel): - """ - AdminSimpleUserDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") - username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.") - __properties: ClassVar[List[str]] = ["userId", "username"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminSimpleUserDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminSimpleUserDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "username": obj.get("username") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_target_project_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_target_project_for_tenant_dto.py deleted file mode 100644 index 44fd5b3061..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_target_project_for_tenant_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminTargetProjectForTenantDTO(BaseModel): - """ - AdminTargetProjectForTenantDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project in which to make changes for the tenant.", alias="projectId") - __properties: ClassVar[List[str]] = ["tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTargetProjectForTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTargetProjectForTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_target_project_for_tenants_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_target_project_for_tenants_list_dto.py deleted file mode 100644 index fed12a1485..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_target_project_for_tenants_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_target_project_for_tenant_dto import AdminTargetProjectForTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTargetProjectForTenantsListDTO(BaseModel): - """ - AdminTargetProjectForTenantsListDTO - """ # noqa: E501 - target_project_for_tenants: Optional[List[AdminTargetProjectForTenantDTO]] = Field(default=None, description="Administrating tenants can specify the tenants and projects in which to make assignments to users. Specify one `projectId` per `tenantCode`. If omitted, the request is immediately published to production or applied to the `ProjectID` in the request header, if available, for the administrating tenant or TargetTenantID, if available.", alias="targetProjectForTenants") - __properties: ClassVar[List[str]] = ["targetProjectForTenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTargetProjectForTenantsListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in target_project_for_tenants (list) - _items = [] - if self.target_project_for_tenants: - for _item_target_project_for_tenants in self.target_project_for_tenants: - if _item_target_project_for_tenants: - _items.append(_item_target_project_for_tenants.to_dict()) - _dict['targetProjectForTenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTargetProjectForTenantsListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "targetProjectForTenants": [AdminTargetProjectForTenantDTO.from_dict(_item) for _item in obj["targetProjectForTenants"]] if obj.get("targetProjectForTenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_assignments_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_assignments_dto.py deleted file mode 100644 index 481ddc4e2b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_assignments_dto.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_security_assignments_dto import AdminUserSecurityAssignmentsDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantAssignmentsDTO(BaseModel): - """ - AdminTenantAssignmentsDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - status: Optional[StrictStr] = Field(default=None, description="The state of the user group assignment. Valid values are Succeed or Failed.") - message: Optional[StrictStr] = Field(default=None, description="A detailed description of the request outcome, if available.") - assignments: Optional[List[AdminUserSecurityAssignmentsDTO]] = Field(default=None, description="A list of objects representing the user group and user assignments.") - project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project that the change was made in, if applicable.", alias="projectId") - __properties: ClassVar[List[str]] = ["tenantCode", "status", "message", "assignments", "projectId"] - - @field_validator('status') - def status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unknown', 'Succeed', 'Failed']): - raise ValueError("must be one of enum values ('Unknown', 'Succeed', 'Failed')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantAssignmentsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in assignments (list) - _items = [] - if self.assignments: - for _item_assignments in self.assignments: - if _item_assignments: - _items.append(_item_assignments.to_dict()) - _dict['assignments'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantAssignmentsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "status": obj.get("status"), - "message": obj.get("message"), - "assignments": [AdminUserSecurityAssignmentsDTO.from_dict(_item) for _item in obj["assignments"]] if obj.get("assignments") is not None else None, - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_code_body.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_code_body.py deleted file mode 100644 index 2124af943f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_code_body.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantCodeBody(BaseModel): - """ - AdminTenantCodeBody - """ # noqa: E501 - tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="A list of a CA tenant's source tenants codes. The maximum length is 1000.", alias="tenantCodes") - __properties: ClassVar[List[str]] = ["tenantCodes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantCodeBody from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantCodeBody from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCodes": obj.get("tenantCodes") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_connector_settings_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_connector_settings_request_dto.py deleted file mode 100644 index 4ab8939a8a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_connector_settings_request_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_connector_setting_request_dto import AdminConnectorSettingRequestDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantConnectorSettingsRequestDTO(BaseModel): - """ - AdminTenantConnectorSettingsRequestDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - connector_settings: Optional[List[AdminConnectorSettingRequestDTO]] = Field(default=None, description="The settings to update.", alias="connectorSettings") - __properties: ClassVar[List[str]] = ["tenantCode", "connectorSettings"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantConnectorSettingsRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in connector_settings (list) - _items = [] - if self.connector_settings: - for _item_connector_settings in self.connector_settings: - if _item_connector_settings: - _items.append(_item_connector_settings.to_dict()) - _dict['connectorSettings'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantConnectorSettingsRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "connectorSettings": [AdminConnectorSettingRequestDTO.from_dict(_item) for _item in obj["connectorSettings"]] if obj.get("connectorSettings") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_detail_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_detail_apidto.py deleted file mode 100644 index e3862397f1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_detail_apidto.py +++ /dev/null @@ -1,130 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_custom_tenant_property_dto import AdminCustomTenantPropertyDTO -from visier_platform_sdk.models.designer_tenant_module_dto import DesignerTenantModuleDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantDetailAPIDTO(BaseModel): - """ - AdminTenantDetailAPIDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant. For example, \"WFF_j1r~i1o\".", alias="tenantCode") - tenant_display_name: Optional[StrictStr] = Field(default=None, description="An identifiable tenant name that is displayed within Visier. For example, \"Callisto\".", alias="tenantDisplayName") - status: Optional[StrictStr] = Field(default=None, description="Whether the tenant is enabled or disabled.") - provision_date: Optional[StrictStr] = Field(default=None, description="The date that the tenant was created.", alias="provisionDate") - current_data_version: Optional[StrictStr] = Field(default=None, description="The data version ID that the tenant is using.", alias="currentDataVersion") - data_version_date: Optional[StrictStr] = Field(default=None, description="The date that the data version was published to production.", alias="dataVersionDate") - modules: Optional[List[DesignerTenantModuleDTO]] = Field(default=None, description="The modules assigned to the analytic tenant.") - industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs.", alias="industryCode") - can_administer_other_tenants: Optional[StrictBool] = Field(default=None, description="If true, the tenant is an administrating tenant.", alias="canAdministerOtherTenants") - embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded.", alias="embeddableDomains") - custom_properties: Optional[List[AdminCustomTenantPropertyDTO]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") - sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") - vanity_url_name: Optional[StrictStr] = Field(default=None, description="The name of the administrating tenant used in Visier URLs.", alias="vanityUrlName") - allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, which can be used as values for the idp_url parameter", alias="allowedOAuthIdpUrlDomains") - __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "status", "provisionDate", "currentDataVersion", "dataVersionDate", "modules", "industryCode", "canAdministerOtherTenants", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "vanityUrlName", "allowedOAuthIdpUrlDomains"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantDetailAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in modules (list) - _items = [] - if self.modules: - for _item_modules in self.modules: - if _item_modules: - _items.append(_item_modules.to_dict()) - _dict['modules'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) - _items = [] - if self.custom_properties: - for _item_custom_properties in self.custom_properties: - if _item_custom_properties: - _items.append(_item_custom_properties.to_dict()) - _dict['customProperties'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantDetailAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "tenantDisplayName": obj.get("tenantDisplayName"), - "status": obj.get("status"), - "provisionDate": obj.get("provisionDate"), - "currentDataVersion": obj.get("currentDataVersion"), - "dataVersionDate": obj.get("dataVersionDate"), - "modules": [DesignerTenantModuleDTO.from_dict(_item) for _item in obj["modules"]] if obj.get("modules") is not None else None, - "industryCode": obj.get("industryCode"), - "canAdministerOtherTenants": obj.get("canAdministerOtherTenants"), - "embeddableDomains": obj.get("embeddableDomains"), - "customProperties": [AdminCustomTenantPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, - "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), - "vanityUrlName": obj.get("vanityUrlName"), - "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_details_traits_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_details_traits_dto.py deleted file mode 100644 index d30d48a856..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_details_traits_dto.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantDetailsTraitsDTO(BaseModel): - """ - The tenant's traits, including aggregation rights, tenant type, and data profile type. - """ # noqa: E501 - aggregation_rights: Optional[StrictBool] = Field(default=None, description="If `true`, the tenant is opted in to Visier's data aggregation program, such as Visier Benchmarks. Default is `false`. If `false`, `aggregationRights` isn't returned in the response.", alias="aggregationRights") - tenant_type: Optional[StrictStr] = Field(default=None, description="The tenant's type. Valid values: * `ENTERPRISE`: An analytic tenant managed by Visier that represents an enterprise customer's instance of Visier. * `PARTNER`: An administrating tenant that manages one or more analytic tenants. Partner tenants are managed by non-Visier administrators, such as an embedded partner or system integration partner. * `PARTNER_CUSTOMER`: An analytic tenant managed by a partner that represents the partner's customer's instance of Visier.", alias="tenantType") - data_profile_type: Optional[StrictStr] = Field(default=None, description="The tenant's data profile, which designates how the tenant's data is used. Valid values: * `Regular`: An analytic tenant managed by Visier that represents an enterprise customer's instance of Visier. * `Integration`: A partner tenant for development, staging, and testing. * `Demo`: A Visier tenant for demonstrations and training. * `Cat`: A consolidated analytics tenant for aggregating data from multiple analytic tenants in a single tenant. * `Test`: A Visier tenant for development and testing.", alias="dataProfileType") - __properties: ClassVar[List[str]] = ["aggregationRights", "tenantType", "dataProfileType"] - - @field_validator('tenant_type') - def tenant_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['ROOT_ADMIN', 'ROOT', 'BLUEPRINT', 'ENTERPRISE', 'ENTERPRISE_ROOT', 'BENCHMARK', 'PARTNER', 'PARTNER_CUSTOMER', 'SMB_BP', 'SMB_CUSTOMER', 'UNKNOWN']): - raise ValueError("must be one of enum values ('ROOT_ADMIN', 'ROOT', 'BLUEPRINT', 'ENTERPRISE', 'ENTERPRISE_ROOT', 'BENCHMARK', 'PARTNER', 'PARTNER_CUSTOMER', 'SMB_BP', 'SMB_CUSTOMER', 'UNKNOWN')") - return value - - @field_validator('data_profile_type') - def data_profile_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Regular', 'Integration', 'Demo', 'Cat', 'Test']): - raise ValueError("must be one of enum values ('Regular', 'Integration', 'Demo', 'Cat', 'Test')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantDetailsTraitsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantDetailsTraitsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "aggregationRights": obj.get("aggregationRights"), - "tenantType": obj.get("tenantType"), - "dataProfileType": obj.get("dataProfileType") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_get_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_get_response_dto.py deleted file mode 100644 index a1f8cae31c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_get_response_dto.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_business_location_dto import AdminBusinessLocationDTO -from visier_platform_sdk.models.admin_custom_property_dto import AdminCustomPropertyDTO -from visier_platform_sdk.models.admin_home_analysis_by_user_group_dto import AdminHomeAnalysisByUserGroupDTO -from visier_platform_sdk.models.admin_tenant_details_traits_dto import AdminTenantDetailsTraitsDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantManagementAPIGetResponseDTO(BaseModel): - """ - AdminTenantManagementAPIGetResponseDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant. For example, \"WFF_j1r~i1o\"", alias="tenantCode") - tenant_display_name: Optional[StrictStr] = Field(default=None, description="An identifiable tenant name that is displayed within Visier. For example, \"Callisto\".", alias="tenantDisplayName") - status: Optional[StrictStr] = Field(default=None, description="Whether the tenant is enabled or disabled.") - provision_date: Optional[StrictStr] = Field(default=None, description="The date that the tenant was created.", alias="provisionDate") - current_data_version: Optional[StrictStr] = Field(default=None, description="The data version ID that the tenant is using.", alias="currentDataVersion") - data_version_date: Optional[StrictStr] = Field(default=None, description="The date that the data version was published to production.", alias="dataVersionDate") - purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="The modules assigned to the analytic tenant.", alias="purchasedModules") - industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs.", alias="industryCode") - primary_business_location: Optional[AdminBusinessLocationDTO] = Field(default=None, description="The primary location of operations or where business is performed. If undefined, it is omitted from the response.", alias="primaryBusinessLocation") - can_administer_other_tenants: Optional[StrictBool] = Field(default=None, description="If true, the tenant is an administrating tenant.", alias="canAdministerOtherTenants") - embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded.", alias="embeddableDomains") - custom_properties: Optional[List[AdminCustomPropertyDTO]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") - sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") - vanity_url_name: Optional[StrictStr] = Field(default=None, description="The name of the administrating tenant used in Visier URLs.", alias="vanityUrlName") - home_analysis_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analysis that's displayed for this tenant when a user logs in.", alias="homeAnalysisId") - home_analysis_by_user_group: Optional[List[AdminHomeAnalysisByUserGroupDTO]] = Field(default=None, description="A list of objects representing the analysis displayed to specific user groups when users log in.", alias="homeAnalysisByUserGroup") - click_through_link: Optional[StrictStr] = Field(default=None, description="The custom URL to redirect users into your portal to see the relevant content. This URL is used for links that are shared by and with your users through the sharing capability or email content.", alias="clickThroughLink") - click_through_link_enabled: Optional[StrictStr] = Field(default=None, description="Whether the click-through link is enabled or disabled.", alias="clickThroughLinkEnabled") - default_currency: Optional[StrictStr] = Field(default=None, description="The default currency to show in the application for the tenant.", alias="defaultCurrency") - allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, that are allowed in the idp_url OAuth parameter.", alias="allowedOAuthIdpUrlDomains") - effective_industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs. This is calculated from industry codes in the tenant's data if the tenant has business unit data. Not returned if the effective industry code cannot be calculated.", alias="effectiveIndustryCode") - company_size: Optional[StrictInt] = Field(default=None, description="The latest headcount value for the analytic tenant. Not returned if no headcount data is available.", alias="companySize") - traits: Optional[AdminTenantDetailsTraitsDTO] = Field(default=None, description="The tenant's traits, including aggregation rights, tenant type, and data profile type.") - __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "status", "provisionDate", "currentDataVersion", "dataVersionDate", "purchasedModules", "industryCode", "primaryBusinessLocation", "canAdministerOtherTenants", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "vanityUrlName", "homeAnalysisId", "homeAnalysisByUserGroup", "clickThroughLink", "clickThroughLinkEnabled", "defaultCurrency", "allowedOAuthIdpUrlDomains", "effectiveIndustryCode", "companySize", "traits"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantManagementAPIGetResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of primary_business_location - if self.primary_business_location: - _dict['primaryBusinessLocation'] = self.primary_business_location.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) - _items = [] - if self.custom_properties: - for _item_custom_properties in self.custom_properties: - if _item_custom_properties: - _items.append(_item_custom_properties.to_dict()) - _dict['customProperties'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in home_analysis_by_user_group (list) - _items = [] - if self.home_analysis_by_user_group: - for _item_home_analysis_by_user_group in self.home_analysis_by_user_group: - if _item_home_analysis_by_user_group: - _items.append(_item_home_analysis_by_user_group.to_dict()) - _dict['homeAnalysisByUserGroup'] = _items - # override the default output from pydantic by calling `to_dict()` of traits - if self.traits: - _dict['traits'] = self.traits.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantManagementAPIGetResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "tenantDisplayName": obj.get("tenantDisplayName"), - "status": obj.get("status"), - "provisionDate": obj.get("provisionDate"), - "currentDataVersion": obj.get("currentDataVersion"), - "dataVersionDate": obj.get("dataVersionDate"), - "purchasedModules": obj.get("purchasedModules"), - "industryCode": obj.get("industryCode"), - "primaryBusinessLocation": AdminBusinessLocationDTO.from_dict(obj["primaryBusinessLocation"]) if obj.get("primaryBusinessLocation") is not None else None, - "canAdministerOtherTenants": obj.get("canAdministerOtherTenants"), - "embeddableDomains": obj.get("embeddableDomains"), - "customProperties": [AdminCustomPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, - "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), - "vanityUrlName": obj.get("vanityUrlName"), - "homeAnalysisId": obj.get("homeAnalysisId"), - "homeAnalysisByUserGroup": [AdminHomeAnalysisByUserGroupDTO.from_dict(_item) for _item in obj["homeAnalysisByUserGroup"]] if obj.get("homeAnalysisByUserGroup") is not None else None, - "clickThroughLink": obj.get("clickThroughLink"), - "clickThroughLinkEnabled": obj.get("clickThroughLinkEnabled"), - "defaultCurrency": obj.get("defaultCurrency"), - "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains"), - "effectiveIndustryCode": obj.get("effectiveIndustryCode"), - "companySize": obj.get("companySize"), - "traits": AdminTenantDetailsTraitsDTO.from_dict(obj["traits"]) if obj.get("traits") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_list_response_dto.py deleted file mode 100644 index 5cbc00b00b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_list_response_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_tenant_management_api_get_response_dto import AdminTenantManagementAPIGetResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantManagementAPIListResponseDTO(BaseModel): - """ - AdminTenantManagementAPIListResponseDTO - """ # noqa: E501 - tenants: Optional[List[AdminTenantManagementAPIGetResponseDTO]] = Field(default=None, description="A list of objects representing all the analytic tenants.") - limit: Optional[StrictInt] = Field(default=None, description="The limit of analytic tenants to return. The maximum value is 1000. The default is 150.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantManagementAPIListResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantManagementAPIListResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminTenantManagementAPIGetResponseDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_update_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_update_request_dto.py deleted file mode 100644 index 00f467b6d0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_update_request_dto.py +++ /dev/null @@ -1,156 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_business_location_dto import AdminBusinessLocationDTO -from visier_platform_sdk.models.admin_custom_property_dto import AdminCustomPropertyDTO -from visier_platform_sdk.models.admin_home_analysis_by_user_group_dto import AdminHomeAnalysisByUserGroupDTO -from visier_platform_sdk.models.admin_tenant_details_traits_dto import AdminTenantDetailsTraitsDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantManagementAPIUpdateRequestDTO(BaseModel): - """ - AdminTenantManagementAPIUpdateRequestDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="A unique identifier for the newly created analytic tenant. Required if creating new tenants.", alias="tenantCode") - tenant_display_name: Optional[StrictStr] = Field(default=None, description="A new display name to assign to the analytic tenant. Required if creating new tenants.", alias="tenantDisplayName") - tenant_short_name: Optional[StrictStr] = Field(default=None, description="A new short name to assign to the tenant. Required for analytic tenants.", alias="tenantShortName") - vanity_url_name: Optional[StrictStr] = Field(default=None, description="A new vanity name to assign to the tenant. Omit for new Embedded analytic tenants.", alias="vanityUrlName") - industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs. If the code is unknown, type 0. For 2-digit codes, add trailing zeros at the end to reach 6 digits, such as 620000. Required if creating new tenants.", alias="industryCode") - primary_business_location: Optional[AdminBusinessLocationDTO] = Field(default=None, description="The primary location of operations or where business is performed. This field is optional.", alias="primaryBusinessLocation") - purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant. Required if creating new tenants. To get the module name: 1. In Visier, open a project and navigate to **Model > Modules**. 2. Select a module. 3. In **Basic Information**, copy the **Object name**. This is the module name.", alias="purchasedModules") - embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant. This is optional.", alias="embeddableDomains") - custom_properties: Optional[List[AdminCustomPropertyDTO]] = Field(default=None, description="A list of objects that represent different customizable properties for the analytic tenant. This is optional.", alias="customProperties") - sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant. This is optional.", alias="ssoInstanceIssuers") - home_analysis_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analysis to display for this tenant when a user logs in. This is optional. Causes the API request to take longer because it must publish a project to production. Retrieve the ID by opening an analysis in the production version of a tenant and copying the string after the last forward slash (/) in the URL. For example: `https://jupiter.visier.com/hr/prod/appcontainer?previewId=-eZPm8xvo3SUMpD4Q5pdE-6mCj9CQ9K699XgqRGwtOxagH5x2IzDFawlWn3hYqFEfU7nP0YK9ASEzmrNfAihGg..&previewType=Production#/analytics/myanalyses/8a4c1d4f-eb61-4da0-9e5b-55bef757c30e`. The `homeAnalysisID` is `8a4c1d4f-eb61-4da0-9e5b-55bef757c30e`. Alternatively, retrieve the ID by copying the `Analysis ID` or `contentId` found by following the `Embed a Visualization` documentation.", alias="homeAnalysisId") - home_analysis_by_user_group: Optional[List[AdminHomeAnalysisByUserGroupDTO]] = Field(default=None, description="A list of objects representing the analysis to display to specific user groups when users log in. This is optional. Causes the API request to take longer because it must publish a project to production.", alias="homeAnalysisByUserGroup") - update_action: Optional[StrictStr] = Field(default=None, description="Specifies the way you want to update values. Default is MERGE. Valid values: - `MERGE`: Combine the existing values with the new values. - `REPLACE`: Remove existing values and let the new values take their place.", alias="updateAction") - enabled: Optional[StrictBool] = Field(default=None, description="If true, the tenant is enabled. Enabled tenants have access to Visier visualizations.") - click_through_link: Optional[StrictStr] = Field(default=None, description="A custom URL to redirect users into your portal to see the relevant content. This URL is used for links that are shared by and with your users through the sharing capability or email content. This is optional. Causes the API request to take longer because it must publish a project to production.", alias="clickThroughLink") - default_currency: Optional[StrictStr] = Field(default=None, description="The default currency to show in the application for the tenant.", alias="defaultCurrency") - allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, that are allowed in the idp_url OAuth parameter. This is optional.", alias="allowedOAuthIdpUrlDomains") - traits: Optional[AdminTenantDetailsTraitsDTO] = Field(default=None, description="The tenant's traits, including aggregation rights, tenant type, and data profile type.") - __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "tenantShortName", "vanityUrlName", "industryCode", "primaryBusinessLocation", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "homeAnalysisId", "homeAnalysisByUserGroup", "updateAction", "enabled", "clickThroughLink", "defaultCurrency", "allowedOAuthIdpUrlDomains", "traits"] - - @field_validator('update_action') - def update_action_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['MERGE', 'REPLACE']): - raise ValueError("must be one of enum values ('MERGE', 'REPLACE')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantManagementAPIUpdateRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of primary_business_location - if self.primary_business_location: - _dict['primaryBusinessLocation'] = self.primary_business_location.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) - _items = [] - if self.custom_properties: - for _item_custom_properties in self.custom_properties: - if _item_custom_properties: - _items.append(_item_custom_properties.to_dict()) - _dict['customProperties'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in home_analysis_by_user_group (list) - _items = [] - if self.home_analysis_by_user_group: - for _item_home_analysis_by_user_group in self.home_analysis_by_user_group: - if _item_home_analysis_by_user_group: - _items.append(_item_home_analysis_by_user_group.to_dict()) - _dict['homeAnalysisByUserGroup'] = _items - # override the default output from pydantic by calling `to_dict()` of traits - if self.traits: - _dict['traits'] = self.traits.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantManagementAPIUpdateRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "tenantDisplayName": obj.get("tenantDisplayName"), - "tenantShortName": obj.get("tenantShortName"), - "vanityUrlName": obj.get("vanityUrlName"), - "industryCode": obj.get("industryCode"), - "primaryBusinessLocation": AdminBusinessLocationDTO.from_dict(obj["primaryBusinessLocation"]) if obj.get("primaryBusinessLocation") is not None else None, - "purchasedModules": obj.get("purchasedModules"), - "embeddableDomains": obj.get("embeddableDomains"), - "customProperties": [AdminCustomPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, - "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), - "homeAnalysisId": obj.get("homeAnalysisId"), - "homeAnalysisByUserGroup": [AdminHomeAnalysisByUserGroupDTO.from_dict(_item) for _item in obj["homeAnalysisByUserGroup"]] if obj.get("homeAnalysisByUserGroup") is not None else None, - "updateAction": obj.get("updateAction"), - "enabled": obj.get("enabled"), - "clickThroughLink": obj.get("clickThroughLink"), - "defaultCurrency": obj.get("defaultCurrency"), - "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains"), - "traits": AdminTenantDetailsTraitsDTO.from_dict(obj["traits"]) if obj.get("traits") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_update_response_dto.py deleted file mode 100644 index c3023ca3ef..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_management_api_update_response_dto.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_business_location_dto import AdminBusinessLocationDTO -from visier_platform_sdk.models.admin_custom_property_dto import AdminCustomPropertyDTO -from visier_platform_sdk.models.admin_home_analysis_by_user_group_dto import AdminHomeAnalysisByUserGroupDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantManagementAPIUpdateResponseDTO(BaseModel): - """ - AdminTenantManagementAPIUpdateResponseDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier of the newly created analytic tenant.", alias="tenantCode") - tenant_display_name: Optional[StrictStr] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant.", alias="tenantDisplayName") - industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs.", alias="industryCode") - primary_business_location: Optional[AdminBusinessLocationDTO] = Field(default=None, description="The primary location of operations or where business is performed. If undefined, it is omitted from the response.", alias="primaryBusinessLocation") - purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant.", alias="purchasedModules") - embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant.", alias="embeddableDomains") - custom_properties: Optional[List[AdminCustomPropertyDTO]] = Field(default=None, description="A list of objects that represent different customizable properties for the analytic tenant.", alias="customProperties") - sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") - home_analysis_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analysis to display for this tenant when a user logs in. This is optional. Retrieve the ID by opening an analysis in the production version of a tenant and copying the string after the last forward slash (/) in the URL. For example: https://jupiter.visier.com/hr/prod/appcontainer?previewId=-eZPm8xvo3SUMpD4Q5pdE-6mCj9CQ9K699XgqRGwtOxagH5x2IzDFawlWn3hYqFEfU7nP0YK9ASEzmrNfAihGg..&previewType=Production#/analytics/myanalyses/`8a4c1d4f-eb61-4da0-9e5b-55bef757c30e`. The `homeAnalysisID` is `8a4c1d4f-eb61-4da0-9e5b-55bef757c30e`. Alternatively, retrieve the ID by copying the `Analysis ID` or `contentId` found by following the `Embed a Visualization` documentation.", alias="homeAnalysisId") - home_analysis_by_user_group: Optional[List[AdminHomeAnalysisByUserGroupDTO]] = Field(default=None, description="A list of objects representing the analysis to display to specific user groups when users log in.", alias="homeAnalysisByUserGroup") - status: Optional[StrictStr] = Field(default=None, description="Whether the tenant is enabled or disabled. Enabled tenants have access to Visier visualizations.") - click_through_link: Optional[StrictStr] = Field(default=None, description="A custom URL to redirect users into your portal to see the relevant content. This URL is used for links that are shared by and with your users through the sharing capability or email content.", alias="clickThroughLink") - vanity_url_name: Optional[StrictStr] = Field(default=None, description="The name of the administrating tenant used in Visier URLs.", alias="vanityUrlName") - default_currency: Optional[StrictStr] = Field(default=None, description="The default currency to show in the application for the tenant.", alias="defaultCurrency") - allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, that are allowed in the idp_url OAuth parameter. This is optional.", alias="allowedOAuthIdpUrlDomains") - __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "industryCode", "primaryBusinessLocation", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "homeAnalysisId", "homeAnalysisByUserGroup", "status", "clickThroughLink", "vanityUrlName", "defaultCurrency", "allowedOAuthIdpUrlDomains"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantManagementAPIUpdateResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of primary_business_location - if self.primary_business_location: - _dict['primaryBusinessLocation'] = self.primary_business_location.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) - _items = [] - if self.custom_properties: - for _item_custom_properties in self.custom_properties: - if _item_custom_properties: - _items.append(_item_custom_properties.to_dict()) - _dict['customProperties'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in home_analysis_by_user_group (list) - _items = [] - if self.home_analysis_by_user_group: - for _item_home_analysis_by_user_group in self.home_analysis_by_user_group: - if _item_home_analysis_by_user_group: - _items.append(_item_home_analysis_by_user_group.to_dict()) - _dict['homeAnalysisByUserGroup'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantManagementAPIUpdateResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "tenantDisplayName": obj.get("tenantDisplayName"), - "industryCode": obj.get("industryCode"), - "primaryBusinessLocation": AdminBusinessLocationDTO.from_dict(obj["primaryBusinessLocation"]) if obj.get("primaryBusinessLocation") is not None else None, - "purchasedModules": obj.get("purchasedModules"), - "embeddableDomains": obj.get("embeddableDomains"), - "customProperties": [AdminCustomPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, - "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), - "homeAnalysisId": obj.get("homeAnalysisId"), - "homeAnalysisByUserGroup": [AdminHomeAnalysisByUserGroupDTO.from_dict(_item) for _item in obj["homeAnalysisByUserGroup"]] if obj.get("homeAnalysisByUserGroup") is not None else None, - "status": obj.get("status"), - "clickThroughLink": obj.get("clickThroughLink"), - "vanityUrlName": obj.get("vanityUrlName"), - "defaultCurrency": obj.get("defaultCurrency"), - "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_provision_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_provision_apidto.py deleted file mode 100644 index a545eff249..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_provision_apidto.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_custom_tenant_property_dto import AdminCustomTenantPropertyDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantProvisionAPIDTO(BaseModel): - """ - AdminTenantProvisionAPIDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier of the analytic tenant.", alias="tenantCode") - tenant_display_name: Optional[StrictStr] = Field(default=None, description="The display name that is assigned to the analytic tenant.", alias="tenantDisplayName") - purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the Visier modules assigned to the analytic tenant.", alias="purchasedModules") - industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs. If the code is unknown, type 0. For 2-digit codes, add trailing zeros at the end to reach 6 digits, such as 620000.", alias="industryCode") - embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant.", alias="embeddableDomains") - custom_properties: Optional[List[AdminCustomTenantPropertyDTO]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") - sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") - allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, which can be used as values for the idp_url OAuth parameter.", alias="allowedOAuthIdpUrlDomains") - __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "purchasedModules", "industryCode", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "allowedOAuthIdpUrlDomains"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantProvisionAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) - _items = [] - if self.custom_properties: - for _item_custom_properties in self.custom_properties: - if _item_custom_properties: - _items.append(_item_custom_properties.to_dict()) - _dict['customProperties'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantProvisionAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "tenantDisplayName": obj.get("tenantDisplayName"), - "purchasedModules": obj.get("purchasedModules"), - "industryCode": obj.get("industryCode"), - "embeddableDomains": obj.get("embeddableDomains"), - "customProperties": [AdminCustomTenantPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, - "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), - "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_status_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_status_apidto.py deleted file mode 100644 index 1519a6d574..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_tenant_status_apidto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminTenantStatusAPIDTO(BaseModel): - """ - AdminTenantStatusAPIDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier for the analytic tenant.", alias="tenantCode") - status: Optional[StrictStr] = Field(default=None, description="Whether the tenant is enabled or disabled.") - tenant_display_name: Optional[StrictStr] = Field(default=None, description="The identifiable tenant name that is displayed within Visier. For example, \"Callisto\".", alias="tenantDisplayName") - can_administer_other_tenants: Optional[StrictBool] = Field(default=None, description="If true, the tenant is an administrating tenant.", alias="canAdministerOtherTenants") - __properties: ClassVar[List[str]] = ["tenantCode", "status", "tenantDisplayName", "canAdministerOtherTenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminTenantStatusAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminTenantStatusAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "status": obj.get("status"), - "tenantDisplayName": obj.get("tenantDisplayName"), - "canAdministerOtherTenants": obj.get("canAdministerOtherTenants") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_update_tenant_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_update_tenant_model.py deleted file mode 100644 index 1626c8e6af..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_update_tenant_model.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminUpdateTenantModel(BaseModel): - """ - AdminUpdateTenantModel - """ # noqa: E501 - tenant_display_name: Optional[StrictStr] = Field(default=None, description="A display name that is assigned to the new analytic tenant.", alias="tenantDisplayName") - industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs. If the code is unknown, type 0. For 2-digit codes, add trailing zeros at the end to reach 6 digits, such as 620000.", alias="industryCode") - purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant.", alias="purchasedModules") - embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant.", alias="embeddableDomains") - custom_properties: Optional[Dict[str, StrictStr]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") - sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") - __properties: ClassVar[List[str]] = ["tenantDisplayName", "industryCode", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUpdateTenantModel from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUpdateTenantModel from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantDisplayName": obj.get("tenantDisplayName"), - "industryCode": obj.get("industryCode"), - "purchasedModules": obj.get("purchasedModules"), - "embeddableDomains": obj.get("embeddableDomains"), - "customProperties": obj.get("customProperties"), - "ssoInstanceIssuers": obj.get("ssoInstanceIssuers") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_definition_dto.py deleted file mode 100644 index e636d44f0a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_definition_dto.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_element_ids_dto import AdminElementIDsDTO -from visier_platform_sdk.models.admin_user_group_change_users_dto import AdminUserGroupChangeUsersDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupChangeDefinitionDTO(BaseModel): - """ - AdminUserGroupChangeDefinitionDTO - """ # noqa: E501 - user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the user group. Omit if creating a new user group.", alias="userGroupId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable user group name to display in Visier, such as \"Leadership User Group\".", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="A detailed description of the population and purpose of the user group.") - permission_ids: Optional[AdminElementIDsDTO] = Field(default=None, description="The unique identifiers of permissions assigned to members of this user group.", alias="permissionIds") - users: Optional[AdminUserGroupChangeUsersDTO] = Field(default=None, description="The users assigned to the user group. You can define user group members dynamically with `dynamicFilterDefinition` or manually with `includeAllUsers` or `manuallyIncludedIds`.") - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant to which the user group belongs or should be created in. Omit if creating or updating user groups in the current tenant.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project ID in which to update or create the user group. If omitted and the ProjectID request header is not defined, the change is published to production immediately.", alias="projectId") - __properties: ClassVar[List[str]] = ["userGroupId", "displayName", "description", "permissionIds", "users", "tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of permission_ids - if self.permission_ids: - _dict['permissionIds'] = self.permission_ids.to_dict() - # override the default output from pydantic by calling `to_dict()` of users - if self.users: - _dict['users'] = self.users.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroupId": obj.get("userGroupId"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "permissionIds": AdminElementIDsDTO.from_dict(obj["permissionIds"]) if obj.get("permissionIds") is not None else None, - "users": AdminUserGroupChangeUsersDTO.from_dict(obj["users"]) if obj.get("users") is not None else None, - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_dimension_filter_dto.py deleted file mode 100644 index fa9963f435..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_dimension_filter_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_element_ids_dto import AdminElementIDsDTO -from visier_platform_sdk.models.admin_user_group_change_member_selection_dto import AdminUserGroupChangeMemberSelectionDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupChangeDimensionFilterDTO(BaseModel): - """ - AdminUserGroupChangeDimensionFilterDTO - """ # noqa: E501 - dimension_id: Optional[StrictStr] = Field(default=None, description="The object name of the dimension.", alias="dimensionId") - subject_reference_path: Optional[AdminElementIDsDTO] = Field(default=None, description="A qualifying path if the dimension is from an analytic object that references Employee. For example, use `subjectReferencePath` to create a filter on the `Employment_Start_Type` dimension from the `Employment_Start` object, which references `Employee`: `{ \"ids\": [ \"Employee\", \"Employment_Start\" ] }`.", alias="subjectReferencePath") - member_selections: Optional[List[AdminUserGroupChangeMemberSelectionDTO]] = Field(default=None, description="The dimension members to select in the dynamic filter.", alias="memberSelections") - __properties: ClassVar[List[str]] = ["dimensionId", "subjectReferencePath", "memberSelections"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeDimensionFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of subject_reference_path - if self.subject_reference_path: - _dict['subjectReferencePath'] = self.subject_reference_path.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in member_selections (list) - _items = [] - if self.member_selections: - for _item_member_selections in self.member_selections: - if _item_member_selections: - _items.append(_item_member_selections.to_dict()) - _dict['memberSelections'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeDimensionFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionId": obj.get("dimensionId"), - "subjectReferencePath": AdminElementIDsDTO.from_dict(obj["subjectReferencePath"]) if obj.get("subjectReferencePath") is not None else None, - "memberSelections": [AdminUserGroupChangeMemberSelectionDTO.from_dict(_item) for _item in obj["memberSelections"]] if obj.get("memberSelections") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_failure_dto.py deleted file mode 100644 index 312570873d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_failure_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupChangeFailureDTO(BaseModel): - """ - AdminUserGroupChangeFailureDTO - """ # noqa: E501 - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the user group that couldn't be created.", alias="displayName") - message: Optional[StrictStr] = Field(default=None, description="The error message containing the cause of the failure.") - rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant for which the user group could not be created or updated.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project in which the user group could not be created or updated.", alias="projectId") - __properties: ClassVar[List[str]] = ["displayName", "message", "rci", "tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeFailureDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeFailureDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "displayName": obj.get("displayName"), - "message": obj.get("message"), - "rci": obj.get("rci"), - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_filter_dto.py deleted file mode 100644 index 9d8d2823fa..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_filter_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_change_dimension_filter_dto import AdminUserGroupChangeDimensionFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupChangeFilterDTO(BaseModel): - """ - AdminUserGroupChangeFilterDTO - """ # noqa: E501 - filter_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the filter. Omit if creating a new filter.", alias="filterId") - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The analytic object the filter applies to. Currently, the only supported analytic object is `Employee`. Default is `Employee`.", alias="analyticObjectId") - dimension_filters: Optional[List[AdminUserGroupChangeDimensionFilterDTO]] = Field(default=None, description="The dimensions in the dynamic filter.", alias="dimensionFilters") - __properties: ClassVar[List[str]] = ["filterId", "analyticObjectId", "dimensionFilters"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dimension_filters (list) - _items = [] - if self.dimension_filters: - for _item_dimension_filters in self.dimension_filters: - if _item_dimension_filters: - _items.append(_item_dimension_filters.to_dict()) - _dict['dimensionFilters'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "filterId": obj.get("filterId"), - "analyticObjectId": obj.get("analyticObjectId"), - "dimensionFilters": [AdminUserGroupChangeDimensionFilterDTO.from_dict(_item) for _item in obj["dimensionFilters"]] if obj.get("dimensionFilters") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_member_selection_dto.py deleted file mode 100644 index 14706681ef..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_member_selection_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupChangeMemberSelectionDTO(BaseModel): - """ - AdminUserGroupChangeMemberSelectionDTO - """ # noqa: E501 - is_excluded: Optional[StrictBool] = Field(default=None, description="If `true`, the specified member must not be defined for members of the user group.", alias="isExcluded") - name_path: Optional[List[StrictStr]] = Field(default=None, description="The name path for dimension members; for example, `[ \"North America\", \"US\", \"CA\" ]`.", alias="namePath") - __properties: ClassVar[List[str]] = ["isExcluded", "namePath"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeMemberSelectionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeMemberSelectionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "isExcluded": obj.get("isExcluded"), - "namePath": obj.get("namePath") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_response_dto.py deleted file mode 100644 index 0de894caa1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_change_failure_dto import AdminUserGroupChangeFailureDTO -from visier_platform_sdk.models.admin_user_group_change_success_dto import AdminUserGroupChangeSuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupChangeResponseDTO(BaseModel): - """ - AdminUserGroupChangeResponseDTO - """ # noqa: E501 - successes: Optional[List[AdminUserGroupChangeSuccessDTO]] = Field(default=None, description="The user groups that were created.") - failures: Optional[List[AdminUserGroupChangeFailureDTO]] = Field(default=None, description="The user groups that were not created.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [AdminUserGroupChangeSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [AdminUserGroupChangeFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_success_dto.py deleted file mode 100644 index 2667ca167f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_success_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupChangeSuccessDTO(BaseModel): - """ - AdminUserGroupChangeSuccessDTO - """ # noqa: E501 - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the created user group.", alias="displayName") - user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the user group.", alias="userGroupId") - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant the user group was created or updated in.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project the user group was created or updated in.", alias="projectId") - __properties: ClassVar[List[str]] = ["displayName", "userGroupId", "tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeSuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeSuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "displayName": obj.get("displayName"), - "userGroupId": obj.get("userGroupId"), - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_users_dto.py deleted file mode 100644 index 5748936ebc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_change_users_dto.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_element_ids_dto import AdminElementIDsDTO -from visier_platform_sdk.models.admin_user_group_filters_dto import AdminUserGroupFiltersDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupChangeUsersDTO(BaseModel): - """ - AdminUserGroupChangeUsersDTO - """ # noqa: E501 - include_all_users: Optional[StrictBool] = Field(default=None, description="If `true`, all users are included in the user group. If `true`: * You can manually exclude users with `manuallyExcludedIds`. * Cannot be combined with `manuallyIncludedIds` or `dynamicFilterDefinition`.", alias="includeAllUsers") - manually_included_ids: Optional[AdminElementIDsDTO] = Field(default=None, description="Includes specified user IDs in the user group. * May be combined with `dynamicFilterDefinition`. * Omit if `includeAllUsers` is `true`.", alias="manuallyIncludedIds") - manually_excluded_ids: Optional[AdminElementIDsDTO] = Field(default=None, description="Excludes specified user IDs from the user group. * You can manually exclude users if `includeAllUsers` is `true` or if `dynamicFilterDefinition` is defined. * Excluded IDs must not overlap with user IDs in `manuallyIncludedIds`.", alias="manuallyExcludedIds") - dynamic_filter_definition: Optional[AdminUserGroupFiltersDTO] = Field(default=None, description="The filters that dynamically define a population through dimensions or dimensions accessible through references from the analytic object. * Omit if `includeAllUsers` is `true`. * You can combine dynamic filters with manually-assigned users.", alias="dynamicFilterDefinition") - __properties: ClassVar[List[str]] = ["includeAllUsers", "manuallyIncludedIds", "manuallyExcludedIds", "dynamicFilterDefinition"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeUsersDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of manually_included_ids - if self.manually_included_ids: - _dict['manuallyIncludedIds'] = self.manually_included_ids.to_dict() - # override the default output from pydantic by calling `to_dict()` of manually_excluded_ids - if self.manually_excluded_ids: - _dict['manuallyExcludedIds'] = self.manually_excluded_ids.to_dict() - # override the default output from pydantic by calling `to_dict()` of dynamic_filter_definition - if self.dynamic_filter_definition: - _dict['dynamicFilterDefinition'] = self.dynamic_filter_definition.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupChangeUsersDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "includeAllUsers": obj.get("includeAllUsers"), - "manuallyIncludedIds": AdminElementIDsDTO.from_dict(obj["manuallyIncludedIds"]) if obj.get("manuallyIncludedIds") is not None else None, - "manuallyExcludedIds": AdminElementIDsDTO.from_dict(obj["manuallyExcludedIds"]) if obj.get("manuallyExcludedIds") is not None else None, - "dynamicFilterDefinition": AdminUserGroupFiltersDTO.from_dict(obj["dynamicFilterDefinition"]) if obj.get("dynamicFilterDefinition") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_dto.py deleted file mode 100644 index c129624f49..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupDeleteDTO(BaseModel): - """ - AdminUserGroupDeleteDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant from which to delete the user group. Omit if deleting user groups in the current tenant.", alias="tenantCode") - user_group_id: Optional[StrictStr] = Field(default=None, description="Unique identifier for the user group.", alias="userGroupId") - project_id: Optional[StrictStr] = Field(default=None, description="The project ID in which to delete the user group. If omitted and the `ProjectID` request header is not defined, the change is published to production immediately.", alias="projectId") - __properties: ClassVar[List[str]] = ["tenantCode", "userGroupId", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupDeleteDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupDeleteDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "userGroupId": obj.get("userGroupId"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_failure_dto.py deleted file mode 100644 index 13212df3e0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_failure_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupDeleteFailureDTO(BaseModel): - """ - AdminUserGroupDeleteFailureDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant from which the user group could not be deleted.", alias="tenantCode") - user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the user group that could not be deleted.", alias="userGroupId") - message: Optional[StrictStr] = Field(default=None, description="The error message containing the cause of the failure.") - rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") - project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project in which the user group could not be deleted.", alias="projectId") - __properties: ClassVar[List[str]] = ["tenantCode", "userGroupId", "message", "rci", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupDeleteFailureDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupDeleteFailureDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "userGroupId": obj.get("userGroupId"), - "message": obj.get("message"), - "rci": obj.get("rci"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_response_dto.py deleted file mode 100644 index ed78b6fe57..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_delete_failure_dto import AdminUserGroupDeleteFailureDTO -from visier_platform_sdk.models.admin_user_group_delete_success_dto import AdminUserGroupDeleteSuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupDeleteResponseDTO(BaseModel): - """ - AdminUserGroupDeleteResponseDTO - """ # noqa: E501 - successes: Optional[List[AdminUserGroupDeleteSuccessDTO]] = Field(default=None, description="The user groups that were successfully deleted.") - failures: Optional[List[AdminUserGroupDeleteFailureDTO]] = Field(default=None, description="The user groups that were not deleted successfully.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupDeleteResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupDeleteResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [AdminUserGroupDeleteSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [AdminUserGroupDeleteFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_success_dto.py deleted file mode 100644 index d8f9bea0a8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_delete_success_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupDeleteSuccessDTO(BaseModel): - """ - AdminUserGroupDeleteSuccessDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant the user group was deleted from.", alias="tenantCode") - user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the user group that was deleted.", alias="userGroupId") - project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project in which user group was deleted.", alias="projectId") - __properties: ClassVar[List[str]] = ["tenantCode", "userGroupId", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupDeleteSuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupDeleteSuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "userGroupId": obj.get("userGroupId"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_filters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_filters_dto.py deleted file mode 100644 index f5c6795f2f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_filters_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_change_filter_dto import AdminUserGroupChangeFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupFiltersDTO(BaseModel): - """ - AdminUserGroupFiltersDTO - """ # noqa: E501 - filters: Optional[List[AdminUserGroupChangeFilterDTO]] = Field(default=None, description="The filters that define user group membership.") - __properties: ClassVar[List[str]] = ["filters"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupFiltersDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in filters (list) - _items = [] - if self.filters: - for _item_filters in self.filters: - if _item_filters: - _items.append(_item_filters.to_dict()) - _dict['filters'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupFiltersDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "filters": [AdminUserGroupChangeFilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_get_api_response_dto.py deleted file mode 100644 index 33ed204380..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_get_api_response_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_permission_response_dto import AdminPermissionResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupGetAPIResponseDTO(BaseModel): - """ - AdminUserGroupGetAPIResponseDTO - """ # noqa: E501 - user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user group.", alias="userGroupId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable user group name to display in Visier, such as \"Leadership User Group\".", alias="displayName") - permissions: Optional[List[AdminPermissionResponseDTO]] = Field(default=None, description="A list of objects representing the user's permissions.") - __properties: ClassVar[List[str]] = ["userGroupId", "displayName", "permissions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupGetAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item_permissions in self.permissions: - if _item_permissions: - _items.append(_item_permissions.to_dict()) - _dict['permissions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupGetAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroupId": obj.get("userGroupId"), - "displayName": obj.get("displayName"), - "permissions": [AdminPermissionResponseDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_single_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_single_delete_response_dto.py deleted file mode 100644 index 0254626a56..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_group_single_delete_response_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_delete_failure_dto import AdminUserGroupDeleteFailureDTO -from visier_platform_sdk.models.admin_user_group_delete_success_dto import AdminUserGroupDeleteSuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupSingleDeleteResponseDTO(BaseModel): - """ - AdminUserGroupSingleDeleteResponseDTO - """ # noqa: E501 - success: Optional[AdminUserGroupDeleteSuccessDTO] = Field(default=None, description="The user group was successfully deleted.") - failure: Optional[AdminUserGroupDeleteFailureDTO] = Field(default=None, description="The user group was not successfully deleted.") - __properties: ClassVar[List[str]] = ["success", "failure"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupSingleDeleteResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of success - if self.success: - _dict['success'] = self.success.to_dict() - # override the default output from pydantic by calling `to_dict()` of failure - if self.failure: - _dict['failure'] = self.failure.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupSingleDeleteResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "success": AdminUserGroupDeleteSuccessDTO.from_dict(obj["success"]) if obj.get("success") is not None else None, - "failure": AdminUserGroupDeleteFailureDTO.from_dict(obj["failure"]) if obj.get("failure") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_change_dto.py deleted file mode 100644 index c4d25a9111..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_change_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_change_definition_dto import AdminUserGroupChangeDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupsChangeDTO(BaseModel): - """ - AdminUserGroupsChangeDTO - """ # noqa: E501 - user_groups: Optional[List[AdminUserGroupChangeDefinitionDTO]] = Field(default=None, description="The user groups and their definitions.", alias="userGroups") - __properties: ClassVar[List[str]] = ["userGroups"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupsChangeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) - _items = [] - if self.user_groups: - for _item_user_groups in self.user_groups: - if _item_user_groups: - _items.append(_item_user_groups.to_dict()) - _dict['userGroups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupsChangeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroups": [AdminUserGroupChangeDefinitionDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_delete_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_delete_request_dto.py deleted file mode 100644 index 9edc8b5f86..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_delete_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_delete_dto import AdminUserGroupDeleteDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupsDeleteRequestDTO(BaseModel): - """ - AdminUserGroupsDeleteRequestDTO - """ # noqa: E501 - user_groups: Optional[List[AdminUserGroupDeleteDTO]] = Field(default=None, description="The user groups to delete.", alias="userGroups") - __properties: ClassVar[List[str]] = ["userGroups"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupsDeleteRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) - _items = [] - if self.user_groups: - for _item_user_groups in self.user_groups: - if _item_user_groups: - _items.append(_item_user_groups.to_dict()) - _dict['userGroups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupsDeleteRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroups": [AdminUserGroupDeleteDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_get_api_response_dto.py deleted file mode 100644 index 24ee5cbc5e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_get_api_response_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_group_get_api_response_dto import AdminUserGroupGetAPIResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupsGetAPIResponseDTO(BaseModel): - """ - AdminUserGroupsGetAPIResponseDTO - """ # noqa: E501 - user_groups: Optional[List[AdminUserGroupGetAPIResponseDTO]] = Field(default=None, description="A list of user groups.", alias="userGroups") - limit: Optional[StrictInt] = Field(default=None, description="The number of results to return. The maximum number of users to retrieve is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset.") - __properties: ClassVar[List[str]] = ["userGroups", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupsGetAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) - _items = [] - if self.user_groups: - for _item_user_groups in self.user_groups: - if _item_user_groups: - _items.append(_item_user_groups.to_dict()) - _dict['userGroups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupsGetAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroups": [AdminUserGroupGetAPIResponseDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_users_dto.py deleted file mode 100644 index 229d92f77a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_users_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_user_groups_users_for_tenant_dto import AdminUserGroupsUsersForTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupsUsersDTO(BaseModel): - """ - AdminUserGroupsUsersDTO - """ # noqa: E501 - tenants: Optional[List[AdminUserGroupsUsersForTenantDTO]] = Field(default=None, description="A list of objects representing the users that are explicitly assigned to the user group, organized by the tenants the users belong to.") - limit: Optional[StrictInt] = Field(default=None, description="The limit of results to return. The maximum value is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupsUsersDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupsUsersDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [AdminUserGroupsUsersForTenantDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_users_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_users_for_tenant_dto.py deleted file mode 100644 index a05ee69d04..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_groups_users_for_tenant_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_simple_user_dto import AdminSimpleUserDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserGroupsUsersForTenantDTO(BaseModel): - """ - AdminUserGroupsUsersForTenantDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - users: Optional[List[AdminSimpleUserDTO]] = Field(default=None, description="A list of objects representing the users in the user group.") - __properties: ClassVar[List[str]] = ["tenantCode", "users"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserGroupsUsersForTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item_users in self.users: - if _item_users: - _items.append(_item_users.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserGroupsUsersForTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "users": [AdminSimpleUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_security_assignments_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_security_assignments_dto.py deleted file mode 100644 index 90064a5359..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_user_security_assignments_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_simple_user_dto import AdminSimpleUserDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUserSecurityAssignmentsDTO(BaseModel): - """ - AdminUserSecurityAssignmentsDTO - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user group.") - name: Optional[StrictStr] = Field(default=None, description="The name of the user group.") - users: Optional[List[AdminSimpleUserDTO]] = Field(default=None, description="A list of objects representing the users assigned to or removed from the user group.") - __properties: ClassVar[List[str]] = ["id", "name", "users"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUserSecurityAssignmentsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item_users in self.users: - if _item_users: - _items.append(_item_users.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUserSecurityAssignmentsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "name": obj.get("name"), - "users": [AdminSimpleUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_users_to_user_group_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_users_to_user_group_request_dto.py deleted file mode 100644 index 5fbd6f975b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_users_to_user_group_request_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AdminUsersToUserGroupRequestDTO(BaseModel): - """ - AdminUsersToUserGroupRequestDTO - """ # noqa: E501 - user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user group.", alias="userGroupId") - user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing unique user IDs to assign to or remove from the user group. The maximum number of `userIds` per user group is 100.", alias="userIds") - __properties: ClassVar[List[str]] = ["userGroupId", "userIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUsersToUserGroupRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUsersToUserGroupRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroupId": obj.get("userGroupId"), - "userIds": obj.get("userIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_users_to_user_groups_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_users_to_user_groups_request_dto.py deleted file mode 100644 index ce050e1978..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_users_to_user_groups_request_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_target_project_for_tenants_list_dto import AdminTargetProjectForTenantsListDTO -from visier_platform_sdk.models.admin_users_to_user_group_request_dto import AdminUsersToUserGroupRequestDTO -from typing import Optional, Set -from typing_extensions import Self - -class AdminUsersToUserGroupsRequestDTO(BaseModel): - """ - AdminUsersToUserGroupsRequestDTO - """ # noqa: E501 - user_groups: Optional[List[AdminUsersToUserGroupRequestDTO]] = Field(default=None, description="A list of objects representing the user groups and users to assign or remove.", alias="userGroups") - target_project_for_tenants_list: Optional[AdminTargetProjectForTenantsListDTO] = Field(default=None, description="Administrating tenants can specify the tenants and projects in which to assign users to user groups or remove users from user groups. Specify one `projectId` per `tenantCode`. If omitted, the request is immediately published to production or applied to the ProjectID in the request header, if available, for the administrating tenant or TargetTenantID, if available.", alias="targetProjectForTenantsList") - __properties: ClassVar[List[str]] = ["userGroups", "targetProjectForTenantsList"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AdminUsersToUserGroupsRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) - _items = [] - if self.user_groups: - for _item_user_groups in self.user_groups: - if _item_user_groups: - _items.append(_item_user_groups.to_dict()) - _dict['userGroups'] = _items - # override the default output from pydantic by calling `to_dict()` of target_project_for_tenants_list - if self.target_project_for_tenants_list: - _dict['targetProjectForTenantsList'] = self.target_project_for_tenants_list.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AdminUsersToUserGroupsRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroups": [AdminUsersToUserGroupRequestDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None, - "targetProjectForTenantsList": AdminTargetProjectForTenantsListDTO.from_dict(obj["targetProjectForTenantsList"]) if obj.get("targetProjectForTenantsList") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/adp_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/adp_auth_params_dto.py new file mode 100644 index 0000000000..da9f2fcaff --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/adp_auth_params_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AdpAuthParamsDTO(BaseModel): + """ + AdpAuthParamsDTO + """ # noqa: E501 + auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") + __properties: ClassVar[List[str]] = ["authCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AdpAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AdpAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "authCode": obj.get("authCode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_dto.py new file mode 100644 index 0000000000..46e35e84bb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_dto.py @@ -0,0 +1,128 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.aggregation_query_source_dto import AggregationQuerySourceDTO +from visier_platform_sdk.models.query_axis_dto import QueryAxisDTO +from visier_platform_sdk.models.query_filter_dto import QueryFilterDTO +from visier_platform_sdk.models.query_parameter_value_dto import QueryParameterValueDTO +from visier_platform_sdk.models.query_time_intervals_dto import QueryTimeIntervalsDTO +from typing import Optional, Set +from typing_extensions import Self + +class AggregationQueryDTO(BaseModel): + """ + An AggregationQuery defines the data to query in an aggregation query and returns a `cell set` calculated from the selected data points. + """ # noqa: E501 + source: Optional[AggregationQuerySourceDTO] = Field(default=None, description="The source data, such as a metric or formula, to query.") + filters: Optional[List[QueryFilterDTO]] = Field(default=None, description="The objects by which to filter the query, such as dimensions or concepts. A filter defines the population to retrieve data from. Omit `filters` if no filtering is required.") + axes: Optional[List[QueryAxisDTO]] = Field(default=None, description="The objects by which to group the query. An axis defines the groups that the data belongs to. Omit `axes` if no grouping is required.") + time_intervals: Optional[QueryTimeIntervalsDTO] = Field(default=None, description="The time intervals to query.", alias="timeIntervals") + parameter_values: Optional[List[QueryParameterValueDTO]] = Field(default=None, description="The values associated with parameters, if defined.", alias="parameterValues") + __properties: ClassVar[List[str]] = ["source", "filters", "axes", "timeIntervals", "parameterValues"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AggregationQueryDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of source + if self.source: + _dict['source'] = self.source.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in filters (list) + _items = [] + if self.filters: + for _item_filters in self.filters: + if _item_filters: + _items.append(_item_filters.to_dict()) + _dict['filters'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in axes (list) + _items = [] + if self.axes: + for _item_axes in self.axes: + if _item_axes: + _items.append(_item_axes.to_dict()) + _dict['axes'] = _items + # override the default output from pydantic by calling `to_dict()` of time_intervals + if self.time_intervals: + _dict['timeIntervals'] = self.time_intervals.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in parameter_values (list) + _items = [] + if self.parameter_values: + for _item_parameter_values in self.parameter_values: + if _item_parameter_values: + _items.append(_item_parameter_values.to_dict()) + _dict['parameterValues'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AggregationQueryDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "source": AggregationQuerySourceDTO.from_dict(obj["source"]) if obj.get("source") is not None else None, + "filters": [QueryFilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None, + "axes": [QueryAxisDTO.from_dict(_item) for _item in obj["axes"]] if obj.get("axes") is not None else None, + "timeIntervals": QueryTimeIntervalsDTO.from_dict(obj["timeIntervals"]) if obj.get("timeIntervals") is not None else None, + "parameterValues": [QueryParameterValueDTO.from_dict(_item) for _item in obj["parameterValues"]] if obj.get("parameterValues") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_execution_dto.py new file mode 100644 index 0000000000..961b43ba02 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_execution_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.aggregation_query_dto import AggregationQueryDTO +from visier_platform_sdk.models.query_execution_options_dto import QueryExecutionOptionsDTO +from typing import Optional, Set +from typing_extensions import Self + +class AggregationQueryExecutionDTO(BaseModel): + """ + An AggregationQueryExecution provides instructions to perform your aggregation query. + """ # noqa: E501 + query: Optional[AggregationQueryDTO] = Field(default=None, description="The data to perform an aggregation on, such as a metric or formula. The query must include a time interval, and may optionally include filters and axes.") + options: Optional[QueryExecutionOptionsDTO] = Field(default=None, description="Additional instructions for your query, such as a calendar type or conversion information.") + __properties: ClassVar[List[str]] = ["query", "options"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AggregationQueryExecutionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of query + if self.query: + _dict['query'] = self.query.to_dict() + # override the default output from pydantic by calling `to_dict()` of options + if self.options: + _dict['options'] = self.options.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AggregationQueryExecutionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "query": AggregationQueryDTO.from_dict(obj["query"]) if obj.get("query") is not None else None, + "options": QueryExecutionOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_dto.py new file mode 100644 index 0000000000..ea22f22e5f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.aggregation_query_source_metrics_dto import AggregationQuerySourceMetricsDTO +from typing import Optional, Set +from typing_extensions import Self + +class AggregationQuerySourceDTO(BaseModel): + """ + An AggregationQuerySource defines the source data to query in an aggregation query. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="An ad-hoc metric formula. The response returns the results of the aggregate. See the formula dictionary in Visier to find functions and objects you can use in a formula.") + metric: Optional[StrictStr] = Field(default=None, description="The ID of an existing metric in your Visier solution. See `Metrics` to get the ID.") + metrics: Optional[AggregationQuerySourceMetricsDTO] = Field(default=None, description="The IDs of metrics to aggregate. All metrics in the query must reference the same analytic object. For example, you cannot query Headcount and Applicant Count because one uses the Employee subject and the other uses the Applicant subject. You can query Headcount and Employee Count for Women because both reference the Employee subject. Only available when the Accept header is text/csv. For more information, see `Aggregate`.") + __properties: ClassVar[List[str]] = ["formula", "metric", "metrics"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AggregationQuerySourceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of metrics + if self.metrics: + _dict['metrics'] = self.metrics.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AggregationQuerySourceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "metric": obj.get("metric"), + "metrics": AggregationQuerySourceMetricsDTO.from_dict(obj["metrics"]) if obj.get("metrics") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metric_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metric_dto.py new file mode 100644 index 0000000000..839d70f8fc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metric_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AggregationQuerySourceMetricDTO(BaseModel): + """ + The column definition for a single metric within a `metrics` query. + """ # noqa: E501 + column_name: Optional[StrictStr] = Field(default=None, description="The column name in the CSV file. Default is to use id as the column name.", alias="columnName") + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the metric. Note: See `Metrics` to get the ID. If columnName is omitted, id is the column name in the CSV file.") + formula: Optional[StrictStr] = Field(default=None, description="An ad-hoc metric formula. The response returns the results of the aggregate. See the formula dictionary in Visier to find functions and objects you can use in a formula.") + qualifying_path: Optional[StrictStr] = Field(default=None, description="The base qualifying path to prefix the axes and filters' qualifying paths with. You must specify the qualifying path on a metric if the convergent analytic object of the metric doesn't match the starting object in the qualifying paths of the axes and filters. For example, consider a multi-metric query that contains metrics that count the number of applicants and requisitions, grouped by the country of the recruiter's direct manager. The following sample shows how to use qualifyingPath to specify the object reference traversal path from each metric's convergent analytic object to the start of the path for the axes. In this example, there is only one convergent analytic object. ``` \"source\": { \"metrics\": { \"columns\": [ { \"id\": \"employeeCount\" }, { \"id\": \"applicantCount\", \"qualifyingPath\": \"Applicant.Requisition.Recruiter\" }, { \"id\": \"requisitionCount\", \"qualifyingPath\": \"Requisition.Recruiter\" } ] } }, \"axes\": [ { \"dimensionLevelSelection\": { \"dimension\": { \"name\": \"Location\", \"qualifyingPath\": \"Employee.Direct_Manager\" }, \"levelIds\": [ \"Location_1\" ] } } ] ``` **Note:** * `employeeCount` doesn't need a `qualifyingPath` because it's already convergent with the start of the axis path. * The metrics' qualifying paths must provide the reference name that resolves to the first object of the axis' qualifying path as their last path segment. In this case, Recruiter is a named reference pointing to Employee. The final qualifying paths for the metrics are: * `employeeCount`: Employee.Direct_Manager * `applicantCount`: Applicant.Requisition.Recruiter.Direct_Manager * `requisitionCount`: Requisition.Recruiter.Direct_Manager", alias="qualifyingPath") + __properties: ClassVar[List[str]] = ["columnName", "id", "formula", "qualifyingPath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AggregationQuerySourceMetricDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AggregationQuerySourceMetricDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "columnName": obj.get("columnName"), + "id": obj.get("id"), + "formula": obj.get("formula"), + "qualifyingPath": obj.get("qualifyingPath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metrics_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metrics_dto.py new file mode 100644 index 0000000000..b4126f06e5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metrics_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.aggregation_query_source_metric_dto import AggregationQuerySourceMetricDTO +from typing import Optional, Set +from typing_extensions import Self + +class AggregationQuerySourceMetricsDTO(BaseModel): + """ + The IDs and column names of multiple metrics. **Note:** Only available when the `Accept` header is text/csv. For more information, see `Aggregate` + """ # noqa: E501 + columns: Optional[List[AggregationQuerySourceMetricDTO]] = Field(default=None, description="An array of metric columns.") + __properties: ClassVar[List[str]] = ["columns"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AggregationQuerySourceMetricsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in columns (list) + _items = [] + if self.columns: + for _item_columns in self.columns: + if _item_columns: + _items.append(_item_columns.to_dict()) + _dict['columns'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AggregationQuerySourceMetricsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "columns": [AggregationQuerySourceMetricDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_option_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_option_dto.py new file mode 100644 index 0000000000..6356e3cf95 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_option_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AggregationTypeOptionDTO(BaseModel): + """ + The definition of an aggregation option. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the parameter option.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the parameter option.", alias="displayName") + property_name: Optional[StrictStr] = Field(default=None, description="The property name of the parameter option.", alias="propertyName") + aggregation_function: Optional[StrictStr] = Field(default=None, description="The aggregation function of the parameter option.", alias="aggregationFunction") + is_default: Optional[StrictBool] = Field(default=None, description="`true` if the parameter option is the default one and `false` otherwise.", alias="isDefault") + __properties: ClassVar[List[str]] = ["id", "displayName", "propertyName", "aggregationFunction", "isDefault"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AggregationTypeOptionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AggregationTypeOptionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "propertyName": obj.get("propertyName"), + "aggregationFunction": obj.get("aggregationFunction"), + "isDefault": obj.get("isDefault") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_dto.py new file mode 100644 index 0000000000..0100dd458e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.aggregation_type_option_dto import AggregationTypeOptionDTO +from typing import Optional, Set +from typing_extensions import Self + +class AggregationTypeParameterDTO(BaseModel): + """ + The definition of an aggregation parameter. These parameters resolve metrics that use aggregation parameters. For example, Visier Benchmarks metrics often use aggregation parameters to enable callers to aggregate metric values according to their average or different percentiles. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the parameter.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the parameter.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the parameter.") + parameter_options: Optional[List[AggregationTypeOptionDTO]] = Field(default=None, description="The options defined for the parameter.", alias="parameterOptions") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "parameterOptions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AggregationTypeParameterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in parameter_options (list) + _items = [] + if self.parameter_options: + for _item_parameter_options in self.parameter_options: + if _item_parameter_options: + _items.append(_item_parameter_options.to_dict()) + _dict['parameterOptions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AggregationTypeParameterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "parameterOptions": [AggregationTypeOptionDTO.from_dict(_item) for _item in obj["parameterOptions"]] if obj.get("parameterOptions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_value_dto.py new file mode 100644 index 0000000000..c4a6a9483f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_value_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AggregationTypeParameterValueDTO(BaseModel): + """ + The value for an aggregation parameter. + """ # noqa: E501 + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the aggregation parameter.", alias="parameterId") + aggregation_option_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the aggregation option.", alias="aggregationOptionId") + __properties: ClassVar[List[str]] = ["parameterId", "aggregationOptionId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AggregationTypeParameterValueDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AggregationTypeParameterValueDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parameterId": obj.get("parameterId"), + "aggregationOptionId": obj.get("aggregationOptionId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..8244919126 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permission_assigned_for_local_tenant_dto import PermissionAssignedForLocalTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class AllPermissionsAssignedForLocalTenantDTO(BaseModel): + """ + AllPermissionsAssignedForLocalTenantDTO + """ # noqa: E501 + assigned_permissions: Optional[List[PermissionAssignedForLocalTenantDTO]] = Field(default=None, description="A list of objects representing the user's permissions.", alias="assignedPermissions") + __properties: ClassVar[List[str]] = ["assignedPermissions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AllPermissionsAssignedForLocalTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in assigned_permissions (list) + _items = [] + if self.assigned_permissions: + for _item_assigned_permissions in self.assigned_permissions: + if _item_assigned_permissions: + _items.append(_item_assigned_permissions.to_dict()) + _dict['assignedPermissions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AllPermissionsAssignedForLocalTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "assignedPermissions": [PermissionAssignedForLocalTenantDTO.from_dict(_item) for _item in obj["assignedPermissions"]] if obj.get("assignedPermissions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py new file mode 100644 index 0000000000..c8709af0a9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.profile_assigned_for_accessible_tenant_dto import ProfileAssignedForAccessibleTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class AllProfileAssignedForAccessibleTenantDTO(BaseModel): + """ + AllProfileAssignedForAccessibleTenantDTO + """ # noqa: E501 + assigned_profiles_for_accessible_tenant: Optional[List[ProfileAssignedForAccessibleTenantDTO]] = Field(default=None, description="A list of objects representing the user profiles assigned to the user and their validity range.", alias="assignedProfilesForAccessibleTenant") + __properties: ClassVar[List[str]] = ["assignedProfilesForAccessibleTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AllProfileAssignedForAccessibleTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in assigned_profiles_for_accessible_tenant (list) + _items = [] + if self.assigned_profiles_for_accessible_tenant: + for _item_assigned_profiles_for_accessible_tenant in self.assigned_profiles_for_accessible_tenant: + if _item_assigned_profiles_for_accessible_tenant: + _items.append(_item_assigned_profiles_for_accessible_tenant.to_dict()) + _dict['assignedProfilesForAccessibleTenant'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AllProfileAssignedForAccessibleTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "assignedProfilesForAccessibleTenant": [ProfileAssignedForAccessibleTenantDTO.from_dict(_item) for _item in obj["assignedProfilesForAccessibleTenant"]] if obj.get("assignedProfilesForAccessibleTenant") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..045d88ad4b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.profile_assigned_for_local_tenant_dto import ProfileAssignedForLocalTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class AllProfileAssignedForLocalTenantDTO(BaseModel): + """ + AllProfileAssignedForLocalTenantDTO + """ # noqa: E501 + assigned_profiles: Optional[List[ProfileAssignedForLocalTenantDTO]] = Field(default=None, description="A list of objects representing the user profiles assigned to the user and their validity range.", alias="assignedProfiles") + __properties: ClassVar[List[str]] = ["assignedProfiles"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AllProfileAssignedForLocalTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in assigned_profiles (list) + _items = [] + if self.assigned_profiles: + for _item_assigned_profiles in self.assigned_profiles: + if _item_assigned_profiles: + _items.append(_item_assigned_profiles.to_dict()) + _dict['assignedProfiles'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AllProfileAssignedForLocalTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "assignedProfiles": [ProfileAssignedForLocalTenantDTO.from_dict(_item) for _item in obj["assignedProfiles"]] if obj.get("assignedProfiles") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_tenants_status_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_tenants_status_apidto.py new file mode 100644 index 0000000000..8538dea118 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_tenants_status_apidto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_detail_apidto import TenantDetailAPIDTO +from typing import Optional, Set +from typing_extensions import Self + +class AllTenantsStatusAPIDTO(BaseModel): + """ + AllTenantsStatusAPIDTO + """ # noqa: E501 + tenants: Optional[List[TenantDetailAPIDTO]] = Field(default=None, description="A list of objects representing all the analytic tenants.") + limit: Optional[StrictInt] = Field(default=None, description="The limit of analytic tenants to return. The maximum value is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AllTenantsStatusAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AllTenantsStatusAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [TenantDetailAPIDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..1447f41cb8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_assigned_for_local_tenant_dto import UserGroupAssignedForLocalTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class AllUserGroupsAssignedForLocalTenantDTO(BaseModel): + """ + AllUserGroupsAssignedForLocalTenantDTO + """ # noqa: E501 + assigned_user_groups: Optional[List[UserGroupAssignedForLocalTenantDTO]] = Field(default=None, description="A list of objects representing the available user groups.", alias="assignedUserGroups") + __properties: ClassVar[List[str]] = ["assignedUserGroups"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AllUserGroupsAssignedForLocalTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in assigned_user_groups (list) + _items = [] + if self.assigned_user_groups: + for _item_assigned_user_groups in self.assigned_user_groups: + if _item_assigned_user_groups: + _items.append(_item_assigned_user_groups.to_dict()) + _dict['assignedUserGroups'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AllUserGroupsAssignedForLocalTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "assignedUserGroups": [UserGroupAssignedForLocalTenantDTO.from_dict(_item) for _item in obj["assignedUserGroups"]] if obj.get("assignedUserGroups") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_users_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_users_get_api_response_dto.py new file mode 100644 index 0000000000..121d9b82ef --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_users_get_api_response_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_get_api_response_dto import UserGetAPIResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class AllUsersGetAPIResponseDTO(BaseModel): + """ + AllUsersGetAPIResponseDTO + """ # noqa: E501 + users: Optional[List[UserGetAPIResponseDTO]] = Field(default=None, description="A list of available users.") + limit: Optional[StrictInt] = Field(default=None, description="The number of results to return. The maximum number of users to retrieve is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["users", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AllUsersGetAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in users (list) + _items = [] + if self.users: + for _item_users in self.users: + if _item_users: + _items.append(_item_users.to_dict()) + _dict['users'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AllUsersGetAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "users": [UserGetAPIResponseDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_create_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_create_request_dto.py deleted file mode 100644 index 7abfe94ffc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_create_request_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonReportCreateRequestDTO(BaseModel): - """ - The request to create a new report. - """ # noqa: E501 - title: Optional[StrictStr] = Field(default=None, description="The localized title of the report.") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the report.") - __properties: ClassVar[List[str]] = ["title", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonReportCreateRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonReportCreateRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "title": obj.get("title"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_delete_success_dto.py deleted file mode 100644 index cdc78cd2b8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_delete_success_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonReportDeleteSuccessDTO(BaseModel): - """ - The report that was successfully deleted. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the deleted report.") - __properties: ClassVar[List[str]] = ["id"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonReportDeleteSuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonReportDeleteSuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_dto.py deleted file mode 100644 index c3c98f73b4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_dto.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonReportDTO(BaseModel): - """ - The information of a single report. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the report.") - title: Optional[StrictStr] = Field(default=None, description="The localized title of the report.") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the report.") - updated_time: Optional[StrictStr] = Field(default=None, description="The time in epoch milliseconds when the report was last updated.", alias="updatedTime") - is_published_report: Optional[StrictBool] = Field(default=None, description="If `true`, the report is published through a project.", alias="isPublishedReport") - owner: Optional[StrictStr] = Field(default=None, description="The owner of the report.") - is_owned_by_user: Optional[StrictBool] = Field(default=None, description="If `true`, you are the owner of the report.", alias="isOwnedByUser") - allowed_actions: Optional[List[StrictStr]] = Field(default=None, description="The actions that you can perform on the report. Valid values are: - `duplicate`: The user can make their own copy of this report. - `delete`: The user can delete this report. - `edit`: The user can edit this report directly. - `download`: The user can download this report as a CSV. - `share`: The user can share this report with other users or user groups.", alias="allowedActions") - link: Optional[StrictStr] = Field(default=None, description="The link to the report.") - __properties: ClassVar[List[str]] = ["id", "title", "description", "updatedTime", "isPublishedReport", "owner", "isOwnedByUser", "allowedActions", "link"] - - @field_validator('allowed_actions') - def allowed_actions_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - for i in value: - if i not in set(['duplicate', 'delete', 'edit', 'download', 'share']): - raise ValueError("each list item must be one of ('duplicate', 'delete', 'edit', 'download', 'share')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonReportDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonReportDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "title": obj.get("title"), - "description": obj.get("description"), - "updatedTime": obj.get("updatedTime"), - "isPublishedReport": obj.get("isPublishedReport"), - "owner": obj.get("owner"), - "isOwnedByUser": obj.get("isOwnedByUser"), - "allowedActions": obj.get("allowedActions"), - "link": obj.get("link") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_list_response_dto.py deleted file mode 100644 index 6015a97ba1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_report_list_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_report_dto import AnalysisCommonReportDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonReportListResponseDTO(BaseModel): - """ - The information of all the reports you have access to in your tenant. - """ # noqa: E501 - reports: Optional[List[AnalysisCommonReportDTO]] = Field(default=None, description="A list of reports.") - __properties: ClassVar[List[str]] = ["reports"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonReportListResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in reports (list) - _items = [] - if self.reports: - for _item_reports in self.reports: - if _item_reports: - _items.append(_item_reports.to_dict()) - _dict['reports'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonReportListResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "reports": [AnalysisCommonReportDTO.from_dict(_item) for _item in obj["reports"]] if obj.get("reports") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_clarification_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_clarification_dto.py deleted file mode 100644 index e2fa1eb0ba..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_clarification_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeClarificationDTO(BaseModel): - """ - AnalysisCommonVeeClarificationDTO - """ # noqa: E501 - message: Optional[StrictStr] = Field(default=None, description="Returned if Vee needs more context to answer your question.") - questions: Optional[List[StrictStr]] = Field(default=None, description="Additional questions you can ask that are similar or related to your question.") - metrics: Optional[List[StrictStr]] = Field(default=None, description="Suggested metrics to look at that are similar or related to your question.") - dimensions: Optional[List[StrictStr]] = Field(default=None, description="Suggested dimensions to look at that are similar or related to your question.") - filters: Optional[List[StrictStr]] = Field(default=None, description="Suggested filters that could be a better fit for the data.") - attributes: Optional[List[StrictStr]] = Field(default=None, description="Suggested attributes to look at that are similar or related to your question.") - __properties: ClassVar[List[str]] = ["message", "questions", "metrics", "dimensions", "filters", "attributes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeClarificationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeClarificationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "message": obj.get("message"), - "questions": obj.get("questions"), - "metrics": obj.get("metrics"), - "dimensions": obj.get("dimensions"), - "filters": obj.get("filters"), - "attributes": obj.get("attributes") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_conversation_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_conversation_dto.py deleted file mode 100644 index ff6604b396..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_conversation_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_vee_conversation_state_dto import AnalysisCommonVeeConversationStateDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeConversationDTO(BaseModel): - """ - AnalysisCommonVeeConversationDTO - """ # noqa: E501 - conversation_state: Optional[AnalysisCommonVeeConversationStateDTO] = Field(default=None, description="The conversation's details. To submit feedback about Vee's answer, copy the entire conversation state from the `/question` response into your `/feedback` call.", alias="conversationState") - __properties: ClassVar[List[str]] = ["conversationState"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeConversationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of conversation_state - if self.conversation_state: - _dict['conversationState'] = self.conversation_state.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeConversationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "conversationState": AnalysisCommonVeeConversationStateDTO.from_dict(obj["conversationState"]) if obj.get("conversationState") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_conversation_state_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_conversation_state_dto.py deleted file mode 100644 index f2ef9c230e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_conversation_state_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeConversationStateDTO(BaseModel): - """ - AnalysisCommonVeeConversationStateDTO - """ # noqa: E501 - question_state: Optional[List[StrictStr]] = Field(default=None, description="The unique identifier of the conversation with Vee.", alias="questionState") - __properties: ClassVar[List[str]] = ["questionState"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeConversationStateDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeConversationStateDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "questionState": obj.get("questionState") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_corrections_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_corrections_dto.py deleted file mode 100644 index 0fbf036331..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_corrections_dto.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_vee_clarification_dto import AnalysisCommonVeeClarificationDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeCorrectionsDTO(BaseModel): - """ - AnalysisCommonVeeCorrectionsDTO - """ # noqa: E501 - warning: Optional[List[StrictStr]] = Field(default=None, description="A list of warnings from Vee that accompanies an unsure answer; for example, Vee might return a close match warning if Vee finds multiple employees named Adam that relate to your question.") - clarifications: Optional[List[AnalysisCommonVeeClarificationDTO]] = Field(default=None, description="A list of clarifying questions if Vee needs more context to answer your question; for example, if asking about someone named Adam, Vee might clarify which Adam by asking for Adam's email address.") - __properties: ClassVar[List[str]] = ["warning", "clarifications"] - - @field_validator('warning') - def warning_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - for i in value: - if i not in set(['VEE_NO_WARNING', 'VEE_WARNING_RESPONSE_NOT_FOUND', 'VEE_WARNING_RESPONSE_LOW_CONFIDENCE', 'VEE_WARNING_RESPONSE_FOUND_CLOSE_MATCH', 'VEE_WARNING_NO_ACCESS', 'VEE_WARNING_TIME_SELECTION_ADJUSTED', 'VEE_WARNING_FILTER_DROPPED']): - raise ValueError("each list item must be one of ('VEE_NO_WARNING', 'VEE_WARNING_RESPONSE_NOT_FOUND', 'VEE_WARNING_RESPONSE_LOW_CONFIDENCE', 'VEE_WARNING_RESPONSE_FOUND_CLOSE_MATCH', 'VEE_WARNING_NO_ACCESS', 'VEE_WARNING_TIME_SELECTION_ADJUSTED', 'VEE_WARNING_FILTER_DROPPED')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeCorrectionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in clarifications (list) - _items = [] - if self.clarifications: - for _item_clarifications in self.clarifications: - if _item_clarifications: - _items.append(_item_clarifications.to_dict()) - _dict['clarifications'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeCorrectionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "warning": obj.get("warning"), - "clarifications": [AnalysisCommonVeeClarificationDTO.from_dict(_item) for _item in obj["clarifications"]] if obj.get("clarifications") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_data_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_data_dto.py deleted file mode 100644 index 40803b9c33..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_data_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeDataDTO(BaseModel): - """ - AnalysisCommonVeeDataDTO - """ # noqa: E501 - data_json: Optional[StrictStr] = Field(default=None, description="A JSON string of fields and numerical values representing the data contributing to Vee's answer. For example, the number of employees per gender in Vee's answer.", alias="dataJson") - context: Optional[StrictStr] = Field(default=None, description="The filter applied to the visualization generated by Vee. For example, a time filter of April 2024.") - __properties: ClassVar[List[str]] = ["dataJson", "context"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeDataDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeDataDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataJson": obj.get("dataJson"), - "context": obj.get("context") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_feedback_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_feedback_dto.py deleted file mode 100644 index 8bd54f9f41..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_feedback_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_vee_conversation_dto import AnalysisCommonVeeConversationDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeFeedbackDTO(BaseModel): - """ - The request body fields to submit Vee feedback. - """ # noqa: E501 - conversation: Optional[AnalysisCommonVeeConversationDTO] = Field(default=None, description="Details of the Vee conversation you want to provide feedback about.") - is_approved: Optional[StrictBool] = Field(default=None, description="If `true`, Vee answered the question correctly. If `false`, Vee's answer was incorrect or lacked details.", alias="isApproved") - description: Optional[StrictStr] = Field(default=None, description="A description of how Vee should have answered the question or how Vee can improve the answer; for example, \"Expected Headcount metric, but Vee returned Average Headcount\".") - __properties: ClassVar[List[str]] = ["conversation", "isApproved", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeFeedbackDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of conversation - if self.conversation: - _dict['conversation'] = self.conversation.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeFeedbackDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "conversation": AnalysisCommonVeeConversationDTO.from_dict(obj["conversation"]) if obj.get("conversation") is not None else None, - "isApproved": obj.get("isApproved"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_options_dto.py deleted file mode 100644 index 999e178ee8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_options_dto.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_vee_visual_options_dto import AnalysisCommonVeeVisualOptionsDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeOptionsDTO(BaseModel): - """ - AnalysisCommonVeeOptionsDTO - """ # noqa: E501 - include_visual: Optional[StrictBool] = Field(default=None, description="If `true`, returns a base64 string-encoded PNG of a rendered visualization with Vee's answer. Default is `false`.", alias="includeVisual") - visual_options: Optional[AnalysisCommonVeeVisualOptionsDTO] = Field(default=None, description="Specify how to render the visualization.", alias="visualOptions") - include_data: Optional[StrictBool] = Field(default=None, description="If `true`, returns additional data relevant to the question, including `dataJson` (visualization data) and `context` (filters applied to the visualization). Default is `false`.", alias="includeData") - data_format: Optional[StrictStr] = Field(default=None, description="The format to return visualization data in. Valid values: `json`.", alias="dataFormat") - include_reworded_question: Optional[StrictBool] = Field(default=None, description="If `true`, returns Vee's plain language interpretation of the original question. For example, if you asked \"what is the headcount by gender in each org?\", Vee might reword the question as \"What is the gender breakdown of our workforce by organization this month?\". Default is `false`.", alias="includeRewordedQuestion") - __properties: ClassVar[List[str]] = ["includeVisual", "visualOptions", "includeData", "dataFormat", "includeRewordedQuestion"] - - @field_validator('data_format') - def data_format_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['json']): - raise ValueError("must be one of enum values ('json')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeOptionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of visual_options - if self.visual_options: - _dict['visualOptions'] = self.visual_options.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeOptionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "includeVisual": obj.get("includeVisual"), - "visualOptions": AnalysisCommonVeeVisualOptionsDTO.from_dict(obj["visualOptions"]) if obj.get("visualOptions") is not None else None, - "includeData": obj.get("includeData"), - "dataFormat": obj.get("dataFormat"), - "includeRewordedQuestion": obj.get("includeRewordedQuestion") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_question_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_question_dto.py deleted file mode 100644 index c3f1abd59b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_question_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_vee_conversation_state_dto import AnalysisCommonVeeConversationStateDTO -from visier_platform_sdk.models.analysis_common_vee_options_dto import AnalysisCommonVeeOptionsDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeQuestionDTO(BaseModel): - """ - The request body fields to ask Vee a question. - """ # noqa: E501 - question: Optional[StrictStr] = Field(default=None, description="The question to ask Vee. If asking a follow-up question or continuing a conversation with Vee, specify the `conversationState` object from the question's response.") - conversation_state: Optional[AnalysisCommonVeeConversationStateDTO] = Field(default=None, description="The unique identifier of the conversation with Vee. If empty, starts a new conversation with Vee. If asking a follow-up question or continuing a conversation with Vee, specify the `conversationState` object from the question's response. To submit feedback about Vee's answer, copy the entire response into your `/feedback` call.", alias="conversationState") - options: Optional[AnalysisCommonVeeOptionsDTO] = Field(default=None, description="Options to specify how Vee should respond to a question.") - max_view_details_members: Optional[StrictInt] = Field(default=None, description="The maximum number of members to return in Detailed View.", alias="maxViewDetailsMembers") - __properties: ClassVar[List[str]] = ["question", "conversationState", "options", "maxViewDetailsMembers"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeQuestionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of conversation_state - if self.conversation_state: - _dict['conversationState'] = self.conversation_state.to_dict() - # override the default output from pydantic by calling `to_dict()` of options - if self.options: - _dict['options'] = self.options.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeQuestionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "question": obj.get("question"), - "conversationState": AnalysisCommonVeeConversationStateDTO.from_dict(obj["conversationState"]) if obj.get("conversationState") is not None else None, - "options": AnalysisCommonVeeOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None, - "maxViewDetailsMembers": obj.get("maxViewDetailsMembers") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_dto.py deleted file mode 100644 index fa48fff52e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_dto.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_vee_conversation_state_dto import AnalysisCommonVeeConversationStateDTO -from visier_platform_sdk.models.analysis_common_vee_corrections_dto import AnalysisCommonVeeCorrectionsDTO -from visier_platform_sdk.models.analysis_common_vee_data_dto import AnalysisCommonVeeDataDTO -from visier_platform_sdk.models.analysis_common_vee_response_schema_dto import AnalysisCommonVeeResponseSchemaDTO -from visier_platform_sdk.models.analysis_common_vee_status_code_dto import AnalysisCommonVeeStatusCodeDTO -from visier_platform_sdk.models.analysis_common_vee_visual_dto import AnalysisCommonVeeVisualDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeResponseDTO(BaseModel): - """ - The response after asking Vee a question. - """ # noqa: E501 - conversation_state: Optional[AnalysisCommonVeeConversationStateDTO] = Field(default=None, description="The current conversation's details. To ask a follow-up question or continue the conversation with Vee, include the `conversationState` from the response in your next `/question` call. To submit feedback about Vee's answer, copy the entire response into your `/feedback` call.", alias="conversationState") - status_code: Optional[AnalysisCommonVeeStatusCodeDTO] = Field(default=None, description="A status code indicating whether or not Vee successfully answered the question.", alias="statusCode") - narrative: Optional[StrictStr] = Field(default=None, description="Vee's answer to the question.") - chart_url: Optional[StrictStr] = Field(default=None, description="A URL to view the visualization in Visier.", alias="chartUrl") - var_schema: Optional[AnalysisCommonVeeResponseSchemaDTO] = Field(default=None, description="The metrics, dimensions, and concepts that contribute to Vee's answer.", alias="schema") - corrections: Optional[List[AnalysisCommonVeeCorrectionsDTO]] = Field(default=None, description="A list of corrections and clarifications if the question was ambiguous or Vee was unsure in the answer.") - data: Optional[AnalysisCommonVeeDataDTO] = Field(default=None, description="Returned if `includeData` is `true`. Provides additional data relevant to the question, such as the visualization data and any filters applied to the visualization.") - visual: Optional[AnalysisCommonVeeVisualDTO] = Field(default=None, description="A base64 string-encoded PNG of a visualization generated by Vee to answer a question. For example, Vee can return a Breakdown visualization if asked about the headcount in each organization.") - reworded_question: Optional[StrictStr] = Field(default=None, description="Vee's plain language interpretation of the original question. For example, if you asked \"what is the headcount by gender in each org?\", Vee might reword the question as \"What is the gender breakdown of our workforce by organization this month?\".", alias="rewordedQuestion") - __properties: ClassVar[List[str]] = ["conversationState", "statusCode", "narrative", "chartUrl", "schema", "corrections", "data", "visual", "rewordedQuestion"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of conversation_state - if self.conversation_state: - _dict['conversationState'] = self.conversation_state.to_dict() - # override the default output from pydantic by calling `to_dict()` of status_code - if self.status_code: - _dict['statusCode'] = self.status_code.to_dict() - # override the default output from pydantic by calling `to_dict()` of var_schema - if self.var_schema: - _dict['schema'] = self.var_schema.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in corrections (list) - _items = [] - if self.corrections: - for _item_corrections in self.corrections: - if _item_corrections: - _items.append(_item_corrections.to_dict()) - _dict['corrections'] = _items - # override the default output from pydantic by calling `to_dict()` of data - if self.data: - _dict['data'] = self.data.to_dict() - # override the default output from pydantic by calling `to_dict()` of visual - if self.visual: - _dict['visual'] = self.visual.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "conversationState": AnalysisCommonVeeConversationStateDTO.from_dict(obj["conversationState"]) if obj.get("conversationState") is not None else None, - "statusCode": AnalysisCommonVeeStatusCodeDTO.from_dict(obj["statusCode"]) if obj.get("statusCode") is not None else None, - "narrative": obj.get("narrative"), - "chartUrl": obj.get("chartUrl"), - "schema": AnalysisCommonVeeResponseSchemaDTO.from_dict(obj["schema"]) if obj.get("schema") is not None else None, - "corrections": [AnalysisCommonVeeCorrectionsDTO.from_dict(_item) for _item in obj["corrections"]] if obj.get("corrections") is not None else None, - "data": AnalysisCommonVeeDataDTO.from_dict(obj["data"]) if obj.get("data") is not None else None, - "visual": AnalysisCommonVeeVisualDTO.from_dict(obj["visual"]) if obj.get("visual") is not None else None, - "rewordedQuestion": obj.get("rewordedQuestion") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_schema_dto.py deleted file mode 100644 index ed68946308..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_schema_dto.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_vee_response_schema_reference_dto import AnalysisCommonVeeResponseSchemaReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeResponseSchemaDTO(BaseModel): - """ - AnalysisCommonVeeResponseSchemaDTO - """ # noqa: E501 - metrics: Optional[List[StrictStr]] = Field(default=None, description="A list of the metrics that contribute to Vee's answer.") - dimensions: Optional[List[AnalysisCommonVeeResponseSchemaReferenceDTO]] = Field(default=None, description="A list of the dimensions that contribute to Vee's answer.") - concepts: Optional[List[AnalysisCommonVeeResponseSchemaReferenceDTO]] = Field(default=None, description="A list of the concepts that contribute to Vee's answer.") - __properties: ClassVar[List[str]] = ["metrics", "dimensions", "concepts"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeResponseSchemaDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dimensions (list) - _items = [] - if self.dimensions: - for _item_dimensions in self.dimensions: - if _item_dimensions: - _items.append(_item_dimensions.to_dict()) - _dict['dimensions'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) - _items = [] - if self.concepts: - for _item_concepts in self.concepts: - if _item_concepts: - _items.append(_item_concepts.to_dict()) - _dict['concepts'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeResponseSchemaDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "metrics": obj.get("metrics"), - "dimensions": [AnalysisCommonVeeResponseSchemaReferenceDTO.from_dict(_item) for _item in obj["dimensions"]] if obj.get("dimensions") is not None else None, - "concepts": [AnalysisCommonVeeResponseSchemaReferenceDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_schema_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_schema_reference_dto.py deleted file mode 100644 index cdd9405077..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_response_schema_reference_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeResponseSchemaReferenceDTO(BaseModel): - """ - AnalysisCommonVeeResponseSchemaReferenceDTO - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The name of an attribute in the visualization; for example, Gender.") - paths: Optional[List[StrictStr]] = Field(default=None, description="The hierarchy path of an attribute in the visualization; for example, Employee.Gender.") - __properties: ClassVar[List[str]] = ["name", "paths"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeResponseSchemaReferenceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeResponseSchemaReferenceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "paths": obj.get("paths") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_sample_question_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_sample_question_dto.py deleted file mode 100644 index 91cdbc15d2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_sample_question_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeSampleQuestionDTO(BaseModel): - """ - AnalysisCommonVeeSampleQuestionDTO - """ # noqa: E501 - question: Optional[StrictStr] = Field(default=None, description="A question in plain language.") - question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question.", alias="questionId") - category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") - is_assigned_to_user: Optional[StrictBool] = Field(default=None, description="If `true`, the sample question is assigned to at least one of the user's user groups.", alias="isAssignedToUser") - __properties: ClassVar[List[str]] = ["question", "questionId", "categoryId", "isAssignedToUser"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeSampleQuestionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeSampleQuestionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "question": obj.get("question"), - "questionId": obj.get("questionId"), - "categoryId": obj.get("categoryId"), - "isAssignedToUser": obj.get("isAssignedToUser") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_sample_question_library_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_sample_question_library_dto.py deleted file mode 100644 index a645e46593..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_sample_question_library_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.analysis_common_vee_sample_question_dto import AnalysisCommonVeeSampleQuestionDTO -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeSampleQuestionLibraryDTO(BaseModel): - """ - A list of sample questions to ask Vee. - """ # noqa: E501 - questions: Optional[List[AnalysisCommonVeeSampleQuestionDTO]] = Field(default=None, description="A list of sample questions to help your users start using Vee.") - __properties: ClassVar[List[str]] = ["questions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeSampleQuestionLibraryDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in questions (list) - _items = [] - if self.questions: - for _item_questions in self.questions: - if _item_questions: - _items.append(_item_questions.to_dict()) - _dict['questions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeSampleQuestionLibraryDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "questions": [AnalysisCommonVeeSampleQuestionDTO.from_dict(_item) for _item in obj["questions"]] if obj.get("questions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_status_code_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_status_code_dto.py deleted file mode 100644 index 05b288b401..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_status_code_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeStatusCodeDTO(BaseModel): - """ - AnalysisCommonVeeStatusCodeDTO - """ # noqa: E501 - status_code: Optional[StrictStr] = Field(default=None, description="A status code indicating whether or not Vee successfully answered the question.", alias="statusCode") - status_msg: Optional[StrictStr] = Field(default=None, description="Additional information about whether or not Vee successfully answered the question.", alias="statusMsg") - __properties: ClassVar[List[str]] = ["statusCode", "statusMsg"] - - @field_validator('status_code') - def status_code_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['UNDEFINED', 'VEE_API_SUCCESS', 'VEE_API_WARNING', 'VEE_API_ERROR']): - raise ValueError("must be one of enum values ('UNDEFINED', 'VEE_API_SUCCESS', 'VEE_API_WARNING', 'VEE_API_ERROR')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeStatusCodeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeStatusCodeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "statusCode": obj.get("statusCode"), - "statusMsg": obj.get("statusMsg") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_visual_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_visual_dto.py deleted file mode 100644 index e94a1365ff..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_visual_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeVisualDTO(BaseModel): - """ - AnalysisCommonVeeVisualDTO - """ # noqa: E501 - image: Optional[StrictStr] = Field(default=None, description="A PNG visualization encoded in a base64 string.") - title: Optional[StrictStr] = Field(default=None, description="The visualization title.") - context: Optional[StrictStr] = Field(default=None, description="Any filters applied to the visualization. For example, a time filter of April 2024.") - __properties: ClassVar[List[str]] = ["image", "title", "context"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeVisualDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeVisualDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "image": obj.get("image"), - "title": obj.get("title"), - "context": obj.get("context") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_visual_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_visual_options_dto.py deleted file mode 100644 index ac38fcde06..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analysis_common_vee_visual_options_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AnalysisCommonVeeVisualOptionsDTO(BaseModel): - """ - AnalysisCommonVeeVisualOptionsDTO - """ # noqa: E501 - width: Optional[StrictInt] = Field(default=None, description="The pixel width of the rendered visualization. Default is 600. Valid values are between 160 and 1600.") - height: Optional[StrictInt] = Field(default=None, description="The pixel height of the rendered visualization. Default is 338. Valid values are between 90 and 900.") - __properties: ClassVar[List[str]] = ["width", "height"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeVisualOptionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AnalysisCommonVeeVisualOptionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "width": obj.get("width"), - "height": obj.get("height") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_definition_dto.py new file mode 100644 index 0000000000..761bab3589 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_definition_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectDefinitionDTO(BaseModel): + """ + Information about the analytic object, such as its UUID and object name. + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the analytic object.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the analytic object.", alias="objectName") + update_operation: Optional[StrictStr] = Field(default=None, description="Update the analytic object. Required for `PUT` requests. Valid values: - `unspecified`: Do not update the object. - `revertToBP`: Undo any tenant overrides and revert the object back to its Blueprint state.", alias="updateOperation") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "updateOperation"] + + @field_validator('update_operation') + def update_operation_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['unspecified', 'revertToBP']): + raise ValueError("must be one of enum values ('unspecified', 'revertToBP')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName"), + "updateOperation": obj.get("updateOperation") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_dto.py new file mode 100644 index 0000000000..713c4e53a1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_dto.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.related_analytic_object_dto import RelatedAnalyticObjectDTO +from visier_platform_sdk.models.securable_dimension_dto import SecurableDimensionDTO +from visier_platform_sdk.models.securable_property_dto import SecurablePropertyDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectDTO(BaseModel): + """ + AnalyticObjectDTO + """ # noqa: E501 + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object.", alias="analyticObjectId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display in Visier, such as \"Employee\".", alias="displayName") + object_type: Optional[StrictStr] = Field(default=None, description="The analytic object type.", alias="objectType") + related_objects: Optional[List[RelatedAnalyticObjectDTO]] = Field(default=None, description="The analytic objects related to the data security object.", alias="relatedObjects") + securable_properties: Optional[List[SecurablePropertyDTO]] = Field(default=None, description="All available properties from the data security object and its related analytic objects that you can configure data access for.", alias="securableProperties") + securable_dimensions: Optional[List[SecurableDimensionDTO]] = Field(default=None, description="A list of dimensions that are available to define population access filters in the permission.", alias="securableDimensions") + __properties: ClassVar[List[str]] = ["analyticObjectId", "displayName", "objectType", "relatedObjects", "securableProperties", "securableDimensions"] + + @field_validator('object_type') + def object_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Event', 'Subject', 'BusinessOutcomeOverlay', 'PlanOrBudgetOverlay', 'ExternalBenchmark', 'VisierBenchmark', 'UsageOverlay', 'OtherOverlay', 'InternalComparison', 'PlanAnalyticObject']): + raise ValueError("must be one of enum values ('Event', 'Subject', 'BusinessOutcomeOverlay', 'PlanOrBudgetOverlay', 'ExternalBenchmark', 'VisierBenchmark', 'UsageOverlay', 'OtherOverlay', 'InternalComparison', 'PlanAnalyticObject')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in related_objects (list) + _items = [] + if self.related_objects: + for _item_related_objects in self.related_objects: + if _item_related_objects: + _items.append(_item_related_objects.to_dict()) + _dict['relatedObjects'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in securable_properties (list) + _items = [] + if self.securable_properties: + for _item_securable_properties in self.securable_properties: + if _item_securable_properties: + _items.append(_item_securable_properties.to_dict()) + _dict['securableProperties'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in securable_dimensions (list) + _items = [] + if self.securable_dimensions: + for _item_securable_dimensions in self.securable_dimensions: + if _item_securable_dimensions: + _items.append(_item_securable_dimensions.to_dict()) + _dict['securableDimensions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjectId": obj.get("analyticObjectId"), + "displayName": obj.get("displayName"), + "objectType": obj.get("objectType"), + "relatedObjects": [RelatedAnalyticObjectDTO.from_dict(_item) for _item in obj["relatedObjects"]] if obj.get("relatedObjects") is not None else None, + "securableProperties": [SecurablePropertyDTO.from_dict(_item) for _item in obj["securableProperties"]] if obj.get("securableProperties") is not None else None, + "securableDimensions": [SecurableDimensionDTO.from_dict(_item) for _item in obj["securableDimensions"]] if obj.get("securableDimensions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_dto.py new file mode 100644 index 0000000000..8b2eaae570 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.designer_dimension_filter_dto import DesignerDimensionFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectFilterDTO(BaseModel): + """ + AnalyticObjectFilterDTO + """ # noqa: E501 + analytic_object_uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the analytic object used in the selection concept.", alias="analyticObjectUuid") + symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the analytic object.", alias="symbolName") + dimensions: Optional[List[DesignerDimensionFilterDTO]] = Field(default=None, description="A list of dimensions included in the concept.") + __properties: ClassVar[List[str]] = ["analyticObjectUuid", "symbolName", "dimensions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dimensions (list) + _items = [] + if self.dimensions: + for _item_dimensions in self.dimensions: + if _item_dimensions: + _items.append(_item_dimensions.to_dict()) + _dict['dimensions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjectUuid": obj.get("analyticObjectUuid"), + "symbolName": obj.get("symbolName"), + "dimensions": [DesignerDimensionFilterDTO.from_dict(_item) for _item in obj["dimensions"]] if obj.get("dimensions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_request_dto.py new file mode 100644 index 0000000000..8f4de9f966 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_with_context_dto import AnalyticObjectWithContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectRequestDTO(BaseModel): + """ + The analytic objects to create or update. + """ # noqa: E501 + analytic_objects: Optional[List[AnalyticObjectWithContextDTO]] = Field(default=None, description="The analytic objects in the request.", alias="analyticObjects") + __properties: ClassVar[List[str]] = ["analyticObjects"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) + _items = [] + if self.analytic_objects: + for _item_analytic_objects in self.analytic_objects: + if _item_analytic_objects: + _items.append(_item_analytic_objects.to_dict()) + _dict['analyticObjects'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjects": [AnalyticObjectWithContextDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_with_context_dto.py new file mode 100644 index 0000000000..90caf4a62e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_with_context_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_definition_dto import AnalyticObjectDefinitionDTO +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectWithContextDTO(BaseModel): + """ + Information about the analytic object and the context of the API request, such as the tenant code and project ID. + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") + analytic_object: Optional[AnalyticObjectDefinitionDTO] = Field(default=None, description="Information about the analytic object, such as its UUID and object name.", alias="analyticObject") + __properties: ClassVar[List[str]] = ["executionContext", "analyticObject"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectWithContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of analytic_object + if self.analytic_object: + _dict['analyticObject'] = self.analytic_object.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectWithContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "analyticObject": AnalyticObjectDefinitionDTO.from_dict(obj["analyticObject"]) if obj.get("analyticObject") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_objects_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_objects_dto.py new file mode 100644 index 0000000000..573bb986b4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_objects_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_model_analytic_object_dto import DataModelAnalyticObjectDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectsDTO(BaseModel): + """ + A collection of analytic objects + """ # noqa: E501 + analytic_objects: Optional[List[DataModelAnalyticObjectDTO]] = Field(default=None, alias="analyticObjects") + __properties: ClassVar[List[str]] = ["analyticObjects"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) + _items = [] + if self.analytic_objects: + for _item_analytic_objects in self.analytic_objects: + if _item_analytic_objects: + _items.append(_item_analytic_objects.to_dict()) + _dict['analyticObjects'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjects": [DataModelAnalyticObjectDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/any.py b/src/visier_platform_sdk/visier_platform_sdk/models/any.py new file mode 100644 index 0000000000..10d330b518 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/any.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class Any(BaseModel): + """ + Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. + """ # noqa: E501 + type: Optional[StrictStr] = Field(default=None, description="The type of the serialized message.", alias="@type") + additional_properties: Dict[str, Any] = {} + __properties: ClassVar[List[str]] = ["@type"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of Any from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + * Fields in `self.additional_properties` are added to the output dict. + """ + excluded_fields: Set[str] = set([ + "additional_properties", + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # puts key-value pairs in additional_properties in the top level + if self.additional_properties is not None: + for _key, _value in self.additional_properties.items(): + _dict[_key] = _value + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of Any from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "@type": obj.get("@type") + }) + # store additional fields in additional_properties + for _key in obj.keys(): + if _key not in cls.__properties: + _obj.additional_properties[_key] = obj.get(_key) + + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credential_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credential_request.py new file mode 100644 index 0000000000..a0604b9a15 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credential_request.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.connector import Connector +from typing import Optional, Set +from typing_extensions import Self + +class AssignConnectorCredentialRequest(BaseModel): + """ + AssignConnectorCredentialRequest + """ # noqa: E501 + connectors: Optional[List[Connector]] = Field(default=None, description="A list of objects representing the data connectors to be assigned with credentials.") + __properties: ClassVar[List[str]] = ["connectors"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignConnectorCredentialRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) + _items = [] + if self.connectors: + for _item_connectors in self.connectors: + if _item_connectors: + _items.append(_item_connectors.to_dict()) + _dict['connectors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignConnectorCredentialRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectors": [Connector.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py new file mode 100644 index 0000000000..18d164cd94 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.assign_connector_with_credentials_response_dto import AssignConnectorWithCredentialsResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class AssignConnectorCredentialsByTenantResponseDTO(BaseModel): + """ + AssignConnectorCredentialsByTenantResponseDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + connectors: Optional[List[AssignConnectorWithCredentialsResponseDTO]] = Field(default=None, description="A list of objects representing the assigned credentials and connectors.") + status: Optional[StrictStr] = Field(default=None, description="The state of the credential assignment. Valid values are Succeed or Failed.") + message: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["tenantCode", "connectors", "status", "message"] + + @field_validator('status') + def status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unknown', 'Succeed', 'Failed']): + raise ValueError("must be one of enum values ('Unknown', 'Succeed', 'Failed')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignConnectorCredentialsByTenantResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) + _items = [] + if self.connectors: + for _item_connectors in self.connectors: + if _item_connectors: + _items.append(_item_connectors.to_dict()) + _dict['connectors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignConnectorCredentialsByTenantResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "connectors": [AssignConnectorWithCredentialsResponseDTO.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None, + "status": obj.get("status"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_response_dto.py new file mode 100644 index 0000000000..698747ed45 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.assign_connector_credentials_by_tenant_response_dto import AssignConnectorCredentialsByTenantResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class AssignConnectorCredentialsResponseDTO(BaseModel): + """ + AssignConnectorCredentialsResponseDTO + """ # noqa: E501 + tenants: Optional[List[AssignConnectorCredentialsByTenantResponseDTO]] = Field(default=None, description="A list of objects representing the tenants and data connectors that were assigned connector credentials.") + __properties: ClassVar[List[str]] = ["tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignConnectorCredentialsResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignConnectorCredentialsResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [AssignConnectorCredentialsByTenantResponseDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py new file mode 100644 index 0000000000..1aed9aa882 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.assigned_credential_info_response_dto import AssignedCredentialInfoResponseDTO +from visier_platform_sdk.models.connector_info_response_dto import ConnectorInfoResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class AssignConnectorWithCredentialsResponseDTO(BaseModel): + """ + AssignConnectorWithCredentialsResponseDTO + """ # noqa: E501 + connector: Optional[ConnectorInfoResponseDTO] = Field(default=None, description="The data connector that was assigned a connector credential.") + credential: Optional[AssignedCredentialInfoResponseDTO] = Field(default=None, description="A connector credential that was assigned to a data connector") + __properties: ClassVar[List[str]] = ["connector", "credential"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignConnectorWithCredentialsResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of connector + if self.connector: + _dict['connector'] = self.connector.to_dict() + # override the default output from pydantic by calling `to_dict()` of credential + if self.credential: + _dict['credential'] = self.credential.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignConnectorWithCredentialsResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connector": ConnectorInfoResponseDTO.from_dict(obj["connector"]) if obj.get("connector") is not None else None, + "credential": AssignedCredentialInfoResponseDTO.from_dict(obj["credential"]) if obj.get("credential") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py new file mode 100644 index 0000000000..b3d671ea31 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.assign_revoke_permission_by_user_dto import AssignRevokePermissionByUserDTO +from visier_platform_sdk.models.permission_assigned_for_local_tenant_dto import PermissionAssignedForLocalTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class AssignRevokePermissionByPermissionDTO(BaseModel): + """ + The results of the permission assignment or removal. + """ # noqa: E501 + permission: Optional[PermissionAssignedForLocalTenantDTO] = None + users: Optional[List[AssignRevokePermissionByUserDTO]] = Field(default=None, description="A list of objects representing the users that was permission was assigned to or removed from.") + __properties: ClassVar[List[str]] = ["permission", "users"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignRevokePermissionByPermissionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of permission + if self.permission: + _dict['permission'] = self.permission.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in users (list) + _items = [] + if self.users: + for _item_users in self.users: + if _item_users: + _items.append(_item_users.to_dict()) + _dict['users'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignRevokePermissionByPermissionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permission": PermissionAssignedForLocalTenantDTO.from_dict(obj["permission"]) if obj.get("permission") is not None else None, + "users": [AssignRevokePermissionByUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py new file mode 100644 index 0000000000..f0864ebe6b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.assign_revoke_permission_by_permission_dto import AssignRevokePermissionByPermissionDTO +from typing import Optional, Set +from typing_extensions import Self + +class AssignRevokePermissionByTenantDTO(BaseModel): + """ + The permissions organized by tenant. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + permissions: Optional[List[AssignRevokePermissionByPermissionDTO]] = Field(default=None, description="A list of objects representing the assigned or removed permissions.") + status: Optional[StrictStr] = Field(default=None, description="The state of the permission assignment. Valid values are Succeed or Failed.") + message: Optional[StrictStr] = Field(default=None, description="A detailed description of the request outcome, if available.") + project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project that the change was made in, if applicable.", alias="projectId") + __properties: ClassVar[List[str]] = ["tenantCode", "permissions", "status", "message", "projectId"] + + @field_validator('status') + def status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unknown', 'Succeed', 'Failed']): + raise ValueError("must be one of enum values ('Unknown', 'Succeed', 'Failed')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignRevokePermissionByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) + _items = [] + if self.permissions: + for _item_permissions in self.permissions: + if _item_permissions: + _items.append(_item_permissions.to_dict()) + _dict['permissions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignRevokePermissionByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "permissions": [AssignRevokePermissionByPermissionDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None, + "status": obj.get("status"), + "message": obj.get("message"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py new file mode 100644 index 0000000000..55ad2767b3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AssignRevokePermissionByUserDTO(BaseModel): + """ + The results of the permission assignment or removal by user. + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") + username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.") + message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the user permission.") + __properties: ClassVar[List[str]] = ["userId", "username", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignRevokePermissionByUserDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignRevokePermissionByUserDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "username": obj.get("username"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_request_dto.py new file mode 100644 index 0000000000..1cadc9a0fa --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_request_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AssignRevokePermissionRequestDTO(BaseModel): + """ + Set permission detail permissionId with assign to userIds + """ # noqa: E501 + permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with a permission.", alias="permissionId") + user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing unique user IDs.", alias="userIds") + __properties: ClassVar[List[str]] = ["permissionId", "userIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignRevokePermissionRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignRevokePermissionRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissionId": obj.get("permissionId"), + "userIds": obj.get("userIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_request_dto.py new file mode 100644 index 0000000000..48bf49c80a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_request_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.assign_revoke_permission_request_dto import AssignRevokePermissionRequestDTO +from visier_platform_sdk.models.target_project_for_tenants_list_dto import TargetProjectForTenantsListDTO +from typing import Optional, Set +from typing_extensions import Self + +class AssignRevokePermissionsRequestDTO(BaseModel): + """ + Set permissions request List of permissionId with assign to user Ids + """ # noqa: E501 + permissions: Optional[List[AssignRevokePermissionRequestDTO]] = Field(default=None, description="A list of objects representing the permissions to assign to or remove from users.") + target_project_for_tenants_list: Optional[TargetProjectForTenantsListDTO] = Field(default=None, description="Administrating tenants can specify the tenants and projects in which to assign permissions to users or remove permissions from users. Specify one `projectId` per `tenantCode`. If omitted, the request is immediately published to production or applied to the `ProjectID` in the request header, if available, for the administrating tenant or TargetTenantID, if available.", alias="targetProjectForTenantsList") + __properties: ClassVar[List[str]] = ["permissions", "targetProjectForTenantsList"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignRevokePermissionsRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) + _items = [] + if self.permissions: + for _item_permissions in self.permissions: + if _item_permissions: + _items.append(_item_permissions.to_dict()) + _dict['permissions'] = _items + # override the default output from pydantic by calling `to_dict()` of target_project_for_tenants_list + if self.target_project_for_tenants_list: + _dict['targetProjectForTenantsList'] = self.target_project_for_tenants_list.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignRevokePermissionsRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissions": [AssignRevokePermissionRequestDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None, + "targetProjectForTenantsList": TargetProjectForTenantsListDTO.from_dict(obj["targetProjectForTenantsList"]) if obj.get("targetProjectForTenantsList") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_response_dto.py new file mode 100644 index 0000000000..8a965b5890 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.assign_revoke_permission_by_tenant_dto import AssignRevokePermissionByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class AssignRevokePermissionsResponseDTO(BaseModel): + """ + The results of the permission assignment or removal. + """ # noqa: E501 + tenants: Optional[List[AssignRevokePermissionByTenantDTO]] = Field(default=None, description="A list of objects representing the users that were assigned permissions, organized by the tenants the users belong to.") + __properties: ClassVar[List[str]] = ["tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignRevokePermissionsResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignRevokePermissionsResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [AssignRevokePermissionByTenantDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assigned_credential_info_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assigned_credential_info_response_dto.py new file mode 100644 index 0000000000..fe5503db46 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assigned_credential_info_response_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class AssignedCredentialInfoResponseDTO(BaseModel): + """ + AssignedCredentialInfoResponseDTO + """ # noqa: E501 + credential_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="credentialId") + display_name: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.", alias="displayName") + message: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["credentialId", "displayName", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AssignedCredentialInfoResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AssignedCredentialInfoResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "credentialId": obj.get("credentialId"), + "displayName": obj.get("displayName"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_info_dto.py deleted file mode 100644 index 443ca0e12e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_info_dto.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.authentication_o_auth2_user_subnet_info_dto import AuthenticationOAuth2UserSubnetInfoDTO -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_details_dto import AuthenticationOAuth2UserTenantDetailsDTO -from visier_platform_sdk.models.servicing_servicing_capability_proto_enum_access_lookup_dto import ServicingServicingCapabilityProtoEnumAccessLookupDTO -from typing import Optional, Set -from typing_extensions import Self - -class AuthenticationOAuth2UserInfoDTO(BaseModel): - """ - Response from OAuth 2 `userinfo` endpoint. - """ # noqa: E501 - subject: Optional[StrictStr] = Field(default=None, description="The user's display name.") - name: Optional[StrictStr] = Field(default=None, description="The user's Common Name.") - email: Optional[StrictStr] = Field(default=None, description="The user's email address.") - visier_user_id: Optional[StrictStr] = Field(default=None, description="The user's unique ID.", alias="visier:user_id") - visier_capabilities: Optional[ServicingServicingCapabilityProtoEnumAccessLookupDTO] = Field(default=None, description="The user's profile capabilities.", alias="visier:capabilities") - visier_subnets: Optional[AuthenticationOAuth2UserSubnetInfoDTO] = Field(default=None, description="Subnet restrictions controlling the IP addresses from which users can access the tenant.", alias="visier:subnets") - visier_export_subnets: Optional[AuthenticationOAuth2UserSubnetInfoDTO] = Field(default=None, description="Subnet restrictions controlling the IP addresses from which data and metadata requests can be made.", alias="visier:export_subnets") - visier_tenant_details: Optional[AuthenticationOAuth2UserTenantDetailsDTO] = Field(default=None, description="Detailed information about the analytic tenant. Included in the response if `includeTenantDetail` is `true`.", alias="visier:tenant_details") - __properties: ClassVar[List[str]] = ["subject", "name", "email", "visier:user_id", "visier:capabilities", "visier:subnets", "visier:export_subnets", "visier:tenant_details"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserInfoDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of visier_capabilities - if self.visier_capabilities: - _dict['visier:capabilities'] = self.visier_capabilities.to_dict() - # override the default output from pydantic by calling `to_dict()` of visier_subnets - if self.visier_subnets: - _dict['visier:subnets'] = self.visier_subnets.to_dict() - # override the default output from pydantic by calling `to_dict()` of visier_export_subnets - if self.visier_export_subnets: - _dict['visier:export_subnets'] = self.visier_export_subnets.to_dict() - # override the default output from pydantic by calling `to_dict()` of visier_tenant_details - if self.visier_tenant_details: - _dict['visier:tenant_details'] = self.visier_tenant_details.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserInfoDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "subject": obj.get("subject"), - "name": obj.get("name"), - "email": obj.get("email"), - "visier:user_id": obj.get("visier:user_id"), - "visier:capabilities": ServicingServicingCapabilityProtoEnumAccessLookupDTO.from_dict(obj["visier:capabilities"]) if obj.get("visier:capabilities") is not None else None, - "visier:subnets": AuthenticationOAuth2UserSubnetInfoDTO.from_dict(obj["visier:subnets"]) if obj.get("visier:subnets") is not None else None, - "visier:export_subnets": AuthenticationOAuth2UserSubnetInfoDTO.from_dict(obj["visier:export_subnets"]) if obj.get("visier:export_subnets") is not None else None, - "visier:tenant_details": AuthenticationOAuth2UserTenantDetailsDTO.from_dict(obj["visier:tenant_details"]) if obj.get("visier:tenant_details") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_subnet_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_subnet_info_dto.py deleted file mode 100644 index 7b3eb5e3cf..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_subnet_info_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AuthenticationOAuth2UserSubnetInfoDTO(BaseModel): - """ - Subnet access details. - """ # noqa: E501 - access_type: Optional[StrictStr] = Field(default=None, description="The type of subnet access granted to the user. Possible values are: * `Unknown`: Could not determine subnet access details. * `All`: No subnet restrictions. * `Restricted`: Access is only granted to requests originating from the specified `subnets`. * `None`: Access is denied. Only applicable to the Data Export API.", alias="accessType") - subnets: Optional[List[StrictStr]] = Field(default=None, description="The list of trusted IP addresses from which access is granted if accessType is `Restricted`. Must be in Classless Inter-Domain Routing (CIDR) format: `xxx.xxx.xxx.xxx/xx`.") - __properties: ClassVar[List[str]] = ["accessType", "subnets"] - - @field_validator('access_type') - def access_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unknown', 'All', 'Restricted', 'None']): - raise ValueError("must be one of enum values ('Unknown', 'All', 'Restricted', 'None')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserSubnetInfoDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserSubnetInfoDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "accessType": obj.get("accessType"), - "subnets": obj.get("subnets") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_detail_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_detail_dto.py deleted file mode 100644 index 48351cd5b6..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_detail_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_properties_dto import AuthenticationOAuth2UserTenantPropertiesDTO -from typing import Optional, Set -from typing_extensions import Self - -class AuthenticationOAuth2UserTenantDetailDTO(BaseModel): - """ - Tenant detail information. - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant's unique ID.", alias="tenantCode") - display_name: Optional[StrictStr] = Field(default=None, description="The tenant's display name.", alias="displayName") - properties: Optional[AuthenticationOAuth2UserTenantPropertiesDTO] = Field(default=None, description="The tenant's properties.") - __properties: ClassVar[List[str]] = ["tenantCode", "displayName", "properties"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserTenantDetailDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of properties - if self.properties: - _dict['properties'] = self.properties.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserTenantDetailDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "displayName": obj.get("displayName"), - "properties": AuthenticationOAuth2UserTenantPropertiesDTO.from_dict(obj["properties"]) if obj.get("properties") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_details_dto.py deleted file mode 100644 index c696cfaabc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_details_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.authentication_o_auth2_user_tenant_detail_dto import AuthenticationOAuth2UserTenantDetailDTO -from typing import Optional, Set -from typing_extensions import Self - -class AuthenticationOAuth2UserTenantDetailsDTO(BaseModel): - """ - The details of all accessible analytic tenants - """ # noqa: E501 - details: Optional[List[AuthenticationOAuth2UserTenantDetailDTO]] = Field(default=None, description="The details of all accessible analytic tenants.") - __properties: ClassVar[List[str]] = ["details"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserTenantDetailsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in details (list) - _items = [] - if self.details: - for _item_details in self.details: - if _item_details: - _items.append(_item_details.to_dict()) - _dict['details'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserTenantDetailsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "details": [AuthenticationOAuth2UserTenantDetailDTO.from_dict(_item) for _item in obj["details"]] if obj.get("details") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_properties_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_properties_dto.py deleted file mode 100644 index 680b314571..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/authentication_o_auth2_user_tenant_properties_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class AuthenticationOAuth2UserTenantPropertiesDTO(BaseModel): - """ - Detailed information about the tenant. - """ # noqa: E501 - vanity_url_name: Optional[StrictStr] = Field(default=None, description="The tenant's vanity name.", alias="vanityUrlName") - __properties: ClassVar[List[str]] = ["vanityUrlName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserTenantPropertiesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of AuthenticationOAuth2UserTenantPropertiesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "vanityUrlName": obj.get("vanityUrlName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/bamboo_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/bamboo_auth_params_dto.py new file mode 100644 index 0000000000..2a421f61be --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/bamboo_auth_params_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class BambooAuthParamsDTO(BaseModel): + """ + BambooAuthParamsDTO + """ # noqa: E501 + access_key: Optional[StrictStr] = Field(default=None, alias="accessKey") + tenant_domain_name: Optional[StrictStr] = Field(default=None, alias="tenantDomainName") + __properties: ClassVar[List[str]] = ["accessKey", "tenantDomainName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BambooAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BambooAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "accessKey": obj.get("accessKey"), + "tenantDomainName": obj.get("tenantDomainName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/basic_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/basic_information_dto.py new file mode 100644 index 0000000000..ea2ceb79b2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/basic_information_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.synonym_list_dto import SynonymListDTO +from typing import Optional, Set +from typing_extensions import Self + +class BasicInformationDTO(BaseModel): + """ + Fields that identify and describe the object, such as its display name, description, and explanation. + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="The user-friendly name for the object.", alias="displayName") + short_display_name: Optional[StrictStr] = Field(default=None, description="A shortened version of the display name. If the object is visible in the solution experience, this name is displayed in visualization titles.", alias="shortDisplayName") + description: Optional[StrictStr] = Field(default=None, description="A short description of the object. Descriptions provide in-context help for your users while working in Visier.") + explanation: Optional[StrictStr] = Field(default=None, description="A longer description of the object that typically includes a definition, calculation details, and other guidance about how to use the object.") + designer_notes: Optional[StrictStr] = Field(default=None, description="An admin-only description of the object that provides design-specific information or considerations.", alias="designerNotes") + synonym_list: Optional[SynonymListDTO] = Field(default=None, description="Alternative words or phrases for the object.", alias="synonymList") + __properties: ClassVar[List[str]] = ["displayName", "shortDisplayName", "description", "explanation", "designerNotes", "synonymList"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BasicInformationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of synonym_list + if self.synonym_list: + _dict['synonymList'] = self.synonym_list.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BasicInformationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "shortDisplayName": obj.get("shortDisplayName"), + "description": obj.get("description"), + "explanation": obj.get("explanation"), + "designerNotes": obj.get("designerNotes"), + "synonymList": SynonymListDTO.from_dict(obj["synonymList"]) if obj.get("synonymList") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/basic_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/basic_s3_auth_params_dto.py new file mode 100644 index 0000000000..19106fc70f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/basic_s3_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class BasicS3AuthParamsDTO(BaseModel): + """ + BasicS3AuthParamsDTO + """ # noqa: E501 + bucket_name: Optional[StrictStr] = Field(default=None, alias="bucketName") + bucket_region: Optional[StrictStr] = Field(default=None, alias="bucketRegion") + access_key: Optional[StrictStr] = Field(default=None, alias="accessKey") + secret_key: Optional[StrictStr] = Field(default=None, alias="secretKey") + path: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["bucketName", "bucketRegion", "accessKey", "secretKey", "path"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BasicS3AuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BasicS3AuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bucketName": obj.get("bucketName"), + "bucketRegion": obj.get("bucketRegion"), + "accessKey": obj.get("accessKey"), + "secretKey": obj.get("secretKey"), + "path": obj.get("path") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/batch_tenant_provision_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/batch_tenant_provision_apidto.py new file mode 100644 index 0000000000..e9d5a2adae --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/batch_tenant_provision_apidto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_provision_apidto import TenantProvisionAPIDTO +from typing import Optional, Set +from typing_extensions import Self + +class BatchTenantProvisionAPIDTO(BaseModel): + """ + BatchTenantProvisionAPIDTO + """ # noqa: E501 + tenants: Optional[List[TenantProvisionAPIDTO]] = Field(default=None, description="An array of tenants to create. The maximum number of tenants to create in one request is 200.") + __properties: ClassVar[List[str]] = ["tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BatchTenantProvisionAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BatchTenantProvisionAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [TenantProvisionAPIDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/big_query_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/big_query_auth_params_dto.py new file mode 100644 index 0000000000..f5d207784a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/big_query_auth_params_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.big_query_service_account_params_dto import BigQueryServiceAccountParamsDTO +from typing import Optional, Set +from typing_extensions import Self + +class BigQueryAuthParamsDTO(BaseModel): + """ + BigQueryAuthParamsDTO + """ # noqa: E501 + project_id: Optional[StrictStr] = Field(default=None, alias="projectId") + dataset_location: Optional[StrictStr] = Field(default=None, alias="datasetLocation") + refresh_token: Optional[StrictStr] = Field(default=None, alias="refreshToken") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + default_dataset: Optional[StrictStr] = Field(default=None, alias="defaultDataset") + service_account_params: Optional[BigQueryServiceAccountParamsDTO] = Field(default=None, alias="serviceAccountParams") + __properties: ClassVar[List[str]] = ["projectId", "datasetLocation", "refreshToken", "clientId", "clientSecret", "defaultDataset", "serviceAccountParams"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BigQueryAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of service_account_params + if self.service_account_params: + _dict['serviceAccountParams'] = self.service_account_params.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BigQueryAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "projectId": obj.get("projectId"), + "datasetLocation": obj.get("datasetLocation"), + "refreshToken": obj.get("refreshToken"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), + "defaultDataset": obj.get("defaultDataset"), + "serviceAccountParams": BigQueryServiceAccountParamsDTO.from_dict(obj["serviceAccountParams"]) if obj.get("serviceAccountParams") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/big_query_service_account_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/big_query_service_account_params_dto.py new file mode 100644 index 0000000000..13ce9ee6b9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/big_query_service_account_params_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class BigQueryServiceAccountParamsDTO(BaseModel): + """ + BigQueryServiceAccountParamsDTO + """ # noqa: E501 + service_account_email: Optional[StrictStr] = Field(default=None, alias="serviceAccountEmail") + private_key: Optional[StrictStr] = Field(default=None, alias="privateKey") + __properties: ClassVar[List[str]] = ["serviceAccountEmail", "privateKey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BigQueryServiceAccountParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BigQueryServiceAccountParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "serviceAccountEmail": obj.get("serviceAccountEmail"), + "privateKey": obj.get("privateKey") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_change_response_dto.py new file mode 100644 index 0000000000..69c9d06b90 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_change_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.failed_change_dto import FailedChangeDTO +from visier_platform_sdk.models.successful_change_dto import SuccessfulChangeDTO +from typing import Optional, Set +from typing_extensions import Self + +class BulkChangeResponseDTO(BaseModel): + """ + BulkChangeResponseDTO + """ # noqa: E501 + successes: Optional[List[SuccessfulChangeDTO]] = Field(default=None, description="The list of successful changes.") + failures: Optional[List[FailedChangeDTO]] = Field(default=None, description="The list of failed changes.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BulkChangeResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BulkChangeResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [SuccessfulChangeDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [FailedChangeDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_response_dto.py new file mode 100644 index 0000000000..67cf7544d2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_access_set_failure_dto import DataAccessSetFailureDTO +from visier_platform_sdk.models.data_access_set_success_dto import DataAccessSetSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class BulkDataAccessSetResponseDTO(BaseModel): + """ + BulkDataAccessSetResponseDTO + """ # noqa: E501 + successes: Optional[List[DataAccessSetSuccessDTO]] = Field(default=None, description="The successfully created data access sets.") + failures: Optional[List[DataAccessSetFailureDTO]] = Field(default=None, description="The data access sets that failed to be created and any relevant error information.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BulkDataAccessSetResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BulkDataAccessSetResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [DataAccessSetSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [DataAccessSetFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/business_location_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/business_location_dto.py new file mode 100644 index 0000000000..06ea194160 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/business_location_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class BusinessLocationDTO(BaseModel): + """ + The location of operations or where business is performed. + """ # noqa: E501 + country_code: Optional[StrictStr] = Field(default=None, description="The country in which the business is located or business is performed. The country code must follow ISO 3166 standards in alpha-2 format (two-letter code).", alias="countryCode") + postal_code: Optional[StrictStr] = Field(default=None, description="The postal code associated with the business location. Cannot be blank.", alias="postalCode") + __properties: ClassVar[List[str]] = ["countryCode", "postalCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BusinessLocationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BusinessLocationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "countryCode": obj.get("countryCode"), + "postalCode": obj.get("postalCode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculated_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculated_property_type_dto.py new file mode 100644 index 0000000000..a9ebf88b60 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculated_property_type_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CalculatedPropertyTypeDTO(BaseModel): + """ + CalculatedPropertyTypeDTO + """ # noqa: E501 + data_type: Optional[StrictStr] = Field(default=None, description="The data type of the property, such as Categorical, HourDuration, or Ratio.", alias="dataType") + formula: Optional[StrictStr] = Field(default=None, description="The formula used to calculate the property's value, written in Visier Formula Language.") + __properties: ClassVar[List[str]] = ["dataType", "formula"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CalculatedPropertyTypeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CalculatedPropertyTypeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataType": obj.get("dataType"), + "formula": obj.get("formula") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_dto.py new file mode 100644 index 0000000000..32c6a7cffd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.perspective_configuration_dto import PerspectiveConfigurationDTO +from typing import Optional, Set +from typing_extensions import Self + +class CalculationConceptConfigurationDTO(BaseModel): + """ + CalculationConceptConfigurationDTO + """ # noqa: E501 + perspectives: Optional[List[PerspectiveConfigurationDTO]] = Field(default=None, description="A list of objects representing the perspectives in the calculation concept.") + __properties: ClassVar[List[str]] = ["perspectives"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CalculationConceptConfigurationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in perspectives (list) + _items = [] + if self.perspectives: + for _item_perspectives in self.perspectives: + if _item_perspectives: + _items.append(_item_perspectives.to_dict()) + _dict['perspectives'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CalculationConceptConfigurationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "perspectives": [PerspectiveConfigurationDTO.from_dict(_item) for _item in obj["perspectives"]] if obj.get("perspectives") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_map_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_map_dto.py new file mode 100644 index 0000000000..0ee12525bc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_map_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.perspective_configuration_dto import PerspectiveConfigurationDTO +from typing import Optional, Set +from typing_extensions import Self + +class CalculationConceptConfigurationMapDTO(BaseModel): + """ + The configuration to apply to the concept. + """ # noqa: E501 + perspectives_to_map: Optional[List[PerspectiveConfigurationDTO]] = Field(default=None, description="A list of objects representing the list of perspectives in the calculation concept.", alias="perspectivesToMap") + __properties: ClassVar[List[str]] = ["perspectivesToMap"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CalculationConceptConfigurationMapDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in perspectives_to_map (list) + _items = [] + if self.perspectives_to_map: + for _item_perspectives_to_map in self.perspectives_to_map: + if _item_perspectives_to_map: + _items.append(_item_perspectives_to_map.to_dict()) + _dict['perspectivesToMap'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CalculationConceptConfigurationMapDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "perspectivesToMap": [PerspectiveConfigurationDTO.from_dict(_item) for _item in obj["perspectivesToMap"]] if obj.get("perspectivesToMap") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_dto.py new file mode 100644 index 0000000000..cc2020c4de --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.calculation_concept_configuration_dto import CalculationConceptConfigurationDTO +from typing import Optional, Set +from typing_extensions import Self + +class CalculationConceptDTO(BaseModel): + """ + CalculationConceptDTO + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the calculation concept.") + name: Optional[StrictStr] = Field(default=None, description="The display name of the calculation concept.") + configuration: Optional[CalculationConceptConfigurationDTO] = Field(default=None, description="A list of objects representing the configuration for the calculation concept.") + __properties: ClassVar[List[str]] = ["uuid", "name", "configuration"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CalculationConceptDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of configuration + if self.configuration: + _dict['configuration'] = self.configuration.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CalculationConceptDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "name": obj.get("name"), + "configuration": CalculationConceptConfigurationDTO.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_list_dto.py new file mode 100644 index 0000000000..3bb8a29a8f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.calculation_concept_dto import CalculationConceptDTO +from typing import Optional, Set +from typing_extensions import Self + +class CalculationConceptListDTO(BaseModel): + """ + CalculationConceptListDTO + """ # noqa: E501 + concepts: Optional[List[CalculationConceptDTO]] = Field(default=None, description="A list of objects representing calculation concepts.") + __properties: ClassVar[List[str]] = ["concepts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CalculationConceptListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) + _items = [] + if self.concepts: + for _item_concepts in self.concepts: + if _item_concepts: + _items.append(_item_concepts.to_dict()) + _dict['concepts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CalculationConceptListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "concepts": [CalculationConceptDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py new file mode 100644 index 0000000000..02cfdfd2d9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CancelJobBatchFromJobIdDTO(BaseModel): + """ + CancelJobBatchFromJobIdDTO + """ # noqa: E501 + job_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of jobs to cancel. The maximum number of jobs that can be cancelled is 500.", alias="jobIds") + __properties: ClassVar[List[str]] = ["jobIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CancelJobBatchFromJobIdDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CancelJobBatchFromJobIdDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobIds": obj.get("jobIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/capabilities_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/capabilities_dto.py new file mode 100644 index 0000000000..5dbb8e2372 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/capabilities_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CapabilitiesDTO(BaseModel): + """ + CapabilitiesDTO + """ # noqa: E501 + capability: Optional[StrictStr] = Field(default=None, description="The name of the capability.") + access_level: Optional[StrictStr] = Field(default=None, description="The access level of the profile for the given capability.", alias="accessLevel") + view_level: Optional[StrictStr] = Field(default=None, description="The view level of the profile for the given capability.", alias="viewLevel") + __properties: ClassVar[List[str]] = ["capability", "accessLevel", "viewLevel"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CapabilitiesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CapabilitiesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "capability": obj.get("capability"), + "accessLevel": obj.get("accessLevel"), + "viewLevel": obj.get("viewLevel") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/capability_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/capability_dto.py new file mode 100644 index 0000000000..669f319c88 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/capability_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CapabilityDTO(BaseModel): + """ + CapabilityDTO + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The unique name of the capability.") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable capability name to display in Visier, such as \"Schedule Analysis\".", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="A description of the capability.") + __properties: ClassVar[List[str]] = ["name", "displayName", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CapabilityDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CapabilityDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "displayName": obj.get("displayName"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/capability_group_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/capability_group_dto.py new file mode 100644 index 0000000000..39ae21aeed --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/capability_group_dto.py @@ -0,0 +1,146 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CapabilityGroupDTO(BaseModel): + """ + CapabilityGroupDTO + """ # noqa: E501 + group: Optional[StrictStr] = None + access_level: Optional[StrictStr] = Field(default=None, alias="accessLevel") + view_level: Optional[StrictStr] = Field(default=None, alias="viewLevel") + api_access_level: Optional[StrictStr] = Field(default=None, alias="apiAccessLevel") + api_view_level: Optional[StrictStr] = Field(default=None, alias="apiViewLevel") + __properties: ClassVar[List[str]] = ["group", "accessLevel", "viewLevel", "apiAccessLevel", "apiViewLevel"] + + @field_validator('group') + def group_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['unknown', 'Any', 'NotRequired', 'Data', 'Application', 'ApplicationManagement', 'Security', 'UserManagement', 'Model', 'TenantManagement', 'Settings', 'DataUpload', 'FileSharing', 'Approve', 'TwoStepPublish', 'DirectPublish', 'TenantPreview', 'OpenAPI', 'OpenPlatform', 'ManageJobs', 'SupportPowerUser', 'LMSPowerUser', 'SupportProjectManager', 'SupportStandardUser', 'Translation', 'ModuleManagement', 'AnalyticObjectCreation', 'ClassicAdminConfig', 'ClassicReadOnlyAdminConfig', 'ClassicManageTenant', 'ClassicAnalysis', 'ClassicDraft', 'ClassicInternalDebugging', 'ClassicAPIRestricted', 'InfrastructureOperations', 'SolutionDesigner', 'AccessToAllData', 'FeatureToggle', 'SystemDiagnostics', 'SystemDiagnosticsSensitive', 'ConsumptionPricingAdmin', 'ReadImpersonator', 'WriteImpersonator', 'ReadImpersonated', 'WriteImpersonated', 'MasterImpersonator', 'Impersonator', 'WillowUser', 'WillowAdmin', 'GeminiManager', 'GeminiSupport', 'GeminiAdmin', 'GeminiSysAdmin', 'ConsolidatedAnalytics', 'RequestSecureTicket', 'RequestAuthToken', 'OAuth2ClientRegistration', 'AccessToAllProperties', 'AccessToKeyProperties', 'PlanningManagement', 'WillowVantageCrawler', 'DataValidation', 'ContentReassignment', 'ReportDownloading', 'PlutoUser', 'ReportingManagement', 'QuotaManagement', 'WebhookManagement', 'ProfileManagement', 'UserGroupManagement', 'ProactiveAlertManagement', 'PermissionManagement']): + raise ValueError("must be one of enum values ('unknown', 'Any', 'NotRequired', 'Data', 'Application', 'ApplicationManagement', 'Security', 'UserManagement', 'Model', 'TenantManagement', 'Settings', 'DataUpload', 'FileSharing', 'Approve', 'TwoStepPublish', 'DirectPublish', 'TenantPreview', 'OpenAPI', 'OpenPlatform', 'ManageJobs', 'SupportPowerUser', 'LMSPowerUser', 'SupportProjectManager', 'SupportStandardUser', 'Translation', 'ModuleManagement', 'AnalyticObjectCreation', 'ClassicAdminConfig', 'ClassicReadOnlyAdminConfig', 'ClassicManageTenant', 'ClassicAnalysis', 'ClassicDraft', 'ClassicInternalDebugging', 'ClassicAPIRestricted', 'InfrastructureOperations', 'SolutionDesigner', 'AccessToAllData', 'FeatureToggle', 'SystemDiagnostics', 'SystemDiagnosticsSensitive', 'ConsumptionPricingAdmin', 'ReadImpersonator', 'WriteImpersonator', 'ReadImpersonated', 'WriteImpersonated', 'MasterImpersonator', 'Impersonator', 'WillowUser', 'WillowAdmin', 'GeminiManager', 'GeminiSupport', 'GeminiAdmin', 'GeminiSysAdmin', 'ConsolidatedAnalytics', 'RequestSecureTicket', 'RequestAuthToken', 'OAuth2ClientRegistration', 'AccessToAllProperties', 'AccessToKeyProperties', 'PlanningManagement', 'WillowVantageCrawler', 'DataValidation', 'ContentReassignment', 'ReportDownloading', 'PlutoUser', 'ReportingManagement', 'QuotaManagement', 'WebhookManagement', 'ProfileManagement', 'UserGroupManagement', 'ProactiveAlertManagement', 'PermissionManagement')") + return value + + @field_validator('access_level') + def access_level_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['NoAccess', 'ReadOnly', 'Write']): + raise ValueError("must be one of enum values ('NoAccess', 'ReadOnly', 'Write')") + return value + + @field_validator('view_level') + def view_level_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Simple', 'Detailed', 'API', 'Certified', 'Embedded']): + raise ValueError("must be one of enum values ('Simple', 'Detailed', 'API', 'Certified', 'Embedded')") + return value + + @field_validator('api_access_level') + def api_access_level_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['NoAccess', 'ReadOnly', 'Write']): + raise ValueError("must be one of enum values ('NoAccess', 'ReadOnly', 'Write')") + return value + + @field_validator('api_view_level') + def api_view_level_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Simple', 'Detailed', 'API', 'Certified', 'Embedded']): + raise ValueError("must be one of enum values ('Simple', 'Detailed', 'API', 'Certified', 'Embedded')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CapabilityGroupDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CapabilityGroupDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "group": obj.get("group"), + "accessLevel": obj.get("accessLevel"), + "viewLevel": obj.get("viewLevel"), + "apiAccessLevel": obj.get("apiAccessLevel"), + "apiViewLevel": obj.get("apiViewLevel") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_bin_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_bin_dto.py new file mode 100644 index 0000000000..84b121d56b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_bin_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CellDistributionBinDTO(BaseModel): + """ + A cell distribution bin. Each bin has a metric value (of the bin) and the number of observations contributing to the bin. + """ # noqa: E501 + value: Optional[StrictStr] = None + support: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["value", "support"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CellDistributionBinDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CellDistributionBinDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "value": obj.get("value"), + "support": obj.get("support") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_options_dto.py new file mode 100644 index 0000000000..79c233e90d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_options_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CellDistributionOptionsDTO(BaseModel): + """ + Cell distribution options for queries. Include with aggregation queries to enable distribution calculation per cell. + """ # noqa: E501 + bin_count: Optional[StrictInt] = Field(default=None, description="The number of bins to return, minimum of 2, and a maximum of 100.", alias="binCount") + __properties: ClassVar[List[str]] = ["binCount"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CellDistributionOptionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CellDistributionOptionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "binCount": obj.get("binCount") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_dto.py new file mode 100644 index 0000000000..be43a97d21 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.cell_distribution_bin_dto import CellDistributionBinDTO +from typing import Optional, Set +from typing_extensions import Self + +class CellDTO(BaseModel): + """ + An individual value in a cell set. + """ # noqa: E501 + value: Optional[StrictStr] = Field(default=None, description="The value of the cell.") + support: Optional[StrictStr] = Field(default=None, description="The number of data points contributing to this cell.") + coordinates: Optional[List[StrictInt]] = Field(default=None, description="A list of integers representing the coordinates of this cell, identifying its position along each axis.") + distribution: Optional[List[CellDistributionBinDTO]] = Field(default=None, description="The optional distribution of this cell. This will be populated if distribution calculation is requested, and supported by the query.") + __properties: ClassVar[List[str]] = ["value", "support", "coordinates", "distribution"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CellDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in distribution (list) + _items = [] + if self.distribution: + for _item_distribution in self.distribution: + if _item_distribution: + _items.append(_item_distribution.to_dict()) + _dict['distribution'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CellDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "value": obj.get("value"), + "support": obj.get("support"), + "coordinates": obj.get("coordinates"), + "distribution": [CellDistributionBinDTO.from_dict(_item) for _item in obj["distribution"]] if obj.get("distribution") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_dto.py new file mode 100644 index 0000000000..29de8405c7 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.cell_set_axis_position_dto import CellSetAxisPositionDTO +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class CellSetAxisDTO(BaseModel): + """ + The axis of a cell set associated with a dimension. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="The dimension associated with the axis.") + positions: Optional[List[CellSetAxisPositionDTO]] = Field(default=None, description="A list of paths that represent the data's positions along the axis.") + __properties: ClassVar[List[str]] = ["dimension", "positions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CellSetAxisDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in positions (list) + _items = [] + if self.positions: + for _item_positions in self.positions: + if _item_positions: + _items.append(_item_positions.to_dict()) + _dict['positions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CellSetAxisDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "positions": [CellSetAxisPositionDTO.from_dict(_item) for _item in obj["positions"]] if obj.get("positions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_position_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_position_dto.py new file mode 100644 index 0000000000..6ab32e44d2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_position_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CellSetAxisPositionDTO(BaseModel): + """ + The position along the axis of a cell set. + """ # noqa: E501 + path: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the members within a dimension path. For example, a dimension for Location may have the paths \"Canada, BC, Vancouver\" and \"US, California, San Francisco\".") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the position. This is optional and is omitted if unavailable or not requested.", alias="displayName") + display_name_path: Optional[List[StrictStr]] = Field(default=None, description="Optional display name path of the member.", alias="displayNamePath") + __properties: ClassVar[List[str]] = ["path", "displayName", "displayNamePath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CellSetAxisPositionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CellSetAxisPositionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "path": obj.get("path"), + "displayName": obj.get("displayName"), + "displayNamePath": obj.get("displayNamePath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_dto.py new file mode 100644 index 0000000000..0137515416 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_dto.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.cell_dto import CellDTO +from visier_platform_sdk.models.cell_set_axis_dto import CellSetAxisDTO +from typing import Optional, Set +from typing_extensions import Self + +class CellSetDTO(BaseModel): + """ + The set of cells returned from executing an aggregation query. A CellSet represents a structured, multidimensional array of values. + """ # noqa: E501 + cells: Optional[List[CellDTO]] = Field(default=None, description="The set of cells that represent the result of your query.") + axes: Optional[List[CellSetAxisDTO]] = Field(default=None, description="The set of axes for the cell set that represent the objects the data is grouped by.") + lineage: Optional[LineageDTO] = Field(default=None, description="Lineage information for this cell set. This can be omitted if the cell has no lineage or the user did not request lineage information.") + __properties: ClassVar[List[str]] = ["cells", "axes", "lineage"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CellSetDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in cells (list) + _items = [] + if self.cells: + for _item_cells in self.cells: + if _item_cells: + _items.append(_item_cells.to_dict()) + _dict['cells'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in axes (list) + _items = [] + if self.axes: + for _item_axes in self.axes: + if _item_axes: + _items.append(_item_axes.to_dict()) + _dict['axes'] = _items + # override the default output from pydantic by calling `to_dict()` of lineage + if self.lineage: + _dict['lineage'] = self.lineage.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CellSetDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "cells": [CellDTO.from_dict(_item) for _item in obj["cells"]] if obj.get("cells") is not None else None, + "axes": [CellSetAxisDTO.from_dict(_item) for _item in obj["axes"]] if obj.get("axes") is not None else None, + "lineage": LineageDTO.from_dict(obj["lineage"]) if obj.get("lineage") is not None else None + }) + return _obj + +from visier_platform_sdk.models.lineage_dto import LineageDTO +# TODO: Rewrite to not use raise_errors +CellSetDTO.model_rebuild(raise_errors=False) + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_or_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_or_error_dto.py new file mode 100644 index 0000000000..c2a58e6dab --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_or_error_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.cell_set_dto import CellSetDTO +from visier_platform_sdk.models.query_execution_error_dto import QueryExecutionErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class CellSetOrErrorDTO(BaseModel): + """ + A result that is either a cell set for a successful query execution, or an error for a failed query execution. + """ # noqa: E501 + cell_set: Optional[CellSetDTO] = Field(default=None, description="The resulting cell set from a successful query execution.", alias="cellSet") + error: Optional[QueryExecutionErrorDTO] = Field(default=None, description="An error for a failed query execution.") + __properties: ClassVar[List[str]] = ["cellSet", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CellSetOrErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of cell_set + if self.cell_set: + _dict['cellSet'] = self.cell_set.to_dict() + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CellSetOrErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "cellSet": CellSetDTO.from_dict(obj["cellSet"]) if obj.get("cellSet") is not None else None, + "error": QueryExecutionErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/clone_files_into_source_parameters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/clone_files_into_source_parameters_dto.py new file mode 100644 index 0000000000..de5013929c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/clone_files_into_source_parameters_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.date_range_dto import DateRangeDTO +from typing import Optional, Set +from typing_extensions import Self + +class CloneFilesIntoSourceParametersDTO(BaseModel): + """ + The parameters for the `cloneFilesIntoSource` option, such as the source to clone files from, the source to clone files into, and the date range of the files to clone. + """ # noqa: E501 + origin_source: Optional[StrictStr] = Field(default=None, description="The unique identifier of the source to clone files from.", alias="originSource") + target_source: Optional[StrictStr] = Field(default=None, description="The unique identifier of the source to clone files into.", alias="targetSource") + date_range: Optional[DateRangeDTO] = Field(default=None, description="The date range of the files to clone. If undefined, clones all files.", alias="dateRange") + __properties: ClassVar[List[str]] = ["originSource", "targetSource", "dateRange"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CloneFilesIntoSourceParametersDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of date_range + if self.date_range: + _dict['dateRange'] = self.date_range.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CloneFilesIntoSourceParametersDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "originSource": obj.get("originSource"), + "targetSource": obj.get("targetSource"), + "dateRange": DateRangeDTO.from_dict(obj["dateRange"]) if obj.get("dateRange") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cohort_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cohort_filter_dto.py new file mode 100644 index 0000000000..789f7b1059 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cohort_filter_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.key_group_filter_dto import KeyGroupFilterDTO +from visier_platform_sdk.models.query_time_interval_dto import QueryTimeIntervalDTO +from typing import Optional, Set +from typing_extensions import Self + +class CohortFilterDTO(BaseModel): + """ + Use a cohort filter to define a population as it existed during a specific time period. Cohort filters allow you to define a population in terms of a collection of filters, known as a key group. The cohort's defined time interval is independent of the query's time. The cohort's time interval is the time at which the key group should be applied. Cohorts are typically used to follow populations and understand changes to the population over time, such as promotion and resignation rates. + """ # noqa: E501 + key_group: Optional[KeyGroupFilterDTO] = Field(default=None, description="A key group is a collection of filters that define the shape of the analysis population.", alias="keyGroup") + exclude: Optional[StrictBool] = Field(default=None, description="If true, the population is defined by those excluded by the filters. Default is false.") + time_interval: Optional[QueryTimeIntervalDTO] = Field(default=None, description="The time at which to apply the key group, such as a specific day or period of months.", alias="timeInterval") + __properties: ClassVar[List[str]] = ["keyGroup", "exclude", "timeInterval"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CohortFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of key_group + if self.key_group: + _dict['keyGroup'] = self.key_group.to_dict() + # override the default output from pydantic by calling `to_dict()` of time_interval + if self.time_interval: + _dict['timeInterval'] = self.time_interval.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CohortFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "keyGroup": KeyGroupFilterDTO.from_dict(obj["keyGroup"]) if obj.get("keyGroup") is not None else None, + "exclude": obj.get("exclude"), + "timeInterval": QueryTimeIntervalDTO.from_dict(obj["timeInterval"]) if obj.get("timeInterval") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/commit_and_publish_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/commit_and_publish_operation_response_dto.py new file mode 100644 index 0000000000..cb884371ff --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/commit_and_publish_operation_response_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.project_dto import ProjectDTO +from typing import Optional, Set +from typing_extensions import Self + +class CommitAndPublishOperationResponseDTO(BaseModel): + """ + CommitAndPublishOperationResponseDTO + """ # noqa: E501 + published_version: Optional[ProjectDTO] = Field(default=None, description="The project version that was published to production.", alias="publishedVersion") + __properties: ClassVar[List[str]] = ["publishedVersion"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CommitAndPublishOperationResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of published_version + if self.published_version: + _dict['publishedVersion'] = self.published_version.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CommitAndPublishOperationResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "publishedVersion": ProjectDTO.from_dict(obj["publishedVersion"]) if obj.get("publishedVersion") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/commit_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/commit_dto.py new file mode 100644 index 0000000000..5ab1f47910 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/commit_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CommitDTO(BaseModel): + """ + CommitDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the committed change.") + name: Optional[StrictStr] = Field(default=None, description="An identifiable name of the committed change to display in Visier.") + description: Optional[StrictStr] = Field(default=None, description="A description of the committed change.") + __properties: ClassVar[List[str]] = ["id", "name", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CommitDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CommitDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_configuration_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_configuration_result_dto.py new file mode 100644 index 0000000000..5741217f2a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_configuration_result_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConceptConfigurationResultDTO(BaseModel): + """ + ConceptConfigurationResultDTO + """ # noqa: E501 + concept_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the configured concept.", alias="conceptId") + project_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the system-generated project.", alias="projectId") + message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the API result.") + __properties: ClassVar[List[str]] = ["conceptId", "projectId", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptConfigurationResultDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptConfigurationResultDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "conceptId": obj.get("conceptId"), + "projectId": obj.get("projectId"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_definition_dto.py new file mode 100644 index 0000000000..739c7d8e84 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_definition_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.concept_type_details_dto import ConceptTypeDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class ConceptDefinitionDTO(BaseModel): + """ + Information about the concept, such as its UUID and concept type. + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the concept.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the concept.", alias="objectName") + basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the concept, such as its display name, description, and explanation.", alias="basicInformation") + details: Optional[ConceptTypeDetailsDTO] = Field(default=None, description="The concept type and its details.") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of basic_information + if self.basic_information: + _dict['basicInformation'] = self.basic_information.to_dict() + # override the default output from pydantic by calling `to_dict()` of details + if self.details: + _dict['details'] = self.details.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName"), + "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, + "details": ConceptTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_request_dto.py new file mode 100644 index 0000000000..307d132cf8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.concept_delete_with_context_dto import ConceptDeleteWithContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class ConceptDeleteRequestDTO(BaseModel): + """ + The concepts to delete. + """ # noqa: E501 + concepts: Optional[List[ConceptDeleteWithContextDTO]] = Field(default=None, description="The concepts in the request.") + __properties: ClassVar[List[str]] = ["concepts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptDeleteRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) + _items = [] + if self.concepts: + for _item_concepts in self.concepts: + if _item_concepts: + _items.append(_item_concepts.to_dict()) + _dict['concepts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptDeleteRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "concepts": [ConceptDeleteWithContextDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_with_context_dto.py new file mode 100644 index 0000000000..bafa678641 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_with_context_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from visier_platform_sdk.models.object_id_dto import ObjectIdDTO +from typing import Optional, Set +from typing_extensions import Self + +class ConceptDeleteWithContextDTO(BaseModel): + """ + Information about the concept to delete and the context of the API request, such as the tenant code and project ID. + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") + concept: Optional[ObjectIdDTO] = Field(default=None, description="Information identifying the concept to delete.") + __properties: ClassVar[List[str]] = ["executionContext", "concept"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptDeleteWithContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of concept + if self.concept: + _dict['concept'] = self.concept.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptDeleteWithContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "concept": ObjectIdDTO.from_dict(obj["concept"]) if obj.get("concept") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_request_dto.py new file mode 100644 index 0000000000..d25d296a36 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.concept_with_context_dto import ConceptWithContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class ConceptRequestDTO(BaseModel): + """ + The concepts to create or update. + """ # noqa: E501 + concepts: Optional[List[ConceptWithContextDTO]] = Field(default=None, description="The concepts in the request.") + __properties: ClassVar[List[str]] = ["concepts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) + _items = [] + if self.concepts: + for _item_concepts in self.concepts: + if _item_concepts: + _items.append(_item_concepts.to_dict()) + _dict['concepts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "concepts": [ConceptWithContextDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_response_dto.py new file mode 100644 index 0000000000..9e606a2a75 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.concept_with_context_dto import ConceptWithContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class ConceptResponseDTO(BaseModel): + """ + The response for retrieving concepts. + """ # noqa: E501 + concepts: Optional[List[ConceptWithContextDTO]] = Field(default=None, description="The concepts in the response.") + __properties: ClassVar[List[str]] = ["concepts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) + _items = [] + if self.concepts: + for _item_concepts in self.concepts: + if _item_concepts: + _items.append(_item_concepts.to_dict()) + _dict['concepts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "concepts": [ConceptWithContextDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_type_details_dto.py new file mode 100644 index 0000000000..b20a120979 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_type_details_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_definition_dto import ProcessConceptDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class ConceptTypeDetailsDTO(BaseModel): + """ + ConceptTypeDetailsDTO + """ # noqa: E501 + process: Optional[ProcessConceptDefinitionDTO] = Field(default=None, description="The process concept's associated objects, such as its analytic object and status dimension.") + __properties: ClassVar[List[str]] = ["process"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptTypeDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of process + if self.process: + _dict['process'] = self.process.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptTypeDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "process": ProcessConceptDefinitionDTO.from_dict(obj["process"]) if obj.get("process") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_with_context_dto.py new file mode 100644 index 0000000000..d456a75a54 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_with_context_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.concept_definition_dto import ConceptDefinitionDTO +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class ConceptWithContextDTO(BaseModel): + """ + Information about the concept and the context of the API request, such as the tenant code and project ID. + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") + concept: Optional[ConceptDefinitionDTO] = Field(default=None, description="Information about the concept, such as its UUID and concept type.") + __properties: ClassVar[List[str]] = ["executionContext", "concept"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptWithContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of concept + if self.concept: + _dict['concept'] = self.concept.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptWithContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "concept": ConceptDefinitionDTO.from_dict(obj["concept"]) if obj.get("concept") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector.py new file mode 100644 index 0000000000..8c9ea42114 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_and_credential import TenantAndCredential +from typing import Optional, Set +from typing_extensions import Self + +class Connector(BaseModel): + """ + Connector + """ # noqa: E501 + connector_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data connector.", alias="connectorId") + tenants: Optional[List[TenantAndCredential]] = Field(default=None, description="A list of analytic tenants and credentials to be assigned to the connector.") + __properties: ClassVar[List[str]] = ["connectorId", "tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of Connector from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of Connector from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectorId": obj.get("connectorId"), + "tenants": [TenantAndCredential.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector_info_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector_info_response_dto.py new file mode 100644 index 0000000000..c51b082716 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector_info_response_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConnectorInfoResponseDTO(BaseModel): + """ + ConnectorInfoResponseDTO + """ # noqa: E501 + connector_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data connector.", alias="connectorId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data connector name that is displayed within Visier.", alias="displayName") + description: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["connectorId", "displayName", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConnectorInfoResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConnectorInfoResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectorId": obj.get("connectorId"), + "displayName": obj.get("displayName"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_request_dto.py new file mode 100644 index 0000000000..2f97fdbfd4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_request_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConnectorSettingRequestDTO(BaseModel): + """ + ConnectorSettingRequestDTO + """ # noqa: E501 + setting_key: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the setting.", alias="settingKey") + value: Optional[StrictStr] = Field(default=None, description="The setting's value.") + __properties: ClassVar[List[str]] = ["settingKey", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConnectorSettingRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConnectorSettingRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "settingKey": obj.get("settingKey"), + "value": obj.get("value") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_response_dto.py new file mode 100644 index 0000000000..d27f3ee070 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_response_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConnectorSettingResponseDTO(BaseModel): + """ + ConnectorSettingResponseDTO + """ # noqa: E501 + key: Optional[StrictStr] = Field(default=None, description="The unique identifier of the connector setting.") + value: Optional[StrictStr] = Field(default=None, description="The value that was set for the connector setting.") + message: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["key", "value", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConnectorSettingResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConnectorSettingResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "key": obj.get("key"), + "value": obj.get("value"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector_settings_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector_settings_response_dto.py new file mode 100644 index 0000000000..061ee0c59a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector_settings_response_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.connector_info_response_dto import ConnectorInfoResponseDTO +from visier_platform_sdk.models.connector_setting_response_dto import ConnectorSettingResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class ConnectorSettingsResponseDTO(BaseModel): + """ + ConnectorSettingsResponseDTO + """ # noqa: E501 + connector: Optional[ConnectorInfoResponseDTO] = Field(default=None, description="The data connector that was updated in the API request.") + settings: Optional[List[ConnectorSettingResponseDTO]] = Field(default=None, description="The settings that were updated for a data connector.") + __properties: ClassVar[List[str]] = ["connector", "settings"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConnectorSettingsResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of connector + if self.connector: + _dict['connector'] = self.connector.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in settings (list) + _items = [] + if self.settings: + for _item_settings in self.settings: + if _item_settings: + _items.append(_item_settings.to_dict()) + _dict['settings'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConnectorSettingsResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connector": ConnectorInfoResponseDTO.from_dict(obj["connector"]) if obj.get("connector") is not None else None, + "settings": [ConnectorSettingResponseDTO.from_dict(_item) for _item in obj["settings"]] if obj.get("settings") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py new file mode 100644 index 0000000000..fc2fc07239 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConsolidatedAnalyticsAPIExcludedSourceListDTO(BaseModel): + """ + ConsolidatedAnalyticsAPIExcludedSourceListDTO + """ # noqa: E501 + excluded_sources: Optional[List[StrictStr]] = Field(default=None, description="A list of the CA tenant's excluded sources.", alias="excludedSources") + __properties: ClassVar[List[str]] = ["excludedSources"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPIExcludedSourceListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPIExcludedSourceListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "excludedSources": obj.get("excludedSources") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py new file mode 100644 index 0000000000..ab5133dffd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConsolidatedAnalyticsAPISourceTenantListDTO(BaseModel): + """ + ConsolidatedAnalyticsAPISourceTenantListDTO + """ # noqa: E501 + tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="A list of the CA tenant's source tenants.", alias="tenantCodes") + __properties: ClassVar[List[str]] = ["tenantCodes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPISourceTenantListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPISourceTenantListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCodes": obj.get("tenantCodes") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py new file mode 100644 index 0000000000..78f275b14c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConsolidatedAnalyticsAPITenantCreateRequestDTO(BaseModel): + """ + ConsolidatedAnalyticsAPITenantCreateRequestDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The ID of the tenant. For example, WFF_{XXX}~CA{YYY} where {XXX} is the administrating tenant code and {YYY} is the consolidated analytic tenant code.", alias="tenantCode") + __properties: ClassVar[List[str]] = ["tenantCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPITenantCreateRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPITenantCreateRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py new file mode 100644 index 0000000000..6c701d476b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConsolidatedAnalyticsAPITenantListResponseDTO(BaseModel): + """ + ConsolidatedAnalyticsAPITenantListResponseDTO + """ # noqa: E501 + tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="A list of CA tenant codes.", alias="tenantCodes") + __properties: ClassVar[List[str]] = ["tenantCodes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPITenantListResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPITenantListResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCodes": obj.get("tenantCodes") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py new file mode 100644 index 0000000000..2eb7930b80 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConsolidatedAnalyticsAPITenantWithDetails(BaseModel): + """ + ConsolidatedAnalyticsAPITenantWithDetails + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The CA tenant's code.", alias="tenantCode") + source_tenants_list: Optional[List[StrictStr]] = Field(default=None, description="A list of the CA tenant's source tenants.", alias="sourceTenantsList") + excluded_sources_list: Optional[List[StrictStr]] = Field(default=None, description="A list of the CA tenant's excluded sources.", alias="excludedSourcesList") + __properties: ClassVar[List[str]] = ["tenantCode", "sourceTenantsList", "excludedSourcesList"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPITenantWithDetails from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPITenantWithDetails from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "sourceTenantsList": obj.get("sourceTenantsList"), + "excludedSourcesList": obj.get("excludedSourcesList") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py new file mode 100644 index 0000000000..adb0480c8a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.consolidated_analytics_api_tenant_with_details import ConsolidatedAnalyticsAPITenantWithDetails +from typing import Optional, Set +from typing_extensions import Self + +class ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO(BaseModel): + """ + ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO + """ # noqa: E501 + tenants: Optional[List[ConsolidatedAnalyticsAPITenantWithDetails]] = Field(default=None, description="A list of CA tenants and their details.") + __properties: ClassVar[List[str]] = ["tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsAPITenantWithDetailsListResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [ConsolidatedAnalyticsAPITenantWithDetails.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_job_request_dto.py new file mode 100644 index 0000000000..f205c70425 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_job_request_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConsolidatedAnalyticsJobRequestDTO(BaseModel): + """ + ConsolidatedAnalyticsJobRequestDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the consolidated analytics tenant; for example, \"WFF_j1r~CAa7s\".", alias="tenantCode") + __properties: ClassVar[List[str]] = ["tenantCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsJobRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConsolidatedAnalyticsJobRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/content_package_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/content_package_dto.py new file mode 100644 index 0000000000..0ff964888f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/content_package_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ContentPackageDTO(BaseModel): + """ + ContentPackageDTO + """ # noqa: E501 + content_package_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the content package.", alias="contentPackageId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable content package name to display in Visier, such as \"Talent Acquisition Core Content\".", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="A description of the content package.") + __properties: ClassVar[List[str]] = ["contentPackageId", "displayName", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ContentPackageDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ContentPackageDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "contentPackageId": obj.get("contentPackageId"), + "displayName": obj.get("displayName"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/copy_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/copy_s3_auth_params_dto.py new file mode 100644 index 0000000000..59c96a07c9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/copy_s3_auth_params_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CopyS3AuthParamsDTO(BaseModel): + """ + CopyS3AuthParamsDTO + """ # noqa: E501 + iam_role: Optional[StrictStr] = Field(default=None, alias="iamRole") + __properties: ClassVar[List[str]] = ["iamRole"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CopyS3AuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CopyS3AuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iamRole": obj.get("iamRole") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/create_data_access_set_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/create_data_access_set_request_dto.py new file mode 100644 index 0000000000..36c32392a1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/create_data_access_set_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_access_set_dto import DataAccessSetDTO +from typing import Optional, Set +from typing_extensions import Self + +class CreateDataAccessSetRequestDTO(BaseModel): + """ + CreateDataAccessSetRequestDTO + """ # noqa: E501 + shareable_property_access_configs: Optional[List[DataAccessSetDTO]] = Field(default=None, description="The data access sets to be created.", alias="shareablePropertyAccessConfigs") + __properties: ClassVar[List[str]] = ["shareablePropertyAccessConfigs"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CreateDataAccessSetRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in shareable_property_access_configs (list) + _items = [] + if self.shareable_property_access_configs: + for _item_shareable_property_access_configs in self.shareable_property_access_configs: + if _item_shareable_property_access_configs: + _items.append(_item_shareable_property_access_configs.to_dict()) + _dict['shareablePropertyAccessConfigs'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CreateDataAccessSetRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "shareablePropertyAccessConfigs": [DataAccessSetDTO.from_dict(_item) for _item in obj["shareablePropertyAccessConfigs"]] if obj.get("shareablePropertyAccessConfigs") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/credential_creation_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/credential_creation_api_response_dto.py new file mode 100644 index 0000000000..1861980453 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/credential_creation_api_response_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.subject_missing_access_dto import SubjectMissingAccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class CredentialCreationAPIResponseDTO(BaseModel): + """ + CredentialCreationAPIResponseDTO + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The unique ID of the newly created credential.") + symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the newly created credential.", alias="symbolName") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the newly created credential.", alias="objectName") + missing_connection_properties: Optional[List[SubjectMissingAccessDTO]] = Field(default=None, description="The properties that the credential cannot access despite successful authentication. This is only returned for authentications that do not grant access to all data.", alias="missingConnectionProperties") + __properties: ClassVar[List[str]] = ["uuid", "symbolName", "objectName", "missingConnectionProperties"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CredentialCreationAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in missing_connection_properties (list) + _items = [] + if self.missing_connection_properties: + for _item_missing_connection_properties in self.missing_connection_properties: + if _item_missing_connection_properties: + _items.append(_item_missing_connection_properties.to_dict()) + _dict['missingConnectionProperties'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CredentialCreationAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "symbolName": obj.get("symbolName"), + "objectName": obj.get("objectName"), + "missingConnectionProperties": [SubjectMissingAccessDTO.from_dict(_item) for _item in obj["missingConnectionProperties"]] if obj.get("missingConnectionProperties") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/currencies_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/currencies_dto.py new file mode 100644 index 0000000000..426cd9fde1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/currencies_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.currency_dto import CurrencyDTO +from typing import Optional, Set +from typing_extensions import Self + +class CurrenciesDTO(BaseModel): + """ + A collection of currencies. + """ # noqa: E501 + currencies: Optional[List[CurrencyDTO]] = None + __properties: ClassVar[List[str]] = ["currencies"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CurrenciesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in currencies (list) + _items = [] + if self.currencies: + for _item_currencies in self.currencies: + if _item_currencies: + _items.append(_item_currencies.to_dict()) + _dict['currencies'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CurrenciesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "currencies": [CurrencyDTO.from_dict(_item) for _item in obj["currencies"]] if obj.get("currencies") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/currency_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/currency_dto.py new file mode 100644 index 0000000000..79dbdca789 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/currency_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CurrencyDTO(BaseModel): + """ + Information about a currency type. + """ # noqa: E501 + currency_code: Optional[StrictStr] = Field(default=None, description="The ISO 4217 3-letter code for the currency.", alias="currencyCode") + display_name: Optional[StrictStr] = Field(default=None, description="The display name for the currency.", alias="displayName") + symbol: Optional[StrictStr] = Field(default=None, description="The symbol name for the currency.") + short_symbol: Optional[StrictStr] = Field(default=None, description="The shortened symbol name for the currency. Removes all alphabetic characters. If **symbol** only has alphabetic characters, **shortSymbol** is empty. If **symbol** contains only non-alphabetic characters, **shortSymbol** is the same as **symbol**. For example, if **symbol** is CA$, **shortSymbol** is $. If **symbol** is $, then **shortSymbol** is $.", alias="shortSymbol") + __properties: ClassVar[List[str]] = ["currencyCode", "displayName", "symbol", "shortSymbol"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CurrencyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CurrencyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "currencyCode": obj.get("currencyCode"), + "displayName": obj.get("displayName"), + "symbol": obj.get("symbol"), + "shortSymbol": obj.get("shortSymbol") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/currency_rate_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/currency_rate_dto.py new file mode 100644 index 0000000000..1e112fb972 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/currency_rate_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class CurrencyRateDTO(BaseModel): + """ + Information about a currency exchange rate. + """ # noqa: E501 + from_currency_code: Optional[StrictStr] = Field(default=None, description="The currency to convert **from**. **Note:** If USD is the `fromCurrencyCode`, you are retrieving the exchange rates from USD to a different currency.", alias="fromCurrencyCode") + to_currency_code: Optional[StrictStr] = Field(default=None, description="The currency to convert **to**. **Note:** If USD is the `toCurrencyCode`, you are retrieving the exchange rates from a different currency to USD.", alias="toCurrencyCode") + rate: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The numeric value of the exchange rate. **Note:** If **decimals** is specified, rate rounds to that value. If **decimals** is undefined, **rate** rounds to 2 significant figures after the decimal point.") + start_time: Optional[StrictStr] = Field(default=None, description="The earliest time instant to retrieve exchange rates from. **Note:** Format is the number of milliseconds since Jan 1, 1970 12:00 AM UTC.", alias="startTime") + end_time: Optional[StrictStr] = Field(default=None, description="The latest time instant to retrieve exchange rates from. **Note:** Format is the number of milliseconds since Jan 1, 1970 12:00 AM UTC.", alias="endTime") + __properties: ClassVar[List[str]] = ["fromCurrencyCode", "toCurrencyCode", "rate", "startTime", "endTime"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CurrencyRateDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CurrencyRateDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fromCurrencyCode": obj.get("fromCurrencyCode"), + "toCurrencyCode": obj.get("toCurrencyCode"), + "rate": obj.get("rate"), + "startTime": obj.get("startTime"), + "endTime": obj.get("endTime") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/currency_rates_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/currency_rates_dto.py new file mode 100644 index 0000000000..a7672f5bfd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/currency_rates_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.currency_rate_dto import CurrencyRateDTO +from typing import Optional, Set +from typing_extensions import Self + +class CurrencyRatesDTO(BaseModel): + """ + A collection of currency exchange rates. Note: Currencies may have different exchange rates in different time intervals, depending what rate data is stored in Visier. For example, USD:CAD can be 1.2 between January 1 - March 1, while USD:EUR can be 0.92 between January 1 - February 1, but 0.88 between February 1 - March 1. + """ # noqa: E501 + currency_rates: Optional[List[CurrencyRateDTO]] = Field(default=None, alias="currencyRates") + __properties: ClassVar[List[str]] = ["currencyRates"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CurrencyRatesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in currency_rates (list) + _items = [] + if self.currency_rates: + for _item_currency_rates in self.currency_rates: + if _item_currency_rates: + _items.append(_item_currency_rates.to_dict()) + _dict['currencyRates'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CurrencyRatesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "currencyRates": [CurrencyRateDTO.from_dict(_item) for _item in obj["currencyRates"]] if obj.get("currencyRates") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/custom_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/custom_property_dto.py new file mode 100644 index 0000000000..f1ed4093a2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/custom_property_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CustomPropertyDTO(BaseModel): + """ + CustomPropertyDTO + """ # noqa: E501 + key: Optional[StrictStr] = None + value: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["key", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomPropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomPropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "key": obj.get("key"), + "value": obj.get("value") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/custom_tenant_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/custom_tenant_property_dto.py new file mode 100644 index 0000000000..f372feb82d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/custom_tenant_property_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CustomTenantPropertyDTO(BaseModel): + """ + CustomTenantPropertyDTO + """ # noqa: E501 + key: Optional[StrictStr] = None + value: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["key", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CustomTenantPropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CustomTenantPropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "key": obj.get("key"), + "value": obj.get("value") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_dto.py new file mode 100644 index 0000000000..83627a7ce4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_access_config_dto import PropertyAccessConfigDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataAccessSetDTO(BaseModel): + """ + DataAccessSetDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the data access set.") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data access set name to display in Visier, such as \"Aggregate(Employee)\".", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="A description of the data access set.") + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object that the data access set is for.", alias="analyticObjectId") + property_access_configs: Optional[List[PropertyAccessConfigDTO]] = Field(default=None, description="The data access assigned to properties in the data access set.", alias="propertyAccessConfigs") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "analyticObjectId", "propertyAccessConfigs"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataAccessSetDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in property_access_configs (list) + _items = [] + if self.property_access_configs: + for _item_property_access_configs in self.property_access_configs: + if _item_property_access_configs: + _items.append(_item_property_access_configs.to_dict()) + _dict['propertyAccessConfigs'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataAccessSetDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "analyticObjectId": obj.get("analyticObjectId"), + "propertyAccessConfigs": [PropertyAccessConfigDTO.from_dict(_item) for _item in obj["propertyAccessConfigs"]] if obj.get("propertyAccessConfigs") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_error_dto.py new file mode 100644 index 0000000000..83df592288 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_error_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataAccessSetErrorDTO(BaseModel): + """ + DataAccessSetErrorDTO + """ # noqa: E501 + message: Optional[StrictStr] = Field(default=None, description="Error message") + rci: Optional[StrictStr] = Field(default=None, description="A root cause identifier that allows Visier to determine the source of the problem.") + __properties: ClassVar[List[str]] = ["message", "rci"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataAccessSetErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataAccessSetErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message"), + "rci": obj.get("rci") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_failure_dto.py new file mode 100644 index 0000000000..e4e748b686 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_failure_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_access_set_error_dto import DataAccessSetErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataAccessSetFailureDTO(BaseModel): + """ + DataAccessSetFailureDTO + """ # noqa: E501 + data_access_set_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data access set.", alias="dataAccessSetId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data access set name to display in Visier, such as \"Detailed(Employee)\".", alias="displayName") + error: Optional[DataAccessSetErrorDTO] = Field(default=None, description="The error associated with the failure.") + __properties: ClassVar[List[str]] = ["dataAccessSetId", "displayName", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataAccessSetFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataAccessSetFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataAccessSetId": obj.get("dataAccessSetId"), + "displayName": obj.get("displayName"), + "error": DataAccessSetErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_success_dto.py new file mode 100644 index 0000000000..279b6499eb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_success_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataAccessSetSuccessDTO(BaseModel): + """ + DataAccessSetSuccessDTO + """ # noqa: E501 + data_access_set_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the created data access set.", alias="dataAccessSetId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data access set name to display in Visier, such as \"Detailed(Employee)\".", alias="displayName") + __properties: ClassVar[List[str]] = ["dataAccessSetId", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataAccessSetSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataAccessSetSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataAccessSetId": obj.get("dataAccessSetId"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_categories_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_categories_response_dto.py new file mode 100644 index 0000000000..5edd43ee14 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_categories_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_category_response_dto import DataCategoryResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataCategoriesResponseDTO(BaseModel): + """ + A list of data categories. + """ # noqa: E501 + categories: Optional[List[DataCategoryResponseDTO]] = None + __properties: ClassVar[List[str]] = ["categories"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataCategoriesResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in categories (list) + _items = [] + if self.categories: + for _item_categories in self.categories: + if _item_categories: + _items.append(_item_categories.to_dict()) + _dict['categories'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataCategoriesResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "categories": [DataCategoryResponseDTO.from_dict(_item) for _item in obj["categories"]] if obj.get("categories") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_category_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_category_response_dto.py new file mode 100644 index 0000000000..fb94643089 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_category_response_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataCategoryResponseDTO(BaseModel): + """ + The data category's UUID and display name. + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The display name of the data category.") + id: Optional[StrictStr] = Field(default=None, description="The UUID of the data category.") + __properties: ClassVar[List[str]] = ["name", "id"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataCategoryResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataCategoryResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "id": obj.get("id") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_assign_connector_credential_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_assign_connector_credential_request.py deleted file mode 100644 index 6c4bcb1fdc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_assign_connector_credential_request.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_connector import DataInConnector -from typing import Optional, Set -from typing_extensions import Self - -class DataInAssignConnectorCredentialRequest(BaseModel): - """ - DataInAssignConnectorCredentialRequest - """ # noqa: E501 - connectors: Optional[List[DataInConnector]] = Field(default=None, description="A list of objects representing the data connectors to be assigned with credentials.") - __properties: ClassVar[List[str]] = ["connectors"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInAssignConnectorCredentialRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) - _items = [] - if self.connectors: - for _item_connectors in self.connectors: - if _item_connectors: - _items.append(_item_connectors.to_dict()) - _dict['connectors'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInAssignConnectorCredentialRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectors": [DataInConnector.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_connector.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_connector.py deleted file mode 100644 index 91ccbb809b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_connector.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_tenant_and_credential import DataInTenantAndCredential -from typing import Optional, Set -from typing_extensions import Self - -class DataInConnector(BaseModel): - """ - DataInConnector - """ # noqa: E501 - connector_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data connector.", alias="connectorId") - tenants: Optional[List[DataInTenantAndCredential]] = Field(default=None, description="A list of analytic tenants and credentials to be assigned to the connector.") - __properties: ClassVar[List[str]] = ["connectorId", "tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInConnector from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInConnector from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectorId": obj.get("connectorId"), - "tenants": [DataInTenantAndCredential.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_request.py deleted file mode 100644 index b61ca7ba3f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_data_load_request_model import DataInDataLoadRequestModel -from typing import Optional, Set -from typing_extensions import Self - -class DataInDataLoadRequest(BaseModel): - """ - DataInDataLoadRequest - """ # noqa: E501 - model: Optional[DataInDataLoadRequestModel] = Field(default=None, description="A form body key that contains a collection of key-value pairs.") - __properties: ClassVar[List[str]] = ["model"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDataLoadRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of model - if self.model: - _dict['model'] = self.model.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDataLoadRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "model": DataInDataLoadRequestModel.from_dict(obj["model"]) if obj.get("model") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_request_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_request_model.py deleted file mode 100644 index 4d48d79206..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_request_model.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInDataLoadRequestModel(BaseModel): - """ - DataInDataLoadRequestModel - """ # noqa: E501 - files: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of file names. Example: `\"files\": \"/path/to/file1.zip.gpg,/path/to/another/file.zip.gpg\"`") - skip_data_load: Optional[StrictBool] = Field(default=None, description="If `true`, receives the files and skips data loading. Does not generate a data version.", alias="skipDataLoad") - __properties: ClassVar[List[str]] = ["files", "skipDataLoad"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDataLoadRequestModel from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDataLoadRequestModel from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "files": obj.get("files"), - "skipDataLoad": obj.get("skipDataLoad") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_response.py deleted file mode 100644 index f528f236b8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_load_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInDataLoadResponse(BaseModel): - """ - DataInDataLoadResponse - """ # noqa: E501 - job_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the receiving job.", alias="jobId") - __properties: ClassVar[List[str]] = ["jobId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDataLoadResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDataLoadResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobId": obj.get("jobId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_transfer_result_detail.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_transfer_result_detail.py deleted file mode 100644 index 1586c10b8e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_transfer_result_detail.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInDataTransferResultDetail(BaseModel): - """ - DataInDataTransferResultDetail - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant that data was transferred to. For example, WFF_j1r or WFF_j1r~c7o.", alias="tenantCode") - source_names: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the sources that received a data transfer.", alias="sourceNames") - data_size: Optional[StrictStr] = Field(default=None, description="The total size of the transfer session in bytes.", alias="dataSize") - rows: Optional[StrictStr] = Field(default=None, description="The total number of rows transferred during the transfer session.") - __properties: ClassVar[List[str]] = ["tenantCode", "sourceNames", "dataSize", "rows"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDataTransferResultDetail from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDataTransferResultDetail from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "sourceNames": obj.get("sourceNames"), - "dataSize": obj.get("dataSize"), - "rows": obj.get("rows") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_version_object.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_version_object.py deleted file mode 100644 index a99b181d70..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_data_version_object.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInDataVersionObject(BaseModel): - """ - DataInDataVersionObject - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code for the analytic tenant that you are disabling a data version.", alias="tenantCode") - data_version: Optional[StrictStr] = Field(default=None, description="The data version to disable for a particular analytic tenant. If not specified, disables the latest enabled data version for the analytic tenant.", alias="dataVersion") - __properties: ClassVar[List[str]] = ["tenantCode", "dataVersion"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDataVersionObject from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDataVersionObject from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "dataVersion": obj.get("dataVersion") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_model.py deleted file mode 100644 index 404207a90d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_model.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_data_version_object import DataInDataVersionObject -from typing import Optional, Set -from typing_extensions import Self - -class DataInDisableDVModel(BaseModel): - """ - DataInDisableDVModel - """ # noqa: E501 - data_version_objects: Optional[List[DataInDataVersionObject]] = Field(default=None, description="A list of objects representing the data version to disable for a particular analytic tenant. The limit of objects to include per request is 1000.", alias="dataVersionObjects") - __properties: ClassVar[List[str]] = ["dataVersionObjects"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDisableDVModel from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_version_objects (list) - _items = [] - if self.data_version_objects: - for _item_data_version_objects in self.data_version_objects: - if _item_data_version_objects: - _items.append(_item_data_version_objects.to_dict()) - _dict['dataVersionObjects'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDisableDVModel from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataVersionObjects": [DataInDataVersionObject.from_dict(_item) for _item in obj["dataVersionObjects"]] if obj.get("dataVersionObjects") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_request.py deleted file mode 100644 index 33e516b34d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_request.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_disable_dv_model import DataInDisableDVModel -from typing import Optional, Set -from typing_extensions import Self - -class DataInDisableDVRequest(BaseModel): - """ - DataInDisableDVRequest - """ # noqa: E501 - model: Optional[DataInDisableDVModel] = Field(default=None, description="A form body key that contains a collection of key-value pairs.") - __properties: ClassVar[List[str]] = ["model"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDisableDVRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of model - if self.model: - _dict['model'] = self.model.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDisableDVRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "model": DataInDisableDVModel.from_dict(obj["model"]) if obj.get("model") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_response.py deleted file mode 100644 index ff94b67f50..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_disable_dv_response.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_result import DataInResult -from typing import Optional, Set -from typing_extensions import Self - -class DataInDisableDVResponse(BaseModel): - """ - DataInDisableDVResponse - """ # noqa: E501 - total_failures: Optional[StrictInt] = Field(default=None, description="The number of data versions that failed during the disabling process.", alias="totalFailures") - total_success: Optional[StrictInt] = Field(default=None, description="The number of data versions that were disabled successfully.", alias="totalSuccess") - results: Optional[List[DataInResult]] = Field(default=None, description="A list of objects representing the disabling process.") - __properties: ClassVar[List[str]] = ["totalFailures", "totalSuccess", "results"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDisableDVResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in results (list) - _items = [] - if self.results: - for _item_results in self.results: - if _item_results: - _items.append(_item_results.to_dict()) - _dict['results'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDisableDVResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "totalFailures": obj.get("totalFailures"), - "totalSuccess": obj.get("totalSuccess"), - "results": [DataInResult.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_dispatching_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_dispatching_job_status_response.py deleted file mode 100644 index a6969ff7c4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_dispatching_job_status_response.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInDispatchingJobStatusResponse(BaseModel): - """ - DataInDispatchingJobStatusResponse - """ # noqa: E501 - job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="jobId") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that owns the dispatching job. This is usually the administrating tenant.", alias="tenantCode") - status: Optional[StrictStr] = Field(default=None, description="The current state of the job.") - total_jobs_dispatched: Optional[StrictInt] = Field(default=None, description="The number of extraction jobs that were generated by the dispatching job.", alias="totalJobsDispatched") - __properties: ClassVar[List[str]] = ["jobId", "tenantCode", "status", "totalJobsDispatched"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInDispatchingJobStatusResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInDispatchingJobStatusResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobId": obj.get("jobId"), - "tenantCode": obj.get("tenantCode"), - "status": obj.get("status"), - "totalJobsDispatched": obj.get("totalJobsDispatched") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_exclude_data_uploads_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_exclude_data_uploads_request.py deleted file mode 100644 index 5498b4244c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_exclude_data_uploads_request.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_upload_to_exclude import DataInUploadToExclude -from typing import Optional, Set -from typing_extensions import Self - -class DataInExcludeDataUploadsRequest(BaseModel): - """ - DataInExcludeDataUploadsRequest - """ # noqa: E501 - uploads: Optional[List[DataInUploadToExclude]] = Field(default=None, description="A list of objects representing the data uploads to exclude for a particular analytic tenant.") - __properties: ClassVar[List[str]] = ["uploads"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInExcludeDataUploadsRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in uploads (list) - _items = [] - if self.uploads: - for _item_uploads in self.uploads: - if _item_uploads: - _items.append(_item_uploads.to_dict()) - _dict['uploads'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInExcludeDataUploadsRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uploads": [DataInUploadToExclude.from_dict(_item) for _item in obj["uploads"]] if obj.get("uploads") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_extraction_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_extraction_job.py deleted file mode 100644 index fd6ef34679..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_extraction_job.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInExtractionJob(BaseModel): - """ - DataInExtractionJob - """ # noqa: E501 - extraction_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the extraction job.", alias="extractionJobId") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant for the extraction job.", alias="tenantCode") - status: Optional[StrictStr] = Field(default=None, description="The current state of the job. - Valid values: Pending, Running, Succeeded, Failed, Error, Cancelling, Cancelled, RolledBack, Rescheduling, Rescheduled.") - current_stage: Optional[StrictStr] = Field(default=None, description="The current stage of the job. This is not returned if the stage is \"Completed\". - Valid values: Initialize, Retrieve Main Subject, Retrieve Secondary Subjects, Retrieve Custom Subjects, Process Records, Publish Artifacts, Publish Records, Completed.", alias="currentStage") - __properties: ClassVar[List[str]] = ["extractionJobId", "tenantCode", "status", "currentStage"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInExtractionJob from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInExtractionJob from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "extractionJobId": obj.get("extractionJobId"), - "tenantCode": obj.get("tenantCode"), - "status": obj.get("status"), - "currentStage": obj.get("currentStage") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_extraction_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_extraction_job_and_status_response.py deleted file mode 100644 index 163156c1aa..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_extraction_job_and_status_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_extraction_job import DataInExtractionJob -from typing import Optional, Set -from typing_extensions import Self - -class DataInExtractionJobAndStatusResponse(BaseModel): - """ - DataInExtractionJobAndStatusResponse - """ # noqa: E501 - parent_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="parentJobId") - parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that owns the dispatching job. This is usually the administrating tenant.", alias="parentTenantCode") - limit: Optional[StrictInt] = Field(default=None, description="The number of extraction jobs to return. The maximum number of jobs to return is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") - extraction_jobs: Optional[List[DataInExtractionJob]] = Field(default=None, description="A list of extraction job information.", alias="extractionJobs") - __properties: ClassVar[List[str]] = ["parentJobId", "parentTenantCode", "limit", "start", "extractionJobs"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInExtractionJobAndStatusResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in extraction_jobs (list) - _items = [] - if self.extraction_jobs: - for _item_extraction_jobs in self.extraction_jobs: - if _item_extraction_jobs: - _items.append(_item_extraction_jobs.to_dict()) - _dict['extractionJobs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInExtractionJobAndStatusResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "parentJobId": obj.get("parentJobId"), - "parentTenantCode": obj.get("parentTenantCode"), - "limit": obj.get("limit"), - "start": obj.get("start"), - "extractionJobs": [DataInExtractionJob.from_dict(_item) for _item in obj["extractionJobs"]] if obj.get("extractionJobs") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_include_data_uploads_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_include_data_uploads_request.py deleted file mode 100644 index ad6af12f13..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_include_data_uploads_request.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_upload_to_include import DataInUploadToInclude -from typing import Optional, Set -from typing_extensions import Self - -class DataInIncludeDataUploadsRequest(BaseModel): - """ - DataInIncludeDataUploadsRequest - """ # noqa: E501 - uploads: Optional[List[DataInUploadToInclude]] = Field(default=None, description="A list of objects representing the data uploads to include for a particular analytic tenant.") - __properties: ClassVar[List[str]] = ["uploads"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInIncludeDataUploadsRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in uploads (list) - _items = [] - if self.uploads: - for _item_uploads in self.uploads: - if _item_uploads: - _items.append(_item_uploads.to_dict()) - _dict['uploads'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInIncludeDataUploadsRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uploads": [DataInUploadToInclude.from_dict(_item) for _item in obj["uploads"]] if obj.get("uploads") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_job_status_list_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_job_status_list_response.py deleted file mode 100644 index d1adb543dc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_job_status_list_response.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_job_status_with_start_time import DataInJobStatusWithStartTime -from typing import Optional, Set -from typing_extensions import Self - -class DataInJobStatusListResponse(BaseModel): - """ - DataInJobStatusListResponse - """ # noqa: E501 - query_start_time: Optional[StrictStr] = Field(default=None, description="The start time from which to retrieve job statuses.", alias="queryStartTime") - query_end_time: Optional[StrictStr] = Field(default=None, description="The end time from which to retrieve job statuses.", alias="queryEndTime") - job_status: Optional[List[DataInJobStatusWithStartTime]] = Field(default=None, description="The specific status to restrict the list of jobs to.", alias="jobStatus") - __properties: ClassVar[List[str]] = ["queryStartTime", "queryEndTime", "jobStatus"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInJobStatusListResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in job_status (list) - _items = [] - if self.job_status: - for _item_job_status in self.job_status: - if _item_job_status: - _items.append(_item_job_status.to_dict()) - _dict['jobStatus'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInJobStatusListResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "queryStartTime": obj.get("queryStartTime"), - "queryEndTime": obj.get("queryEndTime"), - "jobStatus": [DataInJobStatusWithStartTime.from_dict(_item) for _item in obj["jobStatus"]] if obj.get("jobStatus") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_job_status_with_start_time.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_job_status_with_start_time.py deleted file mode 100644 index 4dec512a7f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_job_status_with_start_time.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInJobStatusWithStartTime(BaseModel): - """ - DataInJobStatusWithStartTime - """ # noqa: E501 - job_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the job.", alias="jobId") - tenant: Optional[StrictStr] = Field(default=None, description="The tenant code.") - status: Optional[StrictStr] = Field(default=None, description="The status of the job, such as Running or Completed.") - job_type: Optional[StrictStr] = Field(default=None, description="The type of the job, such as a processing job or receiving job.", alias="jobType") - start_time: Optional[StrictStr] = Field(default=None, description="The time that the job started.", alias="startTime") - __properties: ClassVar[List[str]] = ["jobId", "tenant", "status", "jobType", "startTime"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInJobStatusWithStartTime from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInJobStatusWithStartTime from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobId": obj.get("jobId"), - "tenant": obj.get("tenant"), - "status": obj.get("status"), - "jobType": obj.get("jobType"), - "startTime": obj.get("startTime") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job.py deleted file mode 100644 index 99f698b9f4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInProcessingJob(BaseModel): - """ - DataInProcessingJob - """ # noqa: E501 - job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the processing job for the analytic tenant.", alias="jobId") - tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant code.", alias="tenantCode") - data_version: Optional[StrictStr] = Field(default=None, description="The data version associated with the processing job.", alias="dataVersion") - status: Optional[StrictStr] = Field(default=None, description="The status of the receiving job for the analytic tenant.") - message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the processing job.") - __properties: ClassVar[List[str]] = ["jobId", "tenantCode", "dataVersion", "status", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInProcessingJob from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInProcessingJob from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobId": obj.get("jobId"), - "tenantCode": obj.get("tenantCode"), - "dataVersion": obj.get("dataVersion"), - "status": obj.get("status"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job_and_status_response.py deleted file mode 100644 index b2d9d32d80..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job_and_status_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_processing_job import DataInProcessingJob -from typing import Optional, Set -from typing_extensions import Self - -class DataInProcessingJobAndStatusResponse(BaseModel): - """ - DataInProcessingJobAndStatusResponse - """ # noqa: E501 - parent_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="parentJobId") - parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that owns the dispatching job. This is usually the administrating tenant.", alias="parentTenantCode") - limit: Optional[StrictInt] = Field(default=None, description="The number of processing jobs to return. The maximum number of jobs to return is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") - processing_jobs: Optional[List[DataInProcessingJob]] = Field(default=None, description="A list of processing job information.", alias="processingJobs") - __properties: ClassVar[List[str]] = ["parentJobId", "parentTenantCode", "limit", "start", "processingJobs"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInProcessingJobAndStatusResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in processing_jobs (list) - _items = [] - if self.processing_jobs: - for _item_processing_jobs in self.processing_jobs: - if _item_processing_jobs: - _items.append(_item_processing_jobs.to_dict()) - _dict['processingJobs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInProcessingJobAndStatusResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "parentJobId": obj.get("parentJobId"), - "parentTenantCode": obj.get("parentTenantCode"), - "limit": obj.get("limit"), - "start": obj.get("start"), - "processingJobs": [DataInProcessingJob.from_dict(_item) for _item in obj["processingJobs"]] if obj.get("processingJobs") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job_status_response.py deleted file mode 100644 index 03fe2b940d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_processing_job_status_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_processing_job import DataInProcessingJob -from typing import Optional, Set -from typing_extensions import Self - -class DataInProcessingJobStatusResponse(BaseModel): - """ - DataInProcessingJobStatusResponse - """ # noqa: E501 - parent_job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the receiving job that spawned this job.", alias="parentJobId") - parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the receiving job that spawned this job.", alias="parentTenantCode") - limit: Optional[StrictInt] = Field(default=None, description="The limit of processing jobs to retrieve per page.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") - processing_jobs: Optional[List[DataInProcessingJob]] = Field(default=None, description="A list of objects representing the processing jobs to retrieve.", alias="processingJobs") - __properties: ClassVar[List[str]] = ["parentJobId", "parentTenantCode", "limit", "start", "processingJobs"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInProcessingJobStatusResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in processing_jobs (list) - _items = [] - if self.processing_jobs: - for _item_processing_jobs in self.processing_jobs: - if _item_processing_jobs: - _items.append(_item_processing_jobs.to_dict()) - _dict['processingJobs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInProcessingJobStatusResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "parentJobId": obj.get("parentJobId"), - "parentTenantCode": obj.get("parentTenantCode"), - "limit": obj.get("limit"), - "start": obj.get("start"), - "processingJobs": [DataInProcessingJob.from_dict(_item) for _item in obj["processingJobs"]] if obj.get("processingJobs") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_cancel_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_cancel_response.py deleted file mode 100644 index d750b639ce..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_cancel_response.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_data_transfer_result_detail import DataInDataTransferResultDetail -from typing import Optional, Set -from typing_extensions import Self - -class DataInPushDataCancelResponse(BaseModel): - """ - DataInPushDataCancelResponse - """ # noqa: E501 - message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the transfer session.") - transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") - data_transfer_result_details: Optional[List[DataInDataTransferResultDetail]] = Field(default=None, description="A list of objects representing the results of the transfer session.", alias="dataTransferResultDetails") - status: Optional[StrictStr] = Field(default=None, description="The status of the transfer session. A cancelled session returns the status CANCELLED.") - __properties: ClassVar[List[str]] = ["message", "transferSessionId", "dataTransferResultDetails", "status"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInPushDataCancelResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_transfer_result_details (list) - _items = [] - if self.data_transfer_result_details: - for _item_data_transfer_result_details in self.data_transfer_result_details: - if _item_data_transfer_result_details: - _items.append(_item_data_transfer_result_details.to_dict()) - _dict['dataTransferResultDetails'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInPushDataCancelResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "message": obj.get("message"), - "transferSessionId": obj.get("transferSessionId"), - "dataTransferResultDetails": [DataInDataTransferResultDetail.from_dict(_item) for _item in obj["dataTransferResultDetails"]] if obj.get("dataTransferResultDetails") is not None else None, - "status": obj.get("status") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_complete_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_complete_request.py deleted file mode 100644 index 49c28f8ba7..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_complete_request.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInPushDataCompleteRequest(BaseModel): - """ - DataInPushDataCompleteRequest - """ # noqa: E501 - transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") - processing_data: Optional[StrictBool] = Field(default=None, description="If `true`, a processing job will be triggered after the receiving job successfully completes. This generates a new data version.", alias="processingData") - __properties: ClassVar[List[str]] = ["transferSessionId", "processingData"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInPushDataCompleteRequest from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInPushDataCompleteRequest from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "transferSessionId": obj.get("transferSessionId"), - "processingData": obj.get("processingData") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_complete_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_complete_response.py deleted file mode 100644 index 0afea10c52..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_complete_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_data_transfer_result_detail import DataInDataTransferResultDetail -from typing import Optional, Set -from typing_extensions import Self - -class DataInPushDataCompleteResponse(BaseModel): - """ - DataInPushDataCompleteResponse - """ # noqa: E501 - data_receiving_job_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the receiving job.", alias="dataReceivingJobId") - message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the transfer session.") - transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") - data_transfer_result_details: Optional[List[DataInDataTransferResultDetail]] = Field(default=None, description="A list of objects representing the results of the transfer session.", alias="dataTransferResultDetails") - status: Optional[StrictStr] = Field(default=None, description="The status of the transfer session. A completed session returns the status SUCCEED.") - __properties: ClassVar[List[str]] = ["dataReceivingJobId", "message", "transferSessionId", "dataTransferResultDetails", "status"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInPushDataCompleteResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_transfer_result_details (list) - _items = [] - if self.data_transfer_result_details: - for _item_data_transfer_result_details in self.data_transfer_result_details: - if _item_data_transfer_result_details: - _items.append(_item_data_transfer_result_details.to_dict()) - _dict['dataTransferResultDetails'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInPushDataCompleteResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataReceivingJobId": obj.get("dataReceivingJobId"), - "message": obj.get("message"), - "transferSessionId": obj.get("transferSessionId"), - "dataTransferResultDetails": [DataInDataTransferResultDetail.from_dict(_item) for _item in obj["dataTransferResultDetails"]] if obj.get("dataTransferResultDetails") is not None else None, - "status": obj.get("status") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_response.py deleted file mode 100644 index 3555aec510..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_push_data_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_tenant import DataInTenant -from typing import Optional, Set -from typing_extensions import Self - -class DataInPushDataResponse(BaseModel): - """ - DataInPushDataResponse - """ # noqa: E501 - transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") - sequence: Optional[StrictInt] = Field(default=None, description="The unique sequence number associated with a batch of records.") - status: Optional[StrictStr] = Field(default=None, description="The status of the data transfer.") - message: Optional[StrictStr] = Field(default=None, description="Any additional information about the data transfer.") - tenants: Optional[List[DataInTenant]] = Field(default=None, description="A list of strings representing the tenants that data was pushed to and their data transfer results.") - __properties: ClassVar[List[str]] = ["transferSessionId", "sequence", "status", "message", "tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInPushDataResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInPushDataResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "transferSessionId": obj.get("transferSessionId"), - "sequence": obj.get("sequence"), - "status": obj.get("status"), - "message": obj.get("message"), - "tenants": [DataInTenant.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job.py deleted file mode 100644 index c44c3c3fc3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInReceivingJob(BaseModel): - """ - DataInReceivingJob - """ # noqa: E501 - receiving_job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the receiving job for the analytic tenant.", alias="receivingJobId") - tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant code.", alias="tenantCode") - status: Optional[StrictStr] = Field(default=None, description="The status of the receiving job for the analytic tenant.") - __properties: ClassVar[List[str]] = ["receivingJobId", "tenantCode", "status"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInReceivingJob from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInReceivingJob from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "receivingJobId": obj.get("receivingJobId"), - "tenantCode": obj.get("tenantCode"), - "status": obj.get("status") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job_and_status_response.py deleted file mode 100644 index cd58a0537a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job_and_status_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_receiving_job import DataInReceivingJob -from typing import Optional, Set -from typing_extensions import Self - -class DataInReceivingJobAndStatusResponse(BaseModel): - """ - DataInReceivingJobAndStatusResponse - """ # noqa: E501 - parent_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="parentJobId") - parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that owns the dispatching job. This is usually the administrating tenant.", alias="parentTenantCode") - limit: Optional[StrictInt] = Field(default=None, description="The number of receiving jobs to return. The maximum number of jobs to return is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") - receiving_jobs: Optional[List[DataInReceivingJob]] = Field(default=None, description="A list of receiving job information.", alias="receivingJobs") - __properties: ClassVar[List[str]] = ["parentJobId", "parentTenantCode", "limit", "start", "receivingJobs"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInReceivingJobAndStatusResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in receiving_jobs (list) - _items = [] - if self.receiving_jobs: - for _item_receiving_jobs in self.receiving_jobs: - if _item_receiving_jobs: - _items.append(_item_receiving_jobs.to_dict()) - _dict['receivingJobs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInReceivingJobAndStatusResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "parentJobId": obj.get("parentJobId"), - "parentTenantCode": obj.get("parentTenantCode"), - "limit": obj.get("limit"), - "start": obj.get("start"), - "receivingJobs": [DataInReceivingJob.from_dict(_item) for _item in obj["receivingJobs"]] if obj.get("receivingJobs") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job_status_response.py deleted file mode 100644 index 206d47f0bc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_receiving_job_status_response.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_receiving_job import DataInReceivingJob -from typing import Optional, Set -from typing_extensions import Self - -class DataInReceivingJobStatusResponse(BaseModel): - """ - DataInReceivingJobStatusResponse - """ # noqa: E501 - job_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the receiving job.", alias="jobId") - status: Optional[StrictStr] = Field(default=None, description="The status of the receiving job.") - parent_job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the receiving job that spawned this job.", alias="parentJobId") - parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the receiving job that spawned this job.", alias="parentTenantCode") - receiving_jobs: Optional[List[DataInReceivingJob]] = Field(default=None, description="A list of objects representing the receiving jobs to retrieve.", alias="receivingJobs") - __properties: ClassVar[List[str]] = ["jobId", "status", "parentJobId", "parentTenantCode", "receivingJobs"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInReceivingJobStatusResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in receiving_jobs (list) - _items = [] - if self.receiving_jobs: - for _item_receiving_jobs in self.receiving_jobs: - if _item_receiving_jobs: - _items.append(_item_receiving_jobs.to_dict()) - _dict['receivingJobs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInReceivingJobStatusResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobId": obj.get("jobId"), - "status": obj.get("status"), - "parentJobId": obj.get("parentJobId"), - "parentTenantCode": obj.get("parentTenantCode"), - "receivingJobs": [DataInReceivingJob.from_dict(_item) for _item in obj["receivingJobs"]] if obj.get("receivingJobs") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_result.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_result.py deleted file mode 100644 index d068e78cda..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_result.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInResult(BaseModel): - """ - DataInResult - """ # noqa: E501 - job_id: Optional[StrictStr] = Field(default=None, description="If applicable, the job ID associated with the data version.", alias="jobId") - data_version: Optional[StrictStr] = Field(default=None, description="If applicable, the data version that was disabled.", alias="dataVersion") - tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant that the disable operation was conducted for.", alias="tenantCode") - status: Optional[StrictStr] = Field(default=None, description="The outcome of the disabling operation.") - message: Optional[StrictStr] = Field(default=None, description="If applicable, the message explains what errors occurred while disabling data versions.") - __properties: ClassVar[List[str]] = ["jobId", "dataVersion", "tenantCode", "status", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInResult from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInResult from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobId": obj.get("jobId"), - "dataVersion": obj.get("dataVersion"), - "tenantCode": obj.get("tenantCode"), - "status": obj.get("status"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_source.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_source.py deleted file mode 100644 index 7e648499b0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_source.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInSource(BaseModel): - """ - DataInSource - """ # noqa: E501 - source_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the source that data was transferred to.", alias="sourceId") - source_name: Optional[StrictStr] = Field(default=None, description="The object name of the source.", alias="sourceName") - data_size: Optional[StrictStr] = Field(default=None, description="The size of the data transfer in bytes.", alias="dataSize") - rows: Optional[StrictStr] = Field(default=None, description="The number of rows in the data transfer.") - status: Optional[StrictStr] = Field(default=None, description="The status of the data transfer for this source.") - message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the data transfer.") - __properties: ClassVar[List[str]] = ["sourceId", "sourceName", "dataSize", "rows", "status", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInSource from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInSource from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "sourceId": obj.get("sourceId"), - "sourceName": obj.get("sourceName"), - "dataSize": obj.get("dataSize"), - "rows": obj.get("rows"), - "status": obj.get("status"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_start_extraction_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_start_extraction_response.py deleted file mode 100644 index fc6f131d8b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_start_extraction_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInStartExtractionResponse(BaseModel): - """ - DataInStartExtractionResponse - """ # noqa: E501 - job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="JobId") - __properties: ClassVar[List[str]] = ["JobId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInStartExtractionResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInStartExtractionResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "JobId": obj.get("JobId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_start_transfer_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_start_transfer_response.py deleted file mode 100644 index e172960326..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_start_transfer_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInStartTransferResponse(BaseModel): - """ - DataInStartTransferResponse - """ # noqa: E501 - transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") - __properties: ClassVar[List[str]] = ["transferSessionId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInStartTransferResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInStartTransferResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "transferSessionId": obj.get("transferSessionId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_tenant.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_tenant.py deleted file mode 100644 index 78b8a47834..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_tenant.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.data_in_source import DataInSource -from typing import Optional, Set -from typing_extensions import Self - -class DataInTenant(BaseModel): - """ - DataInTenant - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant that data was transferred to. For example, WFF_j1r or WFF_j1r~c7o.", alias="tenantCode") - status: Optional[StrictStr] = Field(default=None, description="The status of the data transfer for this tenant.") - sources: Optional[List[DataInSource]] = Field(default=None, description="A list of objects representing the sources that data was pushed to and their data transfer results.") - __properties: ClassVar[List[str]] = ["tenantCode", "status", "sources"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInTenant from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in sources (list) - _items = [] - if self.sources: - for _item_sources in self.sources: - if _item_sources: - _items.append(_item_sources.to_dict()) - _dict['sources'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInTenant from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "status": obj.get("status"), - "sources": [DataInSource.from_dict(_item) for _item in obj["sources"]] if obj.get("sources") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_tenant_and_credential.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_tenant_and_credential.py deleted file mode 100644 index cc0881c6f9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_tenant_and_credential.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInTenantAndCredential(BaseModel): - """ - DataInTenantAndCredential - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - credential_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the credential.", alias="credentialId") - __properties: ClassVar[List[str]] = ["tenantCode", "credentialId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInTenantAndCredential from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInTenantAndCredential from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "credentialId": obj.get("credentialId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_upload_to_exclude.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_upload_to_exclude.py deleted file mode 100644 index aff7dfbe47..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_upload_to_exclude.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInUploadToExclude(BaseModel): - """ - DataInUploadToExclude - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant you are excluding a data upload for.", alias="tenantCode") - exclude_all: Optional[StrictBool] = Field(default=None, description="If `true`, all data uploads are excluded for the analytic tenant.", alias="excludeAll") - upload_times: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of ISO 8601 time strings such as `\"2001-10-25T13:45:35.999\"` representing the upload time of each data upload to exclude.", alias="uploadTimes") - min_upload_time: Optional[StrictStr] = Field(default=None, description="An ISO 8601 time for the earliest upload time. If defined, omit `uploadTimes`. If omitted and `maxUploadTime` is defined, excludes files up to earliest time available.", alias="minUploadTime") - max_upload_time: Optional[StrictStr] = Field(default=None, description="An ISO 8601 time for the latest upload time. If defined, omit `uploadTimes`. If omitted and `minUploadTime` is defined, excludes files up to latest time available.", alias="maxUploadTime") - sources: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the object name of each source to exclude. If `uploadTimes` is omitted, excludes files for the given sources for all `uploadTimes`.") - file_name_regex: Optional[StrictStr] = Field(default=None, description="A regular expression to match the file names of the data uploads to exclude.", alias="fileNameRegex") - file_identifiers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the file identifiers of the data uploads to exclude. To get a data upload's file identifier, see `GET /v1/op/data/uploads`.", alias="fileIdentifiers") - __properties: ClassVar[List[str]] = ["tenantCode", "excludeAll", "uploadTimes", "minUploadTime", "maxUploadTime", "sources", "fileNameRegex", "fileIdentifiers"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInUploadToExclude from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInUploadToExclude from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "excludeAll": obj.get("excludeAll"), - "uploadTimes": obj.get("uploadTimes"), - "minUploadTime": obj.get("minUploadTime"), - "maxUploadTime": obj.get("maxUploadTime"), - "sources": obj.get("sources"), - "fileNameRegex": obj.get("fileNameRegex"), - "fileIdentifiers": obj.get("fileIdentifiers") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_upload_to_include.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_in_upload_to_include.py deleted file mode 100644 index 4ed9e9c15b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_in_upload_to_include.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataInUploadToInclude(BaseModel): - """ - DataInUploadToInclude - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant you are including a data upload for.", alias="tenantCode") - include_all: Optional[StrictBool] = Field(default=None, description="If `true`, all data uploads are included for the analytic tenant.", alias="includeAll") - upload_times: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of ISO 8601 time strings such as `\"2001-10-25T13:45:35.999\"` representing the upload time of each data upload to include.", alias="uploadTimes") - min_upload_time: Optional[StrictStr] = Field(default=None, description="An ISO 8601 time for the earliest upload time. If defined, omit `uploadTimes`. If omitted and `maxUploadTime` is defined, includes files up to earliest time available.", alias="minUploadTime") - max_upload_time: Optional[StrictStr] = Field(default=None, description="An ISO 8601 time for the latest upload time. If defined, omit `uploadTimes`. If omitted and `minUploadTime` is defined, includes files up to latest time available.", alias="maxUploadTime") - sources: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the object name of each source to include. If `uploadTimes` is omitted, includes files for the given sources for all `uploadTimes`.") - file_name_regex: Optional[StrictStr] = Field(default=None, description="A regular expression to match the file names of the data uploads to include.", alias="fileNameRegex") - file_identifiers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the file identifiers of the data uploads to include. To get a data upload's file identifier, see `GET /v1/op/data/uploads`.", alias="fileIdentifiers") - __properties: ClassVar[List[str]] = ["tenantCode", "includeAll", "uploadTimes", "minUploadTime", "maxUploadTime", "sources", "fileNameRegex", "fileIdentifiers"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataInUploadToInclude from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataInUploadToInclude from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "includeAll": obj.get("includeAll"), - "uploadTimes": obj.get("uploadTimes"), - "minUploadTime": obj.get("minUploadTime"), - "maxUploadTime": obj.get("maxUploadTime"), - "sources": obj.get("sources"), - "fileNameRegex": obj.get("fileNameRegex"), - "fileIdentifiers": obj.get("fileIdentifiers") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request.py new file mode 100644 index 0000000000..a55734a640 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_load_request_model import DataLoadRequestModel +from typing import Optional, Set +from typing_extensions import Self + +class DataLoadRequest(BaseModel): + """ + DataLoadRequest + """ # noqa: E501 + model: Optional[DataLoadRequestModel] = Field(default=None, description="A form body key that contains a collection of key-value pairs.") + __properties: ClassVar[List[str]] = ["model"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataLoadRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of model + if self.model: + _dict['model'] = self.model.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataLoadRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "model": DataLoadRequestModel.from_dict(obj["model"]) if obj.get("model") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request_model.py new file mode 100644 index 0000000000..650b67c7d0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request_model.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataLoadRequestModel(BaseModel): + """ + DataLoadRequestModel + """ # noqa: E501 + files: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of file names. Example: `\"files\": \"/path/to/file1.zip.gpg,/path/to/another/file.zip.gpg\"`") + skip_data_load: Optional[StrictBool] = Field(default=None, description="If `true`, receives the files and skips data loading. Does not generate a data version.", alias="skipDataLoad") + __properties: ClassVar[List[str]] = ["files", "skipDataLoad"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataLoadRequestModel from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataLoadRequestModel from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "files": obj.get("files"), + "skipDataLoad": obj.get("skipDataLoad") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_response.py new file mode 100644 index 0000000000..7f729849b3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataLoadResponse(BaseModel): + """ + DataLoadResponse + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the receiving job.", alias="jobId") + __properties: ClassVar[List[str]] = ["jobId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataLoadResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataLoadResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_model_analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_model_analytic_object_dto.py new file mode 100644 index 0000000000..e923acc1e3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_model_analytic_object_dto.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.object_reference_dto import ObjectReferenceDTO +from visier_platform_sdk.models.population_configuration_dto import PopulationConfigurationDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataModelAnalyticObjectDTO(BaseModel): + """ + Analytic objects are the various items that users can analyze in Visier. Analytic objects include subjects, events, and overlays. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object. Note: See `AnalyticObjects` to get the ID.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the analytic object.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the analytic object.") + type: Optional[StrictStr] = Field(default=None, description="The analytic object type: SUBJECT, EVENT, or OVERLAY.") + data_start_date: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available for this analytic object. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataStartDate") + data_end_date: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available for this analytic object. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataEndDate") + property_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing IDs of the properties that belong to this analytic object.", alias="propertyIds") + dimension_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing IDs of the dimensions that belong to this analytic object.", alias="dimensionIds") + selection_concept_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing IDs of the selection concepts that belong to this analytic object. Note: If there are no selection concepts, this field is omitted.", alias="selectionConceptIds") + object_references: Optional[List[ObjectReferenceDTO]] = Field(default=None, description="A list of references from this analytic object to other analytic objects. Note: If there are no references, this field is omitted.", alias="objectReferences") + population_configuration: Optional[PopulationConfigurationDTO] = Field(default=None, description="A set of property and dimension references configured by Visier or an administrator to tell the platform what properties and dimensions to use when doing population insight calculations. These are the distinguishing properties, change history properties, and grouping dimensions to use in AI insights. This field is optional and is only available for subjects.", alias="populationConfiguration") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "type", "dataStartDate", "dataEndDate", "propertyIds", "dimensionIds", "selectionConceptIds", "objectReferences", "populationConfiguration"] + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['SUBJECT', 'EVENT', 'OVERLAY']): + raise ValueError("must be one of enum values ('SUBJECT', 'EVENT', 'OVERLAY')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataModelAnalyticObjectDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in object_references (list) + _items = [] + if self.object_references: + for _item_object_references in self.object_references: + if _item_object_references: + _items.append(_item_object_references.to_dict()) + _dict['objectReferences'] = _items + # override the default output from pydantic by calling `to_dict()` of population_configuration + if self.population_configuration: + _dict['populationConfiguration'] = self.population_configuration.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataModelAnalyticObjectDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "type": obj.get("type"), + "dataStartDate": obj.get("dataStartDate"), + "dataEndDate": obj.get("dataEndDate"), + "propertyIds": obj.get("propertyIds"), + "dimensionIds": obj.get("dimensionIds"), + "selectionConceptIds": obj.get("selectionConceptIds"), + "objectReferences": [ObjectReferenceDTO.from_dict(_item) for _item in obj["objectReferences"]] if obj.get("objectReferences") is not None else None, + "populationConfiguration": PopulationConfigurationDTO.from_dict(obj["populationConfiguration"]) if obj.get("populationConfiguration") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_out_list_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_out_list_response.py deleted file mode 100644 index 0fb57e0189..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_out_list_response.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.google_protobuf_any import GoogleProtobufAny -from typing import Optional, Set -from typing_extensions import Self - -class DataOutListResponse(BaseModel): - """ - DataOutListResponse - """ # noqa: E501 - header: Optional[GoogleProtobufAny] = None - rows: Optional[List[GoogleProtobufAny]] = None - __properties: ClassVar[List[str]] = ["header", "rows"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataOutListResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of header - if self.header: - _dict['header'] = self.header.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in rows (list) - _items = [] - if self.rows: - for _item_rows in self.rows: - if _item_rows: - _items.append(_item_rows.to_dict()) - _dict['rows'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataOutListResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "header": GoogleProtobufAny.from_dict(obj["header"]) if obj.get("header") is not None else None, - "rows": [GoogleProtobufAny.from_dict(_item) for _item in obj["rows"]] if obj.get("rows") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_information_dto.py new file mode 100644 index 0000000000..09900aaa36 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_information_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_provider_auth_params_dto import DataProviderAuthParamsDTO +from visier_platform_sdk.models.data_provider_basic_information_dto import DataProviderBasicInformationDTO +from visier_platform_sdk.models.data_provider_basic_metadata_dto import DataProviderBasicMetadataDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataProviderAuthInformationDTO(BaseModel): + """ + DataProviderAuthInformationDTO + """ # noqa: E501 + data_provider_auth_params: Optional[DataProviderAuthParamsDTO] = Field(default=None, description="The authentication information for the credential.", alias="dataProviderAuthParams") + data_provider_basic_information: Optional[DataProviderBasicInformationDTO] = Field(default=None, description="The display name and description for the credential.", alias="dataProviderBasicInformation") + data_provider_metadata: Optional[DataProviderBasicMetadataDTO] = Field(default=None, alias="dataProviderMetadata") + __properties: ClassVar[List[str]] = ["dataProviderAuthParams", "dataProviderBasicInformation", "dataProviderMetadata"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataProviderAuthInformationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of data_provider_auth_params + if self.data_provider_auth_params: + _dict['dataProviderAuthParams'] = self.data_provider_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of data_provider_basic_information + if self.data_provider_basic_information: + _dict['dataProviderBasicInformation'] = self.data_provider_basic_information.to_dict() + # override the default output from pydantic by calling `to_dict()` of data_provider_metadata + if self.data_provider_metadata: + _dict['dataProviderMetadata'] = self.data_provider_metadata.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataProviderAuthInformationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataProviderAuthParams": DataProviderAuthParamsDTO.from_dict(obj["dataProviderAuthParams"]) if obj.get("dataProviderAuthParams") is not None else None, + "dataProviderBasicInformation": DataProviderBasicInformationDTO.from_dict(obj["dataProviderBasicInformation"]) if obj.get("dataProviderBasicInformation") is not None else None, + "dataProviderMetadata": DataProviderBasicMetadataDTO.from_dict(obj["dataProviderMetadata"]) if obj.get("dataProviderMetadata") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_params_dto.py new file mode 100644 index 0000000000..a4bdc40f8f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_params_dto.py @@ -0,0 +1,344 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.adp_auth_params_dto import AdpAuthParamsDTO +from visier_platform_sdk.models.bamboo_auth_params_dto import BambooAuthParamsDTO +from visier_platform_sdk.models.basic_s3_auth_params_dto import BasicS3AuthParamsDTO +from visier_platform_sdk.models.big_query_auth_params_dto import BigQueryAuthParamsDTO +from visier_platform_sdk.models.copy_s3_auth_params_dto import CopyS3AuthParamsDTO +from visier_platform_sdk.models.databricks_auth_params_dto import DatabricksAuthParamsDTO +from visier_platform_sdk.models.dayforce_v2_auth_params_dto import DayforceV2AuthParamsDTO +from visier_platform_sdk.models.dimensions_auth_params_dto import DimensionsAuthParamsDTO +from visier_platform_sdk.models.fusion_auth_params_dto import FusionAuthParamsDTO +from visier_platform_sdk.models.gong_auth_params_dto import GongAuthParamsDTO +from visier_platform_sdk.models.google_sheets_auth_params_dto import GoogleSheetsAuthParamsDTO +from visier_platform_sdk.models.google_workspace_auth_params_dto import GoogleWorkspaceAuthParamsDTO +from visier_platform_sdk.models.greenhouse_auth_params_dto import GreenhouseAuthParamsDTO +from visier_platform_sdk.models.icims_auth_params_dto import IcimsAuthParamsDTO +from visier_platform_sdk.models.internal_s3_auth_params_dto import InternalS3AuthParamsDTO +from visier_platform_sdk.models.jdbc_auth_params_dto import JdbcAuthParamsDTO +from visier_platform_sdk.models.jira_auth_params_dto import JiraAuthParamsDTO +from visier_platform_sdk.models.lever_auth_params_dto import LeverAuthParamsDTO +from visier_platform_sdk.models.medallia_auth_params_dto import MedalliaAuthParamsDTO +from visier_platform_sdk.models.microsoft365_auth_params_dto import Microsoft365AuthParamsDTO +from visier_platform_sdk.models.my_sql_auth_params_dto import MySqlAuthParamsDTO +from visier_platform_sdk.models.namely_auth_params_dto import NamelyAuthParamsDTO +from visier_platform_sdk.models.oracle_db_auth_params_dto import OracleDbAuthParamsDTO +from visier_platform_sdk.models.qualtrics_auth_params_dto import QualtricsAuthParamsDTO +from visier_platform_sdk.models.redshift_auth_params_dto import RedshiftAuthParamsDTO +from visier_platform_sdk.models.salesforce_auth_params_dto import SalesforceAuthParamsDTO +from visier_platform_sdk.models.salesforce_v2_auth_params_dto import SalesforceV2AuthParamsDTO +from visier_platform_sdk.models.service_now_auth_params_dto import ServiceNowAuthParamsDTO +from visier_platform_sdk.models.service_now_v2_auth_params_dto import ServiceNowV2AuthParamsDTO +from visier_platform_sdk.models.slack_auth_params_dto import SlackAuthParamsDTO +from visier_platform_sdk.models.snowflake_auth_params_dto import SnowflakeAuthParamsDTO +from visier_platform_sdk.models.sql_server_auth_params_dto import SqlServerAuthParamsDTO +from visier_platform_sdk.models.success_factors_auth_params_dto import SuccessFactorsAuthParamsDTO +from visier_platform_sdk.models.ultimate_auth_params_dto import UltimateAuthParamsDTO +from visier_platform_sdk.models.willow_auth_params_dto import WillowAuthParamsDTO +from visier_platform_sdk.models.workday_auth_params_dto import WorkdayAuthParamsDTO +from visier_platform_sdk.models.workday_raas_auth_params_dto import WorkdayRaasAuthParamsDTO +from visier_platform_sdk.models.zoom_auth_params_dto import ZoomAuthParamsDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataProviderAuthParamsDTO(BaseModel): + """ + DataProviderAuthParamsDTO + """ # noqa: E501 + tenant_domain_name: Optional[StrictStr] = Field(default=None, alias="tenantDomainName") + provider: Optional[StrictStr] = Field(default=None, description="The data provider associated with the credential.") + bamboo_auth_params: Optional[BambooAuthParamsDTO] = Field(default=None, alias="bambooAuthParams") + greenhouse_auth_params: Optional[GreenhouseAuthParamsDTO] = Field(default=None, alias="greenhouseAuthParams") + google_sheets_auth_params: Optional[GoogleSheetsAuthParamsDTO] = Field(default=None, alias="googleSheetsAuthParams") + jira_auth_params: Optional[JiraAuthParamsDTO] = Field(default=None, alias="jiraAuthParams") + lever_auth_params: Optional[LeverAuthParamsDTO] = Field(default=None, alias="leverAuthParams") + namely_auth_params: Optional[NamelyAuthParamsDTO] = Field(default=None, alias="namelyAuthParams") + qualtrics_auth_params: Optional[QualtricsAuthParamsDTO] = Field(default=None, alias="qualtricsAuthParams") + salesforce_auth_params: Optional[SalesforceAuthParamsDTO] = Field(default=None, alias="salesforceAuthParams") + ultimate_auth_params: Optional[UltimateAuthParamsDTO] = Field(default=None, alias="ultimateAuthParams") + workday_auth_params: Optional[WorkdayAuthParamsDTO] = Field(default=None, alias="workdayAuthParams") + icims_auth_params: Optional[IcimsAuthParamsDTO] = Field(default=None, alias="icimsAuthParams") + service_now_auth_params: Optional[ServiceNowAuthParamsDTO] = Field(default=None, alias="serviceNowAuthParams") + jdbc_auth_params: Optional[JdbcAuthParamsDTO] = Field(default=None, alias="jdbcAuthParams") + s3_auth_params: Optional[BasicS3AuthParamsDTO] = Field(default=None, alias="s3AuthParams") + internal_s3_auth_params: Optional[InternalS3AuthParamsDTO] = Field(default=None, alias="internalS3AuthParams") + copy_s3_auth_params: Optional[CopyS3AuthParamsDTO] = Field(default=None, alias="copyS3AuthParams") + redshift_auth_params: Optional[RedshiftAuthParamsDTO] = Field(default=None, alias="redshiftAuthParams") + snowflake_auth_params: Optional[SnowflakeAuthParamsDTO] = Field(default=None, alias="snowflakeAuthParams") + big_query_auth_params: Optional[BigQueryAuthParamsDTO] = Field(default=None, alias="bigQueryAuthParams") + sql_server_auth_params: Optional[SqlServerAuthParamsDTO] = Field(default=None, alias="sqlServerAuthParams") + dimensions_auth_params: Optional[DimensionsAuthParamsDTO] = Field(default=None, alias="dimensionsAuthParams") + willow_auth_params: Optional[WillowAuthParamsDTO] = Field(default=None, alias="willowAuthParams") + empty_auth_params: Optional[Dict[str, Any]] = Field(default=None, alias="emptyAuthParams") + success_factors_auth_params: Optional[SuccessFactorsAuthParamsDTO] = Field(default=None, alias="successFactorsAuthParams") + fusion_auth_params: Optional[FusionAuthParamsDTO] = Field(default=None, alias="fusionAuthParams") + adp_auth_params: Optional[AdpAuthParamsDTO] = Field(default=None, alias="adpAuthParams") + medallia_auth_params: Optional[MedalliaAuthParamsDTO] = Field(default=None, alias="medalliaAuthParams") + salesforce_v2_auth_params: Optional[SalesforceV2AuthParamsDTO] = Field(default=None, alias="salesforceV2AuthParams") + gong_auth_params: Optional[GongAuthParamsDTO] = Field(default=None, alias="gongAuthParams") + zoom_auth_params: Optional[ZoomAuthParamsDTO] = Field(default=None, alias="zoomAuthParams") + dayforce_v2_auth_params: Optional[DayforceV2AuthParamsDTO] = Field(default=None, alias="dayforceV2AuthParams") + slack_auth_params: Optional[SlackAuthParamsDTO] = Field(default=None, alias="slackAuthParams") + my_sql_auth_params: Optional[MySqlAuthParamsDTO] = Field(default=None, alias="mySqlAuthParams") + workday_raas_auth_params: Optional[WorkdayRaasAuthParamsDTO] = Field(default=None, alias="workdayRaasAuthParams") + ms365_auth_params: Optional[Microsoft365AuthParamsDTO] = Field(default=None, alias="ms365AuthParams") + google_workspace_auth_params: Optional[GoogleWorkspaceAuthParamsDTO] = Field(default=None, alias="googleWorkspaceAuthParams") + oracle_db_auth_params: Optional[OracleDbAuthParamsDTO] = Field(default=None, alias="oracleDbAuthParams") + service_now_v2_auth_params: Optional[ServiceNowV2AuthParamsDTO] = Field(default=None, alias="serviceNowV2AuthParams") + databricks_auth_params: Optional[DatabricksAuthParamsDTO] = Field(default=None, alias="databricksAuthParams") + has_updates: Optional[StrictBool] = Field(default=None, alias="hasUpdates") + auth_context: Optional[StrictStr] = Field(default=None, alias="authContext") + __properties: ClassVar[List[str]] = ["tenantDomainName", "provider", "bambooAuthParams", "greenhouseAuthParams", "googleSheetsAuthParams", "jiraAuthParams", "leverAuthParams", "namelyAuthParams", "qualtricsAuthParams", "salesforceAuthParams", "ultimateAuthParams", "workdayAuthParams", "icimsAuthParams", "serviceNowAuthParams", "jdbcAuthParams", "s3AuthParams", "internalS3AuthParams", "copyS3AuthParams", "redshiftAuthParams", "snowflakeAuthParams", "bigQueryAuthParams", "sqlServerAuthParams", "dimensionsAuthParams", "willowAuthParams", "emptyAuthParams", "successFactorsAuthParams", "fusionAuthParams", "adpAuthParams", "medalliaAuthParams", "salesforceV2AuthParams", "gongAuthParams", "zoomAuthParams", "dayforceV2AuthParams", "slackAuthParams", "mySqlAuthParams", "workdayRaasAuthParams", "ms365AuthParams", "googleWorkspaceAuthParams", "oracleDbAuthParams", "serviceNowV2AuthParams", "databricksAuthParams", "hasUpdates", "authContext"] + + @field_validator('provider') + def provider_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Bamboo', 'GoogleSheets', 'Greenhouse', 'Jira', 'Lever', 'Namely', 'Qualtrics', 'Salesforce', 'UKG', 'Workday', 'Icims', 'ServiceNow', 'Jdbc', 'BasicS3', 'InternalS3', 'CopyS3', 'Redshift', 'Snowflake', 'BigQuery', 'SqlServer', 'Dimensions', 'IcimsPartnerProviderRedshift', 'Willow', 'SuccessFactors', 'IcimsV2', 'ADP', 'WorkdayV2', 'ServiceNowV2', 'Medallia', 'Fusion', 'SalesforceV2', 'Gong', 'Zoom', 'GoogleCalendar', 'UKGV2', 'DayforceV2', 'GoogleActivityReport', 'Slack', 'MySql', 'WorkdayRaas', 'Microsoft365', 'GoogleWorkspace', 'OracleDb', 'SmartRecruiters', 'WorkdayWQL', 'OEMCornerstone', 'Databricks', 'JiraV2']): + raise ValueError("must be one of enum values ('Bamboo', 'GoogleSheets', 'Greenhouse', 'Jira', 'Lever', 'Namely', 'Qualtrics', 'Salesforce', 'UKG', 'Workday', 'Icims', 'ServiceNow', 'Jdbc', 'BasicS3', 'InternalS3', 'CopyS3', 'Redshift', 'Snowflake', 'BigQuery', 'SqlServer', 'Dimensions', 'IcimsPartnerProviderRedshift', 'Willow', 'SuccessFactors', 'IcimsV2', 'ADP', 'WorkdayV2', 'ServiceNowV2', 'Medallia', 'Fusion', 'SalesforceV2', 'Gong', 'Zoom', 'GoogleCalendar', 'UKGV2', 'DayforceV2', 'GoogleActivityReport', 'Slack', 'MySql', 'WorkdayRaas', 'Microsoft365', 'GoogleWorkspace', 'OracleDb', 'SmartRecruiters', 'WorkdayWQL', 'OEMCornerstone', 'Databricks', 'JiraV2')") + return value + + @field_validator('auth_context') + def auth_context_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['DefaultDataExtraction', 'WorkplaceDynamicsDataExtraction', 'Notification']): + raise ValueError("must be one of enum values ('DefaultDataExtraction', 'WorkplaceDynamicsDataExtraction', 'Notification')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataProviderAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of bamboo_auth_params + if self.bamboo_auth_params: + _dict['bambooAuthParams'] = self.bamboo_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of greenhouse_auth_params + if self.greenhouse_auth_params: + _dict['greenhouseAuthParams'] = self.greenhouse_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of google_sheets_auth_params + if self.google_sheets_auth_params: + _dict['googleSheetsAuthParams'] = self.google_sheets_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of jira_auth_params + if self.jira_auth_params: + _dict['jiraAuthParams'] = self.jira_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of lever_auth_params + if self.lever_auth_params: + _dict['leverAuthParams'] = self.lever_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of namely_auth_params + if self.namely_auth_params: + _dict['namelyAuthParams'] = self.namely_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of qualtrics_auth_params + if self.qualtrics_auth_params: + _dict['qualtricsAuthParams'] = self.qualtrics_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of salesforce_auth_params + if self.salesforce_auth_params: + _dict['salesforceAuthParams'] = self.salesforce_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of ultimate_auth_params + if self.ultimate_auth_params: + _dict['ultimateAuthParams'] = self.ultimate_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of workday_auth_params + if self.workday_auth_params: + _dict['workdayAuthParams'] = self.workday_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of icims_auth_params + if self.icims_auth_params: + _dict['icimsAuthParams'] = self.icims_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of service_now_auth_params + if self.service_now_auth_params: + _dict['serviceNowAuthParams'] = self.service_now_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of jdbc_auth_params + if self.jdbc_auth_params: + _dict['jdbcAuthParams'] = self.jdbc_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of s3_auth_params + if self.s3_auth_params: + _dict['s3AuthParams'] = self.s3_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of internal_s3_auth_params + if self.internal_s3_auth_params: + _dict['internalS3AuthParams'] = self.internal_s3_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of copy_s3_auth_params + if self.copy_s3_auth_params: + _dict['copyS3AuthParams'] = self.copy_s3_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of redshift_auth_params + if self.redshift_auth_params: + _dict['redshiftAuthParams'] = self.redshift_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of snowflake_auth_params + if self.snowflake_auth_params: + _dict['snowflakeAuthParams'] = self.snowflake_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of big_query_auth_params + if self.big_query_auth_params: + _dict['bigQueryAuthParams'] = self.big_query_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of sql_server_auth_params + if self.sql_server_auth_params: + _dict['sqlServerAuthParams'] = self.sql_server_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of dimensions_auth_params + if self.dimensions_auth_params: + _dict['dimensionsAuthParams'] = self.dimensions_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of willow_auth_params + if self.willow_auth_params: + _dict['willowAuthParams'] = self.willow_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of success_factors_auth_params + if self.success_factors_auth_params: + _dict['successFactorsAuthParams'] = self.success_factors_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of fusion_auth_params + if self.fusion_auth_params: + _dict['fusionAuthParams'] = self.fusion_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of adp_auth_params + if self.adp_auth_params: + _dict['adpAuthParams'] = self.adp_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of medallia_auth_params + if self.medallia_auth_params: + _dict['medalliaAuthParams'] = self.medallia_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of salesforce_v2_auth_params + if self.salesforce_v2_auth_params: + _dict['salesforceV2AuthParams'] = self.salesforce_v2_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of gong_auth_params + if self.gong_auth_params: + _dict['gongAuthParams'] = self.gong_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of zoom_auth_params + if self.zoom_auth_params: + _dict['zoomAuthParams'] = self.zoom_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of dayforce_v2_auth_params + if self.dayforce_v2_auth_params: + _dict['dayforceV2AuthParams'] = self.dayforce_v2_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of slack_auth_params + if self.slack_auth_params: + _dict['slackAuthParams'] = self.slack_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of my_sql_auth_params + if self.my_sql_auth_params: + _dict['mySqlAuthParams'] = self.my_sql_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of workday_raas_auth_params + if self.workday_raas_auth_params: + _dict['workdayRaasAuthParams'] = self.workday_raas_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of ms365_auth_params + if self.ms365_auth_params: + _dict['ms365AuthParams'] = self.ms365_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of google_workspace_auth_params + if self.google_workspace_auth_params: + _dict['googleWorkspaceAuthParams'] = self.google_workspace_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of oracle_db_auth_params + if self.oracle_db_auth_params: + _dict['oracleDbAuthParams'] = self.oracle_db_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of service_now_v2_auth_params + if self.service_now_v2_auth_params: + _dict['serviceNowV2AuthParams'] = self.service_now_v2_auth_params.to_dict() + # override the default output from pydantic by calling `to_dict()` of databricks_auth_params + if self.databricks_auth_params: + _dict['databricksAuthParams'] = self.databricks_auth_params.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataProviderAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantDomainName": obj.get("tenantDomainName"), + "provider": obj.get("provider"), + "bambooAuthParams": BambooAuthParamsDTO.from_dict(obj["bambooAuthParams"]) if obj.get("bambooAuthParams") is not None else None, + "greenhouseAuthParams": GreenhouseAuthParamsDTO.from_dict(obj["greenhouseAuthParams"]) if obj.get("greenhouseAuthParams") is not None else None, + "googleSheetsAuthParams": GoogleSheetsAuthParamsDTO.from_dict(obj["googleSheetsAuthParams"]) if obj.get("googleSheetsAuthParams") is not None else None, + "jiraAuthParams": JiraAuthParamsDTO.from_dict(obj["jiraAuthParams"]) if obj.get("jiraAuthParams") is not None else None, + "leverAuthParams": LeverAuthParamsDTO.from_dict(obj["leverAuthParams"]) if obj.get("leverAuthParams") is not None else None, + "namelyAuthParams": NamelyAuthParamsDTO.from_dict(obj["namelyAuthParams"]) if obj.get("namelyAuthParams") is not None else None, + "qualtricsAuthParams": QualtricsAuthParamsDTO.from_dict(obj["qualtricsAuthParams"]) if obj.get("qualtricsAuthParams") is not None else None, + "salesforceAuthParams": SalesforceAuthParamsDTO.from_dict(obj["salesforceAuthParams"]) if obj.get("salesforceAuthParams") is not None else None, + "ultimateAuthParams": UltimateAuthParamsDTO.from_dict(obj["ultimateAuthParams"]) if obj.get("ultimateAuthParams") is not None else None, + "workdayAuthParams": WorkdayAuthParamsDTO.from_dict(obj["workdayAuthParams"]) if obj.get("workdayAuthParams") is not None else None, + "icimsAuthParams": IcimsAuthParamsDTO.from_dict(obj["icimsAuthParams"]) if obj.get("icimsAuthParams") is not None else None, + "serviceNowAuthParams": ServiceNowAuthParamsDTO.from_dict(obj["serviceNowAuthParams"]) if obj.get("serviceNowAuthParams") is not None else None, + "jdbcAuthParams": JdbcAuthParamsDTO.from_dict(obj["jdbcAuthParams"]) if obj.get("jdbcAuthParams") is not None else None, + "s3AuthParams": BasicS3AuthParamsDTO.from_dict(obj["s3AuthParams"]) if obj.get("s3AuthParams") is not None else None, + "internalS3AuthParams": InternalS3AuthParamsDTO.from_dict(obj["internalS3AuthParams"]) if obj.get("internalS3AuthParams") is not None else None, + "copyS3AuthParams": CopyS3AuthParamsDTO.from_dict(obj["copyS3AuthParams"]) if obj.get("copyS3AuthParams") is not None else None, + "redshiftAuthParams": RedshiftAuthParamsDTO.from_dict(obj["redshiftAuthParams"]) if obj.get("redshiftAuthParams") is not None else None, + "snowflakeAuthParams": SnowflakeAuthParamsDTO.from_dict(obj["snowflakeAuthParams"]) if obj.get("snowflakeAuthParams") is not None else None, + "bigQueryAuthParams": BigQueryAuthParamsDTO.from_dict(obj["bigQueryAuthParams"]) if obj.get("bigQueryAuthParams") is not None else None, + "sqlServerAuthParams": SqlServerAuthParamsDTO.from_dict(obj["sqlServerAuthParams"]) if obj.get("sqlServerAuthParams") is not None else None, + "dimensionsAuthParams": DimensionsAuthParamsDTO.from_dict(obj["dimensionsAuthParams"]) if obj.get("dimensionsAuthParams") is not None else None, + "willowAuthParams": WillowAuthParamsDTO.from_dict(obj["willowAuthParams"]) if obj.get("willowAuthParams") is not None else None, + "emptyAuthParams": obj.get("emptyAuthParams"), + "successFactorsAuthParams": SuccessFactorsAuthParamsDTO.from_dict(obj["successFactorsAuthParams"]) if obj.get("successFactorsAuthParams") is not None else None, + "fusionAuthParams": FusionAuthParamsDTO.from_dict(obj["fusionAuthParams"]) if obj.get("fusionAuthParams") is not None else None, + "adpAuthParams": AdpAuthParamsDTO.from_dict(obj["adpAuthParams"]) if obj.get("adpAuthParams") is not None else None, + "medalliaAuthParams": MedalliaAuthParamsDTO.from_dict(obj["medalliaAuthParams"]) if obj.get("medalliaAuthParams") is not None else None, + "salesforceV2AuthParams": SalesforceV2AuthParamsDTO.from_dict(obj["salesforceV2AuthParams"]) if obj.get("salesforceV2AuthParams") is not None else None, + "gongAuthParams": GongAuthParamsDTO.from_dict(obj["gongAuthParams"]) if obj.get("gongAuthParams") is not None else None, + "zoomAuthParams": ZoomAuthParamsDTO.from_dict(obj["zoomAuthParams"]) if obj.get("zoomAuthParams") is not None else None, + "dayforceV2AuthParams": DayforceV2AuthParamsDTO.from_dict(obj["dayforceV2AuthParams"]) if obj.get("dayforceV2AuthParams") is not None else None, + "slackAuthParams": SlackAuthParamsDTO.from_dict(obj["slackAuthParams"]) if obj.get("slackAuthParams") is not None else None, + "mySqlAuthParams": MySqlAuthParamsDTO.from_dict(obj["mySqlAuthParams"]) if obj.get("mySqlAuthParams") is not None else None, + "workdayRaasAuthParams": WorkdayRaasAuthParamsDTO.from_dict(obj["workdayRaasAuthParams"]) if obj.get("workdayRaasAuthParams") is not None else None, + "ms365AuthParams": Microsoft365AuthParamsDTO.from_dict(obj["ms365AuthParams"]) if obj.get("ms365AuthParams") is not None else None, + "googleWorkspaceAuthParams": GoogleWorkspaceAuthParamsDTO.from_dict(obj["googleWorkspaceAuthParams"]) if obj.get("googleWorkspaceAuthParams") is not None else None, + "oracleDbAuthParams": OracleDbAuthParamsDTO.from_dict(obj["oracleDbAuthParams"]) if obj.get("oracleDbAuthParams") is not None else None, + "serviceNowV2AuthParams": ServiceNowV2AuthParamsDTO.from_dict(obj["serviceNowV2AuthParams"]) if obj.get("serviceNowV2AuthParams") is not None else None, + "databricksAuthParams": DatabricksAuthParamsDTO.from_dict(obj["databricksAuthParams"]) if obj.get("databricksAuthParams") is not None else None, + "hasUpdates": obj.get("hasUpdates"), + "authContext": obj.get("authContext") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_information_dto.py new file mode 100644 index 0000000000..7386d6836d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_information_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataProviderBasicInformationDTO(BaseModel): + """ + DataProviderBasicInformationDTO + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, alias="displayName") + description: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["displayName", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataProviderBasicInformationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataProviderBasicInformationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_metadata_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_metadata_dto.py new file mode 100644 index 0000000000..ac65731760 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_metadata_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataProviderBasicMetadataDTO(BaseModel): + """ + DataProviderBasicMetadataDTO + """ # noqa: E501 + can_children_inherit: Optional[StrictBool] = Field(default=None, alias="canChildrenInherit") + __properties: ClassVar[List[str]] = ["canChildrenInherit"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataProviderBasicMetadataDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataProviderBasicMetadataDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "canChildrenInherit": obj.get("canChildrenInherit") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_security_profile_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_security_profile_dto.py new file mode 100644 index 0000000000..ccd97742b8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_security_profile_dto.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.inherited_access_config_dto import InheritedAccessConfigDTO +from visier_platform_sdk.models.inherited_reference_member_filter_config_dto import InheritedReferenceMemberFilterConfigDTO +from visier_platform_sdk.models.member_filter_config_dto import MemberFilterConfigDTO +from visier_platform_sdk.models.property_set_config_dto import PropertySetConfigDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataSecurityProfileDTO(BaseModel): + """ + DataSecurityProfileDTO + """ # noqa: E501 + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object assigned data security in this permission.", alias="analyticObjectId") + property_set_config: Optional[PropertySetConfigDTO] = Field(default=None, description="A list of objects representing the data access for an analytic object’s properties.", alias="propertySetConfig") + all_data_point_access: Optional[StrictBool] = Field(default=None, description="If `true`, the permission grants access to the entire population. If `false`, define `memberFilterConfigs` to set custom population access.", alias="allDataPointAccess") + member_filter_configs: Optional[List[MemberFilterConfigDTO]] = Field(default=None, description="Custom filters that define population access for an item in the permission.", alias="memberFilterConfigs") + inherited_access_configs: Optional[List[InheritedAccessConfigDTO]] = Field(default=None, description="The events and related objects inherited from the analytic object. By default, all events and related objects associated with the analytic object will be inherited from the analytic object in a permission. For example, if you assign access to Employee, then access to the Employee Exit event is inherited in the permission. To remove access to an event or related object, add the object to `inheritedAccessConfigs` with `removeAccess`: true. To add custom filters to an event or related object, add the object to `inheritedAccessConfigs` and define `memberFilterConfigs`.", alias="inheritedAccessConfigs") + inherited_reference_member_filter_config: Optional[InheritedReferenceMemberFilterConfigDTO] = Field(default=None, description="Configures the analytic object to inherit population access filters from. The target analytic object must be assigned population access in the permission and have a binding (strong) reference from the source analytic object. * For example, assume `Applicant` -> `Requisition` is configured to be a binding (strong) reference. For `Applicant` (source analytic object) to inherit population access filters from `Requisition` (target analytic object), in the Applicant `dataSecurityProfile`, set `inheritedReferenceMemberFilterConfig` to `Requisition`. In this example, Applicant will inherit filters from Requisition because Requsition is assigned data security in this permission and there is a binding (strong) reference from Applicant to Requisition.", alias="inheritedReferenceMemberFilterConfig") + analytic_object_status: Optional[StrictStr] = Field(default=None, description="The analytic object's validity status. Valid values: Valid, NoData, NotFound. * **Valid**: The object exists and has loaded data. * **NoData**: The object exists but doesn't have loaded data. * **NotFound**: The object doesn't exist.", alias="analyticObjectStatus") + __properties: ClassVar[List[str]] = ["analyticObjectId", "propertySetConfig", "allDataPointAccess", "memberFilterConfigs", "inheritedAccessConfigs", "inheritedReferenceMemberFilterConfig", "analyticObjectStatus"] + + @field_validator('analytic_object_status') + def analytic_object_status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): + raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataSecurityProfileDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of property_set_config + if self.property_set_config: + _dict['propertySetConfig'] = self.property_set_config.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in member_filter_configs (list) + _items = [] + if self.member_filter_configs: + for _item_member_filter_configs in self.member_filter_configs: + if _item_member_filter_configs: + _items.append(_item_member_filter_configs.to_dict()) + _dict['memberFilterConfigs'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in inherited_access_configs (list) + _items = [] + if self.inherited_access_configs: + for _item_inherited_access_configs in self.inherited_access_configs: + if _item_inherited_access_configs: + _items.append(_item_inherited_access_configs.to_dict()) + _dict['inheritedAccessConfigs'] = _items + # override the default output from pydantic by calling `to_dict()` of inherited_reference_member_filter_config + if self.inherited_reference_member_filter_config: + _dict['inheritedReferenceMemberFilterConfig'] = self.inherited_reference_member_filter_config.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataSecurityProfileDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjectId": obj.get("analyticObjectId"), + "propertySetConfig": PropertySetConfigDTO.from_dict(obj["propertySetConfig"]) if obj.get("propertySetConfig") is not None else None, + "allDataPointAccess": obj.get("allDataPointAccess"), + "memberFilterConfigs": [MemberFilterConfigDTO.from_dict(_item) for _item in obj["memberFilterConfigs"]] if obj.get("memberFilterConfigs") is not None else None, + "inheritedAccessConfigs": [InheritedAccessConfigDTO.from_dict(_item) for _item in obj["inheritedAccessConfigs"]] if obj.get("inheritedAccessConfigs") is not None else None, + "inheritedReferenceMemberFilterConfig": InheritedReferenceMemberFilterConfigDTO.from_dict(obj["inheritedReferenceMemberFilterConfig"]) if obj.get("inheritedReferenceMemberFilterConfig") is not None else None, + "analyticObjectStatus": obj.get("analyticObjectStatus") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_transfer_result_detail.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_transfer_result_detail.py new file mode 100644 index 0000000000..00132708db --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_transfer_result_detail.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataTransferResultDetail(BaseModel): + """ + DataTransferResultDetail + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant that data was transferred to. For example, WFF_j1r or WFF_j1r~c7o.", alias="tenantCode") + source_names: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the sources that received a data transfer.", alias="sourceNames") + data_size: Optional[StrictStr] = Field(default=None, description="The total size of the transfer session in bytes.", alias="dataSize") + rows: Optional[StrictStr] = Field(default=None, description="The total number of rows transferred during the transfer session.") + __properties: ClassVar[List[str]] = ["tenantCode", "sourceNames", "dataSize", "rows"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataTransferResultDetail from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataTransferResultDetail from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "sourceNames": obj.get("sourceNames"), + "dataSize": obj.get("dataSize"), + "rows": obj.get("rows") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_and_date_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_and_date_dto.py new file mode 100644 index 0000000000..26d3a4f9c7 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_and_date_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionAndDateDTO(BaseModel): + """ + DataVersionAndDateDTO + """ # noqa: E501 + data_version: Optional[StrictStr] = Field(default=None, description="The data version ID.", alias="dataVersion") + data_version_date: Optional[StrictStr] = Field(default=None, description="The date that the data version was created.", alias="dataVersionDate") + __properties: ClassVar[List[str]] = ["dataVersion", "dataVersionDate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionAndDateDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionAndDateDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataVersion": obj.get("dataVersion"), + "dataVersionDate": obj.get("dataVersionDate") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_column_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_column_dto.py new file mode 100644 index 0000000000..200b714425 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_column_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportColumnDTO(BaseModel): + """ + DataVersionExportColumnDTO + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The column's name.") + data_type: Optional[StrictStr] = Field(default=None, description="The column's data type. Possible data types are string, integer, number, date, Boolean.", alias="dataType") + allows_null: Optional[StrictBool] = Field(default=None, description="If `true`, the column allows null values.", alias="allowsNull") + is_primary_key_component: Optional[StrictBool] = Field(default=None, description="If `true`, the column is part of the primary key.", alias="isPrimaryKeyComponent") + __properties: ClassVar[List[str]] = ["name", "dataType", "allowsNull", "isPrimaryKeyComponent"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportColumnDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportColumnDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "dataType": obj.get("dataType"), + "allowsNull": obj.get("allowsNull"), + "isPrimaryKeyComponent": obj.get("isPrimaryKeyComponent") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_version_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_version_summary_dto.py new file mode 100644 index 0000000000..dcb6eb28e5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_version_summary_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportDataVersionSummaryDTO(BaseModel): + """ + DataVersionExportDataVersionSummaryDTO + """ # noqa: E501 + data_version: Optional[StrictStr] = Field(default=None, description="The data version number.", alias="dataVersion") + data_category: Optional[StrictStr] = Field(default=None, description="The data category that the data version belongs to. If empty, the data version belongs to the default data category.", alias="dataCategory") + created: Optional[StrictStr] = Field(default=None, description="The date that the data version was generated, in milliseconds since 1970-01-01T00:00:00Z.") + __properties: ClassVar[List[str]] = ["dataVersion", "dataCategory", "created"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportDataVersionSummaryDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportDataVersionSummaryDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataVersion": obj.get("dataVersion"), + "dataCategory": obj.get("dataCategory"), + "created": obj.get("created") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_versions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_versions_dto.py new file mode 100644 index 0000000000..ccb8778032 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_versions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_version_export_data_version_summary_dto import DataVersionExportDataVersionSummaryDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportDataVersionsDTO(BaseModel): + """ + DataVersionExportDataVersionsDTO + """ # noqa: E501 + data_versions: Optional[List[DataVersionExportDataVersionSummaryDTO]] = Field(default=None, description="All the available data versions for the tenant's primary data category.", alias="dataVersions") + __properties: ClassVar[List[str]] = ["dataVersions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportDataVersionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_versions (list) + _items = [] + if self.data_versions: + for _item_data_versions in self.data_versions: + if _item_data_versions: + _items.append(_item_data_versions.to_dict()) + _dict['dataVersions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportDataVersionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataVersions": [DataVersionExportDataVersionSummaryDTO.from_dict(_item) for _item in obj["dataVersions"]] if obj.get("dataVersions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_dto.py new file mode 100644 index 0000000000..984c93351c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_dto.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_version_export_table_dto import DataVersionExportTableDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportDTO(BaseModel): + """ + DataVersionExportDTO + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data version export. Must be a valid UUID.") + timestamp: Optional[StrictStr] = Field(default=None, description="The date that the data version export was generated, in milliseconds since 1970-01-01T00:00:00Z.") + data_version_number: Optional[StrictStr] = Field(default=None, description="The data version number for which the export was generated.", alias="dataVersionNumber") + base_data_version_number: Optional[StrictStr] = Field(default=None, description="The baseline data version number for which the export was generated. If specified, the export is a delta of the differences between `dateVersionNumber` and `baseDataVersionNumber`. If empty, a full export is generated for `dataVersionNumber`.", alias="baseDataVersionNumber") + tables: Optional[List[DataVersionExportTableDTO]] = Field(default=None, description="Information about the tables in the export.") + new_tables: Optional[List[StrictStr]] = Field(default=None, description="Tables that exist in `dataVersionNumber` but did not exist in `baseDataVersionNumber`.", alias="newTables") + deleted_tables: Optional[List[StrictStr]] = Field(default=None, description="Tables that do not exist in `dataVersionNumber` but did exist in `baseDataVersionNumber`.", alias="deletedTables") + __properties: ClassVar[List[str]] = ["uuid", "timestamp", "dataVersionNumber", "baseDataVersionNumber", "tables", "newTables", "deletedTables"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tables (list) + _items = [] + if self.tables: + for _item_tables in self.tables: + if _item_tables: + _items.append(_item_tables.to_dict()) + _dict['tables'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "timestamp": obj.get("timestamp"), + "dataVersionNumber": obj.get("dataVersionNumber"), + "baseDataVersionNumber": obj.get("baseDataVersionNumber"), + "tables": [DataVersionExportTableDTO.from_dict(_item) for _item in obj["tables"]] if obj.get("tables") is not None else None, + "newTables": obj.get("newTables"), + "deletedTables": obj.get("deletedTables") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_file_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_file_dto.py new file mode 100644 index 0000000000..81f358f304 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_file_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_version_export_column_dto import DataVersionExportColumnDTO +from visier_platform_sdk.models.data_version_export_part_file_dto import DataVersionExportPartFileDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportFileDTO(BaseModel): + """ + DataVersionExportFileDTO + """ # noqa: E501 + columns: Optional[List[DataVersionExportColumnDTO]] = Field(default=None, description="Information about a table's columns.") + files: Optional[List[DataVersionExportPartFileDTO]] = Field(default=None, description="Information about a table's files in the export.") + __properties: ClassVar[List[str]] = ["columns", "files"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportFileDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in columns (list) + _items = [] + if self.columns: + for _item_columns in self.columns: + if _item_columns: + _items.append(_item_columns.to_dict()) + _dict['columns'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in files (list) + _items = [] + if self.files: + for _item_files in self.files: + if _item_files: + _items.append(_item_files.to_dict()) + _dict['files'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportFileDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "columns": [DataVersionExportColumnDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None, + "files": [DataVersionExportPartFileDTO.from_dict(_item) for _item in obj["files"]] if obj.get("files") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_job_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_job_status_dto.py new file mode 100644 index 0000000000..ed2f72ec21 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_job_status_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportJobStatusDTO(BaseModel): + """ + DataVersionExportJobStatusDTO + """ # noqa: E501 + job_uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data version export job.", alias="jobUuid") + completed: Optional[StrictBool] = Field(default=None, description="If `true`, the job completed successfully.") + failed: Optional[StrictBool] = Field(default=None, description="If `true`, the job failed.") + export_uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data version export generated by the job. If empty, the job hasn't completed successfully.", alias="exportUuid") + __properties: ClassVar[List[str]] = ["jobUuid", "completed", "failed", "exportUuid"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportJobStatusDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportJobStatusDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobUuid": obj.get("jobUuid"), + "completed": obj.get("completed"), + "failed": obj.get("failed"), + "exportUuid": obj.get("exportUuid") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_part_file_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_part_file_dto.py new file mode 100644 index 0000000000..37a2e0253a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_part_file_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportPartFileDTO(BaseModel): + """ + DataVersionExportPartFileDTO + """ # noqa: E501 + file_id: Optional[StrictInt] = Field(default=None, description="The unique integer identifier of the file in the data version export.", alias="fileId") + filename: Optional[StrictStr] = Field(default=None, description="The file's name.") + __properties: ClassVar[List[str]] = ["fileId", "filename"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportPartFileDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportPartFileDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fileId": obj.get("fileId"), + "filename": obj.get("filename") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py new file mode 100644 index 0000000000..d2afcf7b7a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportScheduleJobRequestDTO(BaseModel): + """ + DataVersionExportScheduleJobRequestDTO + """ # noqa: E501 + data_version_number: Optional[StrictStr] = Field(default=None, description="The data version number to generate an export for.", alias="dataVersionNumber") + base_data_version_number: Optional[StrictStr] = Field(default=None, description="Optional. The baseline data version number to use to generate a delta export. Delta exports contain the differences between `baseDataVersionNumber` and `dataVersionNumber`, such as anything updated, added, or removed in `dataVersionNumber`. If `baseDataVersionNumber` is not provided, a full export generates for `dataVersionNumber`.", alias="baseDataVersionNumber") + __properties: ClassVar[List[str]] = ["dataVersionNumber", "baseDataVersionNumber"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportScheduleJobRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportScheduleJobRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataVersionNumber": obj.get("dataVersionNumber"), + "baseDataVersionNumber": obj.get("baseDataVersionNumber") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py new file mode 100644 index 0000000000..f3ef71ab2d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportScheduleJobResponseDTO(BaseModel): + """ + DataVersionExportScheduleJobResponseDTO + """ # noqa: E501 + job_uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the scheduled data version export job.", alias="jobUuid") + __properties: ClassVar[List[str]] = ["jobUuid"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportScheduleJobResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportScheduleJobResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobUuid": obj.get("jobUuid") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_table_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_table_dto.py new file mode 100644 index 0000000000..4d25b76a5b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_table_dto.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_version_export_file_dto import DataVersionExportFileDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportTableDTO(BaseModel): + """ + DataVersionExportTableDTO + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The name of a table in the data version export; for example, Employee or Applicant.") + common_columns: Optional[DataVersionExportFileDTO] = Field(default=None, description="Information about the columns and files that are in both `dataVersionNumber` and `baseDataVersionNumber`. Always empty for full exports where `baseDataVersionNumber` is not specified.", alias="commonColumns") + new_columns: Optional[DataVersionExportFileDTO] = Field(default=None, description="Information about new columns and files in the data version. If full export, lists all columns. If delta export, lists columns that exist in `dataVersionNumber` but not in `baseDataVersionNumber`.", alias="newColumns") + deleted_columns: Optional[List[StrictStr]] = Field(default=None, description="Information about columns that do not exist in `dataVersionNumber` but did exist in `baseDataVersionNumber`.", alias="deletedColumns") + __properties: ClassVar[List[str]] = ["name", "commonColumns", "newColumns", "deletedColumns"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportTableDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of common_columns + if self.common_columns: + _dict['commonColumns'] = self.common_columns.to_dict() + # override the default output from pydantic by calling `to_dict()` of new_columns + if self.new_columns: + _dict['newColumns'] = self.new_columns.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportTableDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "commonColumns": DataVersionExportFileDTO.from_dict(obj["commonColumns"]) if obj.get("commonColumns") is not None else None, + "newColumns": DataVersionExportFileDTO.from_dict(obj["newColumns"]) if obj.get("newColumns") is not None else None, + "deletedColumns": obj.get("deletedColumns") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_exports_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_exports_dto.py new file mode 100644 index 0000000000..a61b7831a2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_exports_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_version_export_dto import DataVersionExportDTO +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionExportsDTO(BaseModel): + """ + DataVersionExportsDTO + """ # noqa: E501 + data_version_exports: Optional[List[DataVersionExportDTO]] = Field(default=None, description="Information about data version exports.", alias="dataVersionExports") + __properties: ClassVar[List[str]] = ["dataVersionExports"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionExportsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_version_exports (list) + _items = [] + if self.data_version_exports: + for _item_data_version_exports in self.data_version_exports: + if _item_data_version_exports: + _items.append(_item_data_version_exports.to_dict()) + _dict['dataVersionExports'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionExportsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataVersionExports": [DataVersionExportDTO.from_dict(_item) for _item in obj["dataVersionExports"]] if obj.get("dataVersionExports") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_object.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_object.py new file mode 100644 index 0000000000..f7ef6ccacf --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_object.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DataVersionObject(BaseModel): + """ + DataVersionObject + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code for the analytic tenant that you are disabling a data version.", alias="tenantCode") + data_version: Optional[StrictStr] = Field(default=None, description="The data version to disable for a particular analytic tenant. If not specified, disables the latest enabled data version for the analytic tenant.", alias="dataVersion") + __properties: ClassVar[List[str]] = ["tenantCode", "dataVersion"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DataVersionObject from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DataVersionObject from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "dataVersion": obj.get("dataVersion") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/databricks_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/databricks_auth_params_dto.py new file mode 100644 index 0000000000..8c36ddb905 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/databricks_auth_params_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DatabricksAuthParamsDTO(BaseModel): + """ + DatabricksAuthParamsDTO + """ # noqa: E501 + share_credentials_version: Optional[StrictStr] = Field(default=None, alias="shareCredentialsVersion") + bearer_token: Optional[StrictStr] = Field(default=None, alias="bearerToken") + endpoint: Optional[StrictStr] = None + expiration_time: Optional[StrictStr] = Field(default=None, alias="expirationTime") + __properties: ClassVar[List[str]] = ["shareCredentialsVersion", "bearerToken", "endpoint", "expirationTime"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DatabricksAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DatabricksAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "shareCredentialsVersion": obj.get("shareCredentialsVersion"), + "bearerToken": obj.get("bearerToken"), + "endpoint": obj.get("endpoint"), + "expirationTime": obj.get("expirationTime") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_common_dimension_member_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_common_dimension_member_reference_dto.py deleted file mode 100644 index a8c77750b5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_common_dimension_member_reference_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesCommonDimensionMemberReferenceDTO(BaseModel): - """ - The members of a dimension. - """ # noqa: E501 - path: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the members within a dimension path. For example, a dimension for Location may have the paths \"Canada, BC, Vancouver\" and \"US, California, San Francisco\".") - member_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension member. Use `memberId` if the dimension member doesn't have a path, such as SD groups.", alias="memberId") - __properties: ClassVar[List[str]] = ["path", "memberId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesCommonDimensionMemberReferenceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesCommonDimensionMemberReferenceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "path": obj.get("path"), - "memberId": obj.get("memberId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_common_member_values_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_common_member_values_dto.py deleted file mode 100644 index c93e6c8b25..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_common_member_values_dto.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_common_dimension_member_reference_dto import DataservicesCommonDimensionMemberReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesCommonMemberValuesDTO(BaseModel): - """ - Member filter values are discrete member references in a dimension filter. You can define included and excluded members simultaneously. This is typically done with filtering applied on dimensions with multiple levels. For example, a Location parameter may include \"South America\" and exclude \"Brazil\" which results in the metric being evaluated for all South American countries except Brazil. - """ # noqa: E501 - included: Optional[List[DataservicesCommonDimensionMemberReferenceDTO]] = Field(default=None, description="The unique IDs of members to include when evaluating the metric.") - excluded: Optional[List[DataservicesCommonDimensionMemberReferenceDTO]] = Field(default=None, description="The unique IDs of members to exclude when evaluating the metric.") - __properties: ClassVar[List[str]] = ["included", "excluded"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesCommonMemberValuesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in included (list) - _items = [] - if self.included: - for _item_included in self.included: - if _item_included: - _items.append(_item_included.to_dict()) - _dict['included'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in excluded (list) - _items = [] - if self.excluded: - for _item_excluded in self.excluded: - if _item_excluded: - _items.append(_item_excluded.to_dict()) - _dict['excluded'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesCommonMemberValuesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "included": [DataservicesCommonDimensionMemberReferenceDTO.from_dict(_item) for _item in obj["included"]] if obj.get("included") is not None else None, - "excluded": [DataservicesCommonDimensionMemberReferenceDTO.from_dict(_item) for _item in obj["excluded"]] if obj.get("excluded") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_aggregation_type_option_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_aggregation_type_option_dto.py deleted file mode 100644 index 7ae66e876e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_aggregation_type_option_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelAggregationTypeOptionDTO(BaseModel): - """ - The definition of an aggregation option. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the parameter option.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the parameter option.", alias="displayName") - property_name: Optional[StrictStr] = Field(default=None, description="The property name of the parameter option.", alias="propertyName") - aggregation_function: Optional[StrictStr] = Field(default=None, description="The aggregation function of the parameter option.", alias="aggregationFunction") - is_default: Optional[StrictBool] = Field(default=None, description="`true` if the parameter option is the default one and `false` otherwise.", alias="isDefault") - __properties: ClassVar[List[str]] = ["id", "displayName", "propertyName", "aggregationFunction", "isDefault"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelAggregationTypeOptionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelAggregationTypeOptionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "propertyName": obj.get("propertyName"), - "aggregationFunction": obj.get("aggregationFunction"), - "isDefault": obj.get("isDefault") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_aggregation_type_parameter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_aggregation_type_parameter_dto.py deleted file mode 100644 index 8188fac347..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_aggregation_type_parameter_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_aggregation_type_option_dto import DataservicesDatamodelAggregationTypeOptionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelAggregationTypeParameterDTO(BaseModel): - """ - The definition of an aggregation parameter. These parameters resolve metrics that use aggregation parameters. For example, Visier Benchmarks metrics often use aggregation parameters to enable callers to aggregate metric values according to their average or different percentiles. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the parameter.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the parameter.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the parameter.") - parameter_options: Optional[List[DataservicesDatamodelAggregationTypeOptionDTO]] = Field(default=None, description="The options defined for the parameter.", alias="parameterOptions") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "parameterOptions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelAggregationTypeParameterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in parameter_options (list) - _items = [] - if self.parameter_options: - for _item_parameter_options in self.parameter_options: - if _item_parameter_options: - _items.append(_item_parameter_options.to_dict()) - _dict['parameterOptions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelAggregationTypeParameterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "parameterOptions": [DataservicesDatamodelAggregationTypeOptionDTO.from_dict(_item) for _item in obj["parameterOptions"]] if obj.get("parameterOptions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_analytic_object_dto.py deleted file mode 100644 index 30caabdb3d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_analytic_object_dto.py +++ /dev/null @@ -1,130 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_object_reference_dto import DataservicesDatamodelObjectReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_population_configuration_dto import DataservicesDatamodelPopulationConfigurationDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelAnalyticObjectDTO(BaseModel): - """ - Analytic objects are the various items that users can analyze in Visier. Analytic objects include subjects, events, and overlays. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object. Note: See `AnalyticObjects` to get the ID.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the analytic object.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the analytic object.") - type: Optional[StrictStr] = Field(default=None, description="The analytic object type: SUBJECT, EVENT, or OVERLAY.") - data_start_date: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available for this analytic object. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataStartDate") - data_end_date: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available for this analytic object. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataEndDate") - property_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing IDs of the properties that belong to this analytic object.", alias="propertyIds") - dimension_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing IDs of the dimensions that belong to this analytic object.", alias="dimensionIds") - selection_concept_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing IDs of the selection concepts that belong to this analytic object. Note: If there are no selection concepts, this field is omitted.", alias="selectionConceptIds") - object_references: Optional[List[DataservicesDatamodelObjectReferenceDTO]] = Field(default=None, description="A list of references from this analytic object to other analytic objects. Note: If there are no references, this field is omitted.", alias="objectReferences") - population_configuration: Optional[DataservicesDatamodelPopulationConfigurationDTO] = Field(default=None, description="A set of property and dimension references configured by Visier or an administrator to tell the platform what properties and dimensions to use when doing population insight calculations. These are the distinguishing properties, change history properties, and grouping dimensions to use in AI insights. This field is optional and is only available for subjects.", alias="populationConfiguration") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "type", "dataStartDate", "dataEndDate", "propertyIds", "dimensionIds", "selectionConceptIds", "objectReferences", "populationConfiguration"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['SUBJECT', 'EVENT', 'OVERLAY']): - raise ValueError("must be one of enum values ('SUBJECT', 'EVENT', 'OVERLAY')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelAnalyticObjectDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in object_references (list) - _items = [] - if self.object_references: - for _item_object_references in self.object_references: - if _item_object_references: - _items.append(_item_object_references.to_dict()) - _dict['objectReferences'] = _items - # override the default output from pydantic by calling `to_dict()` of population_configuration - if self.population_configuration: - _dict['populationConfiguration'] = self.population_configuration.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelAnalyticObjectDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "type": obj.get("type"), - "dataStartDate": obj.get("dataStartDate"), - "dataEndDate": obj.get("dataEndDate"), - "propertyIds": obj.get("propertyIds"), - "dimensionIds": obj.get("dimensionIds"), - "selectionConceptIds": obj.get("selectionConceptIds"), - "objectReferences": [DataservicesDatamodelObjectReferenceDTO.from_dict(_item) for _item in obj["objectReferences"]] if obj.get("objectReferences") is not None else None, - "populationConfiguration": DataservicesDatamodelPopulationConfigurationDTO.from_dict(obj["populationConfiguration"]) if obj.get("populationConfiguration") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_analytic_objects_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_analytic_objects_dto.py deleted file mode 100644 index 0ef6d1fd39..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_analytic_objects_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_analytic_object_dto import DataservicesDatamodelAnalyticObjectDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelAnalyticObjectsDTO(BaseModel): - """ - A collection of analytic objects - """ # noqa: E501 - analytic_objects: Optional[List[DataservicesDatamodelAnalyticObjectDTO]] = Field(default=None, alias="analyticObjects") - __properties: ClassVar[List[str]] = ["analyticObjects"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelAnalyticObjectsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) - _items = [] - if self.analytic_objects: - for _item_analytic_objects in self.analytic_objects: - if _item_analytic_objects: - _items.append(_item_analytic_objects.to_dict()) - _dict['analyticObjects'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelAnalyticObjectsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjects": [DataservicesDatamodelAnalyticObjectDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currencies_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currencies_dto.py deleted file mode 100644 index 6a15c6016f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currencies_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_currency_dto import DataservicesDatamodelCurrencyDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelCurrenciesDTO(BaseModel): - """ - A collection of currencies. - """ # noqa: E501 - currencies: Optional[List[DataservicesDatamodelCurrencyDTO]] = None - __properties: ClassVar[List[str]] = ["currencies"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelCurrenciesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in currencies (list) - _items = [] - if self.currencies: - for _item_currencies in self.currencies: - if _item_currencies: - _items.append(_item_currencies.to_dict()) - _dict['currencies'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelCurrenciesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "currencies": [DataservicesDatamodelCurrencyDTO.from_dict(_item) for _item in obj["currencies"]] if obj.get("currencies") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_dto.py deleted file mode 100644 index ad39dd6478..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelCurrencyDTO(BaseModel): - """ - Information about a currency type. - """ # noqa: E501 - currency_code: Optional[StrictStr] = Field(default=None, description="The ISO 4217 3-letter code for the currency.", alias="currencyCode") - display_name: Optional[StrictStr] = Field(default=None, description="The display name for the currency.", alias="displayName") - symbol: Optional[StrictStr] = Field(default=None, description="The symbol name for the currency.") - short_symbol: Optional[StrictStr] = Field(default=None, description="The shortened symbol name for the currency. Removes all alphabetic characters. If **symbol** only has alphabetic characters, **shortSymbol** is empty. If **symbol** contains only non-alphabetic characters, **shortSymbol** is the same as **symbol**. For example, if **symbol** is CA$, **shortSymbol** is $. If **symbol** is $, then **shortSymbol** is $.", alias="shortSymbol") - __properties: ClassVar[List[str]] = ["currencyCode", "displayName", "symbol", "shortSymbol"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelCurrencyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelCurrencyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "currencyCode": obj.get("currencyCode"), - "displayName": obj.get("displayName"), - "symbol": obj.get("symbol"), - "shortSymbol": obj.get("shortSymbol") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_rate_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_rate_dto.py deleted file mode 100644 index cb09ec7557..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_rate_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelCurrencyRateDTO(BaseModel): - """ - Information about a currency exchange rate. - """ # noqa: E501 - from_currency_code: Optional[StrictStr] = Field(default=None, description="The currency to convert **from**. **Note:** If USD is the `fromCurrencyCode`, you are retrieving the exchange rates from USD to a different currency.", alias="fromCurrencyCode") - to_currency_code: Optional[StrictStr] = Field(default=None, description="The currency to convert **to**. **Note:** If USD is the `toCurrencyCode`, you are retrieving the exchange rates from a different currency to USD.", alias="toCurrencyCode") - rate: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The numeric value of the exchange rate. **Note:** If **decimals** is specified, rate rounds to that value. If **decimals** is undefined, **rate** rounds to 2 significant figures after the decimal point.") - start_time: Optional[StrictStr] = Field(default=None, description="The earliest time instant to retrieve exchange rates from. **Note:** Format is the number of milliseconds since Jan 1, 1970 12:00 AM UTC.", alias="startTime") - end_time: Optional[StrictStr] = Field(default=None, description="The latest time instant to retrieve exchange rates from. **Note:** Format is the number of milliseconds since Jan 1, 1970 12:00 AM UTC.", alias="endTime") - __properties: ClassVar[List[str]] = ["fromCurrencyCode", "toCurrencyCode", "rate", "startTime", "endTime"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelCurrencyRateDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelCurrencyRateDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "fromCurrencyCode": obj.get("fromCurrencyCode"), - "toCurrencyCode": obj.get("toCurrencyCode"), - "rate": obj.get("rate"), - "startTime": obj.get("startTime"), - "endTime": obj.get("endTime") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_rates_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_rates_dto.py deleted file mode 100644 index 9609b0d2f3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_currency_rates_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_currency_rate_dto import DataservicesDatamodelCurrencyRateDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelCurrencyRatesDTO(BaseModel): - """ - A collection of currency exchange rates. Note: Currencies may have different exchange rates in different time intervals, depending what rate data is stored in Visier. For example, USD:CAD can be 1.2 between January 1 - March 1, while USD:EUR can be 0.92 between January 1 - February 1, but 0.88 between February 1 - March 1. - """ # noqa: E501 - currency_rates: Optional[List[DataservicesDatamodelCurrencyRateDTO]] = Field(default=None, alias="currencyRates") - __properties: ClassVar[List[str]] = ["currencyRates"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelCurrencyRatesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in currency_rates (list) - _items = [] - if self.currency_rates: - for _item_currency_rates in self.currency_rates: - if _item_currency_rates: - _items.append(_item_currency_rates.to_dict()) - _dict['currencyRates'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelCurrencyRatesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "currencyRates": [DataservicesDatamodelCurrencyRateDTO.from_dict(_item) for _item in obj["currencyRates"]] if obj.get("currencyRates") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_dto.py deleted file mode 100644 index 019318ec0e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_dto.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_level_dto import DataservicesDatamodelLevelDTO -from visier_platform_sdk.models.dataservices_datamodel_tag_map_element_dto import DataservicesDatamodelTagMapElementDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelDimensionDTO(BaseModel): - """ - A dimension organizes unique values of an attribute into a list or a hierarchical structure for use as a filter or group-by in your solution. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the dimension.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the dimension.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the dimension.") - levels: Optional[List[DataservicesDatamodelLevelDTO]] = Field(default=None, description="The levels defined for the dimension. Note: For parent-child dimensions, a level name is generated by Visier.") - unknown_member: Optional[List[StrictStr]] = Field(default=None, description="The optional path to the unknown member, if defined.", alias="unknownMember") - member_count: Optional[StrictInt] = Field(default=None, description="The total number of members for the dimension, excluding the (All) member.", alias="memberCount") - visible_in_app: Optional[StrictBool] = Field(default=None, description="`true` if this dimension is set to be visible in your solution.", alias="visibleInApp") - tags: Optional[List[DataservicesDatamodelTagMapElementDTO]] = Field(default=None, description="The optional collection of tags defined for this element.") - explanation: Optional[StrictStr] = Field(default=None, description="The localized explanation of the dimension.") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "levels", "unknownMember", "memberCount", "visibleInApp", "tags", "explanation"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in levels (list) - _items = [] - if self.levels: - for _item_levels in self.levels: - if _item_levels: - _items.append(_item_levels.to_dict()) - _dict['levels'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item_tags in self.tags: - if _item_tags: - _items.append(_item_tags.to_dict()) - _dict['tags'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "levels": [DataservicesDatamodelLevelDTO.from_dict(_item) for _item in obj["levels"]] if obj.get("levels") is not None else None, - "unknownMember": obj.get("unknownMember"), - "memberCount": obj.get("memberCount"), - "visibleInApp": obj.get("visibleInApp"), - "tags": [DataservicesDatamodelTagMapElementDTO.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None, - "explanation": obj.get("explanation") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_dto.py deleted file mode 100644 index 388fdf44b0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_common_dimension_member_reference_dto import DataservicesCommonDimensionMemberReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelDimensionMappingValidationDTO(BaseModel): - """ - DataservicesDatamodelDimensionMappingValidationDTO - """ # noqa: E501 - dimension_map_id: Optional[StrictStr] = Field(default=None, alias="dimensionMapId") - dimension_id: Optional[StrictStr] = Field(default=None, alias="dimensionId") - unmapped_members: Optional[List[DataservicesCommonDimensionMemberReferenceDTO]] = Field(default=None, alias="unmappedMembers") - failures: Optional[List[StrictStr]] = None - __properties: ClassVar[List[str]] = ["dimensionMapId", "dimensionId", "unmappedMembers", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionMappingValidationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in unmapped_members (list) - _items = [] - if self.unmapped_members: - for _item_unmapped_members in self.unmapped_members: - if _item_unmapped_members: - _items.append(_item_unmapped_members.to_dict()) - _dict['unmappedMembers'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionMappingValidationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionMapId": obj.get("dimensionMapId"), - "dimensionId": obj.get("dimensionId"), - "unmappedMembers": [DataservicesCommonDimensionMemberReferenceDTO.from_dict(_item) for _item in obj["unmappedMembers"]] if obj.get("unmappedMembers") is not None else None, - "failures": obj.get("failures") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_execution_dto.py deleted file mode 100644 index cab3bf9261..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_execution_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelDimensionMappingValidationExecutionDTO(BaseModel): - """ - Instruction to execute a mapping validation query - """ # noqa: E501 - member_map_id: Optional[StrictStr] = Field(default=None, description="memberMapId == dimensionMapId", alias="memberMapId") - analytic_object: Optional[StrictStr] = Field(default=None, description="the analytic object associated with the dimension map", alias="analyticObject") - __properties: ClassVar[List[str]] = ["memberMapId", "analyticObject"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionMappingValidationExecutionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionMappingValidationExecutionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "memberMapId": obj.get("memberMapId"), - "analyticObject": obj.get("analyticObject") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_reference_dto.py deleted file mode 100644 index 6eba551864..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimension_reference_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelDimensionReferenceDTO(BaseModel): - """ - The name and qualifying path of a dimension to query. - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The ID of the dimension. To get a dimension's ID, call the Data Model API.") - qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the dimension in Visier, such as the analytic object or event the dimension is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") - __properties: ClassVar[List[str]] = ["name", "qualifyingPath"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionReferenceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionReferenceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "qualifyingPath": obj.get("qualifyingPath") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimensions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimensions_dto.py deleted file mode 100644 index 1226388727..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_dimensions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_dto import DataservicesDatamodelDimensionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelDimensionsDTO(BaseModel): - """ - A collection of dimensions. - """ # noqa: E501 - dimensions: Optional[List[DataservicesDatamodelDimensionDTO]] = None - __properties: ClassVar[List[str]] = ["dimensions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dimensions (list) - _items = [] - if self.dimensions: - for _item_dimensions in self.dimensions: - if _item_dimensions: - _items.append(_item_dimensions.to_dict()) - _dict['dimensions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelDimensionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensions": [DataservicesDatamodelDimensionDTO.from_dict(_item) for _item in obj["dimensions"]] if obj.get("dimensions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_level_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_level_dto.py deleted file mode 100644 index 3a282fc2c9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_level_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelLevelDTO(BaseModel): - """ - Levels are the hierarchical structure of members within a dimension. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of a level within a dimension.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the dimension.", alias="displayName") - depth: Optional[StrictInt] = Field(default=None, description="The level depth of the dimension.") - __properties: ClassVar[List[str]] = ["id", "displayName", "depth"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelLevelDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelLevelDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "depth": obj.get("depth") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_member_dto.py deleted file mode 100644 index cc77c4ef73..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_member_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_validity_range_dto import DataservicesDatamodelValidityRangeDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelMemberDTO(BaseModel): - """ - A member is an element of a dimension. Dimension members are organized hierarchically. For example, Argentina is a member of the Location dimension at the Country level of the hierarchy Region > Country > Province > City. - """ # noqa: E501 - full_name: Optional[StrictStr] = Field(default=None, description="The fully qualified name of the member. This is the dimension's object name and the member's display name, separated by a period.", alias="fullName") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the member.", alias="displayName") - level: Optional[StrictInt] = Field(default=None, description="The numeric level of the hierarchy the member belongs to.") - path: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of identifiers that reference members on the query axis as part of dimensionMemberSelection.") - validity_ranges: Optional[List[DataservicesDatamodelValidityRangeDTO]] = Field(default=None, description="The validity ranges that exist for this member.", alias="validityRanges") - display_name_path: Optional[List[StrictStr]] = Field(default=None, description="The display names for each level in the member's ancestral path.", alias="displayNamePath") - __properties: ClassVar[List[str]] = ["fullName", "displayName", "level", "path", "validityRanges", "displayNamePath"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMemberDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in validity_ranges (list) - _items = [] - if self.validity_ranges: - for _item_validity_ranges in self.validity_ranges: - if _item_validity_ranges: - _items.append(_item_validity_ranges.to_dict()) - _dict['validityRanges'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMemberDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "fullName": obj.get("fullName"), - "displayName": obj.get("displayName"), - "level": obj.get("level"), - "path": obj.get("path"), - "validityRanges": [DataservicesDatamodelValidityRangeDTO.from_dict(_item) for _item in obj["validityRanges"]] if obj.get("validityRanges") is not None else None, - "displayNamePath": obj.get("displayNamePath") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_member_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_member_parameter_definition_dto.py deleted file mode 100644 index 4596fd3ab2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_member_parameter_definition_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_common_member_values_dto import DataservicesCommonMemberValuesDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelMemberParameterDefinitionDTO(BaseModel): - """ - The definition of a filter parameter. These elements are returned as part of the definition for metrics that include parameters in their definition. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the member parameter.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the member parameter.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the member parameter.") - dimension_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the dimension on which the member parameter is based.", alias="dimensionId") - reference_path: Optional[List[StrictStr]] = Field(default=None, description="The analytic object reference path from the metric to the dimension.", alias="referencePath") - default: Optional[DataservicesCommonMemberValuesDTO] = Field(default=None, description="The default value if the end user does not select a member at run time.") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "dimensionId", "referencePath", "default"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMemberParameterDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of default - if self.default: - _dict['default'] = self.default.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMemberParameterDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "dimensionId": obj.get("dimensionId"), - "referencePath": obj.get("referencePath"), - "default": DataservicesCommonMemberValuesDTO.from_dict(obj["default"]) if obj.get("default") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_members_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_members_dto.py deleted file mode 100644 index 0a70bd4df4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_members_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_member_dto import DataservicesDatamodelMemberDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelMembersDTO(BaseModel): - """ - A collection of members. - """ # noqa: E501 - members: Optional[List[DataservicesDatamodelMemberDTO]] = None - __properties: ClassVar[List[str]] = ["members"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMembersDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item_members in self.members: - if _item_members: - _items.append(_item_members.to_dict()) - _dict['members'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMembersDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "members": [DataservicesDatamodelMemberDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_metric_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_metric_dto.py deleted file mode 100644 index d5d6ef3890..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_metric_dto.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_parameter_definition_dto import DataservicesDatamodelParameterDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelMetricDTO(BaseModel): - """ - A metric is a calculation based on one or more attribute values of analytic objects. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the metric. Note: See `Metrics` to get the ID.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the metric.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the metric.") - data_start_date: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available for this metric. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataStartDate") - data_end_date: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available for this metric. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataEndDate") - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object.", alias="analyticObjectId") - parameters: Optional[List[DataservicesDatamodelParameterDefinitionDTO]] = Field(default=None, description="The collection of parameters defined for the metric.") - category: Optional[StrictStr] = Field(default=None, description="The category of the metric. Will be one of: `REGULAR`, `DERIVED` or `PLANNING`.") - visible_in_app: Optional[StrictBool] = Field(default=None, description="// `true` if this metric is set to be visible in your solution.", alias="visibleInApp") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "dataStartDate", "dataEndDate", "analyticObjectId", "parameters", "category", "visibleInApp"] - - @field_validator('category') - def category_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['REGULAR', 'DERIVED', 'PLANNING']): - raise ValueError("must be one of enum values ('REGULAR', 'DERIVED', 'PLANNING')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMetricDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in parameters (list) - _items = [] - if self.parameters: - for _item_parameters in self.parameters: - if _item_parameters: - _items.append(_item_parameters.to_dict()) - _dict['parameters'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMetricDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "dataStartDate": obj.get("dataStartDate"), - "dataEndDate": obj.get("dataEndDate"), - "analyticObjectId": obj.get("analyticObjectId"), - "parameters": [DataservicesDatamodelParameterDefinitionDTO.from_dict(_item) for _item in obj["parameters"]] if obj.get("parameters") is not None else None, - "category": obj.get("category"), - "visibleInApp": obj.get("visibleInApp") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_metrics_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_metrics_dto.py deleted file mode 100644 index 428e07cecf..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_metrics_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_metric_dto import DataservicesDatamodelMetricDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelMetricsDTO(BaseModel): - """ - A collection of metrics. - """ # noqa: E501 - metrics: Optional[List[DataservicesDatamodelMetricDTO]] = None - __properties: ClassVar[List[str]] = ["metrics"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMetricsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) - _items = [] - if self.metrics: - for _item_metrics in self.metrics: - if _item_metrics: - _items.append(_item_metrics.to_dict()) - _dict['metrics'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelMetricsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "metrics": [DataservicesDatamodelMetricDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_numeric_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_numeric_parameter_definition_dto.py deleted file mode 100644 index 119a7bed36..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_numeric_parameter_definition_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelNumericParameterDefinitionDTO(BaseModel): - """ - The definition of a numeric parameter. These elements are returned as part of the query definition for metric parameter values. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the numeric parameter.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the numeric parameter.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the numeric parameter.") - lower_bound: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The lowest value for the numeric parameter.", alias="lowerBound") - upper_bound: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The highest value for the numeric parameter.", alias="upperBound") - default: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The default value if the end user does not select a member at run time.") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "lowerBound", "upperBound", "default"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelNumericParameterDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelNumericParameterDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "lowerBound": obj.get("lowerBound"), - "upperBound": obj.get("upperBound"), - "default": obj.get("default") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_object_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_object_reference_dto.py deleted file mode 100644 index 0d1e2ba7bd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_object_reference_dto.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelObjectReferenceDTO(BaseModel): - """ - A link between one analytic object and another. An ObjectReference allows you to discover the relationships between analytic objects. In some queries, you may need to provide a qualifyingPath, which is built from ObjectReference information. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the object reference.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the object reference.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the object reference.") - from_object: Optional[StrictStr] = Field(default=None, description="The ID of the referencing analytic object.", alias="fromObject") - to_object: Optional[StrictStr] = Field(default=None, description="The ID of the referenced analytic object.", alias="toObject") - type: Optional[StrictStr] = Field(default=None, description="The type of object reference.") - is_strong_reference: Optional[StrictBool] = Field(default=None, description="True if this is a strong reference.", alias="isStrongReference") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "fromObject", "toObject", "type", "isStrongReference"] - - @field_validator('type') - def type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['SUBJECT_REFERENCE', 'MULTI_VALUE_REFERENCE']): - raise ValueError("must be one of enum values ('SUBJECT_REFERENCE', 'MULTI_VALUE_REFERENCE')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelObjectReferenceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelObjectReferenceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "fromObject": obj.get("fromObject"), - "toObject": obj.get("toObject"), - "type": obj.get("type"), - "isStrongReference": obj.get("isStrongReference") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_parameter_definition_dto.py deleted file mode 100644 index 789e4a8840..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_parameter_definition_dto.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_aggregation_type_parameter_dto import DataservicesDatamodelAggregationTypeParameterDTO -from visier_platform_sdk.models.dataservices_datamodel_member_parameter_definition_dto import DataservicesDatamodelMemberParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_numeric_parameter_definition_dto import DataservicesDatamodelNumericParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_plan_parameter_definition_dto import DataservicesDatamodelPlanParameterDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelParameterDefinitionDTO(BaseModel): - """ - Parameters generalize object definitions so that end users can provide values at query run time. - """ # noqa: E501 - member_parameter: Optional[DataservicesDatamodelMemberParameterDefinitionDTO] = Field(default=None, description="A filter parameter that can be set with dimension members for the end user to select.", alias="memberParameter") - numeric_parameter: Optional[DataservicesDatamodelNumericParameterDefinitionDTO] = Field(default=None, description="A parameter with a numeric data type. A numeric parameter can be set with an optional default value and value range.", alias="numericParameter") - plan_parameter: Optional[DataservicesDatamodelPlanParameterDefinitionDTO] = Field(default=None, description="A parameter on a planning metric. Plan parameters resolve planning model metrics to a specific plan and scenario or snapshot.", alias="planParameter") - aggregation_type_parameter: Optional[DataservicesDatamodelAggregationTypeParameterDTO] = Field(default=None, description="An aggregation parameter. Such parameters enable control over how applicable metrics aggregate their results.", alias="aggregationTypeParameter") - __properties: ClassVar[List[str]] = ["memberParameter", "numericParameter", "planParameter", "aggregationTypeParameter"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelParameterDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of member_parameter - if self.member_parameter: - _dict['memberParameter'] = self.member_parameter.to_dict() - # override the default output from pydantic by calling `to_dict()` of numeric_parameter - if self.numeric_parameter: - _dict['numericParameter'] = self.numeric_parameter.to_dict() - # override the default output from pydantic by calling `to_dict()` of plan_parameter - if self.plan_parameter: - _dict['planParameter'] = self.plan_parameter.to_dict() - # override the default output from pydantic by calling `to_dict()` of aggregation_type_parameter - if self.aggregation_type_parameter: - _dict['aggregationTypeParameter'] = self.aggregation_type_parameter.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelParameterDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "memberParameter": DataservicesDatamodelMemberParameterDefinitionDTO.from_dict(obj["memberParameter"]) if obj.get("memberParameter") is not None else None, - "numericParameter": DataservicesDatamodelNumericParameterDefinitionDTO.from_dict(obj["numericParameter"]) if obj.get("numericParameter") is not None else None, - "planParameter": DataservicesDatamodelPlanParameterDefinitionDTO.from_dict(obj["planParameter"]) if obj.get("planParameter") is not None else None, - "aggregationTypeParameter": DataservicesDatamodelAggregationTypeParameterDTO.from_dict(obj["aggregationTypeParameter"]) if obj.get("aggregationTypeParameter") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_plan_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_plan_parameter_definition_dto.py deleted file mode 100644 index f0bcd176db..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_plan_parameter_definition_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPlanParameterDefinitionDTO(BaseModel): - """ - The definition of a plan parameter. These parameters resolve planning model metrics to a specific plan and scenario or snapshot values at query runtime. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the parameter.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the parameter.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the parameter.") - model_name: Optional[StrictStr] = Field(default=None, description="The name of the planning model to which the parameter applies.", alias="modelName") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "modelName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanParameterDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanParameterDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "modelName": obj.get("modelName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_concept_filter_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_concept_filter_context_dto.py deleted file mode 100644 index 3323609506..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_concept_filter_context_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPlanningConceptFilterContextDTO(BaseModel): - """ - A plan context defined using a selection concept. - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The object name of the selection concept.") - __properties: ClassVar[List[str]] = ["name"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningConceptFilterContextDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningConceptFilterContextDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_hierarchy_filter_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_hierarchy_filter_context_dto.py deleted file mode 100644 index 9aa9e08a19..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_hierarchy_filter_context_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPlanningHierarchyFilterContextDTO(BaseModel): - """ - A plan context defined using hierarchy members - """ # noqa: E501 - hierarchy_name: Optional[StrictStr] = Field(default=None, description="The object name of the hierarchy.", alias="hierarchyName") - included_members: Optional[List[StrictStr]] = Field(default=None, description="The unique IDs of the included dimension members.", alias="includedMembers") - excluded_members: Optional[List[StrictStr]] = Field(default=None, description="The unique IDs of excluded dimension members.", alias="excludedMembers") - __properties: ClassVar[List[str]] = ["hierarchyName", "includedMembers", "excludedMembers"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningHierarchyFilterContextDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningHierarchyFilterContextDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "hierarchyName": obj.get("hierarchyName"), - "includedMembers": obj.get("includedMembers"), - "excludedMembers": obj.get("excludedMembers") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_model_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_model_dto.py deleted file mode 100644 index f06bdb6531..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_model_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPlanningModelDTO(BaseModel): - """ - The basic information about the planning model. A planning model captures the planning intent, plan items, and the relationship between them. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the planning model. Note: See `PlanningModels` to get the ID.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the planning model.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the planning model.") - __properties: ClassVar[List[str]] = ["id", "displayName", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningModelDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningModelDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_models_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_models_dto.py deleted file mode 100644 index 7a0c34a515..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_models_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_planning_model_dto import DataservicesDatamodelPlanningModelDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPlanningModelsDTO(BaseModel): - """ - A collection of planning modules. - """ # noqa: E501 - models: Optional[List[DataservicesDatamodelPlanningModelDTO]] = None - __properties: ClassVar[List[str]] = ["models"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningModelsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in models (list) - _items = [] - if self.models: - for _item_models in self.models: - if _item_models: - _items.append(_item_models.to_dict()) - _dict['models'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningModelsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "models": [DataservicesDatamodelPlanningModelDTO.from_dict(_item) for _item in obj["models"]] if obj.get("models") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plan_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plan_context_dto.py deleted file mode 100644 index 6127f1127c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plan_context_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_planning_concept_filter_context_dto import DataservicesDatamodelPlanningConceptFilterContextDTO -from visier_platform_sdk.models.dataservices_datamodel_planning_hierarchy_filter_context_dto import DataservicesDatamodelPlanningHierarchyFilterContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPlanningPlanContextDTO(BaseModel): - """ - The filter context for a plan. Plan contexts are defined using a set of hierarchy members or a concept. - """ # noqa: E501 - hierarchy_filter_context: Optional[DataservicesDatamodelPlanningHierarchyFilterContextDTO] = Field(default=None, description="A plan context defined using hierarchy members.", alias="hierarchyFilterContext") - concept_filter_context: Optional[DataservicesDatamodelPlanningConceptFilterContextDTO] = Field(default=None, description="A plan context defined using a selection concept.", alias="conceptFilterContext") - __properties: ClassVar[List[str]] = ["hierarchyFilterContext", "conceptFilterContext"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningPlanContextDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of hierarchy_filter_context - if self.hierarchy_filter_context: - _dict['hierarchyFilterContext'] = self.hierarchy_filter_context.to_dict() - # override the default output from pydantic by calling `to_dict()` of concept_filter_context - if self.concept_filter_context: - _dict['conceptFilterContext'] = self.concept_filter_context.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningPlanContextDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "hierarchyFilterContext": DataservicesDatamodelPlanningHierarchyFilterContextDTO.from_dict(obj["hierarchyFilterContext"]) if obj.get("hierarchyFilterContext") is not None else None, - "conceptFilterContext": DataservicesDatamodelPlanningConceptFilterContextDTO.from_dict(obj["conceptFilterContext"]) if obj.get("conceptFilterContext") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plan_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plan_dto.py deleted file mode 100644 index da667efe54..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plan_dto.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_context_dto import DataservicesDatamodelPlanningPlanContextDTO -from visier_platform_sdk.models.dataservices_datamodel_scenario_or_snapshot_dto import DataservicesDatamodelScenarioOrSnapshotDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPlanningPlanDTO(BaseModel): - """ - The definition of a plan. Plans are defined on planning models, and each plan may define multiple scenarios or snapshots. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the plan. Note: See `PlanningPlans` to get the ID.") - name: Optional[StrictStr] = Field(default=None, description="The name of the plan.") - subject_id: Optional[StrictStr] = Field(default=None, description="The ID of subject for the plan.", alias="subjectId") - default_contexts: Optional[List[DataservicesDatamodelPlanningPlanContextDTO]] = Field(default=None, description="The contexts defined for the plan.", alias="defaultContexts") - plan_dimension_ids: Optional[List[StrictStr]] = Field(default=None, description="The IDs of the dimensions defined for the plan.", alias="planDimensionIds") - scenarios: Optional[List[DataservicesDatamodelScenarioOrSnapshotDTO]] = Field(default=None, description="The available scenarios for the plan.") - snapshots: Optional[List[DataservicesDatamodelScenarioOrSnapshotDTO]] = Field(default=None, description="The available snapshots for the plan.") - __properties: ClassVar[List[str]] = ["id", "name", "subjectId", "defaultContexts", "planDimensionIds", "scenarios", "snapshots"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningPlanDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in default_contexts (list) - _items = [] - if self.default_contexts: - for _item_default_contexts in self.default_contexts: - if _item_default_contexts: - _items.append(_item_default_contexts.to_dict()) - _dict['defaultContexts'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in scenarios (list) - _items = [] - if self.scenarios: - for _item_scenarios in self.scenarios: - if _item_scenarios: - _items.append(_item_scenarios.to_dict()) - _dict['scenarios'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in snapshots (list) - _items = [] - if self.snapshots: - for _item_snapshots in self.snapshots: - if _item_snapshots: - _items.append(_item_snapshots.to_dict()) - _dict['snapshots'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningPlanDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "name": obj.get("name"), - "subjectId": obj.get("subjectId"), - "defaultContexts": [DataservicesDatamodelPlanningPlanContextDTO.from_dict(_item) for _item in obj["defaultContexts"]] if obj.get("defaultContexts") is not None else None, - "planDimensionIds": obj.get("planDimensionIds"), - "scenarios": [DataservicesDatamodelScenarioOrSnapshotDTO.from_dict(_item) for _item in obj["scenarios"]] if obj.get("scenarios") is not None else None, - "snapshots": [DataservicesDatamodelScenarioOrSnapshotDTO.from_dict(_item) for _item in obj["snapshots"]] if obj.get("snapshots") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plans_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plans_dto.py deleted file mode 100644 index 78dfa0edbf..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_planning_plans_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_planning_plan_dto import DataservicesDatamodelPlanningPlanDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPlanningPlansDTO(BaseModel): - """ - A collection of plan definitions. - """ # noqa: E501 - plans: Optional[List[DataservicesDatamodelPlanningPlanDTO]] = None - __properties: ClassVar[List[str]] = ["plans"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningPlansDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in plans (list) - _items = [] - if self.plans: - for _item_plans in self.plans: - if _item_plans: - _items.append(_item_plans.to_dict()) - _dict['plans'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPlanningPlansDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "plans": [DataservicesDatamodelPlanningPlanDTO.from_dict(_item) for _item in obj["plans"]] if obj.get("plans") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_population_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_population_configuration_dto.py deleted file mode 100644 index d68ab81320..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_population_configuration_dto.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_property_reference_dto import DataservicesDatamodelPropertyReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPopulationConfigurationDTO(BaseModel): - """ - A set of property and dimension references configured by Visier or an administrator to tell the platform what properties and dimensions to use when doing population insight calculations. These are the distinguishing properties, change history properties, and grouping dimensions to use in AI insights. - """ # noqa: E501 - distinguishing_properties: Optional[List[DataservicesDatamodelPropertyReferenceDTO]] = Field(default=None, description="Properties that are used by default to compare subject members.", alias="distinguishingProperties") - change_history_properties: Optional[List[DataservicesDatamodelPropertyReferenceDTO]] = Field(default=None, description="Properties that are used by default to compare subject members over time.", alias="changeHistoryProperties") - grouping_dimensions: Optional[List[DataservicesDatamodelDimensionReferenceDTO]] = Field(default=None, description="Dimensions to use for grouping and clustering the population.", alias="groupingDimensions") - __properties: ClassVar[List[str]] = ["distinguishingProperties", "changeHistoryProperties", "groupingDimensions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPopulationConfigurationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in distinguishing_properties (list) - _items = [] - if self.distinguishing_properties: - for _item_distinguishing_properties in self.distinguishing_properties: - if _item_distinguishing_properties: - _items.append(_item_distinguishing_properties.to_dict()) - _dict['distinguishingProperties'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in change_history_properties (list) - _items = [] - if self.change_history_properties: - for _item_change_history_properties in self.change_history_properties: - if _item_change_history_properties: - _items.append(_item_change_history_properties.to_dict()) - _dict['changeHistoryProperties'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in grouping_dimensions (list) - _items = [] - if self.grouping_dimensions: - for _item_grouping_dimensions in self.grouping_dimensions: - if _item_grouping_dimensions: - _items.append(_item_grouping_dimensions.to_dict()) - _dict['groupingDimensions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPopulationConfigurationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "distinguishingProperties": [DataservicesDatamodelPropertyReferenceDTO.from_dict(_item) for _item in obj["distinguishingProperties"]] if obj.get("distinguishingProperties") is not None else None, - "changeHistoryProperties": [DataservicesDatamodelPropertyReferenceDTO.from_dict(_item) for _item in obj["changeHistoryProperties"]] if obj.get("changeHistoryProperties") is not None else None, - "groupingDimensions": [DataservicesDatamodelDimensionReferenceDTO.from_dict(_item) for _item in obj["groupingDimensions"]] if obj.get("groupingDimensions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_prediction_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_prediction_dto.py deleted file mode 100644 index 0d1b198033..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_prediction_dto.py +++ /dev/null @@ -1,124 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPredictionDTO(BaseModel): - """ - A prediction is a forecast of future events with advanced machine learning models. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the prediction. Note: See `Predictions` to get the ID.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the prediction.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the prediction.") - subject: Optional[StrictStr] = Field(default=None, description="The object name of the subject that the prediction applies to. For example, Employee.") - subject_key: Optional[StrictStr] = Field(default=None, description="The unique ID of the subject's property that the prediction applies to. For example, Employee.EmployeeID.", alias="subjectKey") - subject_parent_key: Optional[StrictStr] = Field(default=None, description="The unique ID of the reference that connects a subject member to other members. For example, Employee.Direct_Manager. Note: The `subjectParentKey` defines parent, child, and peer relationships between subject members.", alias="subjectParentKey") - subject_filter: Optional[StrictStr] = Field(default=None, description="The object name of a selection concept to filter the subject population. Filtering the population selects specific subject members in the prediction's training data. For example, using the isHighPerformer concept will filter the prediction to only high performing employees.", alias="subjectFilter") - event: Optional[StrictStr] = Field(default=None, description="The object name of the event to predict. The prediction's training data uses past occurrences of the event to make predictions. For example, the Predicted Risk of Resignation model uses the Employee_Exit event to estimate likelihood of exit from the organization.") - event_filter: Optional[StrictStr] = Field(default=None, description="The object name of a selection concept to filter event occurrences in the prediction's training data.", alias="eventFilter") - label_property: Optional[StrictStr] = Field(default=None, description="The unique ID of the property label for the prediction. This is automatically generated.", alias="labelProperty") - factor_properties: Optional[List[StrictStr]] = Field(default=None, description="The list of unique IDs of the properties used as prediction factors. Note: Factors are conditions used as part of a Visier prediction. For example, Compensation might be a factor in predicting an individual's risk of resignation. Factors are chosen based on: - Availability in tenants. - Prediction impact, such as salary. - Reducing bias.", alias="factorProperties") - factor_dimensions: Optional[List[StrictStr]] = Field(default=None, description="The list of unique IDs of the dimensions used as prediction factors.", alias="factorDimensions") - factor_concepts: Optional[List[StrictStr]] = Field(default=None, description="The list of unique IDs of the concepts used as prediction factors.", alias="factorConcepts") - data_start_date: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available for this prediction. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataStartDate") - data_end_date: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available for this prediction. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataEndDate") - score_name: Optional[StrictStr] = Field(default=None, description="The unique name of the score property. The prediction's formula references the score property as an object. This is automatically generated.", alias="scoreName") - factors_name: Optional[StrictStr] = Field(default=None, description="The unique name of the factor property. The prediction's formula references the factor property as an object. This is automatically generated.", alias="factorsName") - minimum_training_months: Optional[StrictStr] = Field(default=None, description="The minimum amount of time, in months, to train the prediction model.", alias="minimumTrainingMonths") - is_multi_tenant: Optional[StrictBool] = Field(default=None, description="If `true`, this prediction applies to more than one tenant. If \"false\", the prediction only applies to the current tenant.", alias="isMultiTenant") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "subject", "subjectKey", "subjectParentKey", "subjectFilter", "event", "eventFilter", "labelProperty", "factorProperties", "factorDimensions", "factorConcepts", "dataStartDate", "dataEndDate", "scoreName", "factorsName", "minimumTrainingMonths", "isMultiTenant"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPredictionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPredictionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "subject": obj.get("subject"), - "subjectKey": obj.get("subjectKey"), - "subjectParentKey": obj.get("subjectParentKey"), - "subjectFilter": obj.get("subjectFilter"), - "event": obj.get("event"), - "eventFilter": obj.get("eventFilter"), - "labelProperty": obj.get("labelProperty"), - "factorProperties": obj.get("factorProperties"), - "factorDimensions": obj.get("factorDimensions"), - "factorConcepts": obj.get("factorConcepts"), - "dataStartDate": obj.get("dataStartDate"), - "dataEndDate": obj.get("dataEndDate"), - "scoreName": obj.get("scoreName"), - "factorsName": obj.get("factorsName"), - "minimumTrainingMonths": obj.get("minimumTrainingMonths"), - "isMultiTenant": obj.get("isMultiTenant") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_predictions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_predictions_dto.py deleted file mode 100644 index c1f96b1786..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_predictions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_prediction_dto import DataservicesDatamodelPredictionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPredictionsDTO(BaseModel): - """ - A collection of predictions. - """ # noqa: E501 - predictions: Optional[List[DataservicesDatamodelPredictionDTO]] = None - __properties: ClassVar[List[str]] = ["predictions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPredictionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in predictions (list) - _items = [] - if self.predictions: - for _item_predictions in self.predictions: - if _item_predictions: - _items.append(_item_predictions.to_dict()) - _dict['predictions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPredictionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "predictions": [DataservicesDatamodelPredictionDTO.from_dict(_item) for _item in obj["predictions"]] if obj.get("predictions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_properties_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_properties_dto.py deleted file mode 100644 index 2a1b925d18..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_properties_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_property_dto import DataservicesDatamodelPropertyDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPropertiesDTO(BaseModel): - """ - A collection of properties. - """ # noqa: E501 - properties: Optional[List[DataservicesDatamodelPropertyDTO]] = None - __properties: ClassVar[List[str]] = ["properties"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPropertiesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in properties (list) - _items = [] - if self.properties: - for _item_properties in self.properties: - if _item_properties: - _items.append(_item_properties.to_dict()) - _dict['properties'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPropertiesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "properties": [DataservicesDatamodelPropertyDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_property_dto.py deleted file mode 100644 index 420c7381a3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_property_dto.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_parameter_definition_dto import DataservicesDatamodelParameterDefinitionDTO -from visier_platform_sdk.models.dataservices_datamodel_tag_map_element_dto import DataservicesDatamodelTagMapElementDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPropertyDTO(BaseModel): - """ - Properties are qualities of an analytic object. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the property. **Note:** See `Properties` to get the ID.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the property.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the property.") - data_type: Optional[StrictStr] = Field(default=None, description="The data type of the property, such as Categorical, HourDuration, or Ratio.", alias="dataType") - primitive_data_type: Optional[StrictStr] = Field(default=None, description="The primitive data type of the property, such as Number, String, or Boolean.", alias="primitiveDataType") - parameters: Optional[List[DataservicesDatamodelParameterDefinitionDTO]] = Field(default=None, description="The collection of parameters defined for the property.") - tags: Optional[List[DataservicesDatamodelTagMapElementDTO]] = Field(default=None, description="The optional collection of tags defined for this element.") - explanation: Optional[StrictStr] = Field(default=None, description="The localized explanation of the property.") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "dataType", "primitiveDataType", "parameters", "tags", "explanation"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in parameters (list) - _items = [] - if self.parameters: - for _item_parameters in self.parameters: - if _item_parameters: - _items.append(_item_parameters.to_dict()) - _dict['parameters'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item_tags in self.tags: - if _item_tags: - _items.append(_item_tags.to_dict()) - _dict['tags'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "dataType": obj.get("dataType"), - "primitiveDataType": obj.get("primitiveDataType"), - "parameters": [DataservicesDatamodelParameterDefinitionDTO.from_dict(_item) for _item in obj["parameters"]] if obj.get("parameters") is not None else None, - "tags": [DataservicesDatamodelTagMapElementDTO.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None, - "explanation": obj.get("explanation") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_property_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_property_reference_dto.py deleted file mode 100644 index 5b93862c87..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_property_reference_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelPropertyReferenceDTO(BaseModel): - """ - The name and qualifying path of a property to query. - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The ID of the property. See `Properties` to get the ID.") - qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the property in Visier, such as the analytic object or event the property is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") - __properties: ClassVar[List[str]] = ["name", "qualifyingPath"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPropertyReferenceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelPropertyReferenceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "qualifyingPath": obj.get("qualifyingPath") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_scenario_or_snapshot_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_scenario_or_snapshot_dto.py deleted file mode 100644 index 7d3de3bf04..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_scenario_or_snapshot_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelScenarioOrSnapshotDTO(BaseModel): - """ - The unique identifier and display name for plan scenarios and snapshots. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The identifier of the scenario or snapshot.") - display_name: Optional[StrictStr] = Field(default=None, description="The scenario or snapshot display name.", alias="displayName") - __properties: ClassVar[List[str]] = ["id", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelScenarioOrSnapshotDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelScenarioOrSnapshotDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concept_dto.py deleted file mode 100644 index 30a8f2781d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concept_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_tag_map_element_dto import DataservicesDatamodelTagMapElementDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelSelectionConceptDTO(BaseModel): - """ - Selection concepts select a population of subject members of a given subject or event. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the selection concept Note: See `SelectionConcepts` to get the ID.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the selection concept.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the selection concept.") - visible_in_app: Optional[StrictBool] = Field(default=None, description="`true` if this selection concept is set to be visible in your solution.", alias="visibleInApp") - tags: Optional[List[DataservicesDatamodelTagMapElementDTO]] = Field(default=None, description="The optional collection of tags defined for this element.") - explanation: Optional[StrictStr] = Field(default=None, description="The localized explanation of the selection concept.") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "visibleInApp", "tags", "explanation"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelSelectionConceptDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item_tags in self.tags: - if _item_tags: - _items.append(_item_tags.to_dict()) - _dict['tags'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelSelectionConceptDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "visibleInApp": obj.get("visibleInApp"), - "tags": [DataservicesDatamodelTagMapElementDTO.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None, - "explanation": obj.get("explanation") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concept_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concept_reference_dto.py deleted file mode 100644 index e772148ce6..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concept_reference_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelSelectionConceptReferenceDTO(BaseModel): - """ - The name and qualifying path of a selection concept to query. - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The ID of the selection concept. See `SelectionConcepts` to get the ID.") - qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the selection concept in Visier, such as the analytic object or event the selection concept is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") - __properties: ClassVar[List[str]] = ["name", "qualifyingPath"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelSelectionConceptReferenceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelSelectionConceptReferenceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "qualifyingPath": obj.get("qualifyingPath") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concepts_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concepts_dto.py deleted file mode 100644 index f8601a79b7..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_selection_concepts_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_dto import DataservicesDatamodelSelectionConceptDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelSelectionConceptsDTO(BaseModel): - """ - A collection of selection concepts - """ # noqa: E501 - selection_concepts: Optional[List[DataservicesDatamodelSelectionConceptDTO]] = Field(default=None, alias="selectionConcepts") - __properties: ClassVar[List[str]] = ["selectionConcepts"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelSelectionConceptsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in selection_concepts (list) - _items = [] - if self.selection_concepts: - for _item_selection_concepts in self.selection_concepts: - if _item_selection_concepts: - _items.append(_item_selection_concepts.to_dict()) - _dict['selectionConcepts'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelSelectionConceptsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "selectionConcepts": [DataservicesDatamodelSelectionConceptDTO.from_dict(_item) for _item in obj["selectionConcepts"]] if obj.get("selectionConcepts") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_tag_map_element_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_tag_map_element_dto.py deleted file mode 100644 index fea545745b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_tag_map_element_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelTagMapElementDTO(BaseModel): - """ - Tag identifier and display name pair. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the tag.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the tag.", alias="displayName") - __properties: ClassVar[List[str]] = ["id", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelTagMapElementDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelTagMapElementDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_validity_range_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_validity_range_dto.py deleted file mode 100644 index 5e54e27ff7..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_datamodel_validity_range_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesDatamodelValidityRangeDTO(BaseModel): - """ - A pair of values that represent the time interval to which the data is valid. The validity range is defined in Unix epoch format and UTC timezone. Note: Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers. - """ # noqa: E501 - start: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.") - end: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.") - __properties: ClassVar[List[str]] = ["start", "end"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesDatamodelValidityRangeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesDatamodelValidityRangeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "start": obj.get("start"), - "end": obj.get("end") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_dto.py deleted file mode 100644 index 7e2ec3c270..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_dto.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_dto import DataservicesQueryAggregationQuerySourceDTO -from visier_platform_sdk.models.dataservices_query_query_axis_dto import DataservicesQueryQueryAxisDTO -from visier_platform_sdk.models.dataservices_query_query_filter_dto import DataservicesQueryQueryFilterDTO -from visier_platform_sdk.models.dataservices_query_query_parameter_value_dto import DataservicesQueryQueryParameterValueDTO -from visier_platform_sdk.models.dataservices_query_query_time_intervals_dto import DataservicesQueryQueryTimeIntervalsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryAggregationQueryDTO(BaseModel): - """ - An AggregationQuery defines the data to query in an aggregation query and returns a `cell set` calculated from the selected data points. - """ # noqa: E501 - source: Optional[DataservicesQueryAggregationQuerySourceDTO] = Field(default=None, description="The source data, such as a metric or formula, to query.") - filters: Optional[List[DataservicesQueryQueryFilterDTO]] = Field(default=None, description="The objects by which to filter the query, such as dimensions or concepts. A filter defines the population to retrieve data from. Omit `filters` if no filtering is required.") - axes: Optional[List[DataservicesQueryQueryAxisDTO]] = Field(default=None, description="The objects by which to group the query. An axis defines the groups that the data belongs to. Omit `axes` if no grouping is required.") - time_intervals: Optional[DataservicesQueryQueryTimeIntervalsDTO] = Field(default=None, description="The time intervals to query.", alias="timeIntervals") - parameter_values: Optional[List[DataservicesQueryQueryParameterValueDTO]] = Field(default=None, description="The values associated with parameters, if defined.", alias="parameterValues") - __properties: ClassVar[List[str]] = ["source", "filters", "axes", "timeIntervals", "parameterValues"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQueryDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of source - if self.source: - _dict['source'] = self.source.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in filters (list) - _items = [] - if self.filters: - for _item_filters in self.filters: - if _item_filters: - _items.append(_item_filters.to_dict()) - _dict['filters'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in axes (list) - _items = [] - if self.axes: - for _item_axes in self.axes: - if _item_axes: - _items.append(_item_axes.to_dict()) - _dict['axes'] = _items - # override the default output from pydantic by calling `to_dict()` of time_intervals - if self.time_intervals: - _dict['timeIntervals'] = self.time_intervals.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in parameter_values (list) - _items = [] - if self.parameter_values: - for _item_parameter_values in self.parameter_values: - if _item_parameter_values: - _items.append(_item_parameter_values.to_dict()) - _dict['parameterValues'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQueryDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "source": DataservicesQueryAggregationQuerySourceDTO.from_dict(obj["source"]) if obj.get("source") is not None else None, - "filters": [DataservicesQueryQueryFilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None, - "axes": [DataservicesQueryQueryAxisDTO.from_dict(_item) for _item in obj["axes"]] if obj.get("axes") is not None else None, - "timeIntervals": DataservicesQueryQueryTimeIntervalsDTO.from_dict(obj["timeIntervals"]) if obj.get("timeIntervals") is not None else None, - "parameterValues": [DataservicesQueryQueryParameterValueDTO.from_dict(_item) for _item in obj["parameterValues"]] if obj.get("parameterValues") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_execution_dto.py deleted file mode 100644 index 6d60a83bad..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_execution_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_aggregation_query_dto import DataservicesQueryAggregationQueryDTO -from visier_platform_sdk.models.dataservices_query_query_execution_options_dto import DataservicesQueryQueryExecutionOptionsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryAggregationQueryExecutionDTO(BaseModel): - """ - An AggregationQueryExecution provides instructions to perform your aggregation query. - """ # noqa: E501 - query: Optional[DataservicesQueryAggregationQueryDTO] = Field(default=None, description="The data to perform an aggregation on, such as a metric or formula. The query must include a time interval, and may optionally include filters and axes.") - options: Optional[DataservicesQueryQueryExecutionOptionsDTO] = Field(default=None, description="Additional instructions for your query, such as a calendar type or conversion information.") - __properties: ClassVar[List[str]] = ["query", "options"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQueryExecutionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of query - if self.query: - _dict['query'] = self.query.to_dict() - # override the default output from pydantic by calling `to_dict()` of options - if self.options: - _dict['options'] = self.options.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQueryExecutionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "query": DataservicesQueryAggregationQueryDTO.from_dict(obj["query"]) if obj.get("query") is not None else None, - "options": DataservicesQueryQueryExecutionOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_dto.py deleted file mode 100644 index c55808fe63..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_metrics_dto import DataservicesQueryAggregationQuerySourceMetricsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryAggregationQuerySourceDTO(BaseModel): - """ - An AggregationQuerySource defines the source data to query in an aggregation query. - """ # noqa: E501 - formula: Optional[StrictStr] = Field(default=None, description="An ad-hoc metric formula. The response returns the results of the aggregate. See the formula dictionary in Visier to find functions and objects you can use in a formula.") - metric: Optional[StrictStr] = Field(default=None, description="The ID of an existing metric in your Visier solution. See `Metrics` to get the ID.") - metrics: Optional[DataservicesQueryAggregationQuerySourceMetricsDTO] = Field(default=None, description="The IDs of metrics to aggregate. All metrics in the query must reference the same analytic object. For example, you cannot query Headcount and Applicant Count because one uses the Employee subject and the other uses the Applicant subject. You can query Headcount and Employee Count for Women because both reference the Employee subject. Only available when the Accept header is text/csv. For more information, see `Aggregate`.") - __properties: ClassVar[List[str]] = ["formula", "metric", "metrics"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQuerySourceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of metrics - if self.metrics: - _dict['metrics'] = self.metrics.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQuerySourceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "formula": obj.get("formula"), - "metric": obj.get("metric"), - "metrics": DataservicesQueryAggregationQuerySourceMetricsDTO.from_dict(obj["metrics"]) if obj.get("metrics") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_metric_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_metric_dto.py deleted file mode 100644 index 339d4c2bc8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_metric_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryAggregationQuerySourceMetricDTO(BaseModel): - """ - The column definition for a single metric within a `metrics` query. - """ # noqa: E501 - column_name: Optional[StrictStr] = Field(default=None, description="The column name in the CSV file. Default is to use id as the column name.", alias="columnName") - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the metric. Note: See `Metrics` to get the ID. If columnName is omitted, id is the column name in the CSV file.") - formula: Optional[StrictStr] = Field(default=None, description="An ad-hoc metric formula. The response returns the results of the aggregate. See the formula dictionary in Visier to find functions and objects you can use in a formula.") - qualifying_path: Optional[StrictStr] = Field(default=None, description="The base qualifying path to prefix the axes and filters' qualifying paths with. You must specify the qualifying path on a metric if the convergent analytic object of the metric doesn't match the starting object in the qualifying paths of the axes and filters. For example, consider a multi-metric query that contains metrics that count the number of applicants and requisitions, grouped by the country of the recruiter's direct manager. The following sample shows how to use qualifyingPath to specify the object reference traversal path from each metric's convergent analytic object to the start of the path for the axes. In this example, there is only one convergent analytic object. ``` \"source\": { \"metrics\": { \"columns\": [ { \"id\": \"employeeCount\" }, { \"id\": \"applicantCount\", \"qualifyingPath\": \"Applicant.Requisition.Recruiter\" }, { \"id\": \"requisitionCount\", \"qualifyingPath\": \"Requisition.Recruiter\" } ] } }, \"axes\": [ { \"dimensionLevelSelection\": { \"dimension\": { \"name\": \"Location\", \"qualifyingPath\": \"Employee.Direct_Manager\" }, \"levelIds\": [ \"Location_1\" ] } } ] ``` **Note:** * `employeeCount` doesn't need a `qualifyingPath` because it's already convergent with the start of the axis path. * The metrics' qualifying paths must provide the reference name that resolves to the first object of the axis' qualifying path as their last path segment. In this case, Recruiter is a named reference pointing to Employee. The final qualifying paths for the metrics are: * `employeeCount`: Employee.Direct_Manager * `applicantCount`: Applicant.Requisition.Recruiter.Direct_Manager * `requisitionCount`: Requisition.Recruiter.Direct_Manager", alias="qualifyingPath") - __properties: ClassVar[List[str]] = ["columnName", "id", "formula", "qualifyingPath"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQuerySourceMetricDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQuerySourceMetricDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "columnName": obj.get("columnName"), - "id": obj.get("id"), - "formula": obj.get("formula"), - "qualifyingPath": obj.get("qualifyingPath") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_metrics_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_metrics_dto.py deleted file mode 100644 index eeea3e1a1e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_query_source_metrics_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_aggregation_query_source_metric_dto import DataservicesQueryAggregationQuerySourceMetricDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryAggregationQuerySourceMetricsDTO(BaseModel): - """ - The IDs and column names of multiple metrics. **Note:** Only available when the `Accept` header is text/csv. For more information, see `Aggregate` - """ # noqa: E501 - columns: Optional[List[DataservicesQueryAggregationQuerySourceMetricDTO]] = Field(default=None, description="An array of metric columns.") - __properties: ClassVar[List[str]] = ["columns"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQuerySourceMetricsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in columns (list) - _items = [] - if self.columns: - for _item_columns in self.columns: - if _item_columns: - _items.append(_item_columns.to_dict()) - _dict['columns'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationQuerySourceMetricsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "columns": [DataservicesQueryAggregationQuerySourceMetricDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_type_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_type_parameter_value_dto.py deleted file mode 100644 index 9fc8c02d5c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_aggregation_type_parameter_value_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryAggregationTypeParameterValueDTO(BaseModel): - """ - The value for an aggregation parameter. - """ # noqa: E501 - parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the aggregation parameter.", alias="parameterId") - aggregation_option_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the aggregation option.", alias="aggregationOptionId") - __properties: ClassVar[List[str]] = ["parameterId", "aggregationOptionId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationTypeParameterValueDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryAggregationTypeParameterValueDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "parameterId": obj.get("parameterId"), - "aggregationOptionId": obj.get("aggregationOptionId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_distribution_bin_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_distribution_bin_dto.py deleted file mode 100644 index 4d2aa7fbaa..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_distribution_bin_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryCellDistributionBinDTO(BaseModel): - """ - A cell distribution bin. Each bin has a metric value (of the bin) and the number of observations contributing to the bin. - """ # noqa: E501 - value: Optional[StrictStr] = None - support: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["value", "support"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryCellDistributionBinDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryCellDistributionBinDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "value": obj.get("value"), - "support": obj.get("support") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_distribution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_distribution_options_dto.py deleted file mode 100644 index 9657e07533..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_distribution_options_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryCellDistributionOptionsDTO(BaseModel): - """ - Cell distribution options for queries. Include with aggregation queries to enable distribution calculation per cell. - """ # noqa: E501 - bin_count: Optional[StrictInt] = Field(default=None, description="The number of bins to return, minimum of 2, and a maximum of 100.", alias="binCount") - __properties: ClassVar[List[str]] = ["binCount"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryCellDistributionOptionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryCellDistributionOptionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "binCount": obj.get("binCount") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_dto.py deleted file mode 100644 index 2751d6e432..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_cell_distribution_bin_dto import DataservicesQueryCellDistributionBinDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryCellDTO(BaseModel): - """ - An individual value in a cell set. - """ # noqa: E501 - value: Optional[StrictStr] = Field(default=None, description="The value of the cell.") - support: Optional[StrictStr] = Field(default=None, description="The number of data points contributing to this cell.") - coordinates: Optional[List[StrictInt]] = Field(default=None, description="A list of integers representing the coordinates of this cell, identifying its position along each axis.") - distribution: Optional[List[DataservicesQueryCellDistributionBinDTO]] = Field(default=None, description="The optional distribution of this cell. This will be populated if distribution calculation is requested, and supported by the query.") - __properties: ClassVar[List[str]] = ["value", "support", "coordinates", "distribution"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryCellDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in distribution (list) - _items = [] - if self.distribution: - for _item_distribution in self.distribution: - if _item_distribution: - _items.append(_item_distribution.to_dict()) - _dict['distribution'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryCellDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "value": obj.get("value"), - "support": obj.get("support"), - "coordinates": obj.get("coordinates"), - "distribution": [DataservicesQueryCellDistributionBinDTO.from_dict(_item) for _item in obj["distribution"]] if obj.get("distribution") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_axis_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_axis_dto.py deleted file mode 100644 index 5d0e3b1c96..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_axis_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from visier_platform_sdk.models.dataservices_query_cell_set_axis_position_dto import DataservicesQueryCellSetAxisPositionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryCellSetAxisDTO(BaseModel): - """ - The axis of a cell set associated with a dimension. - """ # noqa: E501 - dimension: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="The dimension associated with the axis.") - positions: Optional[List[DataservicesQueryCellSetAxisPositionDTO]] = Field(default=None, description="A list of paths that represent the data's positions along the axis.") - __properties: ClassVar[List[str]] = ["dimension", "positions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryCellSetAxisDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of dimension - if self.dimension: - _dict['dimension'] = self.dimension.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in positions (list) - _items = [] - if self.positions: - for _item_positions in self.positions: - if _item_positions: - _items.append(_item_positions.to_dict()) - _dict['positions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryCellSetAxisDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimension": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, - "positions": [DataservicesQueryCellSetAxisPositionDTO.from_dict(_item) for _item in obj["positions"]] if obj.get("positions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_axis_position_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_axis_position_dto.py deleted file mode 100644 index 80fb874b01..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_axis_position_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryCellSetAxisPositionDTO(BaseModel): - """ - The position along the axis of a cell set. - """ # noqa: E501 - path: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the members within a dimension path. For example, a dimension for Location may have the paths \"Canada, BC, Vancouver\" and \"US, California, San Francisco\".") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the position. This is optional and is omitted if unavailable or not requested.", alias="displayName") - display_name_path: Optional[List[StrictStr]] = Field(default=None, description="Optional display name path of the member.", alias="displayNamePath") - __properties: ClassVar[List[str]] = ["path", "displayName", "displayNamePath"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryCellSetAxisPositionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryCellSetAxisPositionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "path": obj.get("path"), - "displayName": obj.get("displayName"), - "displayNamePath": obj.get("displayNamePath") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_dto.py deleted file mode 100644 index 9c3cad70d5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_dto.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_cell_dto import DataservicesQueryCellDTO -from visier_platform_sdk.models.dataservices_query_cell_set_axis_dto import DataservicesQueryCellSetAxisDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryCellSetDTO(BaseModel): - """ - The set of cells returned from executing an aggregation query. A CellSet represents a structured, multidimensional array of values. - """ # noqa: E501 - cells: Optional[List[DataservicesQueryCellDTO]] = Field(default=None, description="The set of cells that represent the result of your query.") - axes: Optional[List[DataservicesQueryCellSetAxisDTO]] = Field(default=None, description="The set of axes for the cell set that represent the objects the data is grouped by.") - lineage: Optional[DataservicesQueryLineageDTO] = Field(default=None, description="Lineage information for this cell set. This can be omitted if the cell has no lineage or the user did not request lineage information.") - __properties: ClassVar[List[str]] = ["cells", "axes", "lineage"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryCellSetDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in cells (list) - _items = [] - if self.cells: - for _item_cells in self.cells: - if _item_cells: - _items.append(_item_cells.to_dict()) - _dict['cells'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in axes (list) - _items = [] - if self.axes: - for _item_axes in self.axes: - if _item_axes: - _items.append(_item_axes.to_dict()) - _dict['axes'] = _items - # override the default output from pydantic by calling `to_dict()` of lineage - if self.lineage: - _dict['lineage'] = self.lineage.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryCellSetDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "cells": [DataservicesQueryCellDTO.from_dict(_item) for _item in obj["cells"]] if obj.get("cells") is not None else None, - "axes": [DataservicesQueryCellSetAxisDTO.from_dict(_item) for _item in obj["axes"]] if obj.get("axes") is not None else None, - "lineage": DataservicesQueryLineageDTO.from_dict(obj["lineage"]) if obj.get("lineage") is not None else None - }) - return _obj - -from visier_platform_sdk.models.dataservices_query_lineage_dto import DataservicesQueryLineageDTO -# TODO: Rewrite to not use raise_errors -DataservicesQueryCellSetDTO.model_rebuild(raise_errors=False) - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_or_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_or_error_dto.py deleted file mode 100644 index 96bf7297f0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cell_set_or_error_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_cell_set_dto import DataservicesQueryCellSetDTO -from visier_platform_sdk.models.dataservices_query_query_execution_error_dto import DataservicesQueryQueryExecutionErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryCellSetOrErrorDTO(BaseModel): - """ - A result that is either a cell set for a successful query execution, or an error for a failed query execution. - """ # noqa: E501 - cell_set: Optional[DataservicesQueryCellSetDTO] = Field(default=None, description="The resulting cell set from a successful query execution.", alias="cellSet") - error: Optional[DataservicesQueryQueryExecutionErrorDTO] = Field(default=None, description="An error for a failed query execution.") - __properties: ClassVar[List[str]] = ["cellSet", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryCellSetOrErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of cell_set - if self.cell_set: - _dict['cellSet'] = self.cell_set.to_dict() - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryCellSetOrErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "cellSet": DataservicesQueryCellSetDTO.from_dict(obj["cellSet"]) if obj.get("cellSet") is not None else None, - "error": DataservicesQueryQueryExecutionErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cohort_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cohort_filter_dto.py deleted file mode 100644 index c43064f990..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_cohort_filter_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_key_group_filter_dto import DataservicesQueryKeyGroupFilterDTO -from visier_platform_sdk.models.dataservices_query_query_time_interval_dto import DataservicesQueryQueryTimeIntervalDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryCohortFilterDTO(BaseModel): - """ - Use a cohort filter to define a population as it existed during a specific time period. Cohort filters allow you to define a population in terms of a collection of filters, known as a key group. The cohort's defined time interval is independent of the query's time. The cohort's time interval is the time at which the key group should be applied. Cohorts are typically used to follow populations and understand changes to the population over time, such as promotion and resignation rates. - """ # noqa: E501 - key_group: Optional[DataservicesQueryKeyGroupFilterDTO] = Field(default=None, description="A key group is a collection of filters that define the shape of the analysis population.", alias="keyGroup") - exclude: Optional[StrictBool] = Field(default=None, description="If true, the population is defined by those excluded by the filters. Default is false.") - time_interval: Optional[DataservicesQueryQueryTimeIntervalDTO] = Field(default=None, description="The time at which to apply the key group, such as a specific day or period of months.", alias="timeInterval") - __properties: ClassVar[List[str]] = ["keyGroup", "exclude", "timeInterval"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryCohortFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of key_group - if self.key_group: - _dict['keyGroup'] = self.key_group.to_dict() - # override the default output from pydantic by calling `to_dict()` of time_interval - if self.time_interval: - _dict['timeInterval'] = self.time_interval.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryCohortFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "keyGroup": DataservicesQueryKeyGroupFilterDTO.from_dict(obj["keyGroup"]) if obj.get("keyGroup") is not None else None, - "exclude": obj.get("exclude"), - "timeInterval": DataservicesQueryQueryTimeIntervalDTO.from_dict(obj["timeInterval"]) if obj.get("timeInterval") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_internal_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_internal_query_execution_options_dto.py deleted file mode 100644 index eea3a94e01..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_internal_query_execution_options_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryInternalQueryExecutionOptionsDTO(BaseModel): - """ - Internal options - not to be documented or used by external parties - """ # noqa: E501 - sparse_handling_mode: Optional[StrictStr] = Field(default=None, alias="sparseHandlingMode") - align_time_axis_to_period_end: Optional[StrictBool] = Field(default=None, description="If true, shifts the time axis members back by one millisecond. Shifting the time axis members back by one millisecond makes them valid at the end of the period instead of at the start of the next period. This aligns the returned data timestamps with the timestamps in the Visier application. Example: If the timestamps are originally [`2019-06-01T00:00:00.000Z`, `2019-05-01T00:00:00.000Z`], then `alignTimeAxisPeriodEnd` turns the timestamps into [`2019-05-31T23:59:59.999Z`, `2019-04-30T23:59:59.999Z`]. Example: If the timestamps are originally [`2019-05-01T00:00:00.000Z/2019-06-01T00:00:00.000Z`, `2019-04-01T00:00:00.000Z/2019-05-01T00:00:00.000Z`], then `alignTimeAxisPeriodEnd` turns the timestamps into [`2019-05-01T00:00:00.000Z/2019-05-31T23:59:59.999Z`, `2019-04-01T00:00:00.000Z/2019-04-30T23:59:59.999Z`].", alias="alignTimeAxisToPeriodEnd") - __properties: ClassVar[List[str]] = ["sparseHandlingMode", "alignTimeAxisToPeriodEnd"] - - @field_validator('sparse_handling_mode') - def sparse_handling_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['ALLOW', 'DISALLOW', 'FORCE']): - raise ValueError("must be one of enum values ('ALLOW', 'DISALLOW', 'FORCE')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryInternalQueryExecutionOptionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryInternalQueryExecutionOptionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "sparseHandlingMode": obj.get("sparseHandlingMode"), - "alignTimeAxisToPeriodEnd": obj.get("alignTimeAxisToPeriodEnd") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_key_group_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_key_group_filter_dto.py deleted file mode 100644 index c46a0b6106..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_key_group_filter_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_key_group_filter_item_dto import DataservicesQueryKeyGroupFilterItemDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryKeyGroupFilterDTO(BaseModel): - """ - A collection of related filters that define a key group. - """ # noqa: E501 - filters: Optional[List[DataservicesQueryKeyGroupFilterItemDTO]] = None - __properties: ClassVar[List[str]] = ["filters"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryKeyGroupFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in filters (list) - _items = [] - if self.filters: - for _item_filters in self.filters: - if _item_filters: - _items.append(_item_filters.to_dict()) - _dict['filters'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryKeyGroupFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "filters": [DataservicesQueryKeyGroupFilterItemDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_key_group_filter_item_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_key_group_filter_item_dto.py deleted file mode 100644 index 66bc487826..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_key_group_filter_item_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_reference_dto import DataservicesDatamodelSelectionConceptReferenceDTO -from visier_platform_sdk.models.dataservices_query_member_filter_dto import DataservicesQueryMemberFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryKeyGroupFilterItemDTO(BaseModel): - """ - An individual filter in a key group. - """ # noqa: E501 - formula: Optional[StrictStr] = Field(default=None, description="A filter expressed as a formula.") - selection_concept: Optional[DataservicesDatamodelSelectionConceptReferenceDTO] = Field(default=None, description="A filter that uses an existing selection concept in Visier.", alias="selectionConcept") - member_set: Optional[DataservicesQueryMemberFilterDTO] = Field(default=None, description="A filter that includes or excludes dimension members.", alias="memberSet") - __properties: ClassVar[List[str]] = ["formula", "selectionConcept", "memberSet"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryKeyGroupFilterItemDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of selection_concept - if self.selection_concept: - _dict['selectionConcept'] = self.selection_concept.to_dict() - # override the default output from pydantic by calling `to_dict()` of member_set - if self.member_set: - _dict['memberSet'] = self.member_set.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryKeyGroupFilterItemDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "formula": obj.get("formula"), - "selectionConcept": DataservicesDatamodelSelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, - "memberSet": DataservicesQueryMemberFilterDTO.from_dict(obj["memberSet"]) if obj.get("memberSet") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_lineage_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_lineage_dto.py deleted file mode 100644 index 30c0d35b3b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_lineage_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryLineageDTO(BaseModel): - """ - Lineage information for a given cell set. This describes how a cell set is created from other cell sets. - """ # noqa: E501 - cell_sets: Optional[List[DataservicesQueryCellSetDTO]] = Field(default=None, description="The cell sets that constitute this lineage.", alias="cellSets") - op: Optional[StrictStr] = Field(default=None, description="The operation used to combine the cell sets of this lineage.") - __properties: ClassVar[List[str]] = ["cellSets", "op"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryLineageDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in cell_sets (list) - _items = [] - if self.cell_sets: - for _item_cell_sets in self.cell_sets: - if _item_cell_sets: - _items.append(_item_cell_sets.to_dict()) - _dict['cellSets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryLineageDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "cellSets": [DataservicesQueryCellSetDTO.from_dict(_item) for _item in obj["cellSets"]] if obj.get("cellSets") is not None else None, - "op": obj.get("op") - }) - return _obj - -from visier_platform_sdk.models.dataservices_query_cell_set_dto import DataservicesQueryCellSetDTO -# TODO: Rewrite to not use raise_errors -DataservicesQueryLineageDTO.model_rebuild(raise_errors=False) - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_execution_dto.py deleted file mode 100644 index 15dc3ae633..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_execution_dto.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_list_query_execution_options_dto import DataservicesQueryListQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_list_query_source_dto import DataservicesQueryListQuerySourceDTO -from visier_platform_sdk.models.dataservices_query_property_column_dto import DataservicesQueryPropertyColumnDTO -from visier_platform_sdk.models.dataservices_query_query_filter_dto import DataservicesQueryQueryFilterDTO -from visier_platform_sdk.models.dataservices_query_query_parameter_value_dto import DataservicesQueryQueryParameterValueDTO -from visier_platform_sdk.models.dataservices_query_query_time_interval_dto import DataservicesQueryQueryTimeIntervalDTO -from visier_platform_sdk.models.dataservices_query_sort_option_dto import DataservicesQuerySortOptionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryListQueryExecutionDTO(BaseModel): - """ - A ListQueryExecution provides instructions to perform a list query. - """ # noqa: E501 - source: Optional[DataservicesQueryListQuerySourceDTO] = Field(default=None, description="The source data that you want to query.") - columns: Optional[List[DataservicesQueryPropertyColumnDTO]] = Field(default=None, description="The columns to include in the result. This must contain at least one column.") - sort_options: Optional[List[DataservicesQuerySortOptionDTO]] = Field(default=None, description="The index and direction to sort a column in the `columns` array.", alias="sortOptions") - filters: Optional[List[DataservicesQueryQueryFilterDTO]] = Field(default=None, description="The filters of this query. Omit `filters` if no filtering is required.") - time_interval: Optional[DataservicesQueryQueryTimeIntervalDTO] = Field(default=None, description="The time that the data is valid, such as a specific day or period of months.", alias="timeInterval") - parameter_values: Optional[List[DataservicesQueryQueryParameterValueDTO]] = Field(default=None, description="The parameter values for either member or numeric parameters.", alias="parameterValues") - options: Optional[DataservicesQueryListQueryExecutionOptionsDTO] = Field(default=None, description="Additional instructions for your query, such as a calendar type or conversion information.") - __properties: ClassVar[List[str]] = ["source", "columns", "sortOptions", "filters", "timeInterval", "parameterValues", "options"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryListQueryExecutionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of source - if self.source: - _dict['source'] = self.source.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in columns (list) - _items = [] - if self.columns: - for _item_columns in self.columns: - if _item_columns: - _items.append(_item_columns.to_dict()) - _dict['columns'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in sort_options (list) - _items = [] - if self.sort_options: - for _item_sort_options in self.sort_options: - if _item_sort_options: - _items.append(_item_sort_options.to_dict()) - _dict['sortOptions'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in filters (list) - _items = [] - if self.filters: - for _item_filters in self.filters: - if _item_filters: - _items.append(_item_filters.to_dict()) - _dict['filters'] = _items - # override the default output from pydantic by calling `to_dict()` of time_interval - if self.time_interval: - _dict['timeInterval'] = self.time_interval.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in parameter_values (list) - _items = [] - if self.parameter_values: - for _item_parameter_values in self.parameter_values: - if _item_parameter_values: - _items.append(_item_parameter_values.to_dict()) - _dict['parameterValues'] = _items - # override the default output from pydantic by calling `to_dict()` of options - if self.options: - _dict['options'] = self.options.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryListQueryExecutionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "source": DataservicesQueryListQuerySourceDTO.from_dict(obj["source"]) if obj.get("source") is not None else None, - "columns": [DataservicesQueryPropertyColumnDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None, - "sortOptions": [DataservicesQuerySortOptionDTO.from_dict(_item) for _item in obj["sortOptions"]] if obj.get("sortOptions") is not None else None, - "filters": [DataservicesQueryQueryFilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None, - "timeInterval": DataservicesQueryQueryTimeIntervalDTO.from_dict(obj["timeInterval"]) if obj.get("timeInterval") is not None else None, - "parameterValues": [DataservicesQueryQueryParameterValueDTO.from_dict(_item) for _item in obj["parameterValues"]] if obj.get("parameterValues") is not None else None, - "options": DataservicesQueryListQueryExecutionOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_execution_options_dto.py deleted file mode 100644 index 8b38578730..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_execution_options_dto.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryListQueryExecutionOptionsDTO(BaseModel): - """ - A ListQueryExecutionOptions provides additional instructions to perform a list query. - """ # noqa: E501 - limit: Optional[StrictInt] = Field(default=None, description="The maximum number of entries to return. Default is to return all entries. If `page` is defined but limit is not defined, limit will be set to a default value of 1000.") - query_mode: Optional[StrictStr] = Field(default=None, description="Determines how the query should handle column definitions that the query is unable to resolve. Default is DEFAULT.", alias="queryMode") - omit_header: Optional[StrictBool] = Field(default=None, description="Option to omit the header from the result. If true, queryMode must be either FILL or FAIL. Default is false.", alias="omitHeader") - calendar_type: Optional[StrictStr] = Field(default=None, description="The calendar type to use. This will be used for all time calculations unless explicitly overridden in the calculation itself. Default is TENANT_CALENDAR.", alias="calendarType") - currency_conversion_mode: Optional[StrictStr] = Field(default=None, description="This will be removed as of Winter 2026. Use `currencyConversionCode` instead. The currency conversion mode to use. This will be used for all currency conversion calculations unless explicitly overridden in the calculation itself. Default is TENANT_CURRENCY_CONVERSION.", alias="currencyConversionMode") - currency_conversion_date: Optional[StrictStr] = Field(default=None, description="The currency conversion date to use. If defined, the currency conversion will use the exchange rates as of this date.", alias="currencyConversionDate") - page: Optional[StrictInt] = Field(default=None, description="A page defines a subset of the overall result set. The number of rows per page is equal to limit with the exception of the last page in the result set which may contain fewer rows. `Page` is an index that begins at 0. The index to start retrieving results is calculated by multiplying `page` by `limit`.") - multiple_tables: Optional[StrictBool] = Field(default=None, description="Option to return multiple table files as zipped archive for derived metrics. Default is false. If false, one table is returned for the drill-through metric.", alias="multipleTables") - currency_conversion_code: Optional[StrictStr] = Field(default=None, description="Overrides the tenant's default currency for currency conversions.", alias="currencyConversionCode") - record_mode: Optional[StrictStr] = Field(default=None, description="Influences the type of records used to build the result set, such as whether to return one record per entity that is valid in the provided time range or each change record falls in the time frame.", alias="recordMode") - date_time_display_mode: Optional[StrictStr] = Field(default=None, description="Control how date-time values are displayed in the result set. Supported values: * `EPOCH`: The number of elapsed milliseconds since January 1, 1970 in UTC timezone. This is the default. * `DATETIME`: The date-time value displayed in `yyyy-MM-dd HH:mm:ssZZ` format.", alias="dateTimeDisplayMode") - __properties: ClassVar[List[str]] = ["limit", "queryMode", "omitHeader", "calendarType", "currencyConversionMode", "currencyConversionDate", "page", "multipleTables", "currencyConversionCode", "recordMode", "dateTimeDisplayMode"] - - @field_validator('query_mode') - def query_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['DEFAULT', 'FILL', 'FAIL']): - raise ValueError("must be one of enum values ('DEFAULT', 'FILL', 'FAIL')") - return value - - @field_validator('calendar_type') - def calendar_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['TENANT_CALENDAR', 'GREGORIAN_CALENDAR']): - raise ValueError("must be one of enum values ('TENANT_CALENDAR', 'GREGORIAN_CALENDAR')") - return value - - @field_validator('currency_conversion_mode') - def currency_conversion_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['TENANT_CURRENCY_CONVERSION', 'VISIER_CURRENCY_CONVERSION']): - raise ValueError("must be one of enum values ('TENANT_CURRENCY_CONVERSION', 'VISIER_CURRENCY_CONVERSION')") - return value - - @field_validator('record_mode') - def record_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['NORMAL', 'CHANGES']): - raise ValueError("must be one of enum values ('NORMAL', 'CHANGES')") - return value - - @field_validator('date_time_display_mode') - def date_time_display_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['EPOCH', 'DATETIME']): - raise ValueError("must be one of enum values ('EPOCH', 'DATETIME')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryListQueryExecutionOptionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryListQueryExecutionOptionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "limit": obj.get("limit"), - "queryMode": obj.get("queryMode"), - "omitHeader": obj.get("omitHeader"), - "calendarType": obj.get("calendarType"), - "currencyConversionMode": obj.get("currencyConversionMode"), - "currencyConversionDate": obj.get("currencyConversionDate"), - "page": obj.get("page"), - "multipleTables": obj.get("multipleTables"), - "currencyConversionCode": obj.get("currencyConversionCode"), - "recordMode": obj.get("recordMode"), - "dateTimeDisplayMode": obj.get("dateTimeDisplayMode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_source_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_source_dto.py deleted file mode 100644 index e69380e52e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_list_query_source_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryListQuerySourceDTO(BaseModel): - """ - A ListQuerySource defines the source data to query in a list query. - """ # noqa: E501 - formula: Optional[StrictStr] = Field(default=None, description="An ad-hoc metric formula. The response returns the individual data points that make up the aggregate.") - metric: Optional[StrictStr] = Field(default=None, description="The ID of an existing metric in your Visier solution.") - analytic_object: Optional[StrictStr] = Field(default=None, description="The ID of an existing analytic object in your Visier solution. An analytic object source cannot have filters or time handling.", alias="analyticObject") - text_concept: Optional[StrictStr] = Field(default=None, description="The ID of an existing text concept in your Visier solution. A concept that defines the text properties of an analytic object and includes filters to enforce aggregate thresholds.
**Note:** This field is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).", alias="textConcept") - __properties: ClassVar[List[str]] = ["formula", "metric", "analyticObject", "textConcept"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryListQuerySourceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryListQuerySourceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "formula": obj.get("formula"), - "metric": obj.get("metric"), - "analyticObject": obj.get("analyticObject"), - "textConcept": obj.get("textConcept") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_member_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_member_filter_dto.py deleted file mode 100644 index 5344a9b1e7..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_member_filter_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_common_member_values_dto import DataservicesCommonMemberValuesDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryMemberFilterDTO(BaseModel): - """ - Member filters are dimension member values to filter by in your query. The member filters are defined within the filters section of a query definition. You can filter by dimension members in aggregate and list queries. - """ # noqa: E501 - dimension: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="The dimension in which the members belong.") - values: Optional[DataservicesCommonMemberValuesDTO] = Field(default=None, description="The dimension members to filter by.") - __properties: ClassVar[List[str]] = ["dimension", "values"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryMemberFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of dimension - if self.dimension: - _dict['dimension'] = self.dimension.to_dict() - # override the default output from pydantic by calling `to_dict()` of values - if self.values: - _dict['values'] = self.values.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryMemberFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimension": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, - "values": DataservicesCommonMemberValuesDTO.from_dict(obj["values"]) if obj.get("values") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_member_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_member_parameter_value_dto.py deleted file mode 100644 index ea1da6f8ad..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_member_parameter_value_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_common_member_values_dto import DataservicesCommonMemberValuesDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryMemberParameterValueDTO(BaseModel): - """ - The member value of a parameter, including the parameter ID, dimension that the parameter is based on, and the included and excluded members for the parameter. - """ # noqa: E501 - parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the member parameter qualified by the object.", alias="parameterId") - dimension_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the dimension on which the parameter is based.", alias="dimensionId") - reference_path: Optional[List[StrictStr]] = Field(default=None, description="The analytic object reference path from the metric to the dimension.", alias="referencePath") - values: Optional[DataservicesCommonMemberValuesDTO] = Field(default=None, description="The included and excluded member references in a dimension filter.") - __properties: ClassVar[List[str]] = ["parameterId", "dimensionId", "referencePath", "values"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryMemberParameterValueDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of values - if self.values: - _dict['values'] = self.values.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryMemberParameterValueDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "parameterId": obj.get("parameterId"), - "dimensionId": obj.get("dimensionId"), - "referencePath": obj.get("referencePath"), - "values": DataservicesCommonMemberValuesDTO.from_dict(obj["values"]) if obj.get("values") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_numeric_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_numeric_parameter_value_dto.py deleted file mode 100644 index 001347b85d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_numeric_parameter_value_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryNumericParameterValueDTO(BaseModel): - """ - The value of a numeric parameter, including the parameter ID and the numeric value passed into the parameter. - """ # noqa: E501 - parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the numeric parameter qualified by the object.", alias="parameterId") - value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The numeric value of the parameter.") - __properties: ClassVar[List[str]] = ["parameterId", "value"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryNumericParameterValueDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryNumericParameterValueDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "parameterId": obj.get("parameterId"), - "value": obj.get("value") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_plan_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_plan_parameter_value_dto.py deleted file mode 100644 index f77795d735..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_plan_parameter_value_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryPlanParameterValueDTO(BaseModel): - """ - The value for a parameter on a planning metric, including the parameter ID and the plan the parameter is based on. - """ # noqa: E501 - parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the plan parameter qualified by the object.", alias="parameterId") - plan_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the plan the parameter is based on.", alias="planId") - scenario_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the scenario the parameter is based on.", alias="scenarioId") - snapshot_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the snapshot the parameter is based on.", alias="snapshotId") - __properties: ClassVar[List[str]] = ["parameterId", "planId", "scenarioId", "snapshotId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryPlanParameterValueDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryPlanParameterValueDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "parameterId": obj.get("parameterId"), - "planId": obj.get("planId"), - "scenarioId": obj.get("scenarioId"), - "snapshotId": obj.get("snapshotId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_property_column_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_property_column_dto.py deleted file mode 100644 index 6055c8a4c5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_property_column_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_query_property_dto import DataservicesQueryQueryPropertyDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryPropertyColumnDTO(BaseModel): - """ - A named, result column of a list query. - """ # noqa: E501 - column_name: Optional[StrictStr] = Field(default=None, description="The name of the column. This is optional. If not specified, the name of the property is used, or a generic column name if the property is unnamed.", alias="columnName") - column_definition: Optional[DataservicesQueryQueryPropertyDTO] = Field(default=None, description="The definition of the property to query on.", alias="columnDefinition") - __properties: ClassVar[List[str]] = ["columnName", "columnDefinition"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryPropertyColumnDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of column_definition - if self.column_definition: - _dict['columnDefinition'] = self.column_definition.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryPropertyColumnDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "columnName": obj.get("columnName"), - "columnDefinition": DataservicesQueryQueryPropertyDTO.from_dict(obj["columnDefinition"]) if obj.get("columnDefinition") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_axis_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_axis_dto.py deleted file mode 100644 index 4abbd87715..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_axis_dto.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_reference_dto import DataservicesDatamodelSelectionConceptReferenceDTO -from visier_platform_sdk.models.dataservices_query_query_axis_options_dto import DataservicesQueryQueryAxisOptionsDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_data_member_selection_dto import DataservicesQueryQueryDimensionDataMemberSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_leaf_selection_dto import DataservicesQueryQueryDimensionLeafSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_level_selection_dto import DataservicesQueryQueryDimensionLevelSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_member_selection_dto import DataservicesQueryQueryDimensionMemberSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_member_map_selection_dto import DataservicesQueryQueryMemberMapSelectionDTO -from visier_platform_sdk.models.dataservices_query_query_numeric_ranges_dto import DataservicesQueryQueryNumericRangesDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryAxisDTO(BaseModel): - """ - An axis of a query used to group data points. - """ # noqa: E501 - formula: Optional[StrictStr] = Field(default=None, description="An axis expressed as a formula.") - selection_concept: Optional[DataservicesDatamodelSelectionConceptReferenceDTO] = Field(default=None, description="An axis that uses an existing selection concept in Visier. The resulting axis consists of 3 positions: True, False, and Unknown.", alias="selectionConcept") - dimension_member_selection: Optional[DataservicesQueryQueryDimensionMemberSelectionDTO] = Field(default=None, description="An axis that uses existing dimension members in Visier.", alias="dimensionMemberSelection") - member_map_selection: Optional[DataservicesQueryQueryMemberMapSelectionDTO] = Field(default=None, description="An axis that uses an existing member map in Visier.", alias="memberMapSelection") - numeric_ranges: Optional[DataservicesQueryQueryNumericRangesDTO] = Field(default=None, description="An axis that uses an existing range dimension in Visier and defines the ranges to query.", alias="numericRanges") - dimension_level_selection: Optional[DataservicesQueryQueryDimensionLevelSelectionDTO] = Field(default=None, description="An axis that uses levels of existing dimensions in Visier.", alias="dimensionLevelSelection") - dimension_leaf_member_selection: Optional[DataservicesQueryQueryDimensionLeafSelectionDTO] = Field(default=None, description="An axis comprised of all non-data leaf members of an existing dimension in Visier.", alias="dimensionLeafMemberSelection") - dimension_data_member_selection: Optional[DataservicesQueryQueryDimensionDataMemberSelectionDTO] = Field(default=None, description="An axis comprised of all leaf, including data, members of an existing dimension in Visier.", alias="dimensionDataMemberSelection") - dimension_level_with_uncategorized_value_selection: Optional[DataservicesQueryQueryDimensionLevelSelectionDTO] = Field(default=None, description="An axis that uses existing dimension levels in Visier, including uncategorized levels.", alias="dimensionLevelWithUncategorizedValueSelection") - table_axis_options: Optional[DataservicesQueryQueryAxisOptionsDTO] = Field(default=None, description="Additional transformations to perform on this axis. Only available when the Accept header is a table format, such as text/csv or application/jsonlines.", alias="tableAxisOptions") - __properties: ClassVar[List[str]] = ["formula", "selectionConcept", "dimensionMemberSelection", "memberMapSelection", "numericRanges", "dimensionLevelSelection", "dimensionLeafMemberSelection", "dimensionDataMemberSelection", "dimensionLevelWithUncategorizedValueSelection", "tableAxisOptions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryAxisDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of selection_concept - if self.selection_concept: - _dict['selectionConcept'] = self.selection_concept.to_dict() - # override the default output from pydantic by calling `to_dict()` of dimension_member_selection - if self.dimension_member_selection: - _dict['dimensionMemberSelection'] = self.dimension_member_selection.to_dict() - # override the default output from pydantic by calling `to_dict()` of member_map_selection - if self.member_map_selection: - _dict['memberMapSelection'] = self.member_map_selection.to_dict() - # override the default output from pydantic by calling `to_dict()` of numeric_ranges - if self.numeric_ranges: - _dict['numericRanges'] = self.numeric_ranges.to_dict() - # override the default output from pydantic by calling `to_dict()` of dimension_level_selection - if self.dimension_level_selection: - _dict['dimensionLevelSelection'] = self.dimension_level_selection.to_dict() - # override the default output from pydantic by calling `to_dict()` of dimension_leaf_member_selection - if self.dimension_leaf_member_selection: - _dict['dimensionLeafMemberSelection'] = self.dimension_leaf_member_selection.to_dict() - # override the default output from pydantic by calling `to_dict()` of dimension_data_member_selection - if self.dimension_data_member_selection: - _dict['dimensionDataMemberSelection'] = self.dimension_data_member_selection.to_dict() - # override the default output from pydantic by calling `to_dict()` of dimension_level_with_uncategorized_value_selection - if self.dimension_level_with_uncategorized_value_selection: - _dict['dimensionLevelWithUncategorizedValueSelection'] = self.dimension_level_with_uncategorized_value_selection.to_dict() - # override the default output from pydantic by calling `to_dict()` of table_axis_options - if self.table_axis_options: - _dict['tableAxisOptions'] = self.table_axis_options.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryAxisDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "formula": obj.get("formula"), - "selectionConcept": DataservicesDatamodelSelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, - "dimensionMemberSelection": DataservicesQueryQueryDimensionMemberSelectionDTO.from_dict(obj["dimensionMemberSelection"]) if obj.get("dimensionMemberSelection") is not None else None, - "memberMapSelection": DataservicesQueryQueryMemberMapSelectionDTO.from_dict(obj["memberMapSelection"]) if obj.get("memberMapSelection") is not None else None, - "numericRanges": DataservicesQueryQueryNumericRangesDTO.from_dict(obj["numericRanges"]) if obj.get("numericRanges") is not None else None, - "dimensionLevelSelection": DataservicesQueryQueryDimensionLevelSelectionDTO.from_dict(obj["dimensionLevelSelection"]) if obj.get("dimensionLevelSelection") is not None else None, - "dimensionLeafMemberSelection": DataservicesQueryQueryDimensionLeafSelectionDTO.from_dict(obj["dimensionLeafMemberSelection"]) if obj.get("dimensionLeafMemberSelection") is not None else None, - "dimensionDataMemberSelection": DataservicesQueryQueryDimensionDataMemberSelectionDTO.from_dict(obj["dimensionDataMemberSelection"]) if obj.get("dimensionDataMemberSelection") is not None else None, - "dimensionLevelWithUncategorizedValueSelection": DataservicesQueryQueryDimensionLevelSelectionDTO.from_dict(obj["dimensionLevelWithUncategorizedValueSelection"]) if obj.get("dimensionLevelWithUncategorizedValueSelection") is not None else None, - "tableAxisOptions": DataservicesQueryQueryAxisOptionsDTO.from_dict(obj["tableAxisOptions"]) if obj.get("tableAxisOptions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_axis_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_axis_options_dto.py deleted file mode 100644 index 4367405f1d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_axis_options_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryAxisOptionsDTO(BaseModel): - """ - QueryAxisOptions allows you to customize an axis in the query, such as changing the display mode for its cell set values or providing a custom column name. Only available when the Accept header is a table format, such as text/csv or application/jsonlines. - """ # noqa: E501 - member_display_mode: Optional[StrictStr] = Field(default=None, description="Options to override the display mode for the axis. This overrides the query-level `memberDisplayMode` options value in the query. Only available for non-time axes. Use the QueryAxisMemberDisplayMode `memberDisplayMode` to apply different display modes to different axes. For example, let's say your query has the `memberDisplayMode` as `DISPLAY` but you want to fetch the object name for a specific dimension. With QueryAxisMemberDisplayMode `memberDisplayMode`, you can override that dimension's `memberDisplayMode` to `DEFAULT` instead of `DISPLAY`. Valid values are `UNCHANGED`, `DEFAULT`, `COMPACT`, `DISPLAY`, or `MDX`. Default is `UNCHANGED`.", alias="memberDisplayMode") - column_name: Optional[StrictStr] = Field(default=None, description="If specified, returns the column name of the axis in the response.", alias="columnName") - __properties: ClassVar[List[str]] = ["memberDisplayMode", "columnName"] - - @field_validator('member_display_mode') - def member_display_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['UNCHANGED', 'DEFAULT', 'COMPACT', 'DISPLAY', 'MDX']): - raise ValueError("must be one of enum values ('UNCHANGED', 'DEFAULT', 'COMPACT', 'DISPLAY', 'MDX')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryAxisOptionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryAxisOptionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "memberDisplayMode": obj.get("memberDisplayMode"), - "columnName": obj.get("columnName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_data_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_data_member_selection_dto.py deleted file mode 100644 index 3b012c6d6f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_data_member_selection_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryDimensionDataMemberSelectionDTO(BaseModel): - """ - A QueryDimensionLeafSelection allows you to define a member set consisting exclusively of leaf-level, including data, members for the given dimension. Leaf members are those members that have no descendents. A member may be a leaf member regardless of the level it is positioned at. - """ # noqa: E501 - dimension: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") - __properties: ClassVar[List[str]] = ["dimension"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionDataMemberSelectionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of dimension - if self.dimension: - _dict['dimension'] = self.dimension.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionDataMemberSelectionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimension": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_leaf_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_leaf_selection_dto.py deleted file mode 100644 index a62ec8d10a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_leaf_selection_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryDimensionLeafSelectionDTO(BaseModel): - """ - A QueryDimensionLeafSelection allows you to define a member set consisting exclusively of leaf-level members for the given dimension. Leaf members are those members that have no descendents. A member may be a leaf member regardless of the level it is positioned at. This member selection option, excludes data members. - """ # noqa: E501 - dimension: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") - __properties: ClassVar[List[str]] = ["dimension"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionLeafSelectionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of dimension - if self.dimension: - _dict['dimension'] = self.dimension.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionLeafSelectionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimension": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_level_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_level_property_dto.py deleted file mode 100644 index b90eb90e6f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_level_property_dto.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryDimensionLevelPropertyDTO(BaseModel): - """ - A QueryDimensionLevelPropertyDTO defines an existing dimension level and its dimension to query. - """ # noqa: E501 - dimension: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") - member_value_mode: Optional[StrictStr] = Field(default=None, description="Controls how to display member values. Valid values are `NAME`, `PATH`. * `NAME`: Returns the member's display name. This is the default. * `PATH`: Returns the member's name path.", alias="memberValueMode") - level_id: Optional[StrictStr] = Field(default=None, description="The level ID. For example, \"Level_1\" or \"Level_2\".", alias="levelId") - level_depth: Optional[StrictInt] = Field(default=None, description="The level depth. For a parent-child dimension, depth must be greater than 0. For example, 1 or 2.", alias="levelDepth") - __properties: ClassVar[List[str]] = ["dimension", "memberValueMode", "levelId", "levelDepth"] - - @field_validator('member_value_mode') - def member_value_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['NAME', 'PATH']): - raise ValueError("must be one of enum values ('NAME', 'PATH')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionLevelPropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of dimension - if self.dimension: - _dict['dimension'] = self.dimension.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionLevelPropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimension": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, - "memberValueMode": obj.get("memberValueMode"), - "levelId": obj.get("levelId"), - "levelDepth": obj.get("levelDepth") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_level_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_level_selection_dto.py deleted file mode 100644 index fa847977f5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_level_selection_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryDimensionLevelSelectionDTO(BaseModel): - """ - A QueryDimensionLevelSelection allows you to select a dimension level and its members without explicitly listing each member. - """ # noqa: E501 - dimension: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") - level_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of level IDs for the dimension levels that you want to query. For example, [\"Level_1\", \"Level_2\"]. To get a dimension's level IDs, call the Data Model API.", alias="levelIds") - level_depths: Optional[List[StrictInt]] = Field(default=None, description="A list of level depths for the dimension levels that you want to query. For a parent-child dimension, depth must be greater than 0. For example, [1, 2]. To get a dimension's level depths, call the Data Model API.", alias="levelDepths") - __properties: ClassVar[List[str]] = ["dimension", "levelIds", "levelDepths"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionLevelSelectionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of dimension - if self.dimension: - _dict['dimension'] = self.dimension.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionLevelSelectionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimension": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, - "levelIds": obj.get("levelIds"), - "levelDepths": obj.get("levelDepths") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_member_selection_dto.py deleted file mode 100644 index 3224b32dd2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_dimension_member_selection_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_common_dimension_member_reference_dto import DataservicesCommonDimensionMemberReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryDimensionMemberSelectionDTO(BaseModel): - """ - A QueryDimensionMemberSelection defines dimension members to select in the query. - """ # noqa: E501 - dimension: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") - members: Optional[List[DataservicesCommonDimensionMemberReferenceDTO]] = Field(default=None, description="A collection of dimension members to select in the query. This must contain at least one member.") - __properties: ClassVar[List[str]] = ["dimension", "members"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionMemberSelectionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of dimension - if self.dimension: - _dict['dimension'] = self.dimension.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item_members in self.members: - if _item_members: - _items.append(_item_members.to_dict()) - _dict['members'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryDimensionMemberSelectionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimension": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, - "members": [DataservicesCommonDimensionMemberReferenceDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_error_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_error_details_dto.py deleted file mode 100644 index 79ab80d6d3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_error_details_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryExecutionErrorDetailsDTO(BaseModel): - """ - The details of a error that occurred during query execution. - """ # noqa: E501 - object_type: Optional[StrictStr] = Field(default=None, description="Query request object type.", alias="objectType") - query_index: Optional[StrictInt] = Field(default=None, description="The position of the query within the request query list.", alias="queryIndex") - column_index: Optional[StrictInt] = Field(default=None, description="The position of the column within the request column list.", alias="columnIndex") - error: Optional[StrictStr] = Field(default=None, description="The details of the error.") - __properties: ClassVar[List[str]] = ["objectType", "queryIndex", "columnIndex", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryExecutionErrorDetailsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryExecutionErrorDetailsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objectType": obj.get("objectType"), - "queryIndex": obj.get("queryIndex"), - "columnIndex": obj.get("columnIndex"), - "error": obj.get("error") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_error_dto.py deleted file mode 100644 index 978cff6d61..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_error_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_query_execution_errors_dto import DataservicesQueryQueryExecutionErrorsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryExecutionErrorDTO(BaseModel): - """ - An error that occurred during query execution. A QueryExecutionError returns as part of a successful batch aggregation query for any queries that failed. This is different from errors, which return for failed requests. - """ # noqa: E501 - error_code: Optional[StrictStr] = Field(default=None, description="A brief identifier of the type of error.", alias="errorCode") - message: Optional[StrictStr] = Field(default=None, description="The details of the error.") - all_errors: Optional[List[DataservicesQueryQueryExecutionErrorsDTO]] = Field(default=None, description="All errors", alias="allErrors") - __properties: ClassVar[List[str]] = ["errorCode", "message", "allErrors"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryExecutionErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in all_errors (list) - _items = [] - if self.all_errors: - for _item_all_errors in self.all_errors: - if _item_all_errors: - _items.append(_item_all_errors.to_dict()) - _dict['allErrors'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryExecutionErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "errorCode": obj.get("errorCode"), - "message": obj.get("message"), - "allErrors": [DataservicesQueryQueryExecutionErrorsDTO.from_dict(_item) for _item in obj["allErrors"]] if obj.get("allErrors") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_errors_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_errors_dto.py deleted file mode 100644 index c401c790f3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_errors_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_query_execution_error_details_dto import DataservicesQueryQueryExecutionErrorDetailsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryExecutionErrorsDTO(BaseModel): - """ - The errors that occurred during query execution. - """ # noqa: E501 - error_code: Optional[StrictStr] = Field(default=None, description="A brief identifier of the type of error.", alias="errorCode") - message: Optional[StrictStr] = Field(default=None, description="The message of the error.") - all_error_details: Optional[List[DataservicesQueryQueryExecutionErrorDetailsDTO]] = Field(default=None, description="The list of the error details.", alias="allErrorDetails") - __properties: ClassVar[List[str]] = ["errorCode", "message", "allErrorDetails"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryExecutionErrorsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in all_error_details (list) - _items = [] - if self.all_error_details: - for _item_all_error_details in self.all_error_details: - if _item_all_error_details: - _items.append(_item_all_error_details.to_dict()) - _dict['allErrorDetails'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryExecutionErrorsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "errorCode": obj.get("errorCode"), - "message": obj.get("message"), - "allErrorDetails": [DataservicesQueryQueryExecutionErrorDetailsDTO.from_dict(_item) for _item in obj["allErrorDetails"]] if obj.get("allErrorDetails") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_options_dto.py deleted file mode 100644 index bfd2b3e48d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_execution_options_dto.py +++ /dev/null @@ -1,192 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_cell_distribution_options_dto import DataservicesQueryCellDistributionOptionsDTO -from visier_platform_sdk.models.dataservices_query_internal_query_execution_options_dto import DataservicesQueryInternalQueryExecutionOptionsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryExecutionOptionsDTO(BaseModel): - """ - A QueryExecutionOptions provides additional instructions to perform a query. - """ # noqa: E501 - calendar_type: Optional[StrictStr] = Field(default=None, description="The calendar type to use. This will be used for all time calculations unless explicitly overridden in the calculation itself. Default is TENANT_CALENDAR.", alias="calendarType") - currency_conversion_mode: Optional[StrictStr] = Field(default=None, description="This will be removed as of Winter 2026. Use `currencyConversionCode` instead. The currency conversion mode to use. This will be used for all currency conversion calculations unless explicitly overridden in the calculation itself. Default is TENANT_CURRENCY_CONVERSION.", alias="currencyConversionMode") - currency_conversion_date: Optional[StrictStr] = Field(default=None, description="The currency conversion date to use. If defined, the currency conversion will use the exchange rates as of this date. Default is the exchange rate at the end of the query time interval. Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Note: Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="currencyConversionDate") - lineage_depth: Optional[StrictInt] = Field(default=None, description="The max number of levels of nesting to unwind when determining the lineage for a derived metric value.", alias="lineageDepth") - zero_visibility: Optional[StrictStr] = Field(default=None, description="Show or hide zeros in the result. Default is SHOW.", alias="zeroVisibility") - null_visibility: Optional[StrictStr] = Field(default=None, description="Show or hide null or N/A values in the result. Default is SHOW.", alias="nullVisibility") - cell_distribution_options: Optional[DataservicesQueryCellDistributionOptionsDTO] = Field(default=None, alias="cellDistributionOptions") - axis_visibility: Optional[StrictStr] = Field(default=None, description="The amount of information to return about each axis. Default is SIMPLE.", alias="axisVisibility") - enable_sparse_results: Optional[StrictBool] = Field(default=None, description="Retrieve sparse cell sets. Sparse results only retrieve non-zero and non-null cells. Whether a result is truly sparse or not is determined by the Visier server.", alias="enableSparseResults") - internal: Optional[DataservicesQueryInternalQueryExecutionOptionsDTO] = None - enable_descending_space: Optional[StrictBool] = Field(default=None, description="If true, filter non-time axis member sets to only include members that are in aggregate positions or whose previous position is a leaf", alias="enableDescendingSpace") - currency_conversion_code: Optional[StrictStr] = Field(default=None, description="Overrides the tenant's default currency for currency conversions.", alias="currencyConversionCode") - member_display_mode: Optional[StrictStr] = Field(default=None, description="Control how member values are displayed. You can override the `memberDisplayMode` on a per-axis basis, if required. Valid values are `DEFAULT`, `COMPACT`, `DISPLAY`, or `MDX`. Default is `DEFAULT`. * `DEFAULT`: The default member name representation. For non-time members, this returns the technical member name path. For time members, this includes a bracketed member index. For example, Time instant member: `2019-06-01T00:00:00.000Z - [0]` For example, Time interval member: `2022-06-01T00:00:00.000Z/2022-07-01T00:00:00.000Z - [12]` * `COMPACT`: Shortens the member name representation. For time intervals, the member name is the end time of the interval. For example, Time instant member: `2019-06-01T00:00:00.000Z` For example, Time interval member: `2022-07-01T00:00:00.000Z` where the interval member name was `2022-06-01T00:00:00.000Z/2022-07-01T00:00:00.000Z - [12]` * `DISPLAY`: Emits the members' display names whenever possible. When combined with `axisVisibility = VERBOSE`, the full display name path will be emitted. * `MDX`: Emits member name paths where each element is enclosed in square brackets, `[]`. Multidimensional expression (MDX) display mode automatically encloses time members in square brackets and puts them in `COMPACT` format. For example, Location member `North America.United States.California` becomes `[North America].[United States].[California]` in MDX display mode. For example, Time instant member `2019-06-01T00:00:00.000Z - [0]` becomes `[2019-06-01T00:00:00.000Z]` in MDX display mode. * `COMPACT_DISPLAY`: Emit the members' display names after compacting. This applies primarily to time members for event-based metrics. Compact display is required when running multi-metric queries containing both event-based and subject-based metrics. Multi-metric queries with `DISPLAY` mode are changed automatically to `COMPACT_DISPLAY`. For example, Time interval member `2022-06-01T00:00:00.000Z/2022-07-01T00:00:00.000Z - [12]` becomes `Jun 30, 2022` in `COMPACT_DISPLAY` mode. The exact format of the compacted time member display name depends on the the user's locale.", alias="memberDisplayMode") - axes_overall_value_mode: Optional[StrictStr] = Field(default=None, description="If `axes` is defined, use `axesOverallValueMode` to specify the type of overall values to return across the axes. Valid values: * `NONE`: Returns the metric's values for the selected axes and doesn't return overall values. This is the default. * `AGGREGATE`: Returns the metric's overall values for the selected axes members. * `OVERALL`: Returns the metric's overall values for all axes members. **Note**: `AGGREGATE` is not supported for lookup overlays because the overall values of selected members cannot be calculated directly from the data. Example: Let's say you want to know the Headcount of the locations Canada and US and the genders Male and Female. When `axesOverallValueMode` is `NONE`, the query returns these values: * 100 (Canada, Male) * 100 (US, Male) * 100 (Canada, Female) * 100 (US, Female) When `axesOverallValueMode` is `AGGREGATE`, the query returns these values: * 100 (Canada, Male) * 100 (US, Male) * 100 (Canada, Female) * 100 (US, Female) * 400 (Overall, Overall) * 200 (Overall, Male) * 200 (Overall, Female) * 200 (Canada, Overall) * 200 (US, Overall) When `axesOverallValueMode` is `OVERALL`, the query returns these values: * 100 (Canada, Male) * 100 (US, Male) * 100 (Canada, Female) * 100 (US, Female) * 800 (Overall, Overall) * 400 (Overall, Male) * 400 (Overall, Female) * 400 (Canada, Overall) * 400 (US, Overall) In this example, `OVERALL` returns higher overall values than `AGGREGATE` because `AGGREGATE` returns the overall values for the selected locations (Canada, US) and genders (Male, Female), whereas `OVERALL` returns the overall values across all locations and genders in the data.", alias="axesOverallValueMode") - __properties: ClassVar[List[str]] = ["calendarType", "currencyConversionMode", "currencyConversionDate", "lineageDepth", "zeroVisibility", "nullVisibility", "cellDistributionOptions", "axisVisibility", "enableSparseResults", "internal", "enableDescendingSpace", "currencyConversionCode", "memberDisplayMode", "axesOverallValueMode"] - - @field_validator('calendar_type') - def calendar_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['TENANT_CALENDAR', 'GREGORIAN_CALENDAR']): - raise ValueError("must be one of enum values ('TENANT_CALENDAR', 'GREGORIAN_CALENDAR')") - return value - - @field_validator('currency_conversion_mode') - def currency_conversion_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['TENANT_CURRENCY_CONVERSION', 'VISIER_CURRENCY_CONVERSION']): - raise ValueError("must be one of enum values ('TENANT_CURRENCY_CONVERSION', 'VISIER_CURRENCY_CONVERSION')") - return value - - @field_validator('zero_visibility') - def zero_visibility_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['SHOW', 'HIDE', 'ELIMINATE']): - raise ValueError("must be one of enum values ('SHOW', 'HIDE', 'ELIMINATE')") - return value - - @field_validator('null_visibility') - def null_visibility_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['SHOW', 'HIDE', 'ELIMINATE']): - raise ValueError("must be one of enum values ('SHOW', 'HIDE', 'ELIMINATE')") - return value - - @field_validator('axis_visibility') - def axis_visibility_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['SIMPLE', 'VERBOSE']): - raise ValueError("must be one of enum values ('SIMPLE', 'VERBOSE')") - return value - - @field_validator('member_display_mode') - def member_display_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['DEFAULT', 'COMPACT', 'DISPLAY', 'MDX', 'COMPACT_DISPLAY']): - raise ValueError("must be one of enum values ('DEFAULT', 'COMPACT', 'DISPLAY', 'MDX', 'COMPACT_DISPLAY')") - return value - - @field_validator('axes_overall_value_mode') - def axes_overall_value_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['NONE', 'AGGREGATE', 'OVERALL']): - raise ValueError("must be one of enum values ('NONE', 'AGGREGATE', 'OVERALL')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryExecutionOptionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of cell_distribution_options - if self.cell_distribution_options: - _dict['cellDistributionOptions'] = self.cell_distribution_options.to_dict() - # override the default output from pydantic by calling `to_dict()` of internal - if self.internal: - _dict['internal'] = self.internal.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryExecutionOptionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "calendarType": obj.get("calendarType"), - "currencyConversionMode": obj.get("currencyConversionMode"), - "currencyConversionDate": obj.get("currencyConversionDate"), - "lineageDepth": obj.get("lineageDepth"), - "zeroVisibility": obj.get("zeroVisibility"), - "nullVisibility": obj.get("nullVisibility"), - "cellDistributionOptions": DataservicesQueryCellDistributionOptionsDTO.from_dict(obj["cellDistributionOptions"]) if obj.get("cellDistributionOptions") is not None else None, - "axisVisibility": obj.get("axisVisibility"), - "enableSparseResults": obj.get("enableSparseResults"), - "internal": DataservicesQueryInternalQueryExecutionOptionsDTO.from_dict(obj["internal"]) if obj.get("internal") is not None else None, - "enableDescendingSpace": obj.get("enableDescendingSpace"), - "currencyConversionCode": obj.get("currencyConversionCode"), - "memberDisplayMode": obj.get("memberDisplayMode"), - "axesOverallValueMode": obj.get("axesOverallValueMode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_filter_dto.py deleted file mode 100644 index 19281e7f68..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_filter_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_reference_dto import DataservicesDatamodelSelectionConceptReferenceDTO -from visier_platform_sdk.models.dataservices_query_cohort_filter_dto import DataservicesQueryCohortFilterDTO -from visier_platform_sdk.models.dataservices_query_member_filter_dto import DataservicesQueryMemberFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryFilterDTO(BaseModel): - """ - A QueryFilter selects specific data points within a population. - """ # noqa: E501 - formula: Optional[StrictStr] = Field(default=None, description="A filter expressed as a formula.") - selection_concept: Optional[DataservicesDatamodelSelectionConceptReferenceDTO] = Field(default=None, description="A filter that uses an existing selection concept in Visier.", alias="selectionConcept") - member_set: Optional[DataservicesQueryMemberFilterDTO] = Field(default=None, description="A filter that includes or excludes dimension members.", alias="memberSet") - cohort: Optional[DataservicesQueryCohortFilterDTO] = Field(default=None, description="A filter that identifies a population at a specific time.") - __properties: ClassVar[List[str]] = ["formula", "selectionConcept", "memberSet", "cohort"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of selection_concept - if self.selection_concept: - _dict['selectionConcept'] = self.selection_concept.to_dict() - # override the default output from pydantic by calling `to_dict()` of member_set - if self.member_set: - _dict['memberSet'] = self.member_set.to_dict() - # override the default output from pydantic by calling `to_dict()` of cohort - if self.cohort: - _dict['cohort'] = self.cohort.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "formula": obj.get("formula"), - "selectionConcept": DataservicesDatamodelSelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, - "memberSet": DataservicesQueryMemberFilterDTO.from_dict(obj["memberSet"]) if obj.get("memberSet") is not None else None, - "cohort": DataservicesQueryCohortFilterDTO.from_dict(obj["cohort"]) if obj.get("cohort") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_member_map_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_member_map_property_dto.py deleted file mode 100644 index a13f4b6cf1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_member_map_property_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryMemberMapPropertyDTO(BaseModel): - """ - A QueryMemberMapProperty defines an existing member map and its dimension to query. - """ # noqa: E501 - member_map: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="A member map and its qualifying path to query.", alias="memberMap") - target_dimension_name: Optional[StrictStr] = Field(default=None, description="The name of the member map's dimension that you want to query. The member selection is based on this dimension.", alias="targetDimensionName") - __properties: ClassVar[List[str]] = ["memberMap", "targetDimensionName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryMemberMapPropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of member_map - if self.member_map: - _dict['memberMap'] = self.member_map.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryMemberMapPropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "memberMap": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["memberMap"]) if obj.get("memberMap") is not None else None, - "targetDimensionName": obj.get("targetDimensionName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_member_map_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_member_map_selection_dto.py deleted file mode 100644 index 00a5083874..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_member_map_selection_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_common_dimension_member_reference_dto import DataservicesCommonDimensionMemberReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryMemberMapSelectionDTO(BaseModel): - """ - A QueryMemberMapSelection groups data in a query by dimension members in a member map. This allows grouping by a dimension that isn't typically valid on the analytic object being queried by selecting a valid member map on the analytic object. Note: This is unique to the data query API and cannot be reproduced in Visier's interface. - """ # noqa: E501 - member_map: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="A member map and its qualifying path to query.", alias="memberMap") - target_dimension_name: Optional[StrictStr] = Field(default=None, description="The name of the member map's dimension that you want to query. The member selection is based on this dimension.", alias="targetDimensionName") - members: Optional[List[DataservicesCommonDimensionMemberReferenceDTO]] = Field(default=None, description="A collection of the selected dimension members from the `targetDimension`. This must contain at least one member.") - __properties: ClassVar[List[str]] = ["memberMap", "targetDimensionName", "members"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryMemberMapSelectionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of member_map - if self.member_map: - _dict['memberMap'] = self.member_map.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item_members in self.members: - if _item_members: - _items.append(_item_members.to_dict()) - _dict['members'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryMemberMapSelectionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "memberMap": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["memberMap"]) if obj.get("memberMap") is not None else None, - "targetDimensionName": obj.get("targetDimensionName"), - "members": [DataservicesCommonDimensionMemberReferenceDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_numeric_ranges_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_numeric_ranges_dto.py deleted file mode 100644 index 74966100d5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_numeric_ranges_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_query_property_dto import DataservicesQueryQueryPropertyDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryNumericRangesDTO(BaseModel): - """ - A QueryNumericRanges groups data into specified ranges based on a property value. - """ # noqa: E501 - var_property: Optional[DataservicesQueryQueryPropertyDTO] = Field(default=None, description="The name and qualifying path of a numeric property. Non-numeric properties are not accepted.", alias="property") - ranges: Optional[StrictStr] = Field(default=None, description="The ranges to group data into, expressed as a space-separated string of range-bound values.") - include_negative: Optional[StrictBool] = Field(default=None, description="If `true`, negative ranges are included. Default is false.", alias="includeNegative") - include_independent_zero_range: Optional[StrictBool] = Field(default=None, description="If `true`, 0 is an independent range. Default is false.", alias="includeIndependentZeroRange") - include_all_member: Optional[StrictBool] = Field(default=None, description="If `true`, a member is included that represents all members on the axis. Default is false.", alias="includeAllMember") - __properties: ClassVar[List[str]] = ["property", "ranges", "includeNegative", "includeIndependentZeroRange", "includeAllMember"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryNumericRangesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of var_property - if self.var_property: - _dict['property'] = self.var_property.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryNumericRangesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "property": DataservicesQueryQueryPropertyDTO.from_dict(obj["property"]) if obj.get("property") is not None else None, - "ranges": obj.get("ranges"), - "includeNegative": obj.get("includeNegative"), - "includeIndependentZeroRange": obj.get("includeIndependentZeroRange"), - "includeAllMember": obj.get("includeAllMember") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_parameter_value_dto.py deleted file mode 100644 index 566148746e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_parameter_value_dto.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_aggregation_type_parameter_value_dto import DataservicesQueryAggregationTypeParameterValueDTO -from visier_platform_sdk.models.dataservices_query_member_parameter_value_dto import DataservicesQueryMemberParameterValueDTO -from visier_platform_sdk.models.dataservices_query_numeric_parameter_value_dto import DataservicesQueryNumericParameterValueDTO -from visier_platform_sdk.models.dataservices_query_plan_parameter_value_dto import DataservicesQueryPlanParameterValueDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryParameterValueDTO(BaseModel): - """ - An object that contains parameter values for either member or numeric parameters. - """ # noqa: E501 - member_value: Optional[DataservicesQueryMemberParameterValueDTO] = Field(default=None, description="A value for a member parameter.", alias="memberValue") - numeric_value: Optional[DataservicesQueryNumericParameterValueDTO] = Field(default=None, description="A value for a numeric parameter.", alias="numericValue") - plan_value: Optional[DataservicesQueryPlanParameterValueDTO] = Field(default=None, description="A value for a plan parameter.", alias="planValue") - aggregation_type_value: Optional[DataservicesQueryAggregationTypeParameterValueDTO] = Field(default=None, description="A value for an aggregation parameter.", alias="aggregationTypeValue") - __properties: ClassVar[List[str]] = ["memberValue", "numericValue", "planValue", "aggregationTypeValue"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryParameterValueDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of member_value - if self.member_value: - _dict['memberValue'] = self.member_value.to_dict() - # override the default output from pydantic by calling `to_dict()` of numeric_value - if self.numeric_value: - _dict['numericValue'] = self.numeric_value.to_dict() - # override the default output from pydantic by calling `to_dict()` of plan_value - if self.plan_value: - _dict['planValue'] = self.plan_value.to_dict() - # override the default output from pydantic by calling `to_dict()` of aggregation_type_value - if self.aggregation_type_value: - _dict['aggregationTypeValue'] = self.aggregation_type_value.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryParameterValueDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "memberValue": DataservicesQueryMemberParameterValueDTO.from_dict(obj["memberValue"]) if obj.get("memberValue") is not None else None, - "numericValue": DataservicesQueryNumericParameterValueDTO.from_dict(obj["numericValue"]) if obj.get("numericValue") is not None else None, - "planValue": DataservicesQueryPlanParameterValueDTO.from_dict(obj["planValue"]) if obj.get("planValue") is not None else None, - "aggregationTypeValue": DataservicesQueryAggregationTypeParameterValueDTO.from_dict(obj["aggregationTypeValue"]) if obj.get("aggregationTypeValue") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_property_dto.py deleted file mode 100644 index cf1fdf3005..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_property_dto.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_datamodel_dimension_reference_dto import DataservicesDatamodelDimensionReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_property_reference_dto import DataservicesDatamodelPropertyReferenceDTO -from visier_platform_sdk.models.dataservices_datamodel_selection_concept_reference_dto import DataservicesDatamodelSelectionConceptReferenceDTO -from visier_platform_sdk.models.dataservices_query_query_dimension_level_property_dto import DataservicesQueryQueryDimensionLevelPropertyDTO -from visier_platform_sdk.models.dataservices_query_query_member_map_property_dto import DataservicesQueryQueryMemberMapPropertyDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryPropertyDTO(BaseModel): - """ - A QueryProperty defines a property of a data point returned from a query. This is not the same as a `property` in Visier's data mode. - """ # noqa: E501 - formula: Optional[StrictStr] = Field(default=None, description="A formula-based property.") - var_property: Optional[DataservicesDatamodelPropertyReferenceDTO] = Field(default=None, description="A property reference.", alias="property") - selection_concept: Optional[DataservicesDatamodelSelectionConceptReferenceDTO] = Field(default=None, description="A selection concept-based property that returns true or false.", alias="selectionConcept") - dimension: Optional[DataservicesDatamodelDimensionReferenceDTO] = Field(default=None, description="A dimension-based property that returns the full name path of the dimension member that the data point is mapped to.") - member_map_property: Optional[DataservicesQueryQueryMemberMapPropertyDTO] = Field(default=None, description="A member map-based property that uses an existing member map in Visier.", alias="memberMapProperty") - effective_date_property: Optional[Dict[str, Any]] = Field(default=None, description="A property that yields the effective date for the record", alias="effectiveDateProperty") - dimension_level_selection: Optional[DataservicesQueryQueryDimensionLevelPropertyDTO] = Field(default=None, description="A dimension-based property that returns the member values of the dimension level.", alias="dimensionLevelSelection") - __properties: ClassVar[List[str]] = ["formula", "property", "selectionConcept", "dimension", "memberMapProperty", "effectiveDateProperty", "dimensionLevelSelection"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryPropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of var_property - if self.var_property: - _dict['property'] = self.var_property.to_dict() - # override the default output from pydantic by calling `to_dict()` of selection_concept - if self.selection_concept: - _dict['selectionConcept'] = self.selection_concept.to_dict() - # override the default output from pydantic by calling `to_dict()` of dimension - if self.dimension: - _dict['dimension'] = self.dimension.to_dict() - # override the default output from pydantic by calling `to_dict()` of member_map_property - if self.member_map_property: - _dict['memberMapProperty'] = self.member_map_property.to_dict() - # override the default output from pydantic by calling `to_dict()` of dimension_level_selection - if self.dimension_level_selection: - _dict['dimensionLevelSelection'] = self.dimension_level_selection.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryPropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "formula": obj.get("formula"), - "property": DataservicesDatamodelPropertyReferenceDTO.from_dict(obj["property"]) if obj.get("property") is not None else None, - "selectionConcept": DataservicesDatamodelSelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, - "dimension": DataservicesDatamodelDimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, - "memberMapProperty": DataservicesQueryQueryMemberMapPropertyDTO.from_dict(obj["memberMapProperty"]) if obj.get("memberMapProperty") is not None else None, - "effectiveDateProperty": obj.get("effectiveDateProperty"), - "dimensionLevelSelection": DataservicesQueryQueryDimensionLevelPropertyDTO.from_dict(obj["dimensionLevelSelection"]) if obj.get("dimensionLevelSelection") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_time_interval_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_time_interval_dto.py deleted file mode 100644 index 31aea71a2b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_time_interval_dto.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_time_shift_dto import DataservicesQueryTimeShiftDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryTimeIntervalDTO(BaseModel): - """ - A QueryTimeInterval defines the time interval to query, including the \"from\" time, period type, period count, time direction, and shift to apply - """ # noqa: E501 - from_instant: Optional[StrictStr] = Field(default=None, description="The instant from which to extend in the specified `direction`, in milliseconds since 1970-01-01T00:00:00Z. Events that occur on this date are excluded. Subject-based data that ends on this date is included. Note: Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="fromInstant") - from_date_time: Optional[StrictStr] = Field(default=None, description="The instant from which to extend in the specified `direction`, as an ISO-8601 formatted date time string. Valid formats: yyyy-MM-dd, yyyy-MM-dd'T'HH:mm:ss, yyyy-MM-dd'T'HH:mm:ss.SSS. Events that occur on this date are excluded. Subject-based data that ends on this date is included.", alias="fromDateTime") - dynamic_date_from: Optional[StrictStr] = Field(default=None, description="Dynamically select the date from which to extend in the specified `direction`. Valid values are `SOURCE` or `COMPLETE_PERIOD`. Both options determine the date using the request's `source` field. Whether the source is a metric, formula, or metrics, each source has earliest and latest data available dates to use. The `direction` determines whether the earliest or latest date is used. * If `dynamicDateFrom` is `SOURCE`, the query returns data from a date determined by the `source` query definition element. If `dynamicDateFrom` is `COMPLETE_PERIOD`, the query returns data starting from the latest or earliest date with a complete period of data. `COMPLETE_PERIOD` returns periods defined by `intervalPeriodType`. If the period type is MONTH, it returns full months of data. If the period type is YEAR, it returns full years of data. When `dynamicDateFrom` is specified: * If `source` is `metric`, then `dynamicDateFrom` considers the date range of available data for the metric. * If `source` is `formula`, then `dynamicDateFrom` considers the date range of available data for the metric in the formula. * If `source` is `analyticObject`, then `dynamicDateFrom` considers the date range of available data for the analytic object. Then, if `direction` is `BACKWARD`, query backward from the data **end** date and if `direction` is `FORWARD`, query forward from the data **start** date. This allows you to keep getting the latest or earliest data without changing your query every time there's new or updated data. Example: If a tenant has Headcount metric data available from 2023-01-01 to 2024-01-01 (End date exclusive), specifying `dynamicDateFrom`: `SOURCE` with `direction`: `BACKWARD` means the query will retrieve data backward from 2024-01-01. The effect is the same as if specifying a `fromDateTime` of 2024-01-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-01 to 2024-01-01 (End date exclusive), specifying `dynamicDateFrom`: `SOURCE` with `direction`: `FORWARD` means the query will retrieve data forward from 2023-01-01. The effect is the same as if specifying a `fromDateTime` of 2023-01-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-10 to 2023-04-01 (End date exclusive), specifying `dynamicDateFrom`: `COMPLETE_PERIOD` with `direction`: `FORWARD` means the query will retrieve data forward from 2023-02-01. The effect is the same as if specifying a `fromDateTime` of 2023-02-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-01 to 2023-03-15 (End date exclusive), specifying `dynamicDateFrom`: `COMPLETE_PERIOD` with `direction`: `BACKWARD` means the query will retrieve data backward from 2023-03-01. The effect is the same as if specifying a `fromDateTime` of 2023-03-01'T'00:00:00.000. Example: Retrieve a list of EmployeeIDs for the formula extending 1 month backward from the dynamic source date { \"source\": { \"formula\": \"on Employee validUntil instant filterBy(isActiveEmployee) aggregate count(Employee.EmployeeID)\" }, \"columns\": [ { \"columnDefinition\": { \"property\": { \"name\": \"Employee.EmployeeID\", \"qualifyingPath\": \"Employee\" } } }, { \"columnDefinition\": { \"effectiveDateProperty\": {} } } ], \"timeInterval\": { \"dynamicDateFrom\": \"SOURCE\", \"intervalPeriodType\": \"MONTH\", \"intervalPeriodCount\": 1, \"direction\": \"BACKWARD\" } }", alias="dynamicDateFrom") - interval_period_type: Optional[StrictStr] = Field(default=None, description="The time period type for each interval. Default is MONTH.", alias="intervalPeriodType") - interval_period_count: Optional[StrictInt] = Field(default=None, description="The number of time periods per interval.", alias="intervalPeriodCount") - direction: Optional[StrictStr] = Field(default=None, description="The direction to extend. Default is BACKWARD. BACKWARD is useful when the time instant is the current date or with `dynamicDateFrom` because the query continuously retrieves the newest data from current date backwards.") - shift: Optional[DataservicesQueryTimeShiftDTO] = Field(default=None, description="The amount of time to shift the time interval by, such as backward by one year. Default is none.") - __properties: ClassVar[List[str]] = ["fromInstant", "fromDateTime", "dynamicDateFrom", "intervalPeriodType", "intervalPeriodCount", "direction", "shift"] - - @field_validator('dynamic_date_from') - def dynamic_date_from_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['SOURCE', 'COMPLETE_PERIOD']): - raise ValueError("must be one of enum values ('SOURCE', 'COMPLETE_PERIOD')") - return value - - @field_validator('interval_period_type') - def interval_period_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): - raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") - return value - - @field_validator('direction') - def direction_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['BACKWARD', 'FORWARD']): - raise ValueError("must be one of enum values ('BACKWARD', 'FORWARD')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryTimeIntervalDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of shift - if self.shift: - _dict['shift'] = self.shift.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryTimeIntervalDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "fromInstant": obj.get("fromInstant"), - "fromDateTime": obj.get("fromDateTime"), - "dynamicDateFrom": obj.get("dynamicDateFrom"), - "intervalPeriodType": obj.get("intervalPeriodType"), - "intervalPeriodCount": obj.get("intervalPeriodCount"), - "direction": obj.get("direction"), - "shift": DataservicesQueryTimeShiftDTO.from_dict(obj["shift"]) if obj.get("shift") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_time_intervals_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_time_intervals_dto.py deleted file mode 100644 index 03008ea903..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_query_time_intervals_dto.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_time_shift_dto import DataservicesQueryTimeShiftDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryQueryTimeIntervalsDTO(BaseModel): - """ - A QueryTimeIntervals defines a series of time intervals to query, including the \"from\" time, period type, period count, number of intervals, time direction, and shift to apply to each time interval. - """ # noqa: E501 - from_instant: Optional[StrictStr] = Field(default=None, description="The instant from which to extend, in milliseconds since 1970-01-01T00:00:00Z. Events that occur on this date are excluded. Subject-based data that ends on this date is included. Note: Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="fromInstant") - from_date_time: Optional[StrictStr] = Field(default=None, description="The instant from which to extend, as an ISO-8601 formatted date time string. This value is exclusive. Valid formats: yyyy-MM-dd, yyyy-MM-dd'T'HH:mm:ss, yyyy-MM-dd'T'HH:mm:ss.SSS. Events that occur on this date are excluded. Subject-based data that ends on this date is included.", alias="fromDateTime") - dynamic_date_from: Optional[StrictStr] = Field(default=None, description="Dynamically select the date from which to extend. Valid values are `SOURCE` or `COMPLETE_PERIOD`. Both options use the `source` query definition element to determine the date. If `dynamicDateFrom` is `SOURCE`, the query returns data from a date determined by the `source` query definition element. If `dynamicDateFrom` is `COMPLETE_PERIOD`, the query returns data starting from the latest or earliest date with a complete period of data. When `dynamicDateFrom` is specified: * If `source` is `metric`, then `dynamicDateFrom` considers the date range of available data for the metric. * If `source` is `formula`, then `dynamicDateFrom` considers the date range of available data for the metric in the formula. * If `source` is `metrics`, then `dynamicDateFrom` considers the date range of available data for the metric in the formula. Then, if `direction` is `BACKWARD`, query backward from the data **end** date and if `direction` is `FORWARD`, query forward from the data **start** date. This allows you to keep getting the latest or earliest data without changing your query every time there's new or updated data. Note: For multi-metric queries, if `direction` is `BACKWARD`, query backward from the earliest data end date of all metrics and if `direction` is `FORWARD`, query forward from the latest data start date of all metrics. This ensures that all metrics have data in the specified time range. Example: If a tenant has Headcount metric data available from 2023-01-01 to 2024-01-01 (End date exclusive), specifying `dynamicDateFrom`: `SOURCE` with `direction`: `BACKWARD` means the query will retrieve data backward from 2024-01-01. The effect is the same as if specifying a `fromDateTime` of 2024-01-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-10 to 2023-04-01 (End date exclusive), specifying `dynamicDateFrom`: `COMPLETE_PERIOD` with `direction`: `FORWARD` means the query will retrieve data forward from 2023-02-01. The effect is the same as if specifying a `fromDateTime` of 2023-02-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-01 to 2023-03-15 (End date exclusive), specifying `dynamicDateFrom`: `COMPLETE_PERIOD` with `direction`: `BACKWARD` means the query will retrieve data backward from 2023-03-01. The effect is the same as if specifying a `fromDateTime` of 2023-03-01'T'00:00:00.000. Example: If a tenant has Headcount data available from 2023-01-01 to 2024-09-01 and Exit Count data available from 2023-01-01 to 2024-01-01, specifying `dynamicDateFrom`: `SOURCE` with `direction`: `BACKWARD` means the query will retrieve data backward from 2024-01-01. Exit Count has an earlier data end date than Headcount, so `dynamicDateFrom` retrieves data backward from Exit Count's data end date to ensure both metrics have data in the specified time range. Example: Retrieve Headcount (employeeCount) extending 1 month backward from Headcount's dynamic source date { \"query\": { \"source\": { \"metric\": \"employeeCount\" }, \"timeIntervals\": { \"dynamicDateFrom\": \"SOURCE\", \"intervalPeriodType\": \"MONTH\", \"intervalCount\": 1, \"direction\": \"BACKWARD\" } } }", alias="dynamicDateFrom") - interval_period_type: Optional[StrictStr] = Field(default=None, description="The time period type for each interval. Default is MONTH.", alias="intervalPeriodType") - interval_period_count: Optional[StrictInt] = Field(default=None, description="The number of time periods per interval. Default is 1.", alias="intervalPeriodCount") - interval_count: Optional[StrictInt] = Field(default=None, description="The number of intervals. Default is 1.", alias="intervalCount") - direction: Optional[StrictStr] = Field(default=None, description="The direction to extend. Defaults is BACKWARD.") - shift: Optional[DataservicesQueryTimeShiftDTO] = Field(default=None, description="The amount of time to shift the time interval by, such as backward by one year.") - trailing_period_type: Optional[StrictStr] = Field(default=None, description="The time period type for each trailing period. If `trailingPeriodCount` is defined and `trailingPeriodType` is undefined, the default trailing period type is `MONTH`. If both `trailingPeriodType` and `trailingPeriodCount` are undefined, `intervalPeriodCount` is used as the trailing period count. Note: This parameter is only applicable to metrics that can calculate trailing time. If defined on a metric that doesn't have trailing time, the platform ignores the parameter.", alias="trailingPeriodType") - trailing_period_count: Optional[StrictInt] = Field(default=None, description="The number of time periods per trailing period. If `trailingPeriodType` is defined and `trailingPeriodCount` is undefined, the default trailing period count is 1. Note: This parameter is only applicable to metrics that can calculate trailing time. If defined on a metric that doesn't have trailing time, the platform ignores the parameter.", alias="trailingPeriodCount") - __properties: ClassVar[List[str]] = ["fromInstant", "fromDateTime", "dynamicDateFrom", "intervalPeriodType", "intervalPeriodCount", "intervalCount", "direction", "shift", "trailingPeriodType", "trailingPeriodCount"] - - @field_validator('dynamic_date_from') - def dynamic_date_from_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['SOURCE', 'COMPLETE_PERIOD']): - raise ValueError("must be one of enum values ('SOURCE', 'COMPLETE_PERIOD')") - return value - - @field_validator('interval_period_type') - def interval_period_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): - raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") - return value - - @field_validator('direction') - def direction_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['BACKWARD', 'FORWARD']): - raise ValueError("must be one of enum values ('BACKWARD', 'FORWARD')") - return value - - @field_validator('trailing_period_type') - def trailing_period_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): - raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryTimeIntervalsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of shift - if self.shift: - _dict['shift'] = self.shift.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryQueryTimeIntervalsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "fromInstant": obj.get("fromInstant"), - "fromDateTime": obj.get("fromDateTime"), - "dynamicDateFrom": obj.get("dynamicDateFrom"), - "intervalPeriodType": obj.get("intervalPeriodType"), - "intervalPeriodCount": obj.get("intervalPeriodCount"), - "intervalCount": obj.get("intervalCount"), - "direction": obj.get("direction"), - "shift": DataservicesQueryTimeShiftDTO.from_dict(obj["shift"]) if obj.get("shift") is not None else None, - "trailingPeriodType": obj.get("trailingPeriodType"), - "trailingPeriodCount": obj.get("trailingPeriodCount") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_snapshot_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_snapshot_query_execution_dto.py deleted file mode 100644 index a96e8ad564..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_snapshot_query_execution_dto.py +++ /dev/null @@ -1,144 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_list_query_source_dto import DataservicesQueryListQuerySourceDTO -from visier_platform_sdk.models.dataservices_query_property_column_dto import DataservicesQueryPropertyColumnDTO -from visier_platform_sdk.models.dataservices_query_query_filter_dto import DataservicesQueryQueryFilterDTO -from visier_platform_sdk.models.dataservices_query_query_parameter_value_dto import DataservicesQueryQueryParameterValueDTO -from visier_platform_sdk.models.dataservices_query_query_time_intervals_dto import DataservicesQueryQueryTimeIntervalsDTO -from visier_platform_sdk.models.dataservices_query_snapshot_query_execution_options_dto import DataservicesQuerySnapshotQueryExecutionOptionsDTO -from visier_platform_sdk.models.dataservices_query_sort_option_dto import DataservicesQuerySortOptionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQuerySnapshotQueryExecutionDTO(BaseModel): - """ - DataservicesQuerySnapshotQueryExecutionDTO - """ # noqa: E501 - source: Optional[DataservicesQueryListQuerySourceDTO] = Field(default=None, description="The source data that you want to query.") - columns: Optional[List[DataservicesQueryPropertyColumnDTO]] = Field(default=None, description="The columns to include in the result. This must contain at least one column.") - sort_options: Optional[List[DataservicesQuerySortOptionDTO]] = Field(default=None, description="The index and direction to sort a column in the `columns` array.", alias="sortOptions") - filters: Optional[List[DataservicesQueryQueryFilterDTO]] = Field(default=None, description="The filters of this query. Omit `filters` if no filtering is required.") - time_intervals: Optional[DataservicesQueryQueryTimeIntervalsDTO] = Field(default=None, description="The time intervals to query.", alias="timeIntervals") - parameter_values: Optional[List[DataservicesQueryQueryParameterValueDTO]] = Field(default=None, description="The parameter values for either member or numeric parameters.", alias="parameterValues") - options: Optional[DataservicesQuerySnapshotQueryExecutionOptionsDTO] = Field(default=None, description="Additional instructions for your query, such as a calendar type or conversion information.") - __properties: ClassVar[List[str]] = ["source", "columns", "sortOptions", "filters", "timeIntervals", "parameterValues", "options"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQuerySnapshotQueryExecutionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of source - if self.source: - _dict['source'] = self.source.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in columns (list) - _items = [] - if self.columns: - for _item_columns in self.columns: - if _item_columns: - _items.append(_item_columns.to_dict()) - _dict['columns'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in sort_options (list) - _items = [] - if self.sort_options: - for _item_sort_options in self.sort_options: - if _item_sort_options: - _items.append(_item_sort_options.to_dict()) - _dict['sortOptions'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in filters (list) - _items = [] - if self.filters: - for _item_filters in self.filters: - if _item_filters: - _items.append(_item_filters.to_dict()) - _dict['filters'] = _items - # override the default output from pydantic by calling `to_dict()` of time_intervals - if self.time_intervals: - _dict['timeIntervals'] = self.time_intervals.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in parameter_values (list) - _items = [] - if self.parameter_values: - for _item_parameter_values in self.parameter_values: - if _item_parameter_values: - _items.append(_item_parameter_values.to_dict()) - _dict['parameterValues'] = _items - # override the default output from pydantic by calling `to_dict()` of options - if self.options: - _dict['options'] = self.options.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQuerySnapshotQueryExecutionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "source": DataservicesQueryListQuerySourceDTO.from_dict(obj["source"]) if obj.get("source") is not None else None, - "columns": [DataservicesQueryPropertyColumnDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None, - "sortOptions": [DataservicesQuerySortOptionDTO.from_dict(_item) for _item in obj["sortOptions"]] if obj.get("sortOptions") is not None else None, - "filters": [DataservicesQueryQueryFilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None, - "timeIntervals": DataservicesQueryQueryTimeIntervalsDTO.from_dict(obj["timeIntervals"]) if obj.get("timeIntervals") is not None else None, - "parameterValues": [DataservicesQueryQueryParameterValueDTO.from_dict(_item) for _item in obj["parameterValues"]] if obj.get("parameterValues") is not None else None, - "options": DataservicesQuerySnapshotQueryExecutionOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_snapshot_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_snapshot_query_execution_options_dto.py deleted file mode 100644 index d31daff477..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_snapshot_query_execution_options_dto.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQuerySnapshotQueryExecutionOptionsDTO(BaseModel): - """ - A SnapshotQueryExecutionOptions provides additional instructions to perform a snapshot query. - """ # noqa: E501 - limit: Optional[StrictInt] = Field(default=None, description="The maximum number of entries to return. Default is to return all entries. If `page` is defined but limit is not defined, limit will be set to a default value of 1000.") - query_mode: Optional[StrictStr] = Field(default=None, description="Determines how the query should handle column definitions that the query is unable to resolve. Default is DEFAULT.", alias="queryMode") - omit_header: Optional[StrictBool] = Field(default=None, description="Option to omit the header from the result. If true, queryMode must be either FILL or FAIL. Default is false.", alias="omitHeader") - calendar_type: Optional[StrictStr] = Field(default=None, description="The calendar type to use. This will be used for all time calculations unless explicitly overridden in the calculation itself. Default is TENANT_CALENDAR.", alias="calendarType") - currency_conversion_date: Optional[StrictStr] = Field(default=None, description="The currency conversion date to use. If defined, the currency conversion will use the exchange rates as of this date.", alias="currencyConversionDate") - page: Optional[StrictInt] = Field(default=None, description="A page defines a subset of the overall result set. The number of rows per page is equal to limit with the exception of the last page in the result set which may contain fewer rows. `Page` is an index that begins at 0. The index to start retrieving results is calculated by multiplying `page` by `limit`.") - multiple_tables: Optional[StrictBool] = Field(default=None, description="Option to return multiple table files as zipped archive for derived metrics. Default is false. If false, one table is returned for the drill-through metric.", alias="multipleTables") - currency_conversion_code: Optional[StrictStr] = Field(default=None, description="The optional target currency for all currency conversions. If not specified, the tenant default currency will be used.", alias="currencyConversionCode") - date_time_display_mode: Optional[StrictStr] = Field(default=None, description="Control how date-time values are displayed in the result set. Supported values: * `EPOCH`: The number of elapsed milliseconds since January 1, 1970 in UTC timezone. This is the default. * `DATETIME`: The date-time value displayed in `yyyy-MM-dd HH:mm:ssZZ` format.", alias="dateTimeDisplayMode") - __properties: ClassVar[List[str]] = ["limit", "queryMode", "omitHeader", "calendarType", "currencyConversionDate", "page", "multipleTables", "currencyConversionCode", "dateTimeDisplayMode"] - - @field_validator('query_mode') - def query_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['DEFAULT', 'FILL', 'FAIL']): - raise ValueError("must be one of enum values ('DEFAULT', 'FILL', 'FAIL')") - return value - - @field_validator('calendar_type') - def calendar_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['TENANT_CALENDAR', 'GREGORIAN_CALENDAR']): - raise ValueError("must be one of enum values ('TENANT_CALENDAR', 'GREGORIAN_CALENDAR')") - return value - - @field_validator('date_time_display_mode') - def date_time_display_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['EPOCH', 'DATETIME']): - raise ValueError("must be one of enum values ('EPOCH', 'DATETIME')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQuerySnapshotQueryExecutionOptionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQuerySnapshotQueryExecutionOptionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "limit": obj.get("limit"), - "queryMode": obj.get("queryMode"), - "omitHeader": obj.get("omitHeader"), - "calendarType": obj.get("calendarType"), - "currencyConversionDate": obj.get("currencyConversionDate"), - "page": obj.get("page"), - "multipleTables": obj.get("multipleTables"), - "currencyConversionCode": obj.get("currencyConversionCode"), - "dateTimeDisplayMode": obj.get("dateTimeDisplayMode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_sort_option_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_sort_option_dto.py deleted file mode 100644 index e9792e9184..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_sort_option_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQuerySortOptionDTO(BaseModel): - """ - Sort option for a column of a list query. - """ # noqa: E501 - column_index: Optional[StrictInt] = Field(default=None, description="The index of the column of the list query, staring from 0.", alias="columnIndex") - sort_direction: Optional[StrictStr] = Field(default=None, description="The sort direction.", alias="sortDirection") - __properties: ClassVar[List[str]] = ["columnIndex", "sortDirection"] - - @field_validator('sort_direction') - def sort_direction_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['SORT_ASCENDING', 'SORT_DESCENDING']): - raise ValueError("must be one of enum values ('SORT_ASCENDING', 'SORT_DESCENDING')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQuerySortOptionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQuerySortOptionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "columnIndex": obj.get("columnIndex"), - "sortDirection": obj.get("sortDirection") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_sql_like_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_sql_like_query_execution_dto.py deleted file mode 100644 index f051245fc7..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_sql_like_query_execution_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dataservices_query_query_execution_options_dto import DataservicesQueryQueryExecutionOptionsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQuerySqlLikeQueryExecutionDTO(BaseModel): - """ - * Request body for SQL-like query executions - """ # noqa: E501 - query: Optional[StrictStr] = Field(default=None, description="The SQL-like query string") - options: Optional[DataservicesQueryQueryExecutionOptionsDTO] = Field(default=None, description="Optional options that currently that cannot be expressed in SQL-like") - __properties: ClassVar[List[str]] = ["query", "options"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQuerySqlLikeQueryExecutionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of options - if self.options: - _dict['options'] = self.options.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQuerySqlLikeQueryExecutionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "query": obj.get("query"), - "options": DataservicesQueryQueryExecutionOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_time_shift_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_time_shift_dto.py deleted file mode 100644 index 53887b5149..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dataservices_query_time_shift_dto.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DataservicesQueryTimeShiftDTO(BaseModel): - """ - The amount of time to shift the time interval by, such as backward by one year. - """ # noqa: E501 - period_type: Optional[StrictStr] = Field(default=None, description="The time period type for the shift.", alias="periodType") - period_count: Optional[StrictInt] = Field(default=None, description="The number of intervals. Default is 1.", alias="periodCount") - direction: Optional[StrictStr] = Field(default=None, description="The direction to extend. Default is BACKWARD.") - __properties: ClassVar[List[str]] = ["periodType", "periodCount", "direction"] - - @field_validator('period_type') - def period_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): - raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") - return value - - @field_validator('direction') - def direction_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['BACKWARD', 'FORWARD']): - raise ValueError("must be one of enum values ('BACKWARD', 'FORWARD')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DataservicesQueryTimeShiftDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DataservicesQueryTimeShiftDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "periodType": obj.get("periodType"), - "periodCount": obj.get("periodCount"), - "direction": obj.get("direction") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/date_range_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/date_range_dto.py new file mode 100644 index 0000000000..dca34d77e6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/date_range_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DateRangeDTO(BaseModel): + """ + The range of dates for the request. + """ # noqa: E501 + start: Optional[StrictStr] = Field(default=None, description="The start date in ISO 8601 format.") + end: Optional[StrictStr] = Field(default=None, description="The end date in ISO 8601 format. If undefined, the end date is the current date.") + __properties: ClassVar[List[str]] = ["start", "end"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DateRangeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DateRangeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "start": obj.get("start"), + "end": obj.get("end") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dayforce_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dayforce_v2_auth_params_dto.py new file mode 100644 index 0000000000..5cf24aeeca --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dayforce_v2_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DayforceV2AuthParamsDTO(BaseModel): + """ + DayforceV2AuthParamsDTO + """ # noqa: E501 + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + company_id: Optional[StrictStr] = Field(default=None, alias="companyId") + token_host: Optional[StrictStr] = Field(default=None, alias="tokenHost") + host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") + __properties: ClassVar[List[str]] = ["username", "password", "companyId", "tokenHost", "hostDomainName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DayforceV2AuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DayforceV2AuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "username": obj.get("username"), + "password": obj.get("password"), + "companyId": obj.get("companyId"), + "tokenHost": obj.get("tokenHost"), + "hostDomainName": obj.get("hostDomainName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/delete_permissions_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/delete_permissions_request_dto.py new file mode 100644 index 0000000000..e4136ea1c5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/delete_permissions_request_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DeletePermissionsRequestDTO(BaseModel): + """ + DeletePermissionsRequestDTO + """ # noqa: E501 + permission_ids: Optional[List[StrictStr]] = Field(default=None, description="The identifiers of the permissions to delete.", alias="permissionIds") + __properties: ClassVar[List[str]] = ["permissionIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DeletePermissionsRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DeletePermissionsRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissionIds": obj.get("permissionIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/delete_user_group_v2_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/delete_user_group_v2_request.py new file mode 100644 index 0000000000..29293d90a6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/delete_user_group_v2_request.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DeleteUserGroupV2Request(BaseModel): + """ + DeleteUserGroupV2Request + """ # noqa: E501 + user_group_id: Optional[StrictStr] = Field(default=None, description="The ID of user group to delete.", alias="userGroupId") + __properties: ClassVar[List[str]] = ["userGroupId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DeleteUserGroupV2Request from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DeleteUserGroupV2Request from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroupId": obj.get("userGroupId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dependent_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dependent_dto.py new file mode 100644 index 0000000000..cbb9c2c9c8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dependent_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DependentDTO(BaseModel): + """ + Details about a dependent object related to the property to delete. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dependent object.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the dependent object.", alias="displayName") + object_type: Optional[StrictStr] = Field(default=None, description="The type of dependent object, such as a property or parameter.", alias="objectType") + __properties: ClassVar[List[str]] = ["id", "displayName", "objectType"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DependentDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DependentDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "objectType": obj.get("objectType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_adp_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_adp_auth_params_dto.py deleted file mode 100644 index 61781184d1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_adp_auth_params_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerAdpAuthParamsDTO(BaseModel): - """ - DesignerAdpAuthParamsDTO - """ # noqa: E501 - auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") - __properties: ClassVar[List[str]] = ["authCode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerAdpAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerAdpAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "authCode": obj.get("authCode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_analytic_object_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_analytic_object_filter_dto.py deleted file mode 100644 index 59984c8d53..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_analytic_object_filter_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_dimension_filter_dto import DesignerApiDimensionFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiAnalyticObjectFilterDTO(BaseModel): - """ - DesignerApiAnalyticObjectFilterDTO - """ # noqa: E501 - analytic_object_uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the analytic object used in the selection concept.", alias="analyticObjectUuid") - symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the analytic object.", alias="symbolName") - dimensions: Optional[List[DesignerApiDimensionFilterDTO]] = Field(default=None, description="A list of dimensions included in the concept.") - __properties: ClassVar[List[str]] = ["analyticObjectUuid", "symbolName", "dimensions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiAnalyticObjectFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dimensions (list) - _items = [] - if self.dimensions: - for _item_dimensions in self.dimensions: - if _item_dimensions: - _items.append(_item_dimensions.to_dict()) - _dict['dimensions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiAnalyticObjectFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjectUuid": obj.get("analyticObjectUuid"), - "symbolName": obj.get("symbolName"), - "dimensions": [DesignerApiDimensionFilterDTO.from_dict(_item) for _item in obj["dimensions"]] if obj.get("dimensions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_configuration_dto.py deleted file mode 100644 index 52e6bab6d9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_configuration_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_perspective_configuration_dto import DesignerApiPerspectiveConfigurationDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiCalculationConceptConfigurationDTO(BaseModel): - """ - DesignerApiCalculationConceptConfigurationDTO - """ # noqa: E501 - perspectives: Optional[List[DesignerApiPerspectiveConfigurationDTO]] = Field(default=None, description="A list of objects representing the perspectives in the calculation concept.") - __properties: ClassVar[List[str]] = ["perspectives"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiCalculationConceptConfigurationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in perspectives (list) - _items = [] - if self.perspectives: - for _item_perspectives in self.perspectives: - if _item_perspectives: - _items.append(_item_perspectives.to_dict()) - _dict['perspectives'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiCalculationConceptConfigurationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "perspectives": [DesignerApiPerspectiveConfigurationDTO.from_dict(_item) for _item in obj["perspectives"]] if obj.get("perspectives") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_configuration_map_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_configuration_map_dto.py deleted file mode 100644 index efe0761a6e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_configuration_map_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_perspective_configuration_dto import DesignerApiPerspectiveConfigurationDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiCalculationConceptConfigurationMapDTO(BaseModel): - """ - The configuration to apply to the concept. - """ # noqa: E501 - perspectives_to_map: Optional[List[DesignerApiPerspectiveConfigurationDTO]] = Field(default=None, description="A list of objects representing the list of perspectives in the calculation concept.", alias="perspectivesToMap") - __properties: ClassVar[List[str]] = ["perspectivesToMap"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiCalculationConceptConfigurationMapDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in perspectives_to_map (list) - _items = [] - if self.perspectives_to_map: - for _item_perspectives_to_map in self.perspectives_to_map: - if _item_perspectives_to_map: - _items.append(_item_perspectives_to_map.to_dict()) - _dict['perspectivesToMap'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiCalculationConceptConfigurationMapDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "perspectivesToMap": [DesignerApiPerspectiveConfigurationDTO.from_dict(_item) for _item in obj["perspectivesToMap"]] if obj.get("perspectivesToMap") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_dto.py deleted file mode 100644 index 0203867fcb..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_calculation_concept_configuration_dto import DesignerApiCalculationConceptConfigurationDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiCalculationConceptDTO(BaseModel): - """ - DesignerApiCalculationConceptDTO - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the calculation concept.") - name: Optional[StrictStr] = Field(default=None, description="The display name of the calculation concept.") - configuration: Optional[DesignerApiCalculationConceptConfigurationDTO] = Field(default=None, description="A list of objects representing the configuration for the calculation concept.") - __properties: ClassVar[List[str]] = ["uuid", "name", "configuration"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiCalculationConceptDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of configuration - if self.configuration: - _dict['configuration'] = self.configuration.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiCalculationConceptDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "name": obj.get("name"), - "configuration": DesignerApiCalculationConceptConfigurationDTO.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_list_dto.py deleted file mode 100644 index 383aca8527..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_calculation_concept_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_calculation_concept_dto import DesignerApiCalculationConceptDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiCalculationConceptListDTO(BaseModel): - """ - DesignerApiCalculationConceptListDTO - """ # noqa: E501 - concepts: Optional[List[DesignerApiCalculationConceptDTO]] = Field(default=None, description="A list of objects representing calculation concepts.") - __properties: ClassVar[List[str]] = ["concepts"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiCalculationConceptListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) - _items = [] - if self.concepts: - for _item_concepts in self.concepts: - if _item_concepts: - _items.append(_item_concepts.to_dict()) - _dict['concepts'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiCalculationConceptListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "concepts": [DesignerApiCalculationConceptDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_concept_configuration_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_concept_configuration_result_dto.py deleted file mode 100644 index d3cd41c8dd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_concept_configuration_result_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiConceptConfigurationResultDTO(BaseModel): - """ - DesignerApiConceptConfigurationResultDTO - """ # noqa: E501 - concept_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the configured concept.", alias="conceptId") - project_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the system-generated project.", alias="projectId") - message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the API result.") - __properties: ClassVar[List[str]] = ["conceptId", "projectId", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiConceptConfigurationResultDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiConceptConfigurationResultDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "conceptId": obj.get("conceptId"), - "projectId": obj.get("projectId"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_dimension_filter_dto.py deleted file mode 100644 index 15883d0d9b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_dimension_filter_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_dimension_member_dto import DesignerApiDimensionMemberDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiDimensionFilterDTO(BaseModel): - """ - DesignerApiDimensionFilterDTO - """ # noqa: E501 - dimension_id: Optional[StrictStr] = Field(default=None, description="The UUID of the dimension.", alias="dimensionId") - symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the dimension.", alias="symbolName") - dimension_members: Optional[List[DesignerApiDimensionMemberDTO]] = Field(default=None, description="A list of dimension members to map to the perspective node. Note: If this array is empty, all dimension members will be removed for the node.", alias="dimensionMembers") - __properties: ClassVar[List[str]] = ["dimensionId", "symbolName", "dimensionMembers"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiDimensionFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dimension_members (list) - _items = [] - if self.dimension_members: - for _item_dimension_members in self.dimension_members: - if _item_dimension_members: - _items.append(_item_dimension_members.to_dict()) - _dict['dimensionMembers'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiDimensionFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionId": obj.get("dimensionId"), - "symbolName": obj.get("symbolName"), - "dimensionMembers": [DesignerApiDimensionMemberDTO.from_dict(_item) for _item in obj["dimensionMembers"]] if obj.get("dimensionMembers") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_dimension_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_dimension_member_dto.py deleted file mode 100644 index f3cff514c6..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_dimension_member_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiDimensionMemberDTO(BaseModel): - """ - DesignerApiDimensionMemberDTO - """ # noqa: E501 - dimension_member: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the dimension members. Dimension members in a hierarchical dimension will have an array with multiple strings.", alias="dimensionMember") - __properties: ClassVar[List[str]] = ["dimensionMember"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiDimensionMemberDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiDimensionMemberDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionMember": obj.get("dimensionMember") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_perspective_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_perspective_configuration_dto.py deleted file mode 100644 index 1374ce20fb..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_perspective_configuration_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_perspective_node_dto import DesignerApiPerspectiveNodeDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiPerspectiveConfigurationDTO(BaseModel): - """ - DesignerApiPerspectiveConfigurationDTO - """ # noqa: E501 - perspective_id: Optional[StrictStr] = Field(default=None, description="The UUID of the perspective.", alias="perspectiveId") - perspective_name: Optional[StrictStr] = Field(default=None, description="The display name of the perspective.", alias="perspectiveName") - perspective_nodes: Optional[List[DesignerApiPerspectiveNodeDTO]] = Field(default=None, description="A list of nodes in the perspective.", alias="perspectiveNodes") - __properties: ClassVar[List[str]] = ["perspectiveId", "perspectiveName", "perspectiveNodes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiPerspectiveConfigurationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in perspective_nodes (list) - _items = [] - if self.perspective_nodes: - for _item_perspective_nodes in self.perspective_nodes: - if _item_perspective_nodes: - _items.append(_item_perspective_nodes.to_dict()) - _dict['perspectiveNodes'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiPerspectiveConfigurationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "perspectiveId": obj.get("perspectiveId"), - "perspectiveName": obj.get("perspectiveName"), - "perspectiveNodes": [DesignerApiPerspectiveNodeDTO.from_dict(_item) for _item in obj["perspectiveNodes"]] if obj.get("perspectiveNodes") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_perspective_node_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_perspective_node_dto.py deleted file mode 100644 index 7e1407e657..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_perspective_node_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_analytic_object_filter_dto import DesignerApiAnalyticObjectFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiPerspectiveNodeDTO(BaseModel): - """ - DesignerApiPerspectiveNodeDTO - """ # noqa: E501 - selection_concept_uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the node's selection concept. Perspective nodes are generated as selection concepts to enable filtering.", alias="selectionConceptUuid") - symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the selection concept. For example, \"isExitActualSystemTermination\".", alias="symbolName") - analytic_object_filters: Optional[List[DesignerApiAnalyticObjectFilterDTO]] = Field(default=None, description="A list of analytic object filters indicating the analytic object and dimensions used for the selection concept.", alias="analyticObjectFilters") - __properties: ClassVar[List[str]] = ["selectionConceptUuid", "symbolName", "analyticObjectFilters"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiPerspectiveNodeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in analytic_object_filters (list) - _items = [] - if self.analytic_object_filters: - for _item_analytic_object_filters in self.analytic_object_filters: - if _item_analytic_object_filters: - _items.append(_item_analytic_object_filters.to_dict()) - _dict['analyticObjectFilters'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiPerspectiveNodeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "selectionConceptUuid": obj.get("selectionConceptUuid"), - "symbolName": obj.get("symbolName"), - "analyticObjectFilters": [DesignerApiAnalyticObjectFilterDTO.from_dict(_item) for _item in obj["analyticObjectFilters"]] if obj.get("analyticObjectFilters") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_configuration_dto.py deleted file mode 100644 index 6523f74150..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_configuration_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_analytic_object_filter_dto import DesignerApiAnalyticObjectFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiSelectionConceptConfigurationDTO(BaseModel): - """ - DesignerApiSelectionConceptConfigurationDTO - """ # noqa: E501 - analytic_object_filters: Optional[List[DesignerApiAnalyticObjectFilterDTO]] = Field(default=None, description="A list of analytic object filters indicating the analytic object and dimension used for this selection concept.", alias="analyticObjectFilters") - __properties: ClassVar[List[str]] = ["analyticObjectFilters"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiSelectionConceptConfigurationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in analytic_object_filters (list) - _items = [] - if self.analytic_object_filters: - for _item_analytic_object_filters in self.analytic_object_filters: - if _item_analytic_object_filters: - _items.append(_item_analytic_object_filters.to_dict()) - _dict['analyticObjectFilters'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiSelectionConceptConfigurationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjectFilters": [DesignerApiAnalyticObjectFilterDTO.from_dict(_item) for _item in obj["analyticObjectFilters"]] if obj.get("analyticObjectFilters") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_configuration_map_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_configuration_map_dto.py deleted file mode 100644 index b64fd73340..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_configuration_map_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_analytic_object_filter_dto import DesignerApiAnalyticObjectFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiSelectionConceptConfigurationMapDTO(BaseModel): - """ - DesignerApiSelectionConceptConfigurationMapDTO - """ # noqa: E501 - analytic_object_filters_to_map: Optional[List[DesignerApiAnalyticObjectFilterDTO]] = Field(default=None, description="A list of analytic object filters indicating the analytic object and dimension members used for the selection concept. Note: If this array is empty, all filters will be removed for the concept.", alias="analyticObjectFiltersToMap") - __properties: ClassVar[List[str]] = ["analyticObjectFiltersToMap"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiSelectionConceptConfigurationMapDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in analytic_object_filters_to_map (list) - _items = [] - if self.analytic_object_filters_to_map: - for _item_analytic_object_filters_to_map in self.analytic_object_filters_to_map: - if _item_analytic_object_filters_to_map: - _items.append(_item_analytic_object_filters_to_map.to_dict()) - _dict['analyticObjectFiltersToMap'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiSelectionConceptConfigurationMapDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjectFiltersToMap": [DesignerApiAnalyticObjectFilterDTO.from_dict(_item) for _item in obj["analyticObjectFiltersToMap"]] if obj.get("analyticObjectFiltersToMap") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_dto.py deleted file mode 100644 index a4ec2eebe8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_selection_concept_configuration_dto import DesignerApiSelectionConceptConfigurationDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiSelectionConceptDTO(BaseModel): - """ - DesignerApiSelectionConceptDTO - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the selection concept.") - name: Optional[StrictStr] = Field(default=None, description="The display name of the selection concept.") - configuration: Optional[DesignerApiSelectionConceptConfigurationDTO] = Field(default=None, description="A list of objects representing the configuration for the selection concept.") - __properties: ClassVar[List[str]] = ["uuid", "name", "configuration"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiSelectionConceptDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of configuration - if self.configuration: - _dict['configuration'] = self.configuration.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiSelectionConceptDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "name": obj.get("name"), - "configuration": DesignerApiSelectionConceptConfigurationDTO.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_list_dto.py deleted file mode 100644 index fccfa8ca2c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_api_selection_concept_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_api_selection_concept_dto import DesignerApiSelectionConceptDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerApiSelectionConceptListDTO(BaseModel): - """ - DesignerApiSelectionConceptListDTO - """ # noqa: E501 - concepts: Optional[List[DesignerApiSelectionConceptDTO]] = Field(default=None, description="A list of objects representing selection concepts.") - __properties: ClassVar[List[str]] = ["concepts"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerApiSelectionConceptListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) - _items = [] - if self.concepts: - for _item_concepts in self.concepts: - if _item_concepts: - _items.append(_item_concepts.to_dict()) - _dict['concepts'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerApiSelectionConceptListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "concepts": [DesignerApiSelectionConceptDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_bamboo_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_bamboo_auth_params_dto.py deleted file mode 100644 index b8088aa5d9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_bamboo_auth_params_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerBambooAuthParamsDTO(BaseModel): - """ - DesignerBambooAuthParamsDTO - """ # noqa: E501 - access_key: Optional[StrictStr] = Field(default=None, alias="accessKey") - tenant_domain_name: Optional[StrictStr] = Field(default=None, alias="tenantDomainName") - __properties: ClassVar[List[str]] = ["accessKey", "tenantDomainName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerBambooAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerBambooAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "accessKey": obj.get("accessKey"), - "tenantDomainName": obj.get("tenantDomainName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_basic_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_basic_s3_auth_params_dto.py deleted file mode 100644 index b4e4b73c79..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_basic_s3_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerBasicS3AuthParamsDTO(BaseModel): - """ - DesignerBasicS3AuthParamsDTO - """ # noqa: E501 - bucket_name: Optional[StrictStr] = Field(default=None, alias="bucketName") - bucket_region: Optional[StrictStr] = Field(default=None, alias="bucketRegion") - access_key: Optional[StrictStr] = Field(default=None, alias="accessKey") - secret_key: Optional[StrictStr] = Field(default=None, alias="secretKey") - path: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["bucketName", "bucketRegion", "accessKey", "secretKey", "path"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerBasicS3AuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerBasicS3AuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "bucketName": obj.get("bucketName"), - "bucketRegion": obj.get("bucketRegion"), - "accessKey": obj.get("accessKey"), - "secretKey": obj.get("secretKey"), - "path": obj.get("path") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_big_query_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_big_query_auth_params_dto.py deleted file mode 100644 index 4cb8794518..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_big_query_auth_params_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_big_query_service_account_params_dto import DesignerBigQueryServiceAccountParamsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerBigQueryAuthParamsDTO(BaseModel): - """ - DesignerBigQueryAuthParamsDTO - """ # noqa: E501 - project_id: Optional[StrictStr] = Field(default=None, alias="projectId") - dataset_location: Optional[StrictStr] = Field(default=None, alias="datasetLocation") - refresh_token: Optional[StrictStr] = Field(default=None, alias="refreshToken") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - default_dataset: Optional[StrictStr] = Field(default=None, alias="defaultDataset") - service_account_params: Optional[DesignerBigQueryServiceAccountParamsDTO] = Field(default=None, alias="serviceAccountParams") - __properties: ClassVar[List[str]] = ["projectId", "datasetLocation", "refreshToken", "clientId", "clientSecret", "defaultDataset", "serviceAccountParams"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerBigQueryAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of service_account_params - if self.service_account_params: - _dict['serviceAccountParams'] = self.service_account_params.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerBigQueryAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "projectId": obj.get("projectId"), - "datasetLocation": obj.get("datasetLocation"), - "refreshToken": obj.get("refreshToken"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret"), - "defaultDataset": obj.get("defaultDataset"), - "serviceAccountParams": DesignerBigQueryServiceAccountParamsDTO.from_dict(obj["serviceAccountParams"]) if obj.get("serviceAccountParams") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_big_query_service_account_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_big_query_service_account_params_dto.py deleted file mode 100644 index 55016e1229..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_big_query_service_account_params_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerBigQueryServiceAccountParamsDTO(BaseModel): - """ - DesignerBigQueryServiceAccountParamsDTO - """ # noqa: E501 - service_account_email: Optional[StrictStr] = Field(default=None, alias="serviceAccountEmail") - private_key: Optional[StrictStr] = Field(default=None, alias="privateKey") - __properties: ClassVar[List[str]] = ["serviceAccountEmail", "privateKey"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerBigQueryServiceAccountParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerBigQueryServiceAccountParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "serviceAccountEmail": obj.get("serviceAccountEmail"), - "privateKey": obj.get("privateKey") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_copy_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_copy_s3_auth_params_dto.py deleted file mode 100644 index 32e946b960..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_copy_s3_auth_params_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCopyS3AuthParamsDTO(BaseModel): - """ - DesignerCopyS3AuthParamsDTO - """ # noqa: E501 - iam_role: Optional[StrictStr] = Field(default=None, alias="iamRole") - __properties: ClassVar[List[str]] = ["iamRole"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCopyS3AuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCopyS3AuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "iamRole": obj.get("iamRole") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_credential_creation_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_credential_creation_api_response_dto.py deleted file mode 100644 index ec1cb24452..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_credential_creation_api_response_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_subject_missing_access_dto import DesignerSubjectMissingAccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCredentialCreationAPIResponseDTO(BaseModel): - """ - DesignerCredentialCreationAPIResponseDTO - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The unique ID of the newly created credential.") - symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the newly created credential.", alias="symbolName") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the newly created credential.", alias="objectName") - missing_connection_properties: Optional[List[DesignerSubjectMissingAccessDTO]] = Field(default=None, description="The properties that the credential cannot access despite successful authentication. This is only returned for authentications that do not grant access to all data.", alias="missingConnectionProperties") - __properties: ClassVar[List[str]] = ["uuid", "symbolName", "objectName", "missingConnectionProperties"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCredentialCreationAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in missing_connection_properties (list) - _items = [] - if self.missing_connection_properties: - for _item_missing_connection_properties in self.missing_connection_properties: - if _item_missing_connection_properties: - _items.append(_item_missing_connection_properties.to_dict()) - _dict['missingConnectionProperties'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCredentialCreationAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "symbolName": obj.get("symbolName"), - "objectName": obj.get("objectName"), - "missingConnectionProperties": [DesignerSubjectMissingAccessDTO.from_dict(_item) for _item in obj["missingConnectionProperties"]] if obj.get("missingConnectionProperties") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_generate_key_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_generate_key_request_dto.py deleted file mode 100644 index 726236898c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_generate_key_request_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCryptoGenerateKeyRequestDTO(BaseModel): - """ - The settings to define for an encryption key. - """ # noqa: E501 - key_name: Optional[StrictStr] = Field(default=None, description="The encryption key's display name. The name may only contain alphanumeric or dash (-) characters and must be between 6 and 36 characters long.", alias="keyName") - expiry_date: Optional[StrictStr] = Field(default=None, description="The UTC expiration date of the key in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years.", alias="expiryDate") - algorithm: Optional[StrictStr] = Field(default=None, description="The hash-based message authentication code and cryptographic hash function associated with the encryption key. Must be one of `HmacSHA224`, `HmacSHA256`, `HmacSHA384`, or `HmacSHA512`.") - __properties: ClassVar[List[str]] = ["keyName", "expiryDate", "algorithm"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCryptoGenerateKeyRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCryptoGenerateKeyRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "keyName": obj.get("keyName"), - "expiryDate": obj.get("expiryDate"), - "algorithm": obj.get("algorithm") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_key_pair_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_key_pair_delete_response_dto.py deleted file mode 100644 index 22edd0b608..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_key_pair_delete_response_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCryptoKeyPairDeleteResponseDTO(BaseModel): - """ - DesignerCryptoKeyPairDeleteResponseDTO - """ # noqa: E501 - key_id: Optional[StrictStr] = Field(default=None, description="The key ID in 16-letter hexadecimal format, including leading zeros.", alias="keyID") - __properties: ClassVar[List[str]] = ["keyID"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCryptoKeyPairDeleteResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCryptoKeyPairDeleteResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "keyID": obj.get("keyID") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_key_pair_generate_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_key_pair_generate_request_dto.py deleted file mode 100644 index 912f70a122..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_key_pair_generate_request_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCryptoKeyPairGenerateRequestDTO(BaseModel): - """ - DesignerCryptoKeyPairGenerateRequestDTO - """ # noqa: E501 - expiration_date: Optional[StrictStr] = Field(default=None, description="The UTC expiration date of the key in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years.", alias="expirationDate") - __properties: ClassVar[List[str]] = ["expirationDate"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCryptoKeyPairGenerateRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCryptoKeyPairGenerateRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "expirationDate": obj.get("expirationDate") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_public_key_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_public_key_dto.py deleted file mode 100644 index 5b81aa5cff..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_public_key_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCryptoPublicKeyDTO(BaseModel): - """ - DesignerCryptoPublicKeyDTO - """ # noqa: E501 - key_id: Optional[StrictStr] = Field(default=None, description="The key ID of the generated key pair in 16-letter hexadecimal format, including leading zeros.", alias="keyID") - date_generated: Optional[StrictStr] = Field(default=None, description="The UTC date that the key pair was generated in milliseconds since the Unix epoch.", alias="dateGenerated") - expiry_date: Optional[StrictStr] = Field(default=None, description="The UTC expiration date of the key in milliseconds since the Unix epoch.", alias="expiryDate") - recipient: Optional[StrictStr] = Field(default=None, description="The tenant code and creation date in milliseconds of the PGP key; for example, WFF_j1r_13490234234.") - public_key: Optional[StrictStr] = Field(default=None, description="The public key of the generated key pair.", alias="publicKey") - __properties: ClassVar[List[str]] = ["keyID", "dateGenerated", "expiryDate", "recipient", "publicKey"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCryptoPublicKeyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCryptoPublicKeyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "keyID": obj.get("keyID"), - "dateGenerated": obj.get("dateGenerated"), - "expiryDate": obj.get("expiryDate"), - "recipient": obj.get("recipient"), - "publicKey": obj.get("publicKey") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_public_keys_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_public_keys_dto.py deleted file mode 100644 index 765dea13fc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_public_keys_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_crypto_public_key_dto import DesignerCryptoPublicKeyDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCryptoPublicKeysDTO(BaseModel): - """ - DesignerCryptoPublicKeysDTO - """ # noqa: E501 - keys: Optional[List[DesignerCryptoPublicKeyDTO]] = Field(default=None, description="A list of the tenant's public keys.") - __properties: ClassVar[List[str]] = ["keys"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCryptoPublicKeysDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in keys (list) - _items = [] - if self.keys: - for _item_keys in self.keys: - if _item_keys: - _items.append(_item_keys.to_dict()) - _dict['keys'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCryptoPublicKeysDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "keys": [DesignerCryptoPublicKeyDTO.from_dict(_item) for _item in obj["keys"]] if obj.get("keys") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_tenant_encryption_key_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_tenant_encryption_key_details_dto.py deleted file mode 100644 index 7900f14491..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_tenant_encryption_key_details_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCryptoTenantEncryptionKeyDetailsDTO(BaseModel): - """ - Information about who generated an encryption key, its key name, algorithm, generation date, and expiration date. - """ # noqa: E501 - key_name: Optional[StrictStr] = Field(default=None, description="The encryption key's display name. The name may only contain alphanumeric or dash (-) characters and must be between 6 and 36 characters long.", alias="keyName") - algorithm: Optional[StrictStr] = Field(default=None, description="The hash-based message authentication code and cryptographic hash function associated with the encryption key.") - generated_by: Optional[StrictStr] = Field(default=None, description="The user who generated the key.", alias="generatedBy") - date_generated: Optional[StrictStr] = Field(default=None, description="The UTC date that the key was generated in milliseconds since the Unix epoch.", alias="dateGenerated") - expiry_date: Optional[StrictStr] = Field(default=None, description="The UTC expiration date of the key in milliseconds since the Unix epoch.", alias="expiryDate") - __properties: ClassVar[List[str]] = ["keyName", "algorithm", "generatedBy", "dateGenerated", "expiryDate"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCryptoTenantEncryptionKeyDetailsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCryptoTenantEncryptionKeyDetailsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "keyName": obj.get("keyName"), - "algorithm": obj.get("algorithm"), - "generatedBy": obj.get("generatedBy"), - "dateGenerated": obj.get("dateGenerated"), - "expiryDate": obj.get("expiryDate") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_tenant_encryption_key_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_tenant_encryption_key_dto.py deleted file mode 100644 index ca6cf7a8b4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_crypto_tenant_encryption_key_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_crypto_tenant_encryption_key_details_dto import DesignerCryptoTenantEncryptionKeyDetailsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerCryptoTenantEncryptionKeyDTO(BaseModel): - """ - The details of an encryption key. - """ # noqa: E501 - detail: Optional[DesignerCryptoTenantEncryptionKeyDetailsDTO] = Field(default=None, description="Information about an encryption key.") - key: Optional[StrictStr] = Field(default=None, description="The encryption key value.") - __properties: ClassVar[List[str]] = ["detail", "key"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerCryptoTenantEncryptionKeyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of detail - if self.detail: - _dict['detail'] = self.detail.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerCryptoTenantEncryptionKeyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "detail": DesignerCryptoTenantEncryptionKeyDetailsDTO.from_dict(obj["detail"]) if obj.get("detail") is not None else None, - "key": obj.get("key") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_auth_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_auth_information_dto.py deleted file mode 100644 index 7bfb2ec1e9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_auth_information_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_data_provider_auth_params_dto import DesignerDataProviderAuthParamsDTO -from visier_platform_sdk.models.designer_data_provider_basic_information_dto import DesignerDataProviderBasicInformationDTO -from visier_platform_sdk.models.designer_data_provider_basic_metadata_dto import DesignerDataProviderBasicMetadataDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataProviderAuthInformationDTO(BaseModel): - """ - DesignerDataProviderAuthInformationDTO - """ # noqa: E501 - data_provider_auth_params: Optional[DesignerDataProviderAuthParamsDTO] = Field(default=None, description="The authentication information for the credential.", alias="dataProviderAuthParams") - data_provider_basic_information: Optional[DesignerDataProviderBasicInformationDTO] = Field(default=None, description="The display name and description for the credential.", alias="dataProviderBasicInformation") - data_provider_metadata: Optional[DesignerDataProviderBasicMetadataDTO] = Field(default=None, alias="dataProviderMetadata") - __properties: ClassVar[List[str]] = ["dataProviderAuthParams", "dataProviderBasicInformation", "dataProviderMetadata"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataProviderAuthInformationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of data_provider_auth_params - if self.data_provider_auth_params: - _dict['dataProviderAuthParams'] = self.data_provider_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of data_provider_basic_information - if self.data_provider_basic_information: - _dict['dataProviderBasicInformation'] = self.data_provider_basic_information.to_dict() - # override the default output from pydantic by calling `to_dict()` of data_provider_metadata - if self.data_provider_metadata: - _dict['dataProviderMetadata'] = self.data_provider_metadata.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataProviderAuthInformationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataProviderAuthParams": DesignerDataProviderAuthParamsDTO.from_dict(obj["dataProviderAuthParams"]) if obj.get("dataProviderAuthParams") is not None else None, - "dataProviderBasicInformation": DesignerDataProviderBasicInformationDTO.from_dict(obj["dataProviderBasicInformation"]) if obj.get("dataProviderBasicInformation") is not None else None, - "dataProviderMetadata": DesignerDataProviderBasicMetadataDTO.from_dict(obj["dataProviderMetadata"]) if obj.get("dataProviderMetadata") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_auth_params_dto.py deleted file mode 100644 index 7f6dd46bb3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_auth_params_dto.py +++ /dev/null @@ -1,344 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_adp_auth_params_dto import DesignerAdpAuthParamsDTO -from visier_platform_sdk.models.designer_bamboo_auth_params_dto import DesignerBambooAuthParamsDTO -from visier_platform_sdk.models.designer_basic_s3_auth_params_dto import DesignerBasicS3AuthParamsDTO -from visier_platform_sdk.models.designer_big_query_auth_params_dto import DesignerBigQueryAuthParamsDTO -from visier_platform_sdk.models.designer_copy_s3_auth_params_dto import DesignerCopyS3AuthParamsDTO -from visier_platform_sdk.models.designer_databricks_auth_params_dto import DesignerDatabricksAuthParamsDTO -from visier_platform_sdk.models.designer_dayforce_v2_auth_params_dto import DesignerDayforceV2AuthParamsDTO -from visier_platform_sdk.models.designer_dimensions_auth_params_dto import DesignerDimensionsAuthParamsDTO -from visier_platform_sdk.models.designer_fusion_auth_params_dto import DesignerFusionAuthParamsDTO -from visier_platform_sdk.models.designer_gong_auth_params_dto import DesignerGongAuthParamsDTO -from visier_platform_sdk.models.designer_google_sheets_auth_params_dto import DesignerGoogleSheetsAuthParamsDTO -from visier_platform_sdk.models.designer_google_workspace_auth_params_dto import DesignerGoogleWorkspaceAuthParamsDTO -from visier_platform_sdk.models.designer_greenhouse_auth_params_dto import DesignerGreenhouseAuthParamsDTO -from visier_platform_sdk.models.designer_icims_auth_params_dto import DesignerIcimsAuthParamsDTO -from visier_platform_sdk.models.designer_internal_s3_auth_params_dto import DesignerInternalS3AuthParamsDTO -from visier_platform_sdk.models.designer_jdbc_auth_params_dto import DesignerJdbcAuthParamsDTO -from visier_platform_sdk.models.designer_jira_auth_params_dto import DesignerJiraAuthParamsDTO -from visier_platform_sdk.models.designer_lever_auth_params_dto import DesignerLeverAuthParamsDTO -from visier_platform_sdk.models.designer_medallia_auth_params_dto import DesignerMedalliaAuthParamsDTO -from visier_platform_sdk.models.designer_microsoft365_auth_params_dto import DesignerMicrosoft365AuthParamsDTO -from visier_platform_sdk.models.designer_my_sql_auth_params_dto import DesignerMySqlAuthParamsDTO -from visier_platform_sdk.models.designer_namely_auth_params_dto import DesignerNamelyAuthParamsDTO -from visier_platform_sdk.models.designer_oracle_db_auth_params_dto import DesignerOracleDbAuthParamsDTO -from visier_platform_sdk.models.designer_qualtrics_auth_params_dto import DesignerQualtricsAuthParamsDTO -from visier_platform_sdk.models.designer_redshift_auth_params_dto import DesignerRedshiftAuthParamsDTO -from visier_platform_sdk.models.designer_salesforce_auth_params_dto import DesignerSalesforceAuthParamsDTO -from visier_platform_sdk.models.designer_salesforce_v2_auth_params_dto import DesignerSalesforceV2AuthParamsDTO -from visier_platform_sdk.models.designer_service_now_auth_params_dto import DesignerServiceNowAuthParamsDTO -from visier_platform_sdk.models.designer_service_now_v2_auth_params_dto import DesignerServiceNowV2AuthParamsDTO -from visier_platform_sdk.models.designer_slack_auth_params_dto import DesignerSlackAuthParamsDTO -from visier_platform_sdk.models.designer_snowflake_auth_params_dto import DesignerSnowflakeAuthParamsDTO -from visier_platform_sdk.models.designer_sql_server_auth_params_dto import DesignerSqlServerAuthParamsDTO -from visier_platform_sdk.models.designer_success_factors_auth_params_dto import DesignerSuccessFactorsAuthParamsDTO -from visier_platform_sdk.models.designer_ultimate_auth_params_dto import DesignerUltimateAuthParamsDTO -from visier_platform_sdk.models.designer_willow_auth_params_dto import DesignerWillowAuthParamsDTO -from visier_platform_sdk.models.designer_workday_auth_params_dto import DesignerWorkdayAuthParamsDTO -from visier_platform_sdk.models.designer_workday_raas_auth_params_dto import DesignerWorkdayRaasAuthParamsDTO -from visier_platform_sdk.models.designer_zoom_auth_params_dto import DesignerZoomAuthParamsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataProviderAuthParamsDTO(BaseModel): - """ - DesignerDataProviderAuthParamsDTO - """ # noqa: E501 - tenant_domain_name: Optional[StrictStr] = Field(default=None, alias="tenantDomainName") - provider: Optional[StrictStr] = Field(default=None, description="The data provider associated with the credential.") - bamboo_auth_params: Optional[DesignerBambooAuthParamsDTO] = Field(default=None, alias="bambooAuthParams") - greenhouse_auth_params: Optional[DesignerGreenhouseAuthParamsDTO] = Field(default=None, alias="greenhouseAuthParams") - google_sheets_auth_params: Optional[DesignerGoogleSheetsAuthParamsDTO] = Field(default=None, alias="googleSheetsAuthParams") - jira_auth_params: Optional[DesignerJiraAuthParamsDTO] = Field(default=None, alias="jiraAuthParams") - lever_auth_params: Optional[DesignerLeverAuthParamsDTO] = Field(default=None, alias="leverAuthParams") - namely_auth_params: Optional[DesignerNamelyAuthParamsDTO] = Field(default=None, alias="namelyAuthParams") - qualtrics_auth_params: Optional[DesignerQualtricsAuthParamsDTO] = Field(default=None, alias="qualtricsAuthParams") - salesforce_auth_params: Optional[DesignerSalesforceAuthParamsDTO] = Field(default=None, alias="salesforceAuthParams") - ultimate_auth_params: Optional[DesignerUltimateAuthParamsDTO] = Field(default=None, alias="ultimateAuthParams") - workday_auth_params: Optional[DesignerWorkdayAuthParamsDTO] = Field(default=None, alias="workdayAuthParams") - icims_auth_params: Optional[DesignerIcimsAuthParamsDTO] = Field(default=None, alias="icimsAuthParams") - service_now_auth_params: Optional[DesignerServiceNowAuthParamsDTO] = Field(default=None, alias="serviceNowAuthParams") - jdbc_auth_params: Optional[DesignerJdbcAuthParamsDTO] = Field(default=None, alias="jdbcAuthParams") - s3_auth_params: Optional[DesignerBasicS3AuthParamsDTO] = Field(default=None, alias="s3AuthParams") - internal_s3_auth_params: Optional[DesignerInternalS3AuthParamsDTO] = Field(default=None, alias="internalS3AuthParams") - copy_s3_auth_params: Optional[DesignerCopyS3AuthParamsDTO] = Field(default=None, alias="copyS3AuthParams") - redshift_auth_params: Optional[DesignerRedshiftAuthParamsDTO] = Field(default=None, alias="redshiftAuthParams") - snowflake_auth_params: Optional[DesignerSnowflakeAuthParamsDTO] = Field(default=None, alias="snowflakeAuthParams") - big_query_auth_params: Optional[DesignerBigQueryAuthParamsDTO] = Field(default=None, alias="bigQueryAuthParams") - sql_server_auth_params: Optional[DesignerSqlServerAuthParamsDTO] = Field(default=None, alias="sqlServerAuthParams") - dimensions_auth_params: Optional[DesignerDimensionsAuthParamsDTO] = Field(default=None, alias="dimensionsAuthParams") - willow_auth_params: Optional[DesignerWillowAuthParamsDTO] = Field(default=None, alias="willowAuthParams") - empty_auth_params: Optional[Dict[str, Any]] = Field(default=None, alias="emptyAuthParams") - success_factors_auth_params: Optional[DesignerSuccessFactorsAuthParamsDTO] = Field(default=None, alias="successFactorsAuthParams") - fusion_auth_params: Optional[DesignerFusionAuthParamsDTO] = Field(default=None, alias="fusionAuthParams") - adp_auth_params: Optional[DesignerAdpAuthParamsDTO] = Field(default=None, alias="adpAuthParams") - medallia_auth_params: Optional[DesignerMedalliaAuthParamsDTO] = Field(default=None, alias="medalliaAuthParams") - salesforce_v2_auth_params: Optional[DesignerSalesforceV2AuthParamsDTO] = Field(default=None, alias="salesforceV2AuthParams") - gong_auth_params: Optional[DesignerGongAuthParamsDTO] = Field(default=None, alias="gongAuthParams") - zoom_auth_params: Optional[DesignerZoomAuthParamsDTO] = Field(default=None, alias="zoomAuthParams") - dayforce_v2_auth_params: Optional[DesignerDayforceV2AuthParamsDTO] = Field(default=None, alias="dayforceV2AuthParams") - slack_auth_params: Optional[DesignerSlackAuthParamsDTO] = Field(default=None, alias="slackAuthParams") - my_sql_auth_params: Optional[DesignerMySqlAuthParamsDTO] = Field(default=None, alias="mySqlAuthParams") - workday_raas_auth_params: Optional[DesignerWorkdayRaasAuthParamsDTO] = Field(default=None, alias="workdayRaasAuthParams") - ms365_auth_params: Optional[DesignerMicrosoft365AuthParamsDTO] = Field(default=None, alias="ms365AuthParams") - google_workspace_auth_params: Optional[DesignerGoogleWorkspaceAuthParamsDTO] = Field(default=None, alias="googleWorkspaceAuthParams") - oracle_db_auth_params: Optional[DesignerOracleDbAuthParamsDTO] = Field(default=None, alias="oracleDbAuthParams") - service_now_v2_auth_params: Optional[DesignerServiceNowV2AuthParamsDTO] = Field(default=None, alias="serviceNowV2AuthParams") - databricks_auth_params: Optional[DesignerDatabricksAuthParamsDTO] = Field(default=None, alias="databricksAuthParams") - has_updates: Optional[StrictBool] = Field(default=None, alias="hasUpdates") - auth_context: Optional[StrictStr] = Field(default=None, alias="authContext") - __properties: ClassVar[List[str]] = ["tenantDomainName", "provider", "bambooAuthParams", "greenhouseAuthParams", "googleSheetsAuthParams", "jiraAuthParams", "leverAuthParams", "namelyAuthParams", "qualtricsAuthParams", "salesforceAuthParams", "ultimateAuthParams", "workdayAuthParams", "icimsAuthParams", "serviceNowAuthParams", "jdbcAuthParams", "s3AuthParams", "internalS3AuthParams", "copyS3AuthParams", "redshiftAuthParams", "snowflakeAuthParams", "bigQueryAuthParams", "sqlServerAuthParams", "dimensionsAuthParams", "willowAuthParams", "emptyAuthParams", "successFactorsAuthParams", "fusionAuthParams", "adpAuthParams", "medalliaAuthParams", "salesforceV2AuthParams", "gongAuthParams", "zoomAuthParams", "dayforceV2AuthParams", "slackAuthParams", "mySqlAuthParams", "workdayRaasAuthParams", "ms365AuthParams", "googleWorkspaceAuthParams", "oracleDbAuthParams", "serviceNowV2AuthParams", "databricksAuthParams", "hasUpdates", "authContext"] - - @field_validator('provider') - def provider_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Bamboo', 'GoogleSheets', 'Greenhouse', 'Jira', 'Lever', 'Namely', 'Qualtrics', 'Salesforce', 'UKG', 'Workday', 'Icims', 'ServiceNow', 'Jdbc', 'BasicS3', 'InternalS3', 'CopyS3', 'Redshift', 'Snowflake', 'BigQuery', 'SqlServer', 'Dimensions', 'IcimsPartnerProviderRedshift', 'Willow', 'SuccessFactors', 'IcimsV2', 'ADP', 'WorkdayV2', 'ServiceNowV2', 'Medallia', 'Fusion', 'SalesforceV2', 'Gong', 'Zoom', 'GoogleCalendar', 'UKGV2', 'DayforceV2', 'GoogleActivityReport', 'Slack', 'MySql', 'WorkdayRaas', 'Microsoft365', 'GoogleWorkspace', 'OracleDb', 'SmartRecruiters', 'WorkdayWQL', 'OEMCornerstone', 'Databricks', 'JiraV2']): - raise ValueError("must be one of enum values ('Bamboo', 'GoogleSheets', 'Greenhouse', 'Jira', 'Lever', 'Namely', 'Qualtrics', 'Salesforce', 'UKG', 'Workday', 'Icims', 'ServiceNow', 'Jdbc', 'BasicS3', 'InternalS3', 'CopyS3', 'Redshift', 'Snowflake', 'BigQuery', 'SqlServer', 'Dimensions', 'IcimsPartnerProviderRedshift', 'Willow', 'SuccessFactors', 'IcimsV2', 'ADP', 'WorkdayV2', 'ServiceNowV2', 'Medallia', 'Fusion', 'SalesforceV2', 'Gong', 'Zoom', 'GoogleCalendar', 'UKGV2', 'DayforceV2', 'GoogleActivityReport', 'Slack', 'MySql', 'WorkdayRaas', 'Microsoft365', 'GoogleWorkspace', 'OracleDb', 'SmartRecruiters', 'WorkdayWQL', 'OEMCornerstone', 'Databricks', 'JiraV2')") - return value - - @field_validator('auth_context') - def auth_context_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['DefaultDataExtraction', 'WorkplaceDynamicsDataExtraction', 'Notification']): - raise ValueError("must be one of enum values ('DefaultDataExtraction', 'WorkplaceDynamicsDataExtraction', 'Notification')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataProviderAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of bamboo_auth_params - if self.bamboo_auth_params: - _dict['bambooAuthParams'] = self.bamboo_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of greenhouse_auth_params - if self.greenhouse_auth_params: - _dict['greenhouseAuthParams'] = self.greenhouse_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of google_sheets_auth_params - if self.google_sheets_auth_params: - _dict['googleSheetsAuthParams'] = self.google_sheets_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of jira_auth_params - if self.jira_auth_params: - _dict['jiraAuthParams'] = self.jira_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of lever_auth_params - if self.lever_auth_params: - _dict['leverAuthParams'] = self.lever_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of namely_auth_params - if self.namely_auth_params: - _dict['namelyAuthParams'] = self.namely_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of qualtrics_auth_params - if self.qualtrics_auth_params: - _dict['qualtricsAuthParams'] = self.qualtrics_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of salesforce_auth_params - if self.salesforce_auth_params: - _dict['salesforceAuthParams'] = self.salesforce_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of ultimate_auth_params - if self.ultimate_auth_params: - _dict['ultimateAuthParams'] = self.ultimate_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of workday_auth_params - if self.workday_auth_params: - _dict['workdayAuthParams'] = self.workday_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of icims_auth_params - if self.icims_auth_params: - _dict['icimsAuthParams'] = self.icims_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of service_now_auth_params - if self.service_now_auth_params: - _dict['serviceNowAuthParams'] = self.service_now_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of jdbc_auth_params - if self.jdbc_auth_params: - _dict['jdbcAuthParams'] = self.jdbc_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of s3_auth_params - if self.s3_auth_params: - _dict['s3AuthParams'] = self.s3_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of internal_s3_auth_params - if self.internal_s3_auth_params: - _dict['internalS3AuthParams'] = self.internal_s3_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of copy_s3_auth_params - if self.copy_s3_auth_params: - _dict['copyS3AuthParams'] = self.copy_s3_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of redshift_auth_params - if self.redshift_auth_params: - _dict['redshiftAuthParams'] = self.redshift_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of snowflake_auth_params - if self.snowflake_auth_params: - _dict['snowflakeAuthParams'] = self.snowflake_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of big_query_auth_params - if self.big_query_auth_params: - _dict['bigQueryAuthParams'] = self.big_query_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of sql_server_auth_params - if self.sql_server_auth_params: - _dict['sqlServerAuthParams'] = self.sql_server_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of dimensions_auth_params - if self.dimensions_auth_params: - _dict['dimensionsAuthParams'] = self.dimensions_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of willow_auth_params - if self.willow_auth_params: - _dict['willowAuthParams'] = self.willow_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of success_factors_auth_params - if self.success_factors_auth_params: - _dict['successFactorsAuthParams'] = self.success_factors_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of fusion_auth_params - if self.fusion_auth_params: - _dict['fusionAuthParams'] = self.fusion_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of adp_auth_params - if self.adp_auth_params: - _dict['adpAuthParams'] = self.adp_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of medallia_auth_params - if self.medallia_auth_params: - _dict['medalliaAuthParams'] = self.medallia_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of salesforce_v2_auth_params - if self.salesforce_v2_auth_params: - _dict['salesforceV2AuthParams'] = self.salesforce_v2_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of gong_auth_params - if self.gong_auth_params: - _dict['gongAuthParams'] = self.gong_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of zoom_auth_params - if self.zoom_auth_params: - _dict['zoomAuthParams'] = self.zoom_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of dayforce_v2_auth_params - if self.dayforce_v2_auth_params: - _dict['dayforceV2AuthParams'] = self.dayforce_v2_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of slack_auth_params - if self.slack_auth_params: - _dict['slackAuthParams'] = self.slack_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of my_sql_auth_params - if self.my_sql_auth_params: - _dict['mySqlAuthParams'] = self.my_sql_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of workday_raas_auth_params - if self.workday_raas_auth_params: - _dict['workdayRaasAuthParams'] = self.workday_raas_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of ms365_auth_params - if self.ms365_auth_params: - _dict['ms365AuthParams'] = self.ms365_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of google_workspace_auth_params - if self.google_workspace_auth_params: - _dict['googleWorkspaceAuthParams'] = self.google_workspace_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of oracle_db_auth_params - if self.oracle_db_auth_params: - _dict['oracleDbAuthParams'] = self.oracle_db_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of service_now_v2_auth_params - if self.service_now_v2_auth_params: - _dict['serviceNowV2AuthParams'] = self.service_now_v2_auth_params.to_dict() - # override the default output from pydantic by calling `to_dict()` of databricks_auth_params - if self.databricks_auth_params: - _dict['databricksAuthParams'] = self.databricks_auth_params.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataProviderAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantDomainName": obj.get("tenantDomainName"), - "provider": obj.get("provider"), - "bambooAuthParams": DesignerBambooAuthParamsDTO.from_dict(obj["bambooAuthParams"]) if obj.get("bambooAuthParams") is not None else None, - "greenhouseAuthParams": DesignerGreenhouseAuthParamsDTO.from_dict(obj["greenhouseAuthParams"]) if obj.get("greenhouseAuthParams") is not None else None, - "googleSheetsAuthParams": DesignerGoogleSheetsAuthParamsDTO.from_dict(obj["googleSheetsAuthParams"]) if obj.get("googleSheetsAuthParams") is not None else None, - "jiraAuthParams": DesignerJiraAuthParamsDTO.from_dict(obj["jiraAuthParams"]) if obj.get("jiraAuthParams") is not None else None, - "leverAuthParams": DesignerLeverAuthParamsDTO.from_dict(obj["leverAuthParams"]) if obj.get("leverAuthParams") is not None else None, - "namelyAuthParams": DesignerNamelyAuthParamsDTO.from_dict(obj["namelyAuthParams"]) if obj.get("namelyAuthParams") is not None else None, - "qualtricsAuthParams": DesignerQualtricsAuthParamsDTO.from_dict(obj["qualtricsAuthParams"]) if obj.get("qualtricsAuthParams") is not None else None, - "salesforceAuthParams": DesignerSalesforceAuthParamsDTO.from_dict(obj["salesforceAuthParams"]) if obj.get("salesforceAuthParams") is not None else None, - "ultimateAuthParams": DesignerUltimateAuthParamsDTO.from_dict(obj["ultimateAuthParams"]) if obj.get("ultimateAuthParams") is not None else None, - "workdayAuthParams": DesignerWorkdayAuthParamsDTO.from_dict(obj["workdayAuthParams"]) if obj.get("workdayAuthParams") is not None else None, - "icimsAuthParams": DesignerIcimsAuthParamsDTO.from_dict(obj["icimsAuthParams"]) if obj.get("icimsAuthParams") is not None else None, - "serviceNowAuthParams": DesignerServiceNowAuthParamsDTO.from_dict(obj["serviceNowAuthParams"]) if obj.get("serviceNowAuthParams") is not None else None, - "jdbcAuthParams": DesignerJdbcAuthParamsDTO.from_dict(obj["jdbcAuthParams"]) if obj.get("jdbcAuthParams") is not None else None, - "s3AuthParams": DesignerBasicS3AuthParamsDTO.from_dict(obj["s3AuthParams"]) if obj.get("s3AuthParams") is not None else None, - "internalS3AuthParams": DesignerInternalS3AuthParamsDTO.from_dict(obj["internalS3AuthParams"]) if obj.get("internalS3AuthParams") is not None else None, - "copyS3AuthParams": DesignerCopyS3AuthParamsDTO.from_dict(obj["copyS3AuthParams"]) if obj.get("copyS3AuthParams") is not None else None, - "redshiftAuthParams": DesignerRedshiftAuthParamsDTO.from_dict(obj["redshiftAuthParams"]) if obj.get("redshiftAuthParams") is not None else None, - "snowflakeAuthParams": DesignerSnowflakeAuthParamsDTO.from_dict(obj["snowflakeAuthParams"]) if obj.get("snowflakeAuthParams") is not None else None, - "bigQueryAuthParams": DesignerBigQueryAuthParamsDTO.from_dict(obj["bigQueryAuthParams"]) if obj.get("bigQueryAuthParams") is not None else None, - "sqlServerAuthParams": DesignerSqlServerAuthParamsDTO.from_dict(obj["sqlServerAuthParams"]) if obj.get("sqlServerAuthParams") is not None else None, - "dimensionsAuthParams": DesignerDimensionsAuthParamsDTO.from_dict(obj["dimensionsAuthParams"]) if obj.get("dimensionsAuthParams") is not None else None, - "willowAuthParams": DesignerWillowAuthParamsDTO.from_dict(obj["willowAuthParams"]) if obj.get("willowAuthParams") is not None else None, - "emptyAuthParams": obj.get("emptyAuthParams"), - "successFactorsAuthParams": DesignerSuccessFactorsAuthParamsDTO.from_dict(obj["successFactorsAuthParams"]) if obj.get("successFactorsAuthParams") is not None else None, - "fusionAuthParams": DesignerFusionAuthParamsDTO.from_dict(obj["fusionAuthParams"]) if obj.get("fusionAuthParams") is not None else None, - "adpAuthParams": DesignerAdpAuthParamsDTO.from_dict(obj["adpAuthParams"]) if obj.get("adpAuthParams") is not None else None, - "medalliaAuthParams": DesignerMedalliaAuthParamsDTO.from_dict(obj["medalliaAuthParams"]) if obj.get("medalliaAuthParams") is not None else None, - "salesforceV2AuthParams": DesignerSalesforceV2AuthParamsDTO.from_dict(obj["salesforceV2AuthParams"]) if obj.get("salesforceV2AuthParams") is not None else None, - "gongAuthParams": DesignerGongAuthParamsDTO.from_dict(obj["gongAuthParams"]) if obj.get("gongAuthParams") is not None else None, - "zoomAuthParams": DesignerZoomAuthParamsDTO.from_dict(obj["zoomAuthParams"]) if obj.get("zoomAuthParams") is not None else None, - "dayforceV2AuthParams": DesignerDayforceV2AuthParamsDTO.from_dict(obj["dayforceV2AuthParams"]) if obj.get("dayforceV2AuthParams") is not None else None, - "slackAuthParams": DesignerSlackAuthParamsDTO.from_dict(obj["slackAuthParams"]) if obj.get("slackAuthParams") is not None else None, - "mySqlAuthParams": DesignerMySqlAuthParamsDTO.from_dict(obj["mySqlAuthParams"]) if obj.get("mySqlAuthParams") is not None else None, - "workdayRaasAuthParams": DesignerWorkdayRaasAuthParamsDTO.from_dict(obj["workdayRaasAuthParams"]) if obj.get("workdayRaasAuthParams") is not None else None, - "ms365AuthParams": DesignerMicrosoft365AuthParamsDTO.from_dict(obj["ms365AuthParams"]) if obj.get("ms365AuthParams") is not None else None, - "googleWorkspaceAuthParams": DesignerGoogleWorkspaceAuthParamsDTO.from_dict(obj["googleWorkspaceAuthParams"]) if obj.get("googleWorkspaceAuthParams") is not None else None, - "oracleDbAuthParams": DesignerOracleDbAuthParamsDTO.from_dict(obj["oracleDbAuthParams"]) if obj.get("oracleDbAuthParams") is not None else None, - "serviceNowV2AuthParams": DesignerServiceNowV2AuthParamsDTO.from_dict(obj["serviceNowV2AuthParams"]) if obj.get("serviceNowV2AuthParams") is not None else None, - "databricksAuthParams": DesignerDatabricksAuthParamsDTO.from_dict(obj["databricksAuthParams"]) if obj.get("databricksAuthParams") is not None else None, - "hasUpdates": obj.get("hasUpdates"), - "authContext": obj.get("authContext") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_basic_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_basic_information_dto.py deleted file mode 100644 index 8cc7e11229..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_basic_information_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataProviderBasicInformationDTO(BaseModel): - """ - DesignerDataProviderBasicInformationDTO - """ # noqa: E501 - display_name: Optional[StrictStr] = Field(default=None, alias="displayName") - description: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["displayName", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataProviderBasicInformationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataProviderBasicInformationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "displayName": obj.get("displayName"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_basic_metadata_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_basic_metadata_dto.py deleted file mode 100644 index b6e2f9b616..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_provider_basic_metadata_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataProviderBasicMetadataDTO(BaseModel): - """ - DesignerDataProviderBasicMetadataDTO - """ # noqa: E501 - can_children_inherit: Optional[StrictBool] = Field(default=None, alias="canChildrenInherit") - __properties: ClassVar[List[str]] = ["canChildrenInherit"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataProviderBasicMetadataDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataProviderBasicMetadataDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "canChildrenInherit": obj.get("canChildrenInherit") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_column_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_column_dto.py deleted file mode 100644 index e14be1de95..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_column_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportColumnDTO(BaseModel): - """ - DesignerDataVersionExportColumnDTO - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The column's name.") - data_type: Optional[StrictStr] = Field(default=None, description="The column's data type. Possible data types are string, integer, number, date, Boolean.", alias="dataType") - allows_null: Optional[StrictBool] = Field(default=None, description="If `true`, the column allows null values.", alias="allowsNull") - is_primary_key_component: Optional[StrictBool] = Field(default=None, description="If `true`, the column is part of the primary key.", alias="isPrimaryKeyComponent") - __properties: ClassVar[List[str]] = ["name", "dataType", "allowsNull", "isPrimaryKeyComponent"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportColumnDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportColumnDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "dataType": obj.get("dataType"), - "allowsNull": obj.get("allowsNull"), - "isPrimaryKeyComponent": obj.get("isPrimaryKeyComponent") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_data_version_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_data_version_summary_dto.py deleted file mode 100644 index 6839a54c5f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_data_version_summary_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportDataVersionSummaryDTO(BaseModel): - """ - DesignerDataVersionExportDataVersionSummaryDTO - """ # noqa: E501 - data_version: Optional[StrictStr] = Field(default=None, description="The data version number.", alias="dataVersion") - data_category: Optional[StrictStr] = Field(default=None, description="The data category that the data version belongs to. If empty, the data version belongs to the default data category.", alias="dataCategory") - created: Optional[StrictStr] = Field(default=None, description="The date that the data version was generated, in milliseconds since 1970-01-01T00:00:00Z.") - __properties: ClassVar[List[str]] = ["dataVersion", "dataCategory", "created"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportDataVersionSummaryDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportDataVersionSummaryDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataVersion": obj.get("dataVersion"), - "dataCategory": obj.get("dataCategory"), - "created": obj.get("created") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_data_versions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_data_versions_dto.py deleted file mode 100644 index 2e7306f63b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_data_versions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_data_version_export_data_version_summary_dto import DesignerDataVersionExportDataVersionSummaryDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportDataVersionsDTO(BaseModel): - """ - DesignerDataVersionExportDataVersionsDTO - """ # noqa: E501 - data_versions: Optional[List[DesignerDataVersionExportDataVersionSummaryDTO]] = Field(default=None, description="All the available data versions for the tenant's primary data category.", alias="dataVersions") - __properties: ClassVar[List[str]] = ["dataVersions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportDataVersionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_versions (list) - _items = [] - if self.data_versions: - for _item_data_versions in self.data_versions: - if _item_data_versions: - _items.append(_item_data_versions.to_dict()) - _dict['dataVersions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportDataVersionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataVersions": [DesignerDataVersionExportDataVersionSummaryDTO.from_dict(_item) for _item in obj["dataVersions"]] if obj.get("dataVersions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_dto.py deleted file mode 100644 index 7d4e86f48a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_dto.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_data_version_export_table_dto import DesignerDataVersionExportTableDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportDTO(BaseModel): - """ - DesignerDataVersionExportDTO - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data version export. Must be a valid UUID.") - timestamp: Optional[StrictStr] = Field(default=None, description="The date that the data version export was generated, in milliseconds since 1970-01-01T00:00:00Z.") - data_version_number: Optional[StrictStr] = Field(default=None, description="The data version number for which the export was generated.", alias="dataVersionNumber") - base_data_version_number: Optional[StrictStr] = Field(default=None, description="The baseline data version number for which the export was generated. If specified, the export is a delta of the differences between `dateVersionNumber` and `baseDataVersionNumber`. If empty, a full export is generated for `dataVersionNumber`.", alias="baseDataVersionNumber") - tables: Optional[List[DesignerDataVersionExportTableDTO]] = Field(default=None, description="Information about the tables in the export.") - new_tables: Optional[List[StrictStr]] = Field(default=None, description="Tables that exist in `dataVersionNumber` but did not exist in `baseDataVersionNumber`.", alias="newTables") - deleted_tables: Optional[List[StrictStr]] = Field(default=None, description="Tables that do not exist in `dataVersionNumber` but did exist in `baseDataVersionNumber`.", alias="deletedTables") - __properties: ClassVar[List[str]] = ["uuid", "timestamp", "dataVersionNumber", "baseDataVersionNumber", "tables", "newTables", "deletedTables"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tables (list) - _items = [] - if self.tables: - for _item_tables in self.tables: - if _item_tables: - _items.append(_item_tables.to_dict()) - _dict['tables'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "timestamp": obj.get("timestamp"), - "dataVersionNumber": obj.get("dataVersionNumber"), - "baseDataVersionNumber": obj.get("baseDataVersionNumber"), - "tables": [DesignerDataVersionExportTableDTO.from_dict(_item) for _item in obj["tables"]] if obj.get("tables") is not None else None, - "newTables": obj.get("newTables"), - "deletedTables": obj.get("deletedTables") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_file_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_file_dto.py deleted file mode 100644 index 8cdd37ba65..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_file_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_data_version_export_column_dto import DesignerDataVersionExportColumnDTO -from visier_platform_sdk.models.designer_data_version_export_part_file_dto import DesignerDataVersionExportPartFileDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportFileDTO(BaseModel): - """ - DesignerDataVersionExportFileDTO - """ # noqa: E501 - columns: Optional[List[DesignerDataVersionExportColumnDTO]] = Field(default=None, description="Information about a table's columns.") - files: Optional[List[DesignerDataVersionExportPartFileDTO]] = Field(default=None, description="Information about a table's files in the export.") - __properties: ClassVar[List[str]] = ["columns", "files"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportFileDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in columns (list) - _items = [] - if self.columns: - for _item_columns in self.columns: - if _item_columns: - _items.append(_item_columns.to_dict()) - _dict['columns'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in files (list) - _items = [] - if self.files: - for _item_files in self.files: - if _item_files: - _items.append(_item_files.to_dict()) - _dict['files'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportFileDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "columns": [DesignerDataVersionExportColumnDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None, - "files": [DesignerDataVersionExportPartFileDTO.from_dict(_item) for _item in obj["files"]] if obj.get("files") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_job_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_job_status_dto.py deleted file mode 100644 index 84fa47b8d1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_job_status_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportJobStatusDTO(BaseModel): - """ - DesignerDataVersionExportJobStatusDTO - """ # noqa: E501 - job_uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data version export job.", alias="jobUuid") - completed: Optional[StrictBool] = Field(default=None, description="If `true`, the job completed successfully.") - failed: Optional[StrictBool] = Field(default=None, description="If `true`, the job failed.") - export_uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data version export generated by the job. If empty, the job hasn't completed successfully.", alias="exportUuid") - __properties: ClassVar[List[str]] = ["jobUuid", "completed", "failed", "exportUuid"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportJobStatusDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportJobStatusDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobUuid": obj.get("jobUuid"), - "completed": obj.get("completed"), - "failed": obj.get("failed"), - "exportUuid": obj.get("exportUuid") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_part_file_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_part_file_dto.py deleted file mode 100644 index 527ab653f8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_part_file_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportPartFileDTO(BaseModel): - """ - DesignerDataVersionExportPartFileDTO - """ # noqa: E501 - file_id: Optional[StrictInt] = Field(default=None, description="The unique integer identifier of the file in the data version export.", alias="fileId") - filename: Optional[StrictStr] = Field(default=None, description="The file's name.") - __properties: ClassVar[List[str]] = ["fileId", "filename"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportPartFileDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportPartFileDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "fileId": obj.get("fileId"), - "filename": obj.get("filename") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_schedule_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_schedule_job_request_dto.py deleted file mode 100644 index 33609c3bae..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_schedule_job_request_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportScheduleJobRequestDTO(BaseModel): - """ - DesignerDataVersionExportScheduleJobRequestDTO - """ # noqa: E501 - data_version_number: Optional[StrictStr] = Field(default=None, description="The data version number to generate an export for.", alias="dataVersionNumber") - base_data_version_number: Optional[StrictStr] = Field(default=None, description="Optional. The baseline data version number to use to generate a delta export. Delta exports contain the differences between `baseDataVersionNumber` and `dataVersionNumber`, such as anything updated, added, or removed in `dataVersionNumber`. If `baseDataVersionNumber` is not provided, a full export generates for `dataVersionNumber`.", alias="baseDataVersionNumber") - __properties: ClassVar[List[str]] = ["dataVersionNumber", "baseDataVersionNumber"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportScheduleJobRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportScheduleJobRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataVersionNumber": obj.get("dataVersionNumber"), - "baseDataVersionNumber": obj.get("baseDataVersionNumber") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_schedule_job_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_schedule_job_response_dto.py deleted file mode 100644 index beac87e806..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_schedule_job_response_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportScheduleJobResponseDTO(BaseModel): - """ - DesignerDataVersionExportScheduleJobResponseDTO - """ # noqa: E501 - job_uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier of the scheduled data version export job.", alias="jobUuid") - __properties: ClassVar[List[str]] = ["jobUuid"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportScheduleJobResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportScheduleJobResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobUuid": obj.get("jobUuid") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_table_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_table_dto.py deleted file mode 100644 index 5ae7796574..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_export_table_dto.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_data_version_export_file_dto import DesignerDataVersionExportFileDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportTableDTO(BaseModel): - """ - DesignerDataVersionExportTableDTO - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The name of a table in the data version export; for example, Employee or Applicant.") - common_columns: Optional[DesignerDataVersionExportFileDTO] = Field(default=None, description="Information about the columns and files that are in both `dataVersionNumber` and `baseDataVersionNumber`. Always empty for full exports where `baseDataVersionNumber` is not specified.", alias="commonColumns") - new_columns: Optional[DesignerDataVersionExportFileDTO] = Field(default=None, description="Information about new columns and files in the data version. If full export, lists all columns. If delta export, lists columns that exist in `dataVersionNumber` but not in `baseDataVersionNumber`.", alias="newColumns") - deleted_columns: Optional[List[StrictStr]] = Field(default=None, description="Information about columns that do not exist in `dataVersionNumber` but did exist in `baseDataVersionNumber`.", alias="deletedColumns") - __properties: ClassVar[List[str]] = ["name", "commonColumns", "newColumns", "deletedColumns"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportTableDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of common_columns - if self.common_columns: - _dict['commonColumns'] = self.common_columns.to_dict() - # override the default output from pydantic by calling `to_dict()` of new_columns - if self.new_columns: - _dict['newColumns'] = self.new_columns.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportTableDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "commonColumns": DesignerDataVersionExportFileDTO.from_dict(obj["commonColumns"]) if obj.get("commonColumns") is not None else None, - "newColumns": DesignerDataVersionExportFileDTO.from_dict(obj["newColumns"]) if obj.get("newColumns") is not None else None, - "deletedColumns": obj.get("deletedColumns") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_exports_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_exports_dto.py deleted file mode 100644 index 3ecbe25a99..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_data_version_exports_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_data_version_export_dto import DesignerDataVersionExportDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDataVersionExportsDTO(BaseModel): - """ - DesignerDataVersionExportsDTO - """ # noqa: E501 - data_version_exports: Optional[List[DesignerDataVersionExportDTO]] = Field(default=None, description="Information about data version exports.", alias="dataVersionExports") - __properties: ClassVar[List[str]] = ["dataVersionExports"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_version_exports (list) - _items = [] - if self.data_version_exports: - for _item_data_version_exports in self.data_version_exports: - if _item_data_version_exports: - _items.append(_item_data_version_exports.to_dict()) - _dict['dataVersionExports'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDataVersionExportsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataVersionExports": [DesignerDataVersionExportDTO.from_dict(_item) for _item in obj["dataVersionExports"]] if obj.get("dataVersionExports") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_databricks_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_databricks_auth_params_dto.py deleted file mode 100644 index e5059cb09d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_databricks_auth_params_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDatabricksAuthParamsDTO(BaseModel): - """ - DesignerDatabricksAuthParamsDTO - """ # noqa: E501 - share_credentials_version: Optional[StrictStr] = Field(default=None, alias="shareCredentialsVersion") - bearer_token: Optional[StrictStr] = Field(default=None, alias="bearerToken") - endpoint: Optional[StrictStr] = None - expiration_time: Optional[StrictStr] = Field(default=None, alias="expirationTime") - __properties: ClassVar[List[str]] = ["shareCredentialsVersion", "bearerToken", "endpoint", "expirationTime"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDatabricksAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDatabricksAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "shareCredentialsVersion": obj.get("shareCredentialsVersion"), - "bearerToken": obj.get("bearerToken"), - "endpoint": obj.get("endpoint"), - "expirationTime": obj.get("expirationTime") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_dayforce_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_dayforce_v2_auth_params_dto.py deleted file mode 100644 index f2dc295aef..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_dayforce_v2_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDayforceV2AuthParamsDTO(BaseModel): - """ - DesignerDayforceV2AuthParamsDTO - """ # noqa: E501 - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - company_id: Optional[StrictStr] = Field(default=None, alias="companyId") - token_host: Optional[StrictStr] = Field(default=None, alias="tokenHost") - host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") - __properties: ClassVar[List[str]] = ["username", "password", "companyId", "tokenHost", "hostDomainName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDayforceV2AuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDayforceV2AuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "username": obj.get("username"), - "password": obj.get("password"), - "companyId": obj.get("companyId"), - "tokenHost": obj.get("tokenHost"), - "hostDomainName": obj.get("hostDomainName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimension_filter_dto.py new file mode 100644 index 0000000000..8b2bd5e71d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimension_filter_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_member_dto import DimensionMemberDTO +from typing import Optional, Set +from typing_extensions import Self + +class DesignerDimensionFilterDTO(BaseModel): + """ + DesignerDimensionFilterDTO + """ # noqa: E501 + dimension_id: Optional[StrictStr] = Field(default=None, description="The UUID of the dimension.", alias="dimensionId") + symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the dimension.", alias="symbolName") + dimension_members: Optional[List[DimensionMemberDTO]] = Field(default=None, description="A list of dimension members to map to the perspective node. Note: If this array is empty, all dimension members will be removed for the node.", alias="dimensionMembers") + __properties: ClassVar[List[str]] = ["dimensionId", "symbolName", "dimensionMembers"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DesignerDimensionFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dimension_members (list) + _items = [] + if self.dimension_members: + for _item_dimension_members in self.dimension_members: + if _item_dimension_members: + _items.append(_item_dimension_members.to_dict()) + _dict['dimensionMembers'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DesignerDimensionFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionId": obj.get("dimensionId"), + "symbolName": obj.get("symbolName"), + "dimensionMembers": [DimensionMemberDTO.from_dict(_item) for _item in obj["dimensionMembers"]] if obj.get("dimensionMembers") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimensions_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimensions_auth_params_dto.py deleted file mode 100644 index 1168ed3d3b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimensions_auth_params_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDimensionsAuthParamsDTO(BaseModel): - """ - DesignerDimensionsAuthParamsDTO - """ # noqa: E501 - app_key: Optional[StrictStr] = Field(default=None, alias="appKey") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - vanity_url: Optional[StrictStr] = Field(default=None, alias="vanityUrl") - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["appKey", "clientId", "clientSecret", "vanityUrl", "username", "password"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDimensionsAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDimensionsAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "appKey": obj.get("appKey"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret"), - "vanityUrl": obj.get("vanityUrl"), - "username": obj.get("username"), - "password": obj.get("password") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_download_source_files_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_download_source_files_dto.py deleted file mode 100644 index 500912bdcd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_download_source_files_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDownloadSourceFilesDTO(BaseModel): - """ - DesignerDownloadSourceFilesDTO - """ # noqa: E501 - download_all: Optional[StrictBool] = Field(default=None, description="If `true`, downloads all uploaded files for all sources. Default is `false`.", alias="downloadAll") - sources: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the object name of each source to download.") - source_ids: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the unique identifier of each source to download.", alias="sourceIds") - min_timestamp: Optional[StrictStr] = Field(default=None, description="The earliest upload time to download files from in ISO 8601 format, such as `\"2001-10-25T13:45:35.999\"`. If omitted, downloads files from the earliest available time.", alias="minTimestamp") - max_timestamp: Optional[StrictStr] = Field(default=None, description="The latest upload time to download files up to in ISO 8601 format, such as `\"2001-10-25T13:45:35.999\"`. If omitted, downloads files up to the latest available time.", alias="maxTimestamp") - min_snapshot_timestamp: Optional[StrictStr] = Field(default=None, description="The earliest snapshot time to download files from in ISO 8601 format, such as `\"2001-10-25T13:45:35.999\"`. If omitted, downloads files from the earliest available time.", alias="minSnapshotTimestamp") - max_snapshot_timestamp: Optional[StrictStr] = Field(default=None, description="The latest snapshot time to download files up to in ISO 8601 format, such as `\"2001-10-25T13:45:35.999\"`. If omitted, downloads files up to the latest available time.", alias="maxSnapshotTimestamp") - include_non_active_files: Optional[StrictBool] = Field(default=None, description="If `true`, includes excluded files in download. Default is `false`.", alias="includeNonActiveFiles") - __properties: ClassVar[List[str]] = ["downloadAll", "sources", "sourceIds", "minTimestamp", "maxTimestamp", "minSnapshotTimestamp", "maxSnapshotTimestamp", "includeNonActiveFiles"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDownloadSourceFilesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDownloadSourceFilesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "downloadAll": obj.get("downloadAll"), - "sources": obj.get("sources"), - "sourceIds": obj.get("sourceIds"), - "minTimestamp": obj.get("minTimestamp"), - "maxTimestamp": obj.get("maxTimestamp"), - "minSnapshotTimestamp": obj.get("minSnapshotTimestamp"), - "maxSnapshotTimestamp": obj.get("maxSnapshotTimestamp"), - "includeNonActiveFiles": obj.get("includeNonActiveFiles") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_download_source_files_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_download_source_files_response_dto.py deleted file mode 100644 index dcf5631a97..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_download_source_files_response_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerDownloadSourceFilesResponseDTO(BaseModel): - """ - DesignerDownloadSourceFilesResponseDTO - """ # noqa: E501 - status: Optional[StrictStr] = Field(default=None, description="The download request status, such as `Error`.") - messages: Optional[StrictStr] = Field(default=None, description="A description of the request status.") - __properties: ClassVar[List[str]] = ["status", "messages"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerDownloadSourceFilesResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerDownloadSourceFilesResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "status": obj.get("status"), - "messages": obj.get("messages") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_extractor_credential_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_extractor_credential_apidto.py deleted file mode 100644 index 80e4e12a92..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_extractor_credential_apidto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerExtractorCredentialAPIDTO(BaseModel): - """ - DesignerExtractorCredentialAPIDTO - """ # noqa: E501 - credential_id: Optional[StrictStr] = Field(default=None, description="The ID associated with the connector credential.", alias="credentialId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable connector credential name that is displayed within Visier.", alias="displayName") - data_provider: Optional[StrictStr] = Field(default=None, description="The data provider associated with the credential.", alias="dataProvider") - is_inherited: Optional[StrictBool] = Field(default=None, description="Whether this credential is inherited from another tenant.", alias="isInherited") - auth_context: Optional[StrictStr] = Field(default=None, alias="authContext") - __properties: ClassVar[List[str]] = ["credentialId", "displayName", "dataProvider", "isInherited", "authContext"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerExtractorCredentialAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerExtractorCredentialAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "credentialId": obj.get("credentialId"), - "displayName": obj.get("displayName"), - "dataProvider": obj.get("dataProvider"), - "isInherited": obj.get("isInherited"), - "authContext": obj.get("authContext") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_extractor_credentials_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_extractor_credentials_apidto.py deleted file mode 100644 index abf355befb..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_extractor_credentials_apidto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_extractor_credential_apidto import DesignerExtractorCredentialAPIDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerExtractorCredentialsAPIDTO(BaseModel): - """ - DesignerExtractorCredentialsAPIDTO - """ # noqa: E501 - connector_credentials: Optional[List[DesignerExtractorCredentialAPIDTO]] = Field(default=None, description="A list of objects representing all the available connector credentials in Production.", alias="connectorCredentials") - limit: Optional[StrictInt] = Field(default=None, description="The number of connector credentials to return. The maximum number of data connector credentials to return is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["connectorCredentials", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerExtractorCredentialsAPIDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in connector_credentials (list) - _items = [] - if self.connector_credentials: - for _item_connector_credentials in self.connector_credentials: - if _item_connector_credentials: - _items.append(_item_connector_credentials.to_dict()) - _dict['connectorCredentials'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerExtractorCredentialsAPIDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "connectorCredentials": [DesignerExtractorCredentialAPIDTO.from_dict(_item) for _item in obj["connectorCredentials"]] if obj.get("connectorCredentials") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_fusion_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_fusion_auth_params_dto.py deleted file mode 100644 index b66f7d6199..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_fusion_auth_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerFusionAuthParamsDTO(BaseModel): - """ - DesignerFusionAuthParamsDTO - """ # noqa: E501 - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") - __properties: ClassVar[List[str]] = ["username", "password", "hostDomainName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerFusionAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerFusionAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "username": obj.get("username"), - "password": obj.get("password"), - "hostDomainName": obj.get("hostDomainName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_gong_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_gong_auth_params_dto.py deleted file mode 100644 index 65e14a6379..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_gong_auth_params_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerGongAuthParamsDTO(BaseModel): - """ - DesignerGongAuthParamsDTO - """ # noqa: E501 - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - __properties: ClassVar[List[str]] = ["clientId", "clientSecret"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerGongAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerGongAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_google_sheets_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_google_sheets_auth_params_dto.py deleted file mode 100644 index 768800c35b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_google_sheets_auth_params_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerGoogleSheetsAuthParamsDTO(BaseModel): - """ - DesignerGoogleSheetsAuthParamsDTO - """ # noqa: E501 - auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") - configuration: Optional[StrictStr] = None - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - __properties: ClassVar[List[str]] = ["authCode", "configuration", "clientId", "clientSecret"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerGoogleSheetsAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerGoogleSheetsAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "authCode": obj.get("authCode"), - "configuration": obj.get("configuration"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_google_workspace_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_google_workspace_auth_params_dto.py deleted file mode 100644 index 9a3bcb86b4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_google_workspace_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerGoogleWorkspaceAuthParamsDTO(BaseModel): - """ - DesignerGoogleWorkspaceAuthParamsDTO - """ # noqa: E501 - auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - service_account: Optional[StrictStr] = Field(default=None, alias="serviceAccount") - privacy_mode: Optional[StrictStr] = Field(default=None, alias="privacyMode") - __properties: ClassVar[List[str]] = ["authCode", "clientId", "clientSecret", "serviceAccount", "privacyMode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerGoogleWorkspaceAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerGoogleWorkspaceAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "authCode": obj.get("authCode"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret"), - "serviceAccount": obj.get("serviceAccount"), - "privacyMode": obj.get("privacyMode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_greenhouse_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_greenhouse_auth_params_dto.py deleted file mode 100644 index 00093a40e9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_greenhouse_auth_params_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerGreenhouseAuthParamsDTO(BaseModel): - """ - DesignerGreenhouseAuthParamsDTO - """ # noqa: E501 - api_key: Optional[StrictStr] = Field(default=None, alias="apiKey") - __properties: ClassVar[List[str]] = ["apiKey"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerGreenhouseAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerGreenhouseAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "apiKey": obj.get("apiKey") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_icims_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_icims_auth_params_dto.py deleted file mode 100644 index 03d897ff22..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_icims_auth_params_dto.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerIcimsAuthParamsDTO(BaseModel): - """ - DesignerIcimsAuthParamsDTO - """ # noqa: E501 - customer_id: Optional[StrictStr] = Field(default=None, alias="customerId") - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - region: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["customerId", "username", "password", "clientId", "clientSecret", "region"] - - @field_validator('region') - def region_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['US', 'EU', 'CA', 'ISV']): - raise ValueError("must be one of enum values ('US', 'EU', 'CA', 'ISV')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerIcimsAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerIcimsAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "customerId": obj.get("customerId"), - "username": obj.get("username"), - "password": obj.get("password"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret"), - "region": obj.get("region") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_internal_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_internal_s3_auth_params_dto.py deleted file mode 100644 index 06c0d2a2b3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_internal_s3_auth_params_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerInternalS3AuthParamsDTO(BaseModel): - """ - DesignerInternalS3AuthParamsDTO - """ # noqa: E501 - bucket_name: Optional[StrictStr] = Field(default=None, alias="bucketName") - path: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["bucketName", "path"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerInternalS3AuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerInternalS3AuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "bucketName": obj.get("bucketName"), - "path": obj.get("path") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_jdbc_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_jdbc_auth_params_dto.py deleted file mode 100644 index 66434f86dc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_jdbc_auth_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerJdbcAuthParamsDTO(BaseModel): - """ - DesignerJdbcAuthParamsDTO - """ # noqa: E501 - jdbc_connect_string: Optional[StrictStr] = Field(default=None, alias="jdbcConnectString") - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["jdbcConnectString", "username", "password"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerJdbcAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerJdbcAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jdbcConnectString": obj.get("jdbcConnectString"), - "username": obj.get("username"), - "password": obj.get("password") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_jira_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_jira_auth_params_dto.py deleted file mode 100644 index 6ec81edd1a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_jira_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_jira_connect_params_dto import DesignerJiraConnectParamsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerJiraAuthParamsDTO(BaseModel): - """ - DesignerJiraAuthParamsDTO - """ # noqa: E501 - api_token: Optional[StrictStr] = Field(default=None, alias="apiToken") - host_name: Optional[StrictStr] = Field(default=None, alias="hostName") - connect_params: Optional[DesignerJiraConnectParamsDTO] = Field(default=None, alias="connectParams") - __properties: ClassVar[List[str]] = ["apiToken", "hostName", "connectParams"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerJiraAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of connect_params - if self.connect_params: - _dict['connectParams'] = self.connect_params.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerJiraAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "apiToken": obj.get("apiToken"), - "hostName": obj.get("hostName"), - "connectParams": DesignerJiraConnectParamsDTO.from_dict(obj["connectParams"]) if obj.get("connectParams") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_jira_connect_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_jira_connect_params_dto.py deleted file mode 100644 index 91c14091bc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_jira_connect_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerJiraConnectParamsDTO(BaseModel): - """ - DesignerJiraConnectParamsDTO - """ # noqa: E501 - app_key: Optional[StrictStr] = Field(default=None, alias="appKey") - client_key: Optional[StrictStr] = Field(default=None, alias="clientKey") - shared_secret: Optional[StrictStr] = Field(default=None, alias="sharedSecret") - __properties: ClassVar[List[str]] = ["appKey", "clientKey", "sharedSecret"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerJiraConnectParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerJiraConnectParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "appKey": obj.get("appKey"), - "clientKey": obj.get("clientKey"), - "sharedSecret": obj.get("sharedSecret") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_lever_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_lever_auth_params_dto.py deleted file mode 100644 index e784c1d6b3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_lever_auth_params_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerLeverAuthParamsDTO(BaseModel): - """ - DesignerLeverAuthParamsDTO - """ # noqa: E501 - api_key: Optional[StrictStr] = Field(default=None, alias="apiKey") - __properties: ClassVar[List[str]] = ["apiKey"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerLeverAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerLeverAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "apiKey": obj.get("apiKey") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_medallia_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_medallia_auth_params_dto.py deleted file mode 100644 index 55a6079318..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_medallia_auth_params_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerMedalliaAuthParamsDTO(BaseModel): - """ - DesignerMedalliaAuthParamsDTO - """ # noqa: E501 - tenant_domain_name: Optional[StrictStr] = Field(default=None, alias="tenantDomainName") - instance_url: Optional[StrictStr] = Field(default=None, alias="instanceUrl") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - __properties: ClassVar[List[str]] = ["tenantDomainName", "instanceUrl", "clientId", "clientSecret"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerMedalliaAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerMedalliaAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantDomainName": obj.get("tenantDomainName"), - "instanceUrl": obj.get("instanceUrl"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_microsoft365_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_microsoft365_auth_params_dto.py deleted file mode 100644 index 2b96733454..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_microsoft365_auth_params_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerMicrosoft365AuthParamsDTO(BaseModel): - """ - DesignerMicrosoft365AuthParamsDTO - """ # noqa: E501 - o_auth_tenant_id: Optional[StrictStr] = Field(default=None, alias="oAuthTenantId") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - privacy_mode: Optional[StrictStr] = Field(default=None, alias="privacyMode") - __properties: ClassVar[List[str]] = ["oAuthTenantId", "clientId", "clientSecret", "privacyMode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerMicrosoft365AuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerMicrosoft365AuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "oAuthTenantId": obj.get("oAuthTenantId"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret"), - "privacyMode": obj.get("privacyMode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_module_settings_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_module_settings_dto.py deleted file mode 100644 index 3d3c5f9fab..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_module_settings_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerModuleSettingsDTO(BaseModel): - """ - DesignerModuleSettingsDTO - """ # noqa: E501 - unavailable_for_assignment: Optional[StrictBool] = Field(default=None, description="If true, the module cannot be assigned to tenants.", alias="unavailableForAssignment") - special_handling_instruction: Optional[StrictStr] = Field(default=None, description="An instruction message in the module selection dialog. This can be a note for administrators such as \"Don't assign this module\" or \"Assign Module B instead\".", alias="specialHandlingInstruction") - locale: Optional[StrictStr] = Field(default=None, description="The language of the module. For example, a module that is in English will have the locale \"en\".") - __properties: ClassVar[List[str]] = ["unavailableForAssignment", "specialHandlingInstruction", "locale"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerModuleSettingsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerModuleSettingsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "unavailableForAssignment": obj.get("unavailableForAssignment"), - "specialHandlingInstruction": obj.get("specialHandlingInstruction"), - "locale": obj.get("locale") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_my_sql_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_my_sql_auth_params_dto.py deleted file mode 100644 index 1dc5a1f014..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_my_sql_auth_params_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerMySqlAuthParamsDTO(BaseModel): - """ - DesignerMySqlAuthParamsDTO - """ # noqa: E501 - host: Optional[StrictStr] = None - port: Optional[StrictStr] = None - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - database: Optional[StrictStr] = None - ssl_mode: Optional[StrictStr] = Field(default=None, alias="sslMode") - __properties: ClassVar[List[str]] = ["host", "port", "username", "password", "database", "sslMode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerMySqlAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerMySqlAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "host": obj.get("host"), - "port": obj.get("port"), - "username": obj.get("username"), - "password": obj.get("password"), - "database": obj.get("database"), - "sslMode": obj.get("sslMode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_namely_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_namely_auth_params_dto.py deleted file mode 100644 index 6833114701..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_namely_auth_params_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerNamelyAuthParamsDTO(BaseModel): - """ - DesignerNamelyAuthParamsDTO - """ # noqa: E501 - auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") - __properties: ClassVar[List[str]] = ["authCode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerNamelyAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerNamelyAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "authCode": obj.get("authCode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_oracle_db_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_oracle_db_auth_params_dto.py deleted file mode 100644 index 951f73aca4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_oracle_db_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerOracleDbAuthParamsDTO(BaseModel): - """ - DesignerOracleDbAuthParamsDTO - """ # noqa: E501 - host: Optional[StrictStr] = None - port: Optional[StrictStr] = None - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - service_name: Optional[StrictStr] = Field(default=None, alias="serviceName") - __properties: ClassVar[List[str]] = ["host", "port", "username", "password", "serviceName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerOracleDbAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerOracleDbAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "host": obj.get("host"), - "port": obj.get("port"), - "username": obj.get("username"), - "password": obj.get("password"), - "serviceName": obj.get("serviceName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_pair_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_pair_dto.py deleted file mode 100644 index 8dd0d18f25..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_pair_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerPairDTO(BaseModel): - """ - DesignerPairDTO - """ # noqa: E501 - key: Optional[StrictStr] = None - value: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["key", "value"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerPairDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerPairDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "key": obj.get("key"), - "value": obj.get("value") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_column_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_column_definition_dto.py deleted file mode 100644 index e60547f8dd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_column_definition_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerPushDataColumnDefinitionDTO(BaseModel): - """ - Definition of the source column. - """ # noqa: E501 - column_name: Optional[StrictStr] = Field(default=None, description="The name of the column.", alias="columnName") - data_type: Optional[StrictStr] = Field(default=None, description="The data type associated with the column.", alias="dataType") - data_formats: Optional[List[StrictStr]] = Field(default=None, description="The expected format for datetime data types.", alias="dataFormats") - is_mandatory: Optional[StrictBool] = Field(default=None, description="If true, the column value is required. If a column is mandatory, and the file is missing this column, the request will fail.", alias="isMandatory") - allow_empty: Optional[StrictBool] = Field(default=None, description="If true, the column allows an empty value for the record.", alias="allowEmpty") - default_value: Optional[StrictStr] = Field(default=None, description="The default value of the column.", alias="defaultValue") - __properties: ClassVar[List[str]] = ["columnName", "dataType", "dataFormats", "isMandatory", "allowEmpty", "defaultValue"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerPushDataColumnDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerPushDataColumnDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "columnName": obj.get("columnName"), - "dataType": obj.get("dataType"), - "dataFormats": obj.get("dataFormats"), - "isMandatory": obj.get("isMandatory"), - "allowEmpty": obj.get("allowEmpty"), - "defaultValue": obj.get("defaultValue") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_source_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_source_definition_dto.py deleted file mode 100644 index 44f1bdfdc8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_source_definition_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_push_data_column_definition_dto import DesignerPushDataColumnDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerPushDataSourceDefinitionDTO(BaseModel): - """ - Details of each existing source. - """ # noqa: E501 - source_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the source.", alias="sourceId") - name: Optional[StrictStr] = Field(default=None, description="The object name of the source.") - columns: Optional[List[DesignerPushDataColumnDefinitionDTO]] = Field(default=None, description="A list of objects representing the source columns.") - is_inherited: Optional[StrictBool] = Field(default=None, description="If true, the source is inherited by all analytic tenants.", alias="isInherited") - __properties: ClassVar[List[str]] = ["sourceId", "name", "columns", "isInherited"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerPushDataSourceDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in columns (list) - _items = [] - if self.columns: - for _item_columns in self.columns: - if _item_columns: - _items.append(_item_columns.to_dict()) - _dict['columns'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerPushDataSourceDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "sourceId": obj.get("sourceId"), - "name": obj.get("name"), - "columns": [DesignerPushDataColumnDefinitionDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None, - "isInherited": obj.get("isInherited") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_source_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_source_definitions_dto.py deleted file mode 100644 index 1dce345a14..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_push_data_source_definitions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_push_data_source_definition_dto import DesignerPushDataSourceDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerPushDataSourceDefinitionsDTO(BaseModel): - """ - The existing sources. - """ # noqa: E501 - sources: Optional[List[DesignerPushDataSourceDefinitionDTO]] = Field(default=None, description="A list of objects representing the target sources for the request.") - __properties: ClassVar[List[str]] = ["sources"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerPushDataSourceDefinitionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in sources (list) - _items = [] - if self.sources: - for _item_sources in self.sources: - if _item_sources: - _items.append(_item_sources.to_dict()) - _dict['sources'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerPushDataSourceDefinitionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "sources": [DesignerPushDataSourceDefinitionDTO.from_dict(_item) for _item in obj["sources"]] if obj.get("sources") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_qualtrics_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_qualtrics_auth_params_dto.py deleted file mode 100644 index f1cfede913..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_qualtrics_auth_params_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerQualtricsAuthParamsDTO(BaseModel): - """ - DesignerQualtricsAuthParamsDTO - """ # noqa: E501 - api_token: Optional[StrictStr] = Field(default=None, alias="apiToken") - data_center_id: Optional[StrictStr] = Field(default=None, alias="dataCenterId") - __properties: ClassVar[List[str]] = ["apiToken", "dataCenterId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerQualtricsAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerQualtricsAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "apiToken": obj.get("apiToken"), - "dataCenterId": obj.get("dataCenterId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_redshift_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_redshift_auth_params_dto.py deleted file mode 100644 index 9b892dbdde..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_redshift_auth_params_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerRedshiftAuthParamsDTO(BaseModel): - """ - DesignerRedshiftAuthParamsDTO - """ # noqa: E501 - endpoint: Optional[StrictStr] = None - port: Optional[StrictStr] = None - database: Optional[StrictStr] = None - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - table_prefix: Optional[StrictStr] = Field(default=None, alias="tablePrefix") - var_schema: Optional[StrictStr] = Field(default=None, alias="schema") - __properties: ClassVar[List[str]] = ["endpoint", "port", "database", "username", "password", "tablePrefix", "schema"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerRedshiftAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerRedshiftAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "endpoint": obj.get("endpoint"), - "port": obj.get("port"), - "database": obj.get("database"), - "username": obj.get("username"), - "password": obj.get("password"), - "tablePrefix": obj.get("tablePrefix"), - "schema": obj.get("schema") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_salesforce_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_salesforce_auth_params_dto.py deleted file mode 100644 index 2771d2cf86..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_salesforce_auth_params_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerSalesforceAuthParamsDTO(BaseModel): - """ - DesignerSalesforceAuthParamsDTO - """ # noqa: E501 - refresh_token: Optional[StrictStr] = Field(default=None, alias="refreshToken") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - __properties: ClassVar[List[str]] = ["refreshToken", "clientId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerSalesforceAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerSalesforceAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "refreshToken": obj.get("refreshToken"), - "clientId": obj.get("clientId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_salesforce_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_salesforce_v2_auth_params_dto.py deleted file mode 100644 index 34b2433e0b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_salesforce_v2_auth_params_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerSalesforceV2AuthParamsDTO(BaseModel): - """ - DesignerSalesforceV2AuthParamsDTO - """ # noqa: E501 - auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - login_host: Optional[StrictStr] = Field(default=None, alias="loginHost") - __properties: ClassVar[List[str]] = ["authCode", "clientId", "clientSecret", "loginHost"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerSalesforceV2AuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerSalesforceV2AuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "authCode": obj.get("authCode"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret"), - "loginHost": obj.get("loginHost") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_selection_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_selection_concept_dto.py new file mode 100644 index 0000000000..14461a8075 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/designer_selection_concept_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.selection_concept_configuration_dto import SelectionConceptConfigurationDTO +from typing import Optional, Set +from typing_extensions import Self + +class DesignerSelectionConceptDTO(BaseModel): + """ + DesignerSelectionConceptDTO + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the selection concept.") + name: Optional[StrictStr] = Field(default=None, description="The display name of the selection concept.") + configuration: Optional[SelectionConceptConfigurationDTO] = Field(default=None, description="A list of objects representing the configuration for the selection concept.") + __properties: ClassVar[List[str]] = ["uuid", "name", "configuration"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DesignerSelectionConceptDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of configuration + if self.configuration: + _dict['configuration'] = self.configuration.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DesignerSelectionConceptDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "name": obj.get("name"), + "configuration": SelectionConceptConfigurationDTO.from_dict(obj["configuration"]) if obj.get("configuration") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_service_now_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_service_now_auth_params_dto.py deleted file mode 100644 index a9bf336228..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_service_now_auth_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerServiceNowAuthParamsDTO(BaseModel): - """ - DesignerServiceNowAuthParamsDTO - """ # noqa: E501 - host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["hostDomainName", "username", "password"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerServiceNowAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerServiceNowAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "hostDomainName": obj.get("hostDomainName"), - "username": obj.get("username"), - "password": obj.get("password") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_service_now_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_service_now_v2_auth_params_dto.py deleted file mode 100644 index 4ccc472fda..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_service_now_v2_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerServiceNowV2AuthParamsDTO(BaseModel): - """ - DesignerServiceNowV2AuthParamsDTO - """ # noqa: E501 - host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") - alternate_domain: Optional[StrictStr] = Field(default=None, alias="alternateDomain") - __properties: ClassVar[List[str]] = ["hostDomainName", "clientId", "clientSecret", "authCode", "alternateDomain"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerServiceNowV2AuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerServiceNowV2AuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "hostDomainName": obj.get("hostDomainName"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret"), - "authCode": obj.get("authCode"), - "alternateDomain": obj.get("alternateDomain") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_slack_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_slack_auth_params_dto.py deleted file mode 100644 index c6a4e980c9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_slack_auth_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerSlackAuthParamsDTO(BaseModel): - """ - DesignerSlackAuthParamsDTO - """ # noqa: E501 - auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - __properties: ClassVar[List[str]] = ["authCode", "clientId", "clientSecret"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerSlackAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerSlackAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "authCode": obj.get("authCode"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_snowflake_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_snowflake_auth_params_dto.py deleted file mode 100644 index 46d1faaf2d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_snowflake_auth_params_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerSnowflakeAuthParamsDTO(BaseModel): - """ - DesignerSnowflakeAuthParamsDTO - """ # noqa: E501 - account_identifier: Optional[StrictStr] = Field(default=None, alias="accountIdentifier") - database: Optional[StrictStr] = None - var_schema: Optional[StrictStr] = Field(default=None, alias="schema") - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - warehouse: Optional[StrictStr] = None - private_key: Optional[StrictStr] = Field(default=None, alias="privateKey") - __properties: ClassVar[List[str]] = ["accountIdentifier", "database", "schema", "username", "password", "warehouse", "privateKey"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerSnowflakeAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerSnowflakeAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "accountIdentifier": obj.get("accountIdentifier"), - "database": obj.get("database"), - "schema": obj.get("schema"), - "username": obj.get("username"), - "password": obj.get("password"), - "warehouse": obj.get("warehouse"), - "privateKey": obj.get("privateKey") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_sql_server_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_sql_server_auth_params_dto.py deleted file mode 100644 index e80cffed61..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_sql_server_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerSqlServerAuthParamsDTO(BaseModel): - """ - DesignerSqlServerAuthParamsDTO - """ # noqa: E501 - host: Optional[StrictStr] = None - port: Optional[StrictStr] = None - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - database: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["host", "port", "username", "password", "database"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerSqlServerAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerSqlServerAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "host": obj.get("host"), - "port": obj.get("port"), - "username": obj.get("username"), - "password": obj.get("password"), - "database": obj.get("database") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_subject_missing_access_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_subject_missing_access_dto.py deleted file mode 100644 index f50f3f0f5a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_subject_missing_access_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerSubjectMissingAccessDTO(BaseModel): - """ - DesignerSubjectMissingAccessDTO - """ # noqa: E501 - subject: Optional[StrictStr] = Field(default=None, description="The subjects that cannot be accessed.") - attributes: Optional[List[StrictStr]] = Field(default=None, description="The attributes that cannot be accessed.") - error_message: Optional[StrictStr] = Field(default=None, description="The error message detailing the access issue.", alias="errorMessage") - __properties: ClassVar[List[str]] = ["subject", "attributes", "errorMessage"] - - @field_validator('subject') - def subject_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Employee', 'Employee_Budgeted_Compensation', 'Employment_Start', 'Employment_Exit', 'Absenteeism', 'Supervisory', 'Organization', 'Compensation_Payout', 'CustomSubject', 'TestConnectionSubject', 'Internal_Placement', 'Pay_Change', 'Hire', 'Applicant', 'Candidate', 'Requisition']): - raise ValueError("must be one of enum values ('Employee', 'Employee_Budgeted_Compensation', 'Employment_Start', 'Employment_Exit', 'Absenteeism', 'Supervisory', 'Organization', 'Compensation_Payout', 'CustomSubject', 'TestConnectionSubject', 'Internal_Placement', 'Pay_Change', 'Hire', 'Applicant', 'Candidate', 'Requisition')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerSubjectMissingAccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerSubjectMissingAccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "subject": obj.get("subject"), - "attributes": obj.get("attributes"), - "errorMessage": obj.get("errorMessage") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_success_factors_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_success_factors_auth_params_dto.py deleted file mode 100644 index f1e444f2a2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_success_factors_auth_params_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_success_factors_o_auth_params_dto import DesignerSuccessFactorsOAuthParamsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerSuccessFactorsAuthParamsDTO(BaseModel): - """ - DesignerSuccessFactorsAuthParamsDTO - """ # noqa: E501 - host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") - company_id: Optional[StrictStr] = Field(default=None, alias="companyID") - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - o_auth: Optional[DesignerSuccessFactorsOAuthParamsDTO] = Field(default=None, alias="oAuth") - __properties: ClassVar[List[str]] = ["hostDomainName", "companyID", "username", "password", "oAuth"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerSuccessFactorsAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of o_auth - if self.o_auth: - _dict['oAuth'] = self.o_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerSuccessFactorsAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "hostDomainName": obj.get("hostDomainName"), - "companyID": obj.get("companyID"), - "username": obj.get("username"), - "password": obj.get("password"), - "oAuth": DesignerSuccessFactorsOAuthParamsDTO.from_dict(obj["oAuth"]) if obj.get("oAuth") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_success_factors_o_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_success_factors_o_auth_params_dto.py deleted file mode 100644 index 772fe2df57..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_success_factors_o_auth_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerSuccessFactorsOAuthParamsDTO(BaseModel): - """ - DesignerSuccessFactorsOAuthParamsDTO - """ # noqa: E501 - api_key: Optional[StrictStr] = Field(default=None, alias="apiKey") - private_x509_key: Optional[StrictStr] = Field(default=None, alias="privateX509Key") - public_x509_cert: Optional[StrictStr] = Field(default=None, alias="publicX509Cert") - __properties: ClassVar[List[str]] = ["apiKey", "privateX509Key", "publicX509Cert"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerSuccessFactorsOAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerSuccessFactorsOAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "apiKey": obj.get("apiKey"), - "privateX509Key": obj.get("privateX509Key"), - "publicX509Cert": obj.get("publicX509Cert") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_tenant_module_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_tenant_module_dto.py deleted file mode 100644 index e2fab17904..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_tenant_module_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_module_settings_dto import DesignerModuleSettingsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerTenantModuleDTO(BaseModel): - """ - DesignerTenantModuleDTO - """ # noqa: E501 - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name that is displayed within Visier. For example, \"TALENT\".", alias="displayName") - symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the module. For example, \"Talent_Management\".", alias="symbolName") - module_settings: Optional[DesignerModuleSettingsDTO] = Field(default=None, description="The settings associated with the module.", alias="moduleSettings") - __properties: ClassVar[List[str]] = ["displayName", "symbolName", "moduleSettings"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerTenantModuleDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of module_settings - if self.module_settings: - _dict['moduleSettings'] = self.module_settings.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerTenantModuleDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "displayName": obj.get("displayName"), - "symbolName": obj.get("symbolName"), - "moduleSettings": DesignerModuleSettingsDTO.from_dict(obj["moduleSettings"]) if obj.get("moduleSettings") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_ultimate_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_ultimate_auth_params_dto.py deleted file mode 100644 index 52f72715b3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_ultimate_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerUltimateAuthParamsDTO(BaseModel): - """ - DesignerUltimateAuthParamsDTO - """ # noqa: E501 - host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") - api_key: Optional[StrictStr] = Field(default=None, alias="apiKey") - username: Optional[StrictStr] = None - password: Optional[StrictStr] = None - user_access_key: Optional[StrictStr] = Field(default=None, alias="userAccessKey") - __properties: ClassVar[List[str]] = ["hostDomainName", "apiKey", "username", "password", "userAccessKey"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerUltimateAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerUltimateAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "hostDomainName": obj.get("hostDomainName"), - "apiKey": obj.get("apiKey"), - "username": obj.get("username"), - "password": obj.get("password"), - "userAccessKey": obj.get("userAccessKey") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_basic_auth_credential_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_basic_auth_credential_dto.py deleted file mode 100644 index bf43dda6be..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_basic_auth_credential_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWebhookWebhookBasicAuthCredentialDTO(BaseModel): - """ - The basic authentication credentials for the webhook. - """ # noqa: E501 - username: Optional[StrictStr] = Field(default=None, description="The username for the webhook credential.") - password: Optional[StrictStr] = Field(default=None, description="The password for the webhook credential.") - __properties: ClassVar[List[str]] = ["username", "password"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookBasicAuthCredentialDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookBasicAuthCredentialDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "username": obj.get("username"), - "password": obj.get("password") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_credentials_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_credentials_dto.py deleted file mode 100644 index 82905a4d55..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_credentials_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_webhook_webhook_basic_auth_credential_dto import DesignerWebhookWebhookBasicAuthCredentialDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWebhookWebhookCredentialsDTO(BaseModel): - """ - The credentials to authenticate calls to the webhook endpoint. Must be one of `basicAuth` or `accessToken`. Not required if your endpoint doesn't have authentication. - """ # noqa: E501 - basic_auth: Optional[DesignerWebhookWebhookBasicAuthCredentialDTO] = Field(default=None, description="Authentication using a username and password.", alias="basicAuth") - access_token: Optional[StrictStr] = Field(default=None, description="Authentication using an access token.", alias="accessToken") - __properties: ClassVar[List[str]] = ["basicAuth", "accessToken"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookCredentialsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of basic_auth - if self.basic_auth: - _dict['basicAuth'] = self.basic_auth.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookCredentialsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "basicAuth": DesignerWebhookWebhookBasicAuthCredentialDTO.from_dict(obj["basicAuth"]) if obj.get("basicAuth") is not None else None, - "accessToken": obj.get("accessToken") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_details_dto.py deleted file mode 100644 index 91f60593c3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_details_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_webhook_webhook_event_type_dto import DesignerWebhookWebhookEventTypeDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWebhookWebhookDetailsDTO(BaseModel): - """ - Information about the webhook, such as its URL, active status, and event types to listen for. - """ # noqa: E501 - target_url: Optional[StrictStr] = Field(default=None, description="The target URL to call when an event occurs.", alias="targetUrl") - is_active: Optional[StrictBool] = Field(default=None, description="If `true`, the webhook is active. Must be `false` when creating webhooks. Default is `false`.", alias="isActive") - events: Optional[List[DesignerWebhookWebhookEventTypeDTO]] = Field(default=None, description="The events that the webhook is listening for. Valid values: - `jobResultSuccess`: A job completed successfully. - `jobResultFailure`: A job failed to complete. - `jobReschedule`: A job was rescheduled. - `dvPublish`: A data version published to production.") - key_name: Optional[StrictStr] = Field(default=None, description="The display name of the encryption key for the webhook. Encryption key must use `HmacSHA256` algorithm.", alias="keyName") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the webhook.", alias="displayName") - __properties: ClassVar[List[str]] = ["targetUrl", "isActive", "events", "keyName", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookDetailsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in events (list) - _items = [] - if self.events: - for _item_events in self.events: - if _item_events: - _items.append(_item_events.to_dict()) - _dict['events'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookDetailsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "targetUrl": obj.get("targetUrl"), - "isActive": obj.get("isActive"), - "events": [DesignerWebhookWebhookEventTypeDTO.from_dict(_item) for _item in obj["events"]] if obj.get("events") is not None else None, - "keyName": obj.get("keyName"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_dto.py deleted file mode 100644 index 554f0d3a2f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_webhook_webhook_details_dto import DesignerWebhookWebhookDetailsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWebhookWebhookDTO(BaseModel): - """ - The webhook's details, such as its URL, active status, and event types to listen for. - """ # noqa: E501 - webhook_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the webhook.", alias="webhookId") - details: Optional[DesignerWebhookWebhookDetailsDTO] = Field(default=None, description="The webhook's details, such as its URL, active status, and event types to listen for.") - credential_reference: Optional[StrictStr] = Field(default=None, description="The unique identifier of the configured webhook credentials.", alias="credentialReference") - __properties: ClassVar[List[str]] = ["webhookId", "details", "credentialReference"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of details - if self.details: - _dict['details'] = self.details.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "webhookId": obj.get("webhookId"), - "details": DesignerWebhookWebhookDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, - "credentialReference": obj.get("credentialReference") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_event_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_event_type_dto.py deleted file mode 100644 index 68e2059c30..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_event_type_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWebhookWebhookEventTypeDTO(BaseModel): - """ - The possible event types for Visier webhooks. - """ # noqa: E501 - event_type: Optional[StrictStr] = Field(default=None, description="The possible event types to listen for. Valid values: - `jobResultSuccess`: A job completed successfully. - `jobResultFailure`: A job failed to complete. - `jobReschedule`: A job was rescheduled. - `dvPublish`: A data version published to production.", alias="eventType") - __properties: ClassVar[List[str]] = ["eventType"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookEventTypeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookEventTypeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "eventType": obj.get("eventType") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_message_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_message_response_dto.py deleted file mode 100644 index 054e6a2180..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_message_response_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWebhookWebhookMessageResponseDTO(BaseModel): - """ - The results of the webhook notification attempt. - """ # noqa: E501 - status_code: Optional[StrictInt] = Field(default=None, description="The standard HTTP response code to inform you of the success or failure of the webhook notification attempt.", alias="statusCode") - message: Optional[StrictStr] = Field(default=None, description="Information about the notification attempt.") - message_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the message.", alias="messageId") - event_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the event that triggered the webhook notification.", alias="eventId") - __properties: ClassVar[List[str]] = ["statusCode", "message", "messageId", "eventId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookMessageResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookMessageResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "statusCode": obj.get("statusCode"), - "message": obj.get("message"), - "messageId": obj.get("messageId"), - "eventId": obj.get("eventId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_request_dto.py deleted file mode 100644 index 97fff9963c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhook_request_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_webhook_webhook_credentials_dto import DesignerWebhookWebhookCredentialsDTO -from visier_platform_sdk.models.designer_webhook_webhook_details_dto import DesignerWebhookWebhookDetailsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWebhookWebhookRequestDTO(BaseModel): - """ - The details and credentials for a webhook. Not required if your endpoint doesn't have authentication. - """ # noqa: E501 - details: Optional[DesignerWebhookWebhookDetailsDTO] = Field(default=None, description="The webhook's details, such as its URL, active status, and event types to listen for.") - credentials: Optional[DesignerWebhookWebhookCredentialsDTO] = Field(default=None, description="The webhook's credentials, such as a username and password or access token.") - __properties: ClassVar[List[str]] = ["details", "credentials"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of details - if self.details: - _dict['details'] = self.details.to_dict() - # override the default output from pydantic by calling `to_dict()` of credentials - if self.credentials: - _dict['credentials'] = self.credentials.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhookRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "details": DesignerWebhookWebhookDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, - "credentials": DesignerWebhookWebhookCredentialsDTO.from_dict(obj["credentials"]) if obj.get("credentials") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhooks_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhooks_dto.py deleted file mode 100644 index ddc8a166cc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_webhook_webhooks_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_webhook_webhook_dto import DesignerWebhookWebhookDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWebhookWebhooksDTO(BaseModel): - """ - The returned list of webhooks. - """ # noqa: E501 - webhooks: Optional[List[DesignerWebhookWebhookDTO]] = Field(default=None, description="A list of webhooks.") - __properties: ClassVar[List[str]] = ["webhooks"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhooksDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in webhooks (list) - _items = [] - if self.webhooks: - for _item_webhooks in self.webhooks: - if _item_webhooks: - _items.append(_item_webhooks.to_dict()) - _dict['webhooks'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWebhookWebhooksDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "webhooks": [DesignerWebhookWebhookDTO.from_dict(_item) for _item in obj["webhooks"]] if obj.get("webhooks") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_willow_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_willow_auth_params_dto.py deleted file mode 100644 index 33bad0b8bd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_willow_auth_params_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWillowAuthParamsDTO(BaseModel): - """ - DesignerWillowAuthParamsDTO - """ # noqa: E501 - api_token: Optional[StrictStr] = Field(default=None, alias="apiToken") - host_name: Optional[StrictStr] = Field(default=None, alias="hostName") - __properties: ClassVar[List[str]] = ["apiToken", "hostName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWillowAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWillowAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "apiToken": obj.get("apiToken"), - "hostName": obj.get("hostName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_auth_params_dto.py deleted file mode 100644 index 406dfe1a4e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_auth_params_dto.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.designer_pair_dto import DesignerPairDTO -from visier_platform_sdk.models.designer_workday_o_auth_params_dto import DesignerWorkdayOAuthParamsDTO -from visier_platform_sdk.models.designer_workday_refresh_token_params_dto import DesignerWorkdayRefreshTokenParamsDTO -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWorkdayAuthParamsDTO(BaseModel): - """ - DesignerWorkdayAuthParamsDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - domain_name: Optional[StrictStr] = Field(default=None, alias="domainName") - implementation_name: Optional[StrictStr] = Field(default=None, alias="implementationName") - password: Optional[StrictStr] = None - o_auth: Optional[DesignerWorkdayOAuthParamsDTO] = Field(default=None, alias="oAuth") - ref_token: Optional[DesignerWorkdayRefreshTokenParamsDTO] = Field(default=None, alias="refToken") - integration_system_id: Optional[StrictStr] = Field(default=None, alias="integrationSystemId") - additional_header_params: Optional[List[DesignerPairDTO]] = Field(default=None, alias="additionalHeaderParams") - __properties: ClassVar[List[str]] = ["userId", "domainName", "implementationName", "password", "oAuth", "refToken", "integrationSystemId", "additionalHeaderParams"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWorkdayAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of o_auth - if self.o_auth: - _dict['oAuth'] = self.o_auth.to_dict() - # override the default output from pydantic by calling `to_dict()` of ref_token - if self.ref_token: - _dict['refToken'] = self.ref_token.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in additional_header_params (list) - _items = [] - if self.additional_header_params: - for _item_additional_header_params in self.additional_header_params: - if _item_additional_header_params: - _items.append(_item_additional_header_params.to_dict()) - _dict['additionalHeaderParams'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWorkdayAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "domainName": obj.get("domainName"), - "implementationName": obj.get("implementationName"), - "password": obj.get("password"), - "oAuth": DesignerWorkdayOAuthParamsDTO.from_dict(obj["oAuth"]) if obj.get("oAuth") is not None else None, - "refToken": DesignerWorkdayRefreshTokenParamsDTO.from_dict(obj["refToken"]) if obj.get("refToken") is not None else None, - "integrationSystemId": obj.get("integrationSystemId"), - "additionalHeaderParams": [DesignerPairDTO.from_dict(_item) for _item in obj["additionalHeaderParams"]] if obj.get("additionalHeaderParams") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_o_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_o_auth_params_dto.py deleted file mode 100644 index 2b8a22e6a3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_o_auth_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWorkdayOAuthParamsDTO(BaseModel): - """ - DesignerWorkdayOAuthParamsDTO - """ # noqa: E501 - api_client_id: Optional[StrictStr] = Field(default=None, alias="apiClientId") - public_x509_cert: Optional[StrictStr] = Field(default=None, alias="publicX509Cert") - private_x509_key: Optional[StrictStr] = Field(default=None, alias="privateX509Key") - __properties: ClassVar[List[str]] = ["apiClientId", "publicX509Cert", "privateX509Key"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWorkdayOAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWorkdayOAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "apiClientId": obj.get("apiClientId"), - "publicX509Cert": obj.get("publicX509Cert"), - "privateX509Key": obj.get("privateX509Key") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_raas_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_raas_auth_params_dto.py deleted file mode 100644 index b95906186e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_raas_auth_params_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWorkdayRaasAuthParamsDTO(BaseModel): - """ - DesignerWorkdayRaasAuthParamsDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, alias="userId") - domain_name: Optional[StrictStr] = Field(default=None, alias="domainName") - implementation_name: Optional[StrictStr] = Field(default=None, alias="implementationName") - password: Optional[StrictStr] = None - test_report_url: Optional[StrictStr] = Field(default=None, alias="testReportUrl") - __properties: ClassVar[List[str]] = ["userId", "domainName", "implementationName", "password", "testReportUrl"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWorkdayRaasAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWorkdayRaasAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "domainName": obj.get("domainName"), - "implementationName": obj.get("implementationName"), - "password": obj.get("password"), - "testReportUrl": obj.get("testReportUrl") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_refresh_token_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_refresh_token_params_dto.py deleted file mode 100644 index 6b9c61a4f9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_workday_refresh_token_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerWorkdayRefreshTokenParamsDTO(BaseModel): - """ - DesignerWorkdayRefreshTokenParamsDTO - """ # noqa: E501 - api_client_id: Optional[StrictStr] = Field(default=None, alias="apiClientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - refresh_token: Optional[StrictStr] = Field(default=None, alias="refreshToken") - __properties: ClassVar[List[str]] = ["apiClientId", "clientSecret", "refreshToken"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerWorkdayRefreshTokenParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerWorkdayRefreshTokenParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "apiClientId": obj.get("apiClientId"), - "clientSecret": obj.get("clientSecret"), - "refreshToken": obj.get("refreshToken") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_zoom_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_zoom_auth_params_dto.py deleted file mode 100644 index 2f423aadfc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_zoom_auth_params_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DesignerZoomAuthParamsDTO(BaseModel): - """ - DesignerZoomAuthParamsDTO - """ # noqa: E501 - auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") - client_id: Optional[StrictStr] = Field(default=None, alias="clientId") - client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") - __properties: ClassVar[List[str]] = ["authCode", "clientId", "clientSecret"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DesignerZoomAuthParamsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DesignerZoomAuthParamsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "authCode": obj.get("authCode"), - "clientId": obj.get("clientId"), - "clientSecret": obj.get("clientSecret") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definition_dto.py new file mode 100644 index 0000000000..0560b0b922 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definition_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DimensionChangeDefinitionDTO(BaseModel): + """ + DimensionChangeDefinitionDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The symbol name of the dimension; for example, `Career_Level` or `Employee.Vaccination_Status`") + display_name: Optional[StrictStr] = Field(default=None, description="The user-friendly name for the dimension.", alias="displayName") + short_display_name: Optional[StrictStr] = Field(default=None, description="A shortened version of the display name. If the dimension is visible in the solution experience, this name is displayed in visualization titles.", alias="shortDisplayName") + description: Optional[StrictStr] = Field(default=None, description="A short description of the dimension. Descriptions provide in-context help for your users while working in Visier.") + __properties: ClassVar[List[str]] = ["id", "displayName", "shortDisplayName", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionChangeDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionChangeDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "shortDisplayName": obj.get("shortDisplayName"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..7589abcb4e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_change_definition_dto import DimensionChangeDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class DimensionChangeDefinitionsByTenantDTO(BaseModel): + """ + DimensionChangeDefinitionsByTenantDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the tenant in which to update dimensions.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="To make changes in a project, specify a project ID.", alias="projectId") + dimensions: Optional[List[DimensionChangeDefinitionDTO]] = Field(default=None, description="The list of dimensions to update.") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "dimensions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionChangeDefinitionsByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dimensions (list) + _items = [] + if self.dimensions: + for _item_dimensions in self.dimensions: + if _item_dimensions: + _items.append(_item_dimensions.to_dict()) + _dict['dimensions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionChangeDefinitionsByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "dimensions": [DimensionChangeDefinitionDTO.from_dict(_item) for _item in obj["dimensions"]] if obj.get("dimensions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_dto.py new file mode 100644 index 0000000000..fb2e4288fa --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_dto.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.level_dto import LevelDTO +from visier_platform_sdk.models.tag_map_element_dto import TagMapElementDTO +from typing import Optional, Set +from typing_extensions import Self + +class DimensionDTO(BaseModel): + """ + A dimension organizes unique values of an attribute into a list or a hierarchical structure for use as a filter or group-by in your solution. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the dimension.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the dimension.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the dimension.") + levels: Optional[List[LevelDTO]] = Field(default=None, description="The levels defined for the dimension. Note: For parent-child dimensions, a level name is generated by Visier.") + unknown_member: Optional[List[StrictStr]] = Field(default=None, description="The optional path to the unknown member, if defined.", alias="unknownMember") + member_count: Optional[StrictInt] = Field(default=None, description="The total number of members for the dimension, excluding the (All) member.", alias="memberCount") + visible_in_app: Optional[StrictBool] = Field(default=None, description="`true` if this dimension is set to be visible in your solution.", alias="visibleInApp") + tags: Optional[List[TagMapElementDTO]] = Field(default=None, description="The optional collection of tags defined for this element.") + explanation: Optional[StrictStr] = Field(default=None, description="The localized explanation of the dimension.") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "levels", "unknownMember", "memberCount", "visibleInApp", "tags", "explanation"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in levels (list) + _items = [] + if self.levels: + for _item_levels in self.levels: + if _item_levels: + _items.append(_item_levels.to_dict()) + _dict['levels'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in tags (list) + _items = [] + if self.tags: + for _item_tags in self.tags: + if _item_tags: + _items.append(_item_tags.to_dict()) + _dict['tags'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "levels": [LevelDTO.from_dict(_item) for _item in obj["levels"]] if obj.get("levels") is not None else None, + "unknownMember": obj.get("unknownMember"), + "memberCount": obj.get("memberCount"), + "visibleInApp": obj.get("visibleInApp"), + "tags": [TagMapElementDTO.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None, + "explanation": obj.get("explanation") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_filter_dto.py new file mode 100644 index 0000000000..830afdfc9a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_filter_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dynamic_dimension_filter_dto import DynamicDimensionFilterDTO +from visier_platform_sdk.models.static_dimension_filter_dto import StaticDimensionFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class DimensionFilterDTO(BaseModel): + """ + DimensionFilterDTO + """ # noqa: E501 + static_dimension_filter: Optional[StaticDimensionFilterDTO] = Field(default=None, alias="staticDimensionFilter") + dynamic_dimension_filter: Optional[DynamicDimensionFilterDTO] = Field(default=None, alias="dynamicDimensionFilter") + __properties: ClassVar[List[str]] = ["staticDimensionFilter", "dynamicDimensionFilter"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of static_dimension_filter + if self.static_dimension_filter: + _dict['staticDimensionFilter'] = self.static_dimension_filter.to_dict() + # override the default output from pydantic by calling `to_dict()` of dynamic_dimension_filter + if self.dynamic_dimension_filter: + _dict['dynamicDimensionFilter'] = self.dynamic_dimension_filter.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "staticDimensionFilter": StaticDimensionFilterDTO.from_dict(obj["staticDimensionFilter"]) if obj.get("staticDimensionFilter") is not None else None, + "dynamicDimensionFilter": DynamicDimensionFilterDTO.from_dict(obj["dynamicDimensionFilter"]) if obj.get("dynamicDimensionFilter") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_dto.py new file mode 100644 index 0000000000..f8e29526f9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_member_reference_dto import DimensionMemberReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class DimensionMappingValidationDTO(BaseModel): + """ + DimensionMappingValidationDTO + """ # noqa: E501 + dimension_map_id: Optional[StrictStr] = Field(default=None, alias="dimensionMapId") + dimension_id: Optional[StrictStr] = Field(default=None, alias="dimensionId") + unmapped_members: Optional[List[DimensionMemberReferenceDTO]] = Field(default=None, alias="unmappedMembers") + failures: Optional[List[StrictStr]] = None + __properties: ClassVar[List[str]] = ["dimensionMapId", "dimensionId", "unmappedMembers", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionMappingValidationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in unmapped_members (list) + _items = [] + if self.unmapped_members: + for _item_unmapped_members in self.unmapped_members: + if _item_unmapped_members: + _items.append(_item_unmapped_members.to_dict()) + _dict['unmappedMembers'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionMappingValidationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionMapId": obj.get("dimensionMapId"), + "dimensionId": obj.get("dimensionId"), + "unmappedMembers": [DimensionMemberReferenceDTO.from_dict(_item) for _item in obj["unmappedMembers"]] if obj.get("unmappedMembers") is not None else None, + "failures": obj.get("failures") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py new file mode 100644 index 0000000000..f33cfc8cc8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DimensionMappingValidationExecutionDTO(BaseModel): + """ + Instruction to execute a mapping validation query + """ # noqa: E501 + member_map_id: Optional[StrictStr] = Field(default=None, description="memberMapId == dimensionMapId", alias="memberMapId") + analytic_object: Optional[StrictStr] = Field(default=None, description="the analytic object associated with the dimension map", alias="analyticObject") + __properties: ClassVar[List[str]] = ["memberMapId", "analyticObject"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionMappingValidationExecutionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionMappingValidationExecutionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "memberMapId": obj.get("memberMapId"), + "analyticObject": obj.get("analyticObject") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_dto.py new file mode 100644 index 0000000000..f328f146ca --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DimensionMemberDTO(BaseModel): + """ + DimensionMemberDTO + """ # noqa: E501 + dimension_member: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the dimension members. Dimension members in a hierarchical dimension will have an array with multiple strings.", alias="dimensionMember") + __properties: ClassVar[List[str]] = ["dimensionMember"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionMemberDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionMemberDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionMember": obj.get("dimensionMember") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_reference_dto.py new file mode 100644 index 0000000000..639af2cbba --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_reference_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DimensionMemberReferenceDTO(BaseModel): + """ + The members of a dimension. + """ # noqa: E501 + path: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the members within a dimension path. For example, a dimension for Location may have the paths \"Canada, BC, Vancouver\" and \"US, California, San Francisco\".") + member_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension member. Use `memberId` if the dimension member doesn't have a path, such as SD groups.", alias="memberId") + __properties: ClassVar[List[str]] = ["path", "memberId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionMemberReferenceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionMemberReferenceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "path": obj.get("path"), + "memberId": obj.get("memberId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_reference_dto.py new file mode 100644 index 0000000000..f1f026417e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_reference_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DimensionReferenceDTO(BaseModel): + """ + The name and qualifying path of a dimension to query. + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The ID of the dimension. To get a dimension's ID, call the Data Model API.") + qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the dimension in Visier, such as the analytic object or event the dimension is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") + __properties: ClassVar[List[str]] = ["name", "qualifyingPath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionReferenceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionReferenceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "qualifyingPath": obj.get("qualifyingPath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_auth_params_dto.py new file mode 100644 index 0000000000..ecc50302b9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_auth_params_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DimensionsAuthParamsDTO(BaseModel): + """ + DimensionsAuthParamsDTO + """ # noqa: E501 + app_key: Optional[StrictStr] = Field(default=None, alias="appKey") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + vanity_url: Optional[StrictStr] = Field(default=None, alias="vanityUrl") + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["appKey", "clientId", "clientSecret", "vanityUrl", "username", "password"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionsAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionsAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "appKey": obj.get("appKey"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), + "vanityUrl": obj.get("vanityUrl"), + "username": obj.get("username"), + "password": obj.get("password") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_change_definitions_dto.py new file mode 100644 index 0000000000..8830ad2bd6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_change_definitions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_change_definitions_by_tenant_dto import DimensionChangeDefinitionsByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class DimensionsChangeDefinitionsDTO(BaseModel): + """ + DimensionsChangeDefinitionsDTO + """ # noqa: E501 + dimensions_by_tenant: Optional[List[DimensionChangeDefinitionsByTenantDTO]] = Field(default=None, description="The dimension updates to make in each tenant.", alias="dimensionsByTenant") + __properties: ClassVar[List[str]] = ["dimensionsByTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionsChangeDefinitionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dimensions_by_tenant (list) + _items = [] + if self.dimensions_by_tenant: + for _item_dimensions_by_tenant in self.dimensions_by_tenant: + if _item_dimensions_by_tenant: + _items.append(_item_dimensions_by_tenant.to_dict()) + _dict['dimensionsByTenant'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionsChangeDefinitionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionsByTenant": [DimensionChangeDefinitionsByTenantDTO.from_dict(_item) for _item in obj["dimensionsByTenant"]] if obj.get("dimensionsByTenant") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_dto.py new file mode 100644 index 0000000000..998c311cd2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_dto import DimensionDTO +from typing import Optional, Set +from typing_extensions import Self + +class DimensionsDTO(BaseModel): + """ + A collection of dimensions. + """ # noqa: E501 + dimensions: Optional[List[DimensionDTO]] = None + __properties: ClassVar[List[str]] = ["dimensions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DimensionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dimensions (list) + _items = [] + if self.dimensions: + for _item_dimensions in self.dimensions: + if _item_dimensions: + _items.append(_item_dimensions.to_dict()) + _dict['dimensions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DimensionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensions": [DimensionDTO.from_dict(_item) for _item in obj["dimensions"]] if obj.get("dimensions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_config_dto.py new file mode 100644 index 0000000000..1ac8f976cc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_config_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DirectDataJobConfigDTO(BaseModel): + """ + Whether the direct data intake job is a primary job or a supplemental job. + """ # noqa: E501 + supplemental_mode: Optional[StrictStr] = Field(default=None, description="The configuration for the processing job as a primary job (default) or a supplemental job. If a primary job is already defined, the direct data intake job must be supplemental. The valid values are `IS_PRIMARY`, `IS_SUPPLEMENTAL`, and `UNCHANGED`.", alias="supplementalMode") + extend_objects: Optional[List[StrictStr]] = Field(default=None, description="The target analytic objects to load using extension tables. You can extend objects if the job type is supplemental and the target objects already contain data from a previous data version. This allows you to load data for objects that already contain data in Visier.", alias="extendObjects") + __properties: ClassVar[List[str]] = ["supplementalMode", "extendObjects"] + + @field_validator('supplemental_mode') + def supplemental_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['UNCHANGED', 'IS_PRIMARY', 'IS_SUPPLEMENTAL']): + raise ValueError("must be one of enum values ('UNCHANGED', 'IS_PRIMARY', 'IS_SUPPLEMENTAL')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DirectDataJobConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DirectDataJobConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "supplementalMode": obj.get("supplementalMode"), + "extendObjects": obj.get("extendObjects") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_status_response_dto.py new file mode 100644 index 0000000000..7773941c8e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_status_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DirectDataJobStatusResponseDTO(BaseModel): + """ + The job status information for a committed transaction. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant for the data load.", alias="tenantCode") + transaction_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the committed transaction.", alias="transactionId") + job_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the processing job.", alias="jobId") + status: Optional[StrictStr] = Field(default=None, description="The status of the processing job.") + message: Optional[StrictStr] = Field(default=None, description="If the processing job fails, this field contains details specific to the failure.") + __properties: ClassVar[List[str]] = ["tenantCode", "transactionId", "jobId", "status", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DirectDataJobStatusResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DirectDataJobStatusResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "transactionId": obj.get("transactionId"), + "jobId": obj.get("jobId"), + "status": obj.get("status"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_list_transactions_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_list_transactions_response_dto.py new file mode 100644 index 0000000000..364d520957 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_list_transactions_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.direct_data_transaction_dto import DirectDataTransactionDTO +from typing import Optional, Set +from typing_extensions import Self + +class DirectDataListTransactionsResponseDTO(BaseModel): + """ + A list of all currently open transactions. + """ # noqa: E501 + transactions: Optional[List[DirectDataTransactionDTO]] = Field(default=None, description="The list of open transactions.") + __properties: ClassVar[List[str]] = ["transactions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DirectDataListTransactionsResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in transactions (list) + _items = [] + if self.transactions: + for _item_transactions in self.transactions: + if _item_transactions: + _items.append(_item_transactions.to_dict()) + _dict['transactions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DirectDataListTransactionsResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "transactions": [DirectDataTransactionDTO.from_dict(_item) for _item in obj["transactions"]] if obj.get("transactions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_load_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_load_config_dto.py new file mode 100644 index 0000000000..4a8d6adba9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_load_config_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.direct_data_job_config_dto import DirectDataJobConfigDTO +from typing import Optional, Set +from typing_extensions import Self + +class DirectDataLoadConfigDTO(BaseModel): + """ + The configuration for the direct data intake, such as the direct data intake job type. + """ # noqa: E501 + job: Optional[DirectDataJobConfigDTO] = Field(default=None, description="The direct data intake job configuration.") + __properties: ClassVar[List[str]] = ["job"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DirectDataLoadConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of job + if self.job: + _dict['job'] = self.job.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DirectDataLoadConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "job": DirectDataJobConfigDTO.from_dict(obj["job"]) if obj.get("job") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_dto.py new file mode 100644 index 0000000000..211d7ff183 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.direct_data_schema_field_dto import DirectDataSchemaFieldDTO +from typing import Optional, Set +from typing_extensions import Self + +class DirectDataSchemaDTO(BaseModel): + """ + Public API Direct Intake schema response object + """ # noqa: E501 + var_schema: Optional[List[DirectDataSchemaFieldDTO]] = Field(default=None, description="The schema definition for loading a specific object", alias="schema") + __properties: ClassVar[List[str]] = ["schema"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DirectDataSchemaDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in var_schema (list) + _items = [] + if self.var_schema: + for _item_var_schema in self.var_schema: + if _item_var_schema: + _items.append(_item_var_schema.to_dict()) + _dict['schema'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DirectDataSchemaDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "schema": [DirectDataSchemaFieldDTO.from_dict(_item) for _item in obj["schema"]] if obj.get("schema") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_field_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_field_dto.py new file mode 100644 index 0000000000..7dcd084440 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_field_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DirectDataSchemaFieldDTO(BaseModel): + """ + The definition of each field in an object's schema. + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The field's column name. Column names are case sensitive.") + data_type: Optional[StrictStr] = Field(default=None, description="The column's data type.", alias="dataType") + formats: Optional[List[StrictStr]] = Field(default=None, description="The column's accepted formats, such as date formats like \"yyyy-MM-dd\".") + is_mandatory: Optional[StrictBool] = Field(default=None, description="If true, the field must contain a value to successfully load data into the object.", alias="isMandatory") + empty_values_allowed: Optional[StrictBool] = Field(default=None, description="If true, the value may be empty.", alias="emptyValuesAllowed") + __properties: ClassVar[List[str]] = ["name", "dataType", "formats", "isMandatory", "emptyValuesAllowed"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DirectDataSchemaFieldDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DirectDataSchemaFieldDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "dataType": obj.get("dataType"), + "formats": obj.get("formats"), + "isMandatory": obj.get("isMandatory"), + "emptyValuesAllowed": obj.get("emptyValuesAllowed") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_dto.py new file mode 100644 index 0000000000..ca25323f88 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DirectDataTransactionDTO(BaseModel): + """ + An open transaction. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant for the data load.", alias="tenantCode") + transaction_id: Optional[StrictStr] = Field(default=None, description="The transaction's unique identifier.", alias="transactionId") + created: Optional[StrictStr] = Field(default=None, description="The transaction's creation date and time. The format is YYYY-MM-DDTHH:mm:ss.SSSZ (ISO 8601).") + updated: Optional[StrictStr] = Field(default=None, description="The transaction's last update date and time. The format is YYYY-MM-DDTHH:mm:ss.SSSZ (ISO 8601).") + status: Optional[StrictStr] = Field(default=None, description="The status of the transaction, such as open, progressing, or committed.") + __properties: ClassVar[List[str]] = ["tenantCode", "transactionId", "created", "updated", "status"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DirectDataTransactionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DirectDataTransactionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "transactionId": obj.get("transactionId"), + "created": obj.get("created"), + "updated": obj.get("updated"), + "status": obj.get("status") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_start_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_start_response_dto.py new file mode 100644 index 0000000000..23afe36c5e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_start_response_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DirectDataTransactionStartResponseDTO(BaseModel): + """ + The response after successfully creating a transaction. + """ # noqa: E501 + transaction_id: Optional[StrictStr] = Field(default=None, description="The transaction's unique identifier.", alias="transactionId") + __properties: ClassVar[List[str]] = ["transactionId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DirectDataTransactionStartResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DirectDataTransactionStartResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "transactionId": obj.get("transactionId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_model.py new file mode 100644 index 0000000000..52155e86d8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_model.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_version_object import DataVersionObject +from typing import Optional, Set +from typing_extensions import Self + +class DisableDVModel(BaseModel): + """ + DisableDVModel + """ # noqa: E501 + data_version_objects: Optional[List[DataVersionObject]] = Field(default=None, description="A list of objects representing the data version to disable for a particular analytic tenant. The limit of objects to include per request is 1000.", alias="dataVersionObjects") + __properties: ClassVar[List[str]] = ["dataVersionObjects"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DisableDVModel from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_version_objects (list) + _items = [] + if self.data_version_objects: + for _item_data_version_objects in self.data_version_objects: + if _item_data_version_objects: + _items.append(_item_data_version_objects.to_dict()) + _dict['dataVersionObjects'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DisableDVModel from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataVersionObjects": [DataVersionObject.from_dict(_item) for _item in obj["dataVersionObjects"]] if obj.get("dataVersionObjects") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_request.py new file mode 100644 index 0000000000..8f5cddd325 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_request.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.disable_dv_model import DisableDVModel +from typing import Optional, Set +from typing_extensions import Self + +class DisableDVRequest(BaseModel): + """ + DisableDVRequest + """ # noqa: E501 + model: Optional[DisableDVModel] = Field(default=None, description="A form body key that contains a collection of key-value pairs.") + __properties: ClassVar[List[str]] = ["model"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DisableDVRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of model + if self.model: + _dict['model'] = self.model.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DisableDVRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "model": DisableDVModel.from_dict(obj["model"]) if obj.get("model") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_response.py new file mode 100644 index 0000000000..6a5a04444d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_response.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.result import Result +from typing import Optional, Set +from typing_extensions import Self + +class DisableDVResponse(BaseModel): + """ + DisableDVResponse + """ # noqa: E501 + total_failures: Optional[StrictInt] = Field(default=None, description="The number of data versions that failed during the disabling process.", alias="totalFailures") + total_success: Optional[StrictInt] = Field(default=None, description="The number of data versions that were disabled successfully.", alias="totalSuccess") + results: Optional[List[Result]] = Field(default=None, description="A list of objects representing the disabling process.") + __properties: ClassVar[List[str]] = ["totalFailures", "totalSuccess", "results"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DisableDVResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in results (list) + _items = [] + if self.results: + for _item_results in self.results: + if _item_results: + _items.append(_item_results.to_dict()) + _dict['results'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DisableDVResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "totalFailures": obj.get("totalFailures"), + "totalSuccess": obj.get("totalSuccess"), + "results": [Result.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dispatching_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/dispatching_job_status_response.py new file mode 100644 index 0000000000..d5870c4f49 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dispatching_job_status_response.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DispatchingJobStatusResponse(BaseModel): + """ + DispatchingJobStatusResponse + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="jobId") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that owns the dispatching job. This is usually the administrating tenant.", alias="tenantCode") + status: Optional[StrictStr] = Field(default=None, description="The current state of the job.") + total_jobs_dispatched: Optional[StrictInt] = Field(default=None, description="The number of extraction jobs that were generated by the dispatching job.", alias="totalJobsDispatched") + __properties: ClassVar[List[str]] = ["jobId", "tenantCode", "status", "totalJobsDispatched"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DispatchingJobStatusResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DispatchingJobStatusResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId"), + "tenantCode": obj.get("tenantCode"), + "status": obj.get("status"), + "totalJobsDispatched": obj.get("totalJobsDispatched") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/document_search_link_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/document_search_link_dto.py new file mode 100644 index 0000000000..9d6fc2faab --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/document_search_link_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DocumentSearchLinkDTO(BaseModel): + """ + Defines the attributes of a web request to reference documents in the search results. + """ # noqa: E501 + href: Optional[StrictStr] = Field(default=None, description="The URL pointing to the specific document.") + verb: Optional[StrictStr] = Field(default=None, description="The verb to use when formulating the web request. This is commonly `GET`.") + __properties: ClassVar[List[str]] = ["href", "verb"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DocumentSearchLinkDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DocumentSearchLinkDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "href": obj.get("href"), + "verb": obj.get("verb") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_dto.py new file mode 100644 index 0000000000..6244df984a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DownloadSourceFilesDTO(BaseModel): + """ + DownloadSourceFilesDTO + """ # noqa: E501 + download_all: Optional[StrictBool] = Field(default=None, description="If `true`, downloads all uploaded files for all sources. Default is `false`.", alias="downloadAll") + sources: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the object name of each source to download.") + source_ids: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the unique identifier of each source to download.", alias="sourceIds") + min_timestamp: Optional[StrictStr] = Field(default=None, description="The earliest upload time to download files from in ISO 8601 format, such as `\"2001-10-25T13:45:35.999\"`. If omitted, downloads files from the earliest available time.", alias="minTimestamp") + max_timestamp: Optional[StrictStr] = Field(default=None, description="The latest upload time to download files up to in ISO 8601 format, such as `\"2001-10-25T13:45:35.999\"`. If omitted, downloads files up to the latest available time.", alias="maxTimestamp") + min_snapshot_timestamp: Optional[StrictStr] = Field(default=None, description="The earliest snapshot time to download files from in ISO 8601 format, such as `\"2001-10-25T13:45:35.999\"`. If omitted, downloads files from the earliest available time.", alias="minSnapshotTimestamp") + max_snapshot_timestamp: Optional[StrictStr] = Field(default=None, description="The latest snapshot time to download files up to in ISO 8601 format, such as `\"2001-10-25T13:45:35.999\"`. If omitted, downloads files up to the latest available time.", alias="maxSnapshotTimestamp") + include_non_active_files: Optional[StrictBool] = Field(default=None, description="If `true`, includes excluded files in download. Default is `false`.", alias="includeNonActiveFiles") + __properties: ClassVar[List[str]] = ["downloadAll", "sources", "sourceIds", "minTimestamp", "maxTimestamp", "minSnapshotTimestamp", "maxSnapshotTimestamp", "includeNonActiveFiles"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DownloadSourceFilesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DownloadSourceFilesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "downloadAll": obj.get("downloadAll"), + "sources": obj.get("sources"), + "sourceIds": obj.get("sourceIds"), + "minTimestamp": obj.get("minTimestamp"), + "maxTimestamp": obj.get("maxTimestamp"), + "minSnapshotTimestamp": obj.get("minSnapshotTimestamp"), + "maxSnapshotTimestamp": obj.get("maxSnapshotTimestamp"), + "includeNonActiveFiles": obj.get("includeNonActiveFiles") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_response_dto.py new file mode 100644 index 0000000000..2164169ff5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_response_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DownloadSourceFilesResponseDTO(BaseModel): + """ + DownloadSourceFilesResponseDTO + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, description="The download request status, such as `Error`.") + messages: Optional[StrictStr] = Field(default=None, description="A description of the request status.") + __properties: ClassVar[List[str]] = ["status", "messages"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DownloadSourceFilesResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DownloadSourceFilesResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status"), + "messages": obj.get("messages") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_metric_validation_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_metric_validation_summary_dto.py deleted file mode 100644 index b04703d5fd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_metric_validation_summary_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing import Optional, Set -from typing_extensions import Self - -class DpAutomationMetricValidationSummaryDTO(BaseModel): - """ - DpAutomationMetricValidationSummaryDTO - """ # noqa: E501 - symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the metric. For example, \"employeeCount\".", alias="symbolName") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name that is displayed within Visier. For example, \"Headcount\".", alias="displayName") - value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The current value of the metric expressed as an integer.") - __properties: ClassVar[List[str]] = ["symbolName", "displayName", "value"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DpAutomationMetricValidationSummaryDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DpAutomationMetricValidationSummaryDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "symbolName": obj.get("symbolName"), - "displayName": obj.get("displayName"), - "value": obj.get("value") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_dto.py deleted file mode 100644 index 45d7fb4dc8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dp_automation_metric_validation_summary_dto import DpAutomationMetricValidationSummaryDTO -from typing import Optional, Set -from typing_extensions import Self - -class DpAutomationTenantPreviewEntriesSummaryDTO(BaseModel): - """ - DpAutomationTenantPreviewEntriesSummaryDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant. For example, \"WFF_j1r~i1o\".", alias="tenantCode") - data_version: Optional[StrictStr] = Field(default=None, description="The data version ID.", alias="dataVersion") - data_version_date: Optional[StrictStr] = Field(default=None, description="The date that the data version was created.", alias="dataVersionDate") - metrics: Optional[List[DpAutomationMetricValidationSummaryDTO]] = Field(default=None, description="A list of metrics and their values.") - __properties: ClassVar[List[str]] = ["tenantCode", "dataVersion", "dataVersionDate", "metrics"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DpAutomationTenantPreviewEntriesSummaryDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) - _items = [] - if self.metrics: - for _item_metrics in self.metrics: - if _item_metrics: - _items.append(_item_metrics.to_dict()) - _dict['metrics'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DpAutomationTenantPreviewEntriesSummaryDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "dataVersion": obj.get("dataVersion"), - "dataVersionDate": obj.get("dataVersionDate"), - "metrics": [DpAutomationMetricValidationSummaryDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_list_dto.py deleted file mode 100644 index 446aa0a661..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_list_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dp_automation_tenant_preview_entries_summary_dto import DpAutomationTenantPreviewEntriesSummaryDTO -from typing import Optional, Set -from typing_extensions import Self - -class DpAutomationTenantPreviewEntriesSummaryListDTO(BaseModel): - """ - DpAutomationTenantPreviewEntriesSummaryListDTO - """ # noqa: E501 - tenants: Optional[List[DpAutomationTenantPreviewEntriesSummaryDTO]] = Field(default=None, description="A list of objects representing all the analytic tenants.") - limit: Optional[StrictInt] = Field(default=None, description="The number of analytic tenants to retrieve. The maximum number to retrieve is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DpAutomationTenantPreviewEntriesSummaryListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DpAutomationTenantPreviewEntriesSummaryListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [DpAutomationTenantPreviewEntriesSummaryDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dp_cancel_job_batch_from_job_id_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dp_cancel_job_batch_from_job_id_dto.py deleted file mode 100644 index 86d56ae3cc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dp_cancel_job_batch_from_job_id_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DpCancelJobBatchFromJobIdDTO(BaseModel): - """ - DpCancelJobBatchFromJobIdDTO - """ # noqa: E501 - job_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of jobs to cancel. The maximum number of jobs that can be cancelled is 500.", alias="jobIds") - __properties: ClassVar[List[str]] = ["jobIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DpCancelJobBatchFromJobIdDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DpCancelJobBatchFromJobIdDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobIds": obj.get("jobIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dp_job_cancellation_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dp_job_cancellation_result_dto.py deleted file mode 100644 index 87a6fbbe5b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dp_job_cancellation_result_dto.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class DpJobCancellationResultDTO(BaseModel): - """ - DpJobCancellationResultDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant whose job the cancel operation was conducted for.", alias="tenantCode") - job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the job that the cancel operation was conducted for.", alias="jobId") - job_type: Optional[StrictStr] = Field(default=None, description="The job type associated with the job ID.", alias="jobType") - parent_job_id: Optional[StrictStr] = Field(default=None, description="If applicable, the job ID of the job that spawned the given job.", alias="parentJobId") - cancel_status: Optional[StrictStr] = Field(default=None, description="The status of the cancellation.", alias="cancelStatus") - job_status: Optional[StrictStr] = Field(default=None, description="The job status after the cancel operation. If successful, the status is either Cancelled or Cancelling.", alias="jobStatus") - message: Optional[StrictStr] = Field(default=None, description="If applicable, the message explains what errors occurred while cancelling the jobs.") - __properties: ClassVar[List[str]] = ["tenantCode", "jobId", "jobType", "parentJobId", "cancelStatus", "jobStatus", "message"] - - @field_validator('cancel_status') - def cancel_status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['CANCEL_FAILED', 'CANCEL_SUCCEEDED']): - raise ValueError("must be one of enum values ('CANCEL_FAILED', 'CANCEL_SUCCEEDED')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DpJobCancellationResultDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DpJobCancellationResultDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "jobId": obj.get("jobId"), - "jobType": obj.get("jobType"), - "parentJobId": obj.get("parentJobId"), - "cancelStatus": obj.get("cancelStatus"), - "jobStatus": obj.get("jobStatus"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dp_job_cancellation_results_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dp_job_cancellation_results_dto.py deleted file mode 100644 index 7433a734a9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dp_job_cancellation_results_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.dp_job_cancellation_result_dto import DpJobCancellationResultDTO -from typing import Optional, Set -from typing_extensions import Self - -class DpJobCancellationResultsDTO(BaseModel): - """ - DpJobCancellationResultsDTO - """ # noqa: E501 - job_cancellation_results: Optional[List[DpJobCancellationResultDTO]] = Field(default=None, description="A list of objects representing the job cancellation results.", alias="jobCancellationResults") - __properties: ClassVar[List[str]] = ["jobCancellationResults"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of DpJobCancellationResultsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in job_cancellation_results (list) - _items = [] - if self.job_cancellation_results: - for _item_job_cancellation_results in self.job_cancellation_results: - if _item_job_cancellation_results: - _items.append(_item_job_cancellation_results.to_dict()) - _dict['jobCancellationResults'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of DpJobCancellationResultsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobCancellationResults": [DpJobCancellationResultDTO.from_dict(_item) for _item in obj["jobCancellationResults"]] if obj.get("jobCancellationResults") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_dimension_filter_dto.py new file mode 100644 index 0000000000..821f3e7fd1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_dimension_filter_dto.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dynamic_property_mapping_dto import DynamicPropertyMappingDTO +from typing import Optional, Set +from typing_extensions import Self + +class DynamicDimensionFilterDTO(BaseModel): + """ + DynamicDimensionFilterDTO + """ # noqa: E501 + dimension_id: Optional[StrictStr] = Field(default=None, description="The dimension ID associated with the filter.", alias="dimensionId") + subject_reference_path: Optional[List[StrictStr]] = Field(default=None, description="The subject reference path.", alias="subjectReferencePath") + dynamic_property_mappings: Optional[List[DynamicPropertyMappingDTO]] = Field(default=None, description="The properties assigned population access in the dynamic filter.", alias="dynamicPropertyMappings") + dimension_status: Optional[StrictStr] = Field(default=None, description="The dimension's validity status. Valid values: Valid, NoData, NotFound. * **Valid**: The object exists and has loaded data. * **NoData**: The object exists but doesn't have loaded data. * **NotFound**: The object doesn't exist.", alias="dimensionStatus") + __properties: ClassVar[List[str]] = ["dimensionId", "subjectReferencePath", "dynamicPropertyMappings", "dimensionStatus"] + + @field_validator('dimension_status') + def dimension_status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): + raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DynamicDimensionFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dynamic_property_mappings (list) + _items = [] + if self.dynamic_property_mappings: + for _item_dynamic_property_mappings in self.dynamic_property_mappings: + if _item_dynamic_property_mappings: + _items.append(_item_dynamic_property_mappings.to_dict()) + _dict['dynamicPropertyMappings'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DynamicDimensionFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionId": obj.get("dimensionId"), + "subjectReferencePath": obj.get("subjectReferencePath"), + "dynamicPropertyMappings": [DynamicPropertyMappingDTO.from_dict(_item) for _item in obj["dynamicPropertyMappings"]] if obj.get("dynamicPropertyMappings") is not None else None, + "dimensionStatus": obj.get("dimensionStatus") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_property_mapping_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_property_mapping_dto.py new file mode 100644 index 0000000000..bd2c510db8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_property_mapping_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_property_dto import UserPropertyDTO +from typing import Optional, Set +from typing_extensions import Self + +class DynamicPropertyMappingDTO(BaseModel): + """ + DynamicPropertyMappingDTO + """ # noqa: E501 + hierarchy_property_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the property.", alias="hierarchyPropertyId") + user_property: Optional[UserPropertyDTO] = Field(default=None, description="The user property that you want to link the name property or organization head to.", alias="userProperty") + hierarchy_property_status: Optional[StrictStr] = Field(default=None, description="The property's validity status. Valid values: `Valid`, `NotFound`. * **Valid**: The object exists and has loaded data. * **NotFound**: The object doesn't exist.", alias="hierarchyPropertyStatus") + __properties: ClassVar[List[str]] = ["hierarchyPropertyId", "userProperty", "hierarchyPropertyStatus"] + + @field_validator('hierarchy_property_status') + def hierarchy_property_status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): + raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DynamicPropertyMappingDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of user_property + if self.user_property: + _dict['userProperty'] = self.user_property.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DynamicPropertyMappingDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "hierarchyPropertyId": obj.get("hierarchyPropertyId"), + "userProperty": UserPropertyDTO.from_dict(obj["userProperty"]) if obj.get("userProperty") is not None else None, + "hierarchyPropertyStatus": obj.get("hierarchyPropertyStatus") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/element_ids_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/element_ids_dto.py new file mode 100644 index 0000000000..e33f86f57c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/element_ids_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ElementIDsDTO(BaseModel): + """ + ElementIDsDTO + """ # noqa: E501 + ids: Optional[List[StrictStr]] = Field(default=None, description="The unique identifiers.") + __properties: ClassVar[List[str]] = ["ids"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ElementIDsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ElementIDsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ids": obj.get("ids") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/email_domains_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/email_domains_dto.py new file mode 100644 index 0000000000..12ed7f3309 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/email_domains_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class EmailDomainsDTO(BaseModel): + """ + EmailDomainsDTO + """ # noqa: E501 + domains: Optional[List[StrictStr]] = Field(default=None, description="The list of allowed email address domains.") + confirm_not_allowed_domain: Optional[StrictBool] = Field(default=None, description="If `true`, you cannot sign in using credentials, such as username and password. You can only log in with single sign-on (SSO). To avoid this, add your current email address's domain to allowed domains list.", alias="confirmNotAllowedDomain") + __properties: ClassVar[List[str]] = ["domains", "confirmNotAllowedDomain"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EmailDomainsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EmailDomainsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "domains": obj.get("domains"), + "confirmNotAllowedDomain": obj.get("confirmNotAllowedDomain") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/error_dto.py new file mode 100644 index 0000000000..f404bc76f2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/error_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ErrorDTO(BaseModel): + """ + ErrorDTO + """ # noqa: E501 + root_cause_id: Optional[StrictStr] = Field(default=None, description="The root cause identifier that allows Visier to determine the source of the problem.", alias="rootCauseId") + error_code: Optional[StrictStr] = Field(default=None, description="A brief identifier of the type of error.", alias="errorCode") + error_message: Optional[StrictStr] = Field(default=None, description="A description of the error that occurred.", alias="errorMessage") + __properties: ClassVar[List[str]] = ["rootCauseId", "errorCode", "errorMessage"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "rootCauseId": obj.get("rootCauseId"), + "errorCode": obj.get("errorCode"), + "errorMessage": obj.get("errorMessage") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/exclude_data_uploads_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/exclude_data_uploads_request.py new file mode 100644 index 0000000000..1a8773133b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/exclude_data_uploads_request.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.upload_to_exclude import UploadToExclude +from typing import Optional, Set +from typing_extensions import Self + +class ExcludeDataUploadsRequest(BaseModel): + """ + ExcludeDataUploadsRequest + """ # noqa: E501 + uploads: Optional[List[UploadToExclude]] = Field(default=None, description="A list of objects representing the data uploads to exclude for a particular analytic tenant.") + __properties: ClassVar[List[str]] = ["uploads"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExcludeDataUploadsRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in uploads (list) + _items = [] + if self.uploads: + for _item_uploads in self.uploads: + if _item_uploads: + _items.append(_item_uploads.to_dict()) + _dict['uploads'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExcludeDataUploadsRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uploads": [UploadToExclude.from_dict(_item) for _item in obj["uploads"]] if obj.get("uploads") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/excluded_sources_body.py b/src/visier_platform_sdk/visier_platform_sdk/models/excluded_sources_body.py new file mode 100644 index 0000000000..d2aa5d9d0d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/excluded_sources_body.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ExcludedSourcesBody(BaseModel): + """ + ExcludedSourcesBody + """ # noqa: E501 + excluded_sources: Optional[List[StrictStr]] = Field(default=None, description="A list of a CA tenant's excluded sources.", alias="excludedSources") + __properties: ClassVar[List[str]] = ["excludedSources"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExcludedSourcesBody from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExcludedSourcesBody from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "excludedSources": obj.get("excludedSources") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/execution_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/execution_context_dto.py new file mode 100644 index 0000000000..c1cb711d17 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/execution_context_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ExecutionContextDTO(BaseModel): + """ + The context of the API request, such as the tenant code and project ID. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project ID.", alias="projectId") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExecutionContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExecutionContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py new file mode 100644 index 0000000000..a23873d6b6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ExportProductionVersionsAPIOperationParametersDTO(BaseModel): + """ + ExportProductionVersionsAPIOperationParametersDTO + """ # noqa: E501 + start_version: Optional[StrictStr] = Field(default=None, description="The unique identifier of the version to start exporting versions from. The range is inclusive.", alias="startVersion") + end_version: Optional[StrictStr] = Field(default=None, description="The unique identifier of the version to stop exporting versions at. The range is inclusive.", alias="endVersion") + excluded_versions: Optional[List[StrictStr]] = Field(default=None, description="A list of versions between `startVersion` and `endVersion` to exclude.", alias="excludedVersions") + __properties: ClassVar[List[str]] = ["startVersion", "endVersion", "excludedVersions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExportProductionVersionsAPIOperationParametersDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExportProductionVersionsAPIOperationParametersDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "startVersion": obj.get("startVersion"), + "endVersion": obj.get("endVersion"), + "excludedVersions": obj.get("excludedVersions") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extract_data_and_load_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extract_data_and_load_dto.py new file mode 100644 index 0000000000..093c32b18d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extract_data_and_load_dto.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ExtractDataAndLoadDTO(BaseModel): + """ + ExtractDataAndLoadDTO + """ # noqa: E501 + tenants: Optional[List[StrictStr]] = Field(default=None, description="A list of analytic tenants to dispatch extraction jobs for. One extraction job is dispatched per tenant. Only valid for requests from an administrating tenant.") + all_tenants: Optional[StrictBool] = Field(default=None, description="If `true`, one extraction job is dispatched for each accessible analytic tenant. Only valid for requests from an administrating tenant.", alias="allTenants") + override_last_extraction_timestamp: Optional[StrictStr] = Field(default=None, description="An epoch timestamp in milliseconds from which to retrieve data. This overrides the last extraction date to retrieve more data.", alias="overrideLastExtractionTimestamp") + publish_data_load_artifacts: Optional[StrictBool] = Field(default=None, description="If `true`, the generated data load artifacts are published to production immediately.", alias="publishDataLoadArtifacts") + run_processing_job: Optional[StrictBool] = Field(default=None, description="If `true`, a processing job is spawned after a dispatched extraction job runs successfully.", alias="runProcessingJob") + data_category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data category on which to trigger the extraction job. Default is the tenant's primary data category.", alias="dataCategoryId") + disable_artifact_generation: Optional[StrictBool] = Field(default=None, description="If `true`, the job does not generate data load artifacts. If unspecified, the default is `false`.", alias="disableArtifactGeneration") + connector_ids: Optional[List[StrictStr]] = Field(default=None, description="The unique identifiers of the connectors to run extraction jobs.", alias="connectorIds") + last_extraction_time_offset_weeks: Optional[StrictInt] = Field(default=None, description="The number of weeks in the past to retrieve data. This overrides the last extraction date to retrieve more data.", alias="lastExtractionTimeOffsetWeeks") + months_to_extract: Optional[StrictInt] = Field(default=None, description="The number of months to retrieve snapshot data.", alias="monthsToExtract") + extract_to_time_override: Optional[StrictStr] = Field(default=None, description="An epoch timestamp in milliseconds for the end time up to which to retrieve data.", alias="extractToTimeOverride") + batch_size_override: Optional[StrictInt] = Field(default=None, description="The maximum number of subjects the job can retrieve in each batch.", alias="batchSizeOverride") + sql_batch_size: Optional[StrictInt] = Field(default=None, description="The maximum number of SQL table records the job can retrieve in each batch.", alias="sqlBatchSize") + force_update_existing_artifacts: Optional[StrictBool] = Field(default=None, description="If `true` and `disableArtifactGeneration` is `false`, updates extractor artifacts, which may overwrite the artifacts' manual overrides. Ignored if `disableArtifactGeneration` is `true`.", alias="forceUpdateExistingArtifacts") + excluded_tenants: Optional[List[StrictStr]] = Field(default=None, description="The unique identifiers of the tenants to exclude from the extraction job. Only valid if `allTenants` is `true`. Only valid for requests from an administrating tenant.", alias="excludedTenants") + spill_debug_info_partitions_dto: Optional[StrictStr] = Field(default=None, description="The partitioning of debugging info to be generated, if any. Valid values are: - `spillNone`: No debugging info is generated. - `spillStagesAndRecords`: Debugging info is generated for stages and records. - `spillAll`: Debugging info is generated for all partitions.", alias="spillDebugInfoPartitionsDTO") + spill_debug_info_detail_level_dto: Optional[StrictStr] = Field(default=None, description="The detail level of the debugging info to be generated. Valid values are: - `fileAndLine`: Debugging info is generated for file and line. - `mappingName`: Debugging info is generated for mapping name.", alias="spillDebugInfoDetailLevelDTO") + last_extraction_time_offset_months: Optional[StrictInt] = Field(default=None, description="The number of months to offset the last extraction time. This overrides the last extraction date backward to retrieve more data.", alias="lastExtractionTimeOffsetMonths") + last_extraction_time_offset_mode: Optional[StrictStr] = Field(default=None, description="The mode used to offset the last extraction time (weeks vs months)", alias="lastExtractionTimeOffsetMode") + offset_week_option: Optional[StrictStr] = Field(default=None, description="The week options used to offset the last extraction time (first of day / last of day)", alias="offsetWeekOption") + offset_month_option: Optional[StrictStr] = Field(default=None, description="The month options used to offset the last extraction time (first of month / last of month)", alias="offsetMonthOption") + credential_id: Optional[StrictStr] = Field(default=None, description="If running a job for the Databricks connector, specify the unique identifier of the connector credentials to use.", alias="credentialId") + __properties: ClassVar[List[str]] = ["tenants", "allTenants", "overrideLastExtractionTimestamp", "publishDataLoadArtifacts", "runProcessingJob", "dataCategoryId", "disableArtifactGeneration", "connectorIds", "lastExtractionTimeOffsetWeeks", "monthsToExtract", "extractToTimeOverride", "batchSizeOverride", "sqlBatchSize", "forceUpdateExistingArtifacts", "excludedTenants", "spillDebugInfoPartitionsDTO", "spillDebugInfoDetailLevelDTO", "lastExtractionTimeOffsetMonths", "lastExtractionTimeOffsetMode", "offsetWeekOption", "offsetMonthOption", "credentialId"] + + @field_validator('spill_debug_info_partitions_dto') + def spill_debug_info_partitions_dto_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['spillNone', 'spillStagesAndRecords', 'spillAll']): + raise ValueError("must be one of enum values ('spillNone', 'spillStagesAndRecords', 'spillAll')") + return value + + @field_validator('spill_debug_info_detail_level_dto') + def spill_debug_info_detail_level_dto_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['fileAndLine', 'mappingName']): + raise ValueError("must be one of enum values ('fileAndLine', 'mappingName')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExtractDataAndLoadDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExtractDataAndLoadDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": obj.get("tenants"), + "allTenants": obj.get("allTenants"), + "overrideLastExtractionTimestamp": obj.get("overrideLastExtractionTimestamp"), + "publishDataLoadArtifacts": obj.get("publishDataLoadArtifacts"), + "runProcessingJob": obj.get("runProcessingJob"), + "dataCategoryId": obj.get("dataCategoryId"), + "disableArtifactGeneration": obj.get("disableArtifactGeneration"), + "connectorIds": obj.get("connectorIds"), + "lastExtractionTimeOffsetWeeks": obj.get("lastExtractionTimeOffsetWeeks"), + "monthsToExtract": obj.get("monthsToExtract"), + "extractToTimeOverride": obj.get("extractToTimeOverride"), + "batchSizeOverride": obj.get("batchSizeOverride"), + "sqlBatchSize": obj.get("sqlBatchSize"), + "forceUpdateExistingArtifacts": obj.get("forceUpdateExistingArtifacts"), + "excludedTenants": obj.get("excludedTenants"), + "spillDebugInfoPartitionsDTO": obj.get("spillDebugInfoPartitionsDTO"), + "spillDebugInfoDetailLevelDTO": obj.get("spillDebugInfoDetailLevelDTO"), + "lastExtractionTimeOffsetMonths": obj.get("lastExtractionTimeOffsetMonths"), + "lastExtractionTimeOffsetMode": obj.get("lastExtractionTimeOffsetMode"), + "offsetWeekOption": obj.get("offsetWeekOption"), + "offsetMonthOption": obj.get("offsetMonthOption"), + "credentialId": obj.get("credentialId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job.py new file mode 100644 index 0000000000..cd1427e3cc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ExtractionJob(BaseModel): + """ + ExtractionJob + """ # noqa: E501 + extraction_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the extraction job.", alias="extractionJobId") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant for the extraction job.", alias="tenantCode") + status: Optional[StrictStr] = Field(default=None, description="The current state of the job. - Valid values: Pending, Running, Succeeded, Failed, Error, Cancelling, Cancelled, RolledBack, Rescheduling, Rescheduled.") + current_stage: Optional[StrictStr] = Field(default=None, description="The current stage of the job. This is not returned if the stage is \"Completed\". - Valid values: Initialize, Retrieve Main Subject, Retrieve Secondary Subjects, Retrieve Custom Subjects, Process Records, Publish Artifacts, Publish Records, Completed.", alias="currentStage") + __properties: ClassVar[List[str]] = ["extractionJobId", "tenantCode", "status", "currentStage"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExtractionJob from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExtractionJob from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "extractionJobId": obj.get("extractionJobId"), + "tenantCode": obj.get("tenantCode"), + "status": obj.get("status"), + "currentStage": obj.get("currentStage") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job_and_status_response.py new file mode 100644 index 0000000000..6a72d1eeb2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job_and_status_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.extraction_job import ExtractionJob +from typing import Optional, Set +from typing_extensions import Self + +class ExtractionJobAndStatusResponse(BaseModel): + """ + ExtractionJobAndStatusResponse + """ # noqa: E501 + parent_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="parentJobId") + parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that owns the dispatching job. This is usually the administrating tenant.", alias="parentTenantCode") + limit: Optional[StrictInt] = Field(default=None, description="The number of extraction jobs to return. The maximum number of jobs to return is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") + extraction_jobs: Optional[List[ExtractionJob]] = Field(default=None, description="A list of extraction job information.", alias="extractionJobs") + __properties: ClassVar[List[str]] = ["parentJobId", "parentTenantCode", "limit", "start", "extractionJobs"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExtractionJobAndStatusResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in extraction_jobs (list) + _items = [] + if self.extraction_jobs: + for _item_extraction_jobs in self.extraction_jobs: + if _item_extraction_jobs: + _items.append(_item_extraction_jobs.to_dict()) + _dict['extractionJobs'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExtractionJobAndStatusResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parentJobId": obj.get("parentJobId"), + "parentTenantCode": obj.get("parentTenantCode"), + "limit": obj.get("limit"), + "start": obj.get("start"), + "extractionJobs": [ExtractionJob.from_dict(_item) for _item in obj["extractionJobs"]] if obj.get("extractionJobs") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credential_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credential_apidto.py new file mode 100644 index 0000000000..6085d16d3b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credential_apidto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ExtractorCredentialAPIDTO(BaseModel): + """ + ExtractorCredentialAPIDTO + """ # noqa: E501 + credential_id: Optional[StrictStr] = Field(default=None, description="The ID associated with the connector credential.", alias="credentialId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable connector credential name that is displayed within Visier.", alias="displayName") + data_provider: Optional[StrictStr] = Field(default=None, description="The data provider associated with the credential.", alias="dataProvider") + is_inherited: Optional[StrictBool] = Field(default=None, description="Whether this credential is inherited from another tenant.", alias="isInherited") + auth_context: Optional[StrictStr] = Field(default=None, alias="authContext") + __properties: ClassVar[List[str]] = ["credentialId", "displayName", "dataProvider", "isInherited", "authContext"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExtractorCredentialAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExtractorCredentialAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "credentialId": obj.get("credentialId"), + "displayName": obj.get("displayName"), + "dataProvider": obj.get("dataProvider"), + "isInherited": obj.get("isInherited"), + "authContext": obj.get("authContext") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credentials_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credentials_apidto.py new file mode 100644 index 0000000000..289fdef02d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credentials_apidto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.extractor_credential_apidto import ExtractorCredentialAPIDTO +from typing import Optional, Set +from typing_extensions import Self + +class ExtractorCredentialsAPIDTO(BaseModel): + """ + ExtractorCredentialsAPIDTO + """ # noqa: E501 + connector_credentials: Optional[List[ExtractorCredentialAPIDTO]] = Field(default=None, description="A list of objects representing all the available connector credentials in Production.", alias="connectorCredentials") + limit: Optional[StrictInt] = Field(default=None, description="The number of connector credentials to return. The maximum number of data connector credentials to return is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["connectorCredentials", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExtractorCredentialsAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in connector_credentials (list) + _items = [] + if self.connector_credentials: + for _item_connector_credentials in self.connector_credentials: + if _item_connector_credentials: + _items.append(_item_connector_credentials.to_dict()) + _dict['connectorCredentials'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExtractorCredentialsAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectorCredentials": [ExtractorCredentialAPIDTO.from_dict(_item) for _item in obj["connectorCredentials"]] if obj.get("connectorCredentials") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_apidto.py new file mode 100644 index 0000000000..47b75adc15 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_apidto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.extractor_setting_key_value_apidto import ExtractorSettingKeyValueAPIDTO +from typing import Optional, Set +from typing_extensions import Self + +class ExtractorSettingAPIDTO(BaseModel): + """ + ExtractorSettingAPIDTO + """ # noqa: E501 + connector_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data connector.", alias="connectorId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data connector name that is displayed within Visier.", alias="displayName") + connector_settings: Optional[List[ExtractorSettingKeyValueAPIDTO]] = Field(default=None, description="A list of objects representing the settings that are available for the data connector.", alias="connectorSettings") + __properties: ClassVar[List[str]] = ["connectorId", "displayName", "connectorSettings"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExtractorSettingAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in connector_settings (list) + _items = [] + if self.connector_settings: + for _item_connector_settings in self.connector_settings: + if _item_connector_settings: + _items.append(_item_connector_settings.to_dict()) + _dict['connectorSettings'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExtractorSettingAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectorId": obj.get("connectorId"), + "displayName": obj.get("displayName"), + "connectorSettings": [ExtractorSettingKeyValueAPIDTO.from_dict(_item) for _item in obj["connectorSettings"]] if obj.get("connectorSettings") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_key_value_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_key_value_apidto.py new file mode 100644 index 0000000000..18d49e14ac --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_key_value_apidto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ExtractorSettingKeyValueAPIDTO(BaseModel): + """ + ExtractorSettingKeyValueAPIDTO + """ # noqa: E501 + setting_key: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the setting.", alias="settingKey") + value: Optional[StrictStr] = Field(default=None, description="The current value of the setting.") + __properties: ClassVar[List[str]] = ["settingKey", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExtractorSettingKeyValueAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExtractorSettingKeyValueAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "settingKey": obj.get("settingKey"), + "value": obj.get("value") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_settings_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_settings_apidto.py new file mode 100644 index 0000000000..b9ffb92adb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_settings_apidto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.extractor_setting_apidto import ExtractorSettingAPIDTO +from typing import Optional, Set +from typing_extensions import Self + +class ExtractorSettingsAPIDTO(BaseModel): + """ + ExtractorSettingsAPIDTO + """ # noqa: E501 + connectors: Optional[List[ExtractorSettingAPIDTO]] = Field(default=None, description="A list of all data connectors in the production environment and their settings.") + __properties: ClassVar[List[str]] = ["connectors"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ExtractorSettingsAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) + _items = [] + if self.connectors: + for _item_connectors in self.connectors: + if _item_connectors: + _items.append(_item_connectors.to_dict()) + _dict['connectors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ExtractorSettingsAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectors": [ExtractorSettingAPIDTO.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py new file mode 100644 index 0000000000..baf08ec3ab --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.error_dto import ErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class FailedAccessibleTenantProfileAssignmentDTO(BaseModel): + """ + FailedAccessibleTenantProfileAssignmentDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The impacted user ID.", alias="userId") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") + for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the target assignment is for all analytic tenants.", alias="forAllChildren") + error: Optional[ErrorDTO] = Field(default=None, description="The details about the error.") + __properties: ClassVar[List[str]] = ["userId", "tenantCode", "forAllChildren", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of FailedAccessibleTenantProfileAssignmentDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of FailedAccessibleTenantProfileAssignmentDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "tenantCode": obj.get("tenantCode"), + "forAllChildren": obj.get("forAllChildren"), + "error": ErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/failed_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/failed_change_dto.py new file mode 100644 index 0000000000..6c99a3d84e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/failed_change_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class FailedChangeDTO(BaseModel): + """ + FailedChangeDTO + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The tenant and, optionally, project that change was attempted on.", alias="executionContext") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the object that was attempted to be changed.", alias="objectName") + uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the object that was attempted to be changed.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the object that was attempted to be changed.", alias="displayName") + messages: Optional[List[StrictStr]] = Field(default=None, description="The error messages.") + __properties: ClassVar[List[str]] = ["executionContext", "objectName", "uuid", "displayName", "messages"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of FailedChangeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of FailedChangeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "objectName": obj.get("objectName"), + "uuid": obj.get("uuid"), + "displayName": obj.get("displayName"), + "messages": obj.get("messages") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py new file mode 100644 index 0000000000..7fc08f7717 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.error_dto import ErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class FailedLocalTenantProfileAssignmentDTO(BaseModel): + """ + FailedLocalTenantProfileAssignmentDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The impacted user ID.", alias="userId") + error: Optional[ErrorDTO] = Field(default=None, description="The details about the error.") + __properties: ClassVar[List[str]] = ["userId", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of FailedLocalTenantProfileAssignmentDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of FailedLocalTenantProfileAssignmentDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "error": ErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py new file mode 100644 index 0000000000..af6c75311a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class FailedLocalTenantProfileRevokeDTO(BaseModel): + """ + FailedLocalTenantProfileRevokeDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The impacted user ID.", alias="userId") + message: Optional[StrictStr] = Field(default=None, description="The details about the error.") + __properties: ClassVar[List[str]] = ["userId", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of FailedLocalTenantProfileRevokeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of FailedLocalTenantProfileRevokeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/fusion_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/fusion_auth_params_dto.py new file mode 100644 index 0000000000..1dcde5315b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/fusion_auth_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class FusionAuthParamsDTO(BaseModel): + """ + FusionAuthParamsDTO + """ # noqa: E501 + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") + __properties: ClassVar[List[str]] = ["username", "password", "hostDomainName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of FusionAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of FusionAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "username": obj.get("username"), + "password": obj.get("password"), + "hostDomainName": obj.get("hostDomainName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/generate_key_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/generate_key_request_dto.py new file mode 100644 index 0000000000..fb182c2fc1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/generate_key_request_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GenerateKeyRequestDTO(BaseModel): + """ + The settings to define for an encryption key. + """ # noqa: E501 + key_name: Optional[StrictStr] = Field(default=None, description="The encryption key's display name. The name may only contain alphanumeric or dash (-) characters and must be between 6 and 36 characters long.", alias="keyName") + expiry_date: Optional[StrictStr] = Field(default=None, description="The UTC expiration date of the key in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years.", alias="expiryDate") + algorithm: Optional[StrictStr] = Field(default=None, description="The hash-based message authentication code and cryptographic hash function associated with the encryption key. Must be one of `HmacSHA224`, `HmacSHA256`, `HmacSHA384`, or `HmacSHA512`.") + __properties: ClassVar[List[str]] = ["keyName", "expiryDate", "algorithm"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GenerateKeyRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GenerateKeyRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "keyName": obj.get("keyName"), + "expiryDate": obj.get("expiryDate"), + "algorithm": obj.get("algorithm") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_capabilities_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_capabilities_api_response_dto.py new file mode 100644 index 0000000000..2ced2db98b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_capabilities_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.capability_dto import CapabilityDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetCapabilitiesAPIResponseDTO(BaseModel): + """ + GetCapabilitiesAPIResponseDTO + """ # noqa: E501 + capabilities: Optional[List[CapabilityDTO]] = Field(default=None, description="A list of objects representing the available capabilities.") + __properties: ClassVar[List[str]] = ["capabilities"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetCapabilitiesAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in capabilities (list) + _items = [] + if self.capabilities: + for _item_capabilities in self.capabilities: + if _item_capabilities: + _items.append(_item_capabilities.to_dict()) + _dict['capabilities'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetCapabilitiesAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "capabilities": [CapabilityDTO.from_dict(_item) for _item in obj["capabilities"]] if obj.get("capabilities") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_content_packages_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_content_packages_api_response_dto.py new file mode 100644 index 0000000000..b280a5bb0f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_content_packages_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.content_package_dto import ContentPackageDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetContentPackagesAPIResponseDTO(BaseModel): + """ + GetContentPackagesAPIResponseDTO + """ # noqa: E501 + content_packages: Optional[List[ContentPackageDTO]] = Field(default=None, description="A list of objects representing the available content packages.", alias="contentPackages") + __properties: ClassVar[List[str]] = ["contentPackages"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetContentPackagesAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in content_packages (list) + _items = [] + if self.content_packages: + for _item_content_packages in self.content_packages: + if _item_content_packages: + _items.append(_item_content_packages.to_dict()) + _dict['contentPackages'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetContentPackagesAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "contentPackages": [ContentPackageDTO.from_dict(_item) for _item in obj["contentPackages"]] if obj.get("contentPackages") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_data_access_sets_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_data_access_sets_api_response_dto.py new file mode 100644 index 0000000000..696a223ade --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_data_access_sets_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_access_set_dto import DataAccessSetDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetDataAccessSetsAPIResponseDTO(BaseModel): + """ + GetDataAccessSetsAPIResponseDTO + """ # noqa: E501 + data_access_sets: Optional[List[DataAccessSetDTO]] = Field(default=None, description="A list of objects representing the shareable data access sets.", alias="dataAccessSets") + __properties: ClassVar[List[str]] = ["dataAccessSets"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetDataAccessSetsAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_access_sets (list) + _items = [] + if self.data_access_sets: + for _item_data_access_sets in self.data_access_sets: + if _item_data_access_sets: + _items.append(_item_data_access_sets.to_dict()) + _dict['dataAccessSets'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetDataAccessSetsAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataAccessSets": [DataAccessSetDTO.from_dict(_item) for _item in obj["dataAccessSets"]] if obj.get("dataAccessSets") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_data_security_objects_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_data_security_objects_api_response_dto.py new file mode 100644 index 0000000000..1d5caa24b5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_data_security_objects_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_dto import AnalyticObjectDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetDataSecurityObjectsAPIResponseDTO(BaseModel): + """ + GetDataSecurityObjectsAPIResponseDTO + """ # noqa: E501 + analytic_objects: Optional[List[AnalyticObjectDTO]] = Field(default=None, description="A list of analytic objects and their related objects that are available to define data access to.", alias="analyticObjects") + __properties: ClassVar[List[str]] = ["analyticObjects"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetDataSecurityObjectsAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) + _items = [] + if self.analytic_objects: + for _item_analytic_objects in self.analytic_objects: + if _item_analytic_objects: + _items.append(_item_analytic_objects.to_dict()) + _dict['analyticObjects'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetDataSecurityObjectsAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjects": [AnalyticObjectDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_permissions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_permissions_api_response_dto.py new file mode 100644 index 0000000000..1d91964291 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_permissions_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permission_dto import PermissionDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetPermissionsAPIResponseDTO(BaseModel): + """ + List of available permissions + """ # noqa: E501 + permissions: Optional[List[PermissionDTO]] = Field(default=None, description="A list of objects representing the available permissions.") + __properties: ClassVar[List[str]] = ["permissions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetPermissionsAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) + _items = [] + if self.permissions: + for _item_permissions in self.permissions: + if _item_permissions: + _items.append(_item_permissions.to_dict()) + _dict['permissions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetPermissionsAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissions": [PermissionDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_plan_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_plan_list_response_dto.py new file mode 100644 index 0000000000..9d5d516e5a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_plan_list_response_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.plan_info_dto import PlanInfoDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetPlanListResponseDTO(BaseModel): + """ + A collection of plans. + """ # noqa: E501 + plans: Optional[List[PlanInfoDTO]] = Field(default=None, description="A list of plans accessible to the user.") + page: Optional[StrictInt] = Field(default=None, description="The current page number of results that the user is viewing.") + __properties: ClassVar[List[str]] = ["plans", "page"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetPlanListResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in plans (list) + _items = [] + if self.plans: + for _item_plans in self.plans: + if _item_plans: + _items.append(_item_plans.to_dict()) + _dict['plans'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetPlanListResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "plans": [PlanInfoDTO.from_dict(_item) for _item in obj["plans"]] if obj.get("plans") is not None else None, + "page": obj.get("page") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_production_versions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_production_versions_api_response_dto.py new file mode 100644 index 0000000000..67a66b8c68 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_production_versions_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.project_dto import ProjectDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetProductionVersionsAPIResponseDTO(BaseModel): + """ + GetProductionVersionsAPIResponseDTO + """ # noqa: E501 + published_versions: Optional[List[ProjectDTO]] = Field(default=None, description="A list of projects that were published to production.", alias="publishedVersions") + __properties: ClassVar[List[str]] = ["publishedVersions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetProductionVersionsAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in published_versions (list) + _items = [] + if self.published_versions: + for _item_published_versions in self.published_versions: + if _item_published_versions: + _items.append(_item_published_versions.to_dict()) + _dict['publishedVersions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetProductionVersionsAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "publishedVersions": [ProjectDTO.from_dict(_item) for _item in obj["publishedVersions"]] if obj.get("publishedVersions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_projects_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_projects_api_response_dto.py new file mode 100644 index 0000000000..431db86a3c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_projects_api_response_dto.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.project_dto import ProjectDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetProjectsAPIResponseDTO(BaseModel): + """ + GetProjectsAPIResponseDTO + """ # noqa: E501 + open_projects: Optional[List[ProjectDTO]] = Field(default=None, description="A list of objects representing the accessible open projects for the user.", alias="openProjects") + approval_projects: Optional[List[ProjectDTO]] = Field(default=None, description="A list of objects representing the accessible approval projects for the user.", alias="approvalProjects") + rejected_projects: Optional[List[ProjectDTO]] = Field(default=None, description="A list of objects representing the accessible rejected projects for the user.", alias="rejectedProjects") + archived_projects: Optional[List[ProjectDTO]] = Field(default=None, description="A list of objects representing the accessible archived projects for the user.", alias="archivedProjects") + __properties: ClassVar[List[str]] = ["openProjects", "approvalProjects", "rejectedProjects", "archivedProjects"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetProjectsAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in open_projects (list) + _items = [] + if self.open_projects: + for _item_open_projects in self.open_projects: + if _item_open_projects: + _items.append(_item_open_projects.to_dict()) + _dict['openProjects'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in approval_projects (list) + _items = [] + if self.approval_projects: + for _item_approval_projects in self.approval_projects: + if _item_approval_projects: + _items.append(_item_approval_projects.to_dict()) + _dict['approvalProjects'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in rejected_projects (list) + _items = [] + if self.rejected_projects: + for _item_rejected_projects in self.rejected_projects: + if _item_rejected_projects: + _items.append(_item_rejected_projects.to_dict()) + _dict['rejectedProjects'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in archived_projects (list) + _items = [] + if self.archived_projects: + for _item_archived_projects in self.archived_projects: + if _item_archived_projects: + _items.append(_item_archived_projects.to_dict()) + _dict['archivedProjects'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetProjectsAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "openProjects": [ProjectDTO.from_dict(_item) for _item in obj["openProjects"]] if obj.get("openProjects") is not None else None, + "approvalProjects": [ProjectDTO.from_dict(_item) for _item in obj["approvalProjects"]] if obj.get("approvalProjects") is not None else None, + "rejectedProjects": [ProjectDTO.from_dict(_item) for _item in obj["rejectedProjects"]] if obj.get("rejectedProjects") is not None else None, + "archivedProjects": [ProjectDTO.from_dict(_item) for _item in obj["archivedProjects"]] if obj.get("archivedProjects") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/gong_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/gong_auth_params_dto.py new file mode 100644 index 0000000000..3544aa57cd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/gong_auth_params_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GongAuthParamsDTO(BaseModel): + """ + GongAuthParamsDTO + """ # noqa: E501 + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + __properties: ClassVar[List[str]] = ["clientId", "clientSecret"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GongAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GongAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/google_protobuf_any.py b/src/visier_platform_sdk/visier_platform_sdk/models/google_protobuf_any.py deleted file mode 100644 index e8fbccab2a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/google_protobuf_any.py +++ /dev/null @@ -1,101 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class GoogleProtobufAny(BaseModel): - """ - Contains an arbitrary serialized message along with a @type that describes the type of the serialized message. - """ # noqa: E501 - type: Optional[StrictStr] = Field(default=None, description="The type of the serialized message.", alias="@type") - additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["@type"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of GoogleProtobufAny from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - * Fields in `self.additional_properties` are added to the output dict. - """ - excluded_fields: Set[str] = set([ - "additional_properties", - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # puts key-value pairs in additional_properties in the top level - if self.additional_properties is not None: - for _key, _value in self.additional_properties.items(): - _dict[_key] = _value - - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of GoogleProtobufAny from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "@type": obj.get("@type") - }) - # store additional fields in additional_properties - for _key in obj.keys(): - if _key not in cls.__properties: - _obj.additional_properties[_key] = obj.get(_key) - - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/google_sheets_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/google_sheets_auth_params_dto.py new file mode 100644 index 0000000000..b1c9ed347a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/google_sheets_auth_params_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GoogleSheetsAuthParamsDTO(BaseModel): + """ + GoogleSheetsAuthParamsDTO + """ # noqa: E501 + auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") + configuration: Optional[StrictStr] = None + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + __properties: ClassVar[List[str]] = ["authCode", "configuration", "clientId", "clientSecret"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GoogleSheetsAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GoogleSheetsAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "authCode": obj.get("authCode"), + "configuration": obj.get("configuration"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/google_workspace_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/google_workspace_auth_params_dto.py new file mode 100644 index 0000000000..285858ff0d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/google_workspace_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GoogleWorkspaceAuthParamsDTO(BaseModel): + """ + GoogleWorkspaceAuthParamsDTO + """ # noqa: E501 + auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + service_account: Optional[StrictStr] = Field(default=None, alias="serviceAccount") + privacy_mode: Optional[StrictStr] = Field(default=None, alias="privacyMode") + __properties: ClassVar[List[str]] = ["authCode", "clientId", "clientSecret", "serviceAccount", "privacyMode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GoogleWorkspaceAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GoogleWorkspaceAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "authCode": obj.get("authCode"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), + "serviceAccount": obj.get("serviceAccount"), + "privacyMode": obj.get("privacyMode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/greenhouse_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/greenhouse_auth_params_dto.py new file mode 100644 index 0000000000..0657b0f982 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/greenhouse_auth_params_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GreenhouseAuthParamsDTO(BaseModel): + """ + GreenhouseAuthParamsDTO + """ # noqa: E501 + api_key: Optional[StrictStr] = Field(default=None, alias="apiKey") + __properties: ClassVar[List[str]] = ["apiKey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GreenhouseAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GreenhouseAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiKey": obj.get("apiKey") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy_property_dto.py new file mode 100644 index 0000000000..1018996d64 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy_property_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class HierarchyPropertyDTO(BaseModel): + """ + HierarchyPropertyDTO + """ # noqa: E501 + hierarchy_property_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the property.", alias="hierarchyPropertyId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable property name to display in Visier, such as \"Name Property\".", alias="displayName") + __properties: ClassVar[List[str]] = ["hierarchyPropertyId", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of HierarchyPropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of HierarchyPropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "hierarchyPropertyId": obj.get("hierarchyPropertyId"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/home_analysis_by_user_group_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/home_analysis_by_user_group_dto.py new file mode 100644 index 0000000000..067c89cddd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/home_analysis_by_user_group_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class HomeAnalysisByUserGroupDTO(BaseModel): + """ + HomeAnalysisByUserGroupDTO + """ # noqa: E501 + user_group_id: Optional[StrictStr] = Field(default=None, description="The user group ID.", alias="userGroupId") + home_analysis_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analysis to show for this user group when a user logs in.", alias="homeAnalysisId") + __properties: ClassVar[List[str]] = ["userGroupId", "homeAnalysisId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of HomeAnalysisByUserGroupDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of HomeAnalysisByUserGroupDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroupId": obj.get("userGroupId"), + "homeAnalysisId": obj.get("homeAnalysisId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/icims_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/icims_auth_params_dto.py new file mode 100644 index 0000000000..2c9be2a3e9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/icims_auth_params_dto.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class IcimsAuthParamsDTO(BaseModel): + """ + IcimsAuthParamsDTO + """ # noqa: E501 + customer_id: Optional[StrictStr] = Field(default=None, alias="customerId") + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + region: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["customerId", "username", "password", "clientId", "clientSecret", "region"] + + @field_validator('region') + def region_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['US', 'EU', 'CA', 'ISV']): + raise ValueError("must be one of enum values ('US', 'EU', 'CA', 'ISV')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of IcimsAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of IcimsAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "customerId": obj.get("customerId"), + "username": obj.get("username"), + "password": obj.get("password"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), + "region": obj.get("region") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/import_definition_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/import_definition_apidto.py new file mode 100644 index 0000000000..a81a9113e9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/import_definition_apidto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ImportDefinitionAPIDTO(BaseModel): + """ + ImportDefinitionAPIDTO + """ # noqa: E501 + connector_id: Optional[StrictStr] = Field(default=None, description="The ID associated with the data connector.", alias="connectorId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data connector name that is displayed within Visier.", alias="displayName") + credential_id: Optional[StrictStr] = Field(default=None, description="The ID associated with the connector credentials currently assigned to this data connector.", alias="credentialId") + __properties: ClassVar[List[str]] = ["connectorId", "displayName", "credentialId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ImportDefinitionAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ImportDefinitionAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectorId": obj.get("connectorId"), + "displayName": obj.get("displayName"), + "credentialId": obj.get("credentialId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/import_definitions_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/import_definitions_apidto.py new file mode 100644 index 0000000000..3aa2d056f9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/import_definitions_apidto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.import_definition_apidto import ImportDefinitionAPIDTO +from typing import Optional, Set +from typing_extensions import Self + +class ImportDefinitionsAPIDTO(BaseModel): + """ + ImportDefinitionsAPIDTO + """ # noqa: E501 + data_connectors: Optional[List[ImportDefinitionAPIDTO]] = Field(default=None, description="A list of objects representing all the available data connectors in Production.", alias="dataConnectors") + limit: Optional[StrictInt] = Field(default=None, description="The number of data connectors to return. The maximum number of data connectors to return is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["dataConnectors", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ImportDefinitionsAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_connectors (list) + _items = [] + if self.data_connectors: + for _item_data_connectors in self.data_connectors: + if _item_data_connectors: + _items.append(_item_data_connectors.to_dict()) + _dict['dataConnectors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ImportDefinitionsAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataConnectors": [ImportDefinitionAPIDTO.from_dict(_item) for _item in obj["dataConnectors"]] if obj.get("dataConnectors") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/include_data_uploads_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/include_data_uploads_request.py new file mode 100644 index 0000000000..f70c3b7a3b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/include_data_uploads_request.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.upload_to_include import UploadToInclude +from typing import Optional, Set +from typing_extensions import Self + +class IncludeDataUploadsRequest(BaseModel): + """ + IncludeDataUploadsRequest + """ # noqa: E501 + uploads: Optional[List[UploadToInclude]] = Field(default=None, description="A list of objects representing the data uploads to include for a particular analytic tenant.") + __properties: ClassVar[List[str]] = ["uploads"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of IncludeDataUploadsRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in uploads (list) + _items = [] + if self.uploads: + for _item_uploads in self.uploads: + if _item_uploads: + _items.append(_item_uploads.to_dict()) + _dict['uploads'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of IncludeDataUploadsRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uploads": [UploadToInclude.from_dict(_item) for _item in obj["uploads"]] if obj.get("uploads") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/inherited_access_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/inherited_access_config_dto.py new file mode 100644 index 0000000000..cc390bb680 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/inherited_access_config_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.member_filter_config_dto import MemberFilterConfigDTO +from typing import Optional, Set +from typing_extensions import Self + +class InheritedAccessConfigDTO(BaseModel): + """ + InheritedAccessConfigDTO + """ # noqa: E501 + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The analytic object ID associated with the inherited access configuration.", alias="analyticObjectId") + remove_access: Optional[StrictBool] = Field(default=None, description="The flag for removing access to the inherited analytic object.", alias="removeAccess") + member_filter_configs: Optional[List[MemberFilterConfigDTO]] = Field(default=None, description="Custom filters that define population access for an inherited analytic object in the permission.", alias="memberFilterConfigs") + __properties: ClassVar[List[str]] = ["analyticObjectId", "removeAccess", "memberFilterConfigs"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InheritedAccessConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in member_filter_configs (list) + _items = [] + if self.member_filter_configs: + for _item_member_filter_configs in self.member_filter_configs: + if _item_member_filter_configs: + _items.append(_item_member_filter_configs.to_dict()) + _dict['memberFilterConfigs'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InheritedAccessConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjectId": obj.get("analyticObjectId"), + "removeAccess": obj.get("removeAccess"), + "memberFilterConfigs": [MemberFilterConfigDTO.from_dict(_item) for _item in obj["memberFilterConfigs"]] if obj.get("memberFilterConfigs") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py new file mode 100644 index 0000000000..5e157fed29 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class InheritedReferenceMemberFilterConfigDTO(BaseModel): + """ + InheritedReferenceMemberFilterConfigDTO + """ # noqa: E501 + target_analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object that the source analytic object should inherit filters from. The target analytic object must have a binding (strong) reference from the source analytic object.", alias="targetAnalyticObjectId") + analytic_object_reference: Optional[StrictStr] = Field(default=None, description="The optional object name of a binding (strong) reference to the target analytic object. If not specified, uses the first binding reference from the source to the target analytic object.", alias="analyticObjectReference") + __properties: ClassVar[List[str]] = ["targetAnalyticObjectId", "analyticObjectReference"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InheritedReferenceMemberFilterConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InheritedReferenceMemberFilterConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetAnalyticObjectId": obj.get("targetAnalyticObjectId"), + "analyticObjectReference": obj.get("analyticObjectReference") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/internal_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/internal_query_execution_options_dto.py new file mode 100644 index 0000000000..75cfac7ae1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/internal_query_execution_options_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class InternalQueryExecutionOptionsDTO(BaseModel): + """ + Internal options - not to be documented or used by external parties + """ # noqa: E501 + sparse_handling_mode: Optional[StrictStr] = Field(default=None, alias="sparseHandlingMode") + align_time_axis_to_period_end: Optional[StrictBool] = Field(default=None, description="If true, shifts the time axis members back by one millisecond. Shifting the time axis members back by one millisecond makes them valid at the end of the period instead of at the start of the next period. This aligns the returned data timestamps with the timestamps in the Visier application. Example: If the timestamps are originally [`2019-06-01T00:00:00.000Z`, `2019-05-01T00:00:00.000Z`], then `alignTimeAxisPeriodEnd` turns the timestamps into [`2019-05-31T23:59:59.999Z`, `2019-04-30T23:59:59.999Z`]. Example: If the timestamps are originally [`2019-05-01T00:00:00.000Z/2019-06-01T00:00:00.000Z`, `2019-04-01T00:00:00.000Z/2019-05-01T00:00:00.000Z`], then `alignTimeAxisPeriodEnd` turns the timestamps into [`2019-05-01T00:00:00.000Z/2019-05-31T23:59:59.999Z`, `2019-04-01T00:00:00.000Z/2019-04-30T23:59:59.999Z`].", alias="alignTimeAxisToPeriodEnd") + __properties: ClassVar[List[str]] = ["sparseHandlingMode", "alignTimeAxisToPeriodEnd"] + + @field_validator('sparse_handling_mode') + def sparse_handling_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['ALLOW', 'DISALLOW', 'FORCE']): + raise ValueError("must be one of enum values ('ALLOW', 'DISALLOW', 'FORCE')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InternalQueryExecutionOptionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InternalQueryExecutionOptionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sparseHandlingMode": obj.get("sparseHandlingMode"), + "alignTimeAxisToPeriodEnd": obj.get("alignTimeAxisToPeriodEnd") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/internal_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/internal_s3_auth_params_dto.py new file mode 100644 index 0000000000..2d5e11a09a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/internal_s3_auth_params_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class InternalS3AuthParamsDTO(BaseModel): + """ + InternalS3AuthParamsDTO + """ # noqa: E501 + bucket_name: Optional[StrictStr] = Field(default=None, alias="bucketName") + path: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["bucketName", "path"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of InternalS3AuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of InternalS3AuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bucketName": obj.get("bucketName"), + "path": obj.get("path") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/jdbc_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/jdbc_auth_params_dto.py new file mode 100644 index 0000000000..8b0c2d5c4b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/jdbc_auth_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class JdbcAuthParamsDTO(BaseModel): + """ + JdbcAuthParamsDTO + """ # noqa: E501 + jdbc_connect_string: Optional[StrictStr] = Field(default=None, alias="jdbcConnectString") + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["jdbcConnectString", "username", "password"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of JdbcAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of JdbcAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jdbcConnectString": obj.get("jdbcConnectString"), + "username": obj.get("username"), + "password": obj.get("password") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/jira_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/jira_auth_params_dto.py new file mode 100644 index 0000000000..ab31e0a1f9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/jira_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.jira_connect_params_dto import JiraConnectParamsDTO +from typing import Optional, Set +from typing_extensions import Self + +class JiraAuthParamsDTO(BaseModel): + """ + JiraAuthParamsDTO + """ # noqa: E501 + api_token: Optional[StrictStr] = Field(default=None, alias="apiToken") + host_name: Optional[StrictStr] = Field(default=None, alias="hostName") + connect_params: Optional[JiraConnectParamsDTO] = Field(default=None, alias="connectParams") + __properties: ClassVar[List[str]] = ["apiToken", "hostName", "connectParams"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of JiraAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of connect_params + if self.connect_params: + _dict['connectParams'] = self.connect_params.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of JiraAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiToken": obj.get("apiToken"), + "hostName": obj.get("hostName"), + "connectParams": JiraConnectParamsDTO.from_dict(obj["connectParams"]) if obj.get("connectParams") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/jira_connect_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/jira_connect_params_dto.py new file mode 100644 index 0000000000..94b1953445 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/jira_connect_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class JiraConnectParamsDTO(BaseModel): + """ + JiraConnectParamsDTO + """ # noqa: E501 + app_key: Optional[StrictStr] = Field(default=None, alias="appKey") + client_key: Optional[StrictStr] = Field(default=None, alias="clientKey") + shared_secret: Optional[StrictStr] = Field(default=None, alias="sharedSecret") + __properties: ClassVar[List[str]] = ["appKey", "clientKey", "sharedSecret"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of JiraConnectParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of JiraConnectParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "appKey": obj.get("appKey"), + "clientKey": obj.get("clientKey"), + "sharedSecret": obj.get("sharedSecret") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_result_dto.py new file mode 100644 index 0000000000..ecb406900f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_result_dto.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class JobCancellationResultDTO(BaseModel): + """ + JobCancellationResultDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant whose job the cancel operation was conducted for.", alias="tenantCode") + job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the job that the cancel operation was conducted for.", alias="jobId") + job_type: Optional[StrictStr] = Field(default=None, description="The job type associated with the job ID.", alias="jobType") + parent_job_id: Optional[StrictStr] = Field(default=None, description="If applicable, the job ID of the job that spawned the given job.", alias="parentJobId") + cancel_status: Optional[StrictStr] = Field(default=None, description="The status of the cancellation.", alias="cancelStatus") + job_status: Optional[StrictStr] = Field(default=None, description="The job status after the cancel operation. If successful, the status is either Cancelled or Cancelling.", alias="jobStatus") + message: Optional[StrictStr] = Field(default=None, description="If applicable, the message explains what errors occurred while cancelling the jobs.") + __properties: ClassVar[List[str]] = ["tenantCode", "jobId", "jobType", "parentJobId", "cancelStatus", "jobStatus", "message"] + + @field_validator('cancel_status') + def cancel_status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['CANCEL_FAILED', 'CANCEL_SUCCEEDED']): + raise ValueError("must be one of enum values ('CANCEL_FAILED', 'CANCEL_SUCCEEDED')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of JobCancellationResultDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of JobCancellationResultDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "jobId": obj.get("jobId"), + "jobType": obj.get("jobType"), + "parentJobId": obj.get("parentJobId"), + "cancelStatus": obj.get("cancelStatus"), + "jobStatus": obj.get("jobStatus"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_results_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_results_dto.py new file mode 100644 index 0000000000..2aaaa7bea0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_results_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.job_cancellation_result_dto import JobCancellationResultDTO +from typing import Optional, Set +from typing_extensions import Self + +class JobCancellationResultsDTO(BaseModel): + """ + JobCancellationResultsDTO + """ # noqa: E501 + job_cancellation_results: Optional[List[JobCancellationResultDTO]] = Field(default=None, description="A list of objects representing the job cancellation results.", alias="jobCancellationResults") + __properties: ClassVar[List[str]] = ["jobCancellationResults"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of JobCancellationResultsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in job_cancellation_results (list) + _items = [] + if self.job_cancellation_results: + for _item_job_cancellation_results in self.job_cancellation_results: + if _item_job_cancellation_results: + _items.append(_item_job_cancellation_results.to_dict()) + _dict['jobCancellationResults'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of JobCancellationResultsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobCancellationResults": [JobCancellationResultDTO.from_dict(_item) for _item in obj["jobCancellationResults"]] if obj.get("jobCancellationResults") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_id_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_id_response.py new file mode 100644 index 0000000000..fb33f1cf2b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_id_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class JobIdResponse(BaseModel): + """ + The unique identifier of the returned job. + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, alias="jobId") + __properties: ClassVar[List[str]] = ["jobId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of JobIdResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of JobIdResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_status_list_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_status_list_response.py new file mode 100644 index 0000000000..89db9eb41f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_status_list_response.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.job_status_with_start_time import JobStatusWithStartTime +from typing import Optional, Set +from typing_extensions import Self + +class JobStatusListResponse(BaseModel): + """ + JobStatusListResponse + """ # noqa: E501 + query_start_time: Optional[StrictStr] = Field(default=None, description="The start time from which to retrieve job statuses.", alias="queryStartTime") + query_end_time: Optional[StrictStr] = Field(default=None, description="The end time from which to retrieve job statuses.", alias="queryEndTime") + job_status: Optional[List[JobStatusWithStartTime]] = Field(default=None, description="The specific status to restrict the list of jobs to.", alias="jobStatus") + __properties: ClassVar[List[str]] = ["queryStartTime", "queryEndTime", "jobStatus"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of JobStatusListResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in job_status (list) + _items = [] + if self.job_status: + for _item_job_status in self.job_status: + if _item_job_status: + _items.append(_item_job_status.to_dict()) + _dict['jobStatus'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of JobStatusListResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "queryStartTime": obj.get("queryStartTime"), + "queryEndTime": obj.get("queryEndTime"), + "jobStatus": [JobStatusWithStartTime.from_dict(_item) for _item in obj["jobStatus"]] if obj.get("jobStatus") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_status_with_start_time.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_status_with_start_time.py new file mode 100644 index 0000000000..414b3b1ae9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_status_with_start_time.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class JobStatusWithStartTime(BaseModel): + """ + JobStatusWithStartTime + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the job.", alias="jobId") + tenant: Optional[StrictStr] = Field(default=None, description="The tenant code.") + status: Optional[StrictStr] = Field(default=None, description="The status of the job, such as Running or Completed.") + job_type: Optional[StrictStr] = Field(default=None, description="The type of the job, such as a processing job or receiving job.", alias="jobType") + start_time: Optional[StrictStr] = Field(default=None, description="The time that the job started.", alias="startTime") + __properties: ClassVar[List[str]] = ["jobId", "tenant", "status", "jobType", "startTime"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of JobStatusWithStartTime from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of JobStatusWithStartTime from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId"), + "tenant": obj.get("tenant"), + "status": obj.get("status"), + "jobType": obj.get("jobType"), + "startTime": obj.get("startTime") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_dto.py new file mode 100644 index 0000000000..28c8771139 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.key_group_filter_item_dto import KeyGroupFilterItemDTO +from typing import Optional, Set +from typing_extensions import Self + +class KeyGroupFilterDTO(BaseModel): + """ + A collection of related filters that define a key group. + """ # noqa: E501 + filters: Optional[List[KeyGroupFilterItemDTO]] = None + __properties: ClassVar[List[str]] = ["filters"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of KeyGroupFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in filters (list) + _items = [] + if self.filters: + for _item_filters in self.filters: + if _item_filters: + _items.append(_item_filters.to_dict()) + _dict['filters'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of KeyGroupFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "filters": [KeyGroupFilterItemDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_item_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_item_dto.py new file mode 100644 index 0000000000..009a66acb5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_item_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.member_filter_dto import MemberFilterDTO +from visier_platform_sdk.models.selection_concept_reference_dto import SelectionConceptReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class KeyGroupFilterItemDTO(BaseModel): + """ + An individual filter in a key group. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="A filter expressed as a formula.") + selection_concept: Optional[SelectionConceptReferenceDTO] = Field(default=None, description="A filter that uses an existing selection concept in Visier.", alias="selectionConcept") + member_set: Optional[MemberFilterDTO] = Field(default=None, description="A filter that includes or excludes dimension members.", alias="memberSet") + __properties: ClassVar[List[str]] = ["formula", "selectionConcept", "memberSet"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of KeyGroupFilterItemDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of selection_concept + if self.selection_concept: + _dict['selectionConcept'] = self.selection_concept.to_dict() + # override the default output from pydantic by calling `to_dict()` of member_set + if self.member_set: + _dict['memberSet'] = self.member_set.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of KeyGroupFilterItemDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "selectionConcept": SelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, + "memberSet": MemberFilterDTO.from_dict(obj["memberSet"]) if obj.get("memberSet") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_name.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_name.py new file mode 100644 index 0000000000..57a4f76850 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_name.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class KeyName(BaseModel): + """ + KeyName + """ # noqa: E501 + key_name: Optional[StrictStr] = Field(default=None, description="The encryption key's display name. The name may only contain alphanumeric or dash (-) characters and must be between 3 and 36 characters long.", alias="keyName") + __properties: ClassVar[List[str]] = ["keyName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of KeyName from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of KeyName from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "keyName": obj.get("keyName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_delete_response_dto.py new file mode 100644 index 0000000000..9ead0a30d9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_delete_response_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class KeyPairDeleteResponseDTO(BaseModel): + """ + KeyPairDeleteResponseDTO + """ # noqa: E501 + key_id: Optional[StrictStr] = Field(default=None, description="The key ID in 16-letter hexadecimal format, including leading zeros.", alias="keyID") + __properties: ClassVar[List[str]] = ["keyID"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of KeyPairDeleteResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of KeyPairDeleteResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "keyID": obj.get("keyID") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_generate_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_generate_request_dto.py new file mode 100644 index 0000000000..6db2d1b1bf --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_generate_request_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class KeyPairGenerateRequestDTO(BaseModel): + """ + KeyPairGenerateRequestDTO + """ # noqa: E501 + expiration_date: Optional[StrictStr] = Field(default=None, description="The UTC expiration date of the key in ISO-8601 format. Must be between 2 and 10 years. Default is 2 years.", alias="expirationDate") + __properties: ClassVar[List[str]] = ["expirationDate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of KeyPairGenerateRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of KeyPairGenerateRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "expirationDate": obj.get("expirationDate") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/last_login_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/last_login_dto.py new file mode 100644 index 0000000000..dbcc355efb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/last_login_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class LastLoginDTO(BaseModel): + """ + LastLoginDTO + """ # noqa: E501 + timestamp: Optional[StrictStr] = Field(default=None, description="The time that the user last logged into Visier.") + __properties: ClassVar[List[str]] = ["timestamp"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LastLoginDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LastLoginDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "timestamp": obj.get("timestamp") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/level_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/level_dto.py new file mode 100644 index 0000000000..468ebf2d6b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/level_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class LevelDTO(BaseModel): + """ + Levels are the hierarchical structure of members within a dimension. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of a level within a dimension.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the dimension.", alias="displayName") + depth: Optional[StrictInt] = Field(default=None, description="The level depth of the dimension.") + __properties: ClassVar[List[str]] = ["id", "displayName", "depth"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LevelDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LevelDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "depth": obj.get("depth") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/lever_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/lever_auth_params_dto.py new file mode 100644 index 0000000000..72d39e17b0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/lever_auth_params_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class LeverAuthParamsDTO(BaseModel): + """ + LeverAuthParamsDTO + """ # noqa: E501 + api_key: Optional[StrictStr] = Field(default=None, alias="apiKey") + __properties: ClassVar[List[str]] = ["apiKey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LeverAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LeverAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiKey": obj.get("apiKey") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/lineage_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/lineage_dto.py new file mode 100644 index 0000000000..ff643f175f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/lineage_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class LineageDTO(BaseModel): + """ + Lineage information for a given cell set. This describes how a cell set is created from other cell sets. + """ # noqa: E501 + cell_sets: Optional[List[CellSetDTO]] = Field(default=None, description="The cell sets that constitute this lineage.", alias="cellSets") + op: Optional[StrictStr] = Field(default=None, description="The operation used to combine the cell sets of this lineage.") + __properties: ClassVar[List[str]] = ["cellSets", "op"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LineageDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in cell_sets (list) + _items = [] + if self.cell_sets: + for _item_cell_sets in self.cell_sets: + if _item_cell_sets: + _items.append(_item_cell_sets.to_dict()) + _dict['cellSets'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LineageDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "cellSets": [CellSetDTO.from_dict(_item) for _item in obj["cellSets"]] if obj.get("cellSets") is not None else None, + "op": obj.get("op") + }) + return _obj + +from visier_platform_sdk.models.cell_set_dto import CellSetDTO +# TODO: Rewrite to not use raise_errors +LineageDTO.model_rebuild(raise_errors=False) + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_dto.py new file mode 100644 index 0000000000..0a057bb9e5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_dto.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.list_query_execution_options_dto import ListQueryExecutionOptionsDTO +from visier_platform_sdk.models.list_query_source_dto import ListQuerySourceDTO +from visier_platform_sdk.models.property_column_dto import PropertyColumnDTO +from visier_platform_sdk.models.query_filter_dto import QueryFilterDTO +from visier_platform_sdk.models.query_parameter_value_dto import QueryParameterValueDTO +from visier_platform_sdk.models.query_time_interval_dto import QueryTimeIntervalDTO +from visier_platform_sdk.models.sort_option_dto import SortOptionDTO +from typing import Optional, Set +from typing_extensions import Self + +class ListQueryExecutionDTO(BaseModel): + """ + A ListQueryExecution provides instructions to perform a list query. + """ # noqa: E501 + source: Optional[ListQuerySourceDTO] = Field(default=None, description="The source data that you want to query.") + columns: Optional[List[PropertyColumnDTO]] = Field(default=None, description="The columns to include in the result. This must contain at least one column.") + sort_options: Optional[List[SortOptionDTO]] = Field(default=None, description="The index and direction to sort a column in the `columns` array.", alias="sortOptions") + filters: Optional[List[QueryFilterDTO]] = Field(default=None, description="The filters of this query. Omit `filters` if no filtering is required.") + time_interval: Optional[QueryTimeIntervalDTO] = Field(default=None, description="The time that the data is valid, such as a specific day or period of months.", alias="timeInterval") + parameter_values: Optional[List[QueryParameterValueDTO]] = Field(default=None, description="The parameter values for either member or numeric parameters.", alias="parameterValues") + options: Optional[ListQueryExecutionOptionsDTO] = Field(default=None, description="Additional instructions for your query, such as a calendar type or conversion information.") + __properties: ClassVar[List[str]] = ["source", "columns", "sortOptions", "filters", "timeInterval", "parameterValues", "options"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ListQueryExecutionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of source + if self.source: + _dict['source'] = self.source.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in columns (list) + _items = [] + if self.columns: + for _item_columns in self.columns: + if _item_columns: + _items.append(_item_columns.to_dict()) + _dict['columns'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in sort_options (list) + _items = [] + if self.sort_options: + for _item_sort_options in self.sort_options: + if _item_sort_options: + _items.append(_item_sort_options.to_dict()) + _dict['sortOptions'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in filters (list) + _items = [] + if self.filters: + for _item_filters in self.filters: + if _item_filters: + _items.append(_item_filters.to_dict()) + _dict['filters'] = _items + # override the default output from pydantic by calling `to_dict()` of time_interval + if self.time_interval: + _dict['timeInterval'] = self.time_interval.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in parameter_values (list) + _items = [] + if self.parameter_values: + for _item_parameter_values in self.parameter_values: + if _item_parameter_values: + _items.append(_item_parameter_values.to_dict()) + _dict['parameterValues'] = _items + # override the default output from pydantic by calling `to_dict()` of options + if self.options: + _dict['options'] = self.options.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ListQueryExecutionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "source": ListQuerySourceDTO.from_dict(obj["source"]) if obj.get("source") is not None else None, + "columns": [PropertyColumnDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None, + "sortOptions": [SortOptionDTO.from_dict(_item) for _item in obj["sortOptions"]] if obj.get("sortOptions") is not None else None, + "filters": [QueryFilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None, + "timeInterval": QueryTimeIntervalDTO.from_dict(obj["timeInterval"]) if obj.get("timeInterval") is not None else None, + "parameterValues": [QueryParameterValueDTO.from_dict(_item) for _item in obj["parameterValues"]] if obj.get("parameterValues") is not None else None, + "options": ListQueryExecutionOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_options_dto.py new file mode 100644 index 0000000000..99ee5bd2f6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_options_dto.py @@ -0,0 +1,158 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ListQueryExecutionOptionsDTO(BaseModel): + """ + A ListQueryExecutionOptions provides additional instructions to perform a list query. + """ # noqa: E501 + limit: Optional[StrictInt] = Field(default=None, description="The maximum number of entries to return. Default is to return all entries. If `page` is defined but limit is not defined, limit will be set to a default value of 1000.") + query_mode: Optional[StrictStr] = Field(default=None, description="Determines how the query should handle column definitions that the query is unable to resolve. Default is DEFAULT.", alias="queryMode") + omit_header: Optional[StrictBool] = Field(default=None, description="Option to omit the header from the result. If true, queryMode must be either FILL or FAIL. Default is false.", alias="omitHeader") + calendar_type: Optional[StrictStr] = Field(default=None, description="The calendar type to use. This will be used for all time calculations unless explicitly overridden in the calculation itself. Default is TENANT_CALENDAR.", alias="calendarType") + currency_conversion_mode: Optional[StrictStr] = Field(default=None, description="This will be removed as of Winter 2026. Use `currencyConversionCode` instead. The currency conversion mode to use. This will be used for all currency conversion calculations unless explicitly overridden in the calculation itself. Default is TENANT_CURRENCY_CONVERSION.", alias="currencyConversionMode") + currency_conversion_date: Optional[StrictStr] = Field(default=None, description="The currency conversion date to use. If defined, the currency conversion will use the exchange rates as of this date.", alias="currencyConversionDate") + page: Optional[StrictInt] = Field(default=None, description="A page defines a subset of the overall result set. The number of rows per page is equal to limit with the exception of the last page in the result set which may contain fewer rows. `Page` is an index that begins at 0. The index to start retrieving results is calculated by multiplying `page` by `limit`.") + multiple_tables: Optional[StrictBool] = Field(default=None, description="Option to return multiple table files as zipped archive for derived metrics. Default is false. If false, one table is returned for the drill-through metric.", alias="multipleTables") + currency_conversion_code: Optional[StrictStr] = Field(default=None, description="Overrides the tenant's default currency for currency conversions.", alias="currencyConversionCode") + record_mode: Optional[StrictStr] = Field(default=None, description="Influences the type of records used to build the result set, such as whether to return one record per entity that is valid in the provided time range or each change record falls in the time frame.", alias="recordMode") + date_time_display_mode: Optional[StrictStr] = Field(default=None, description="Control how date-time values are displayed in the result set. Supported values: * `EPOCH`: The number of elapsed milliseconds since January 1, 1970 in UTC timezone. This is the default. * `DATETIME`: The date-time value displayed in `yyyy-MM-dd HH:mm:ssZZ` format.", alias="dateTimeDisplayMode") + __properties: ClassVar[List[str]] = ["limit", "queryMode", "omitHeader", "calendarType", "currencyConversionMode", "currencyConversionDate", "page", "multipleTables", "currencyConversionCode", "recordMode", "dateTimeDisplayMode"] + + @field_validator('query_mode') + def query_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['DEFAULT', 'FILL', 'FAIL']): + raise ValueError("must be one of enum values ('DEFAULT', 'FILL', 'FAIL')") + return value + + @field_validator('calendar_type') + def calendar_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['TENANT_CALENDAR', 'GREGORIAN_CALENDAR']): + raise ValueError("must be one of enum values ('TENANT_CALENDAR', 'GREGORIAN_CALENDAR')") + return value + + @field_validator('currency_conversion_mode') + def currency_conversion_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['TENANT_CURRENCY_CONVERSION', 'VISIER_CURRENCY_CONVERSION']): + raise ValueError("must be one of enum values ('TENANT_CURRENCY_CONVERSION', 'VISIER_CURRENCY_CONVERSION')") + return value + + @field_validator('record_mode') + def record_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['NORMAL', 'CHANGES']): + raise ValueError("must be one of enum values ('NORMAL', 'CHANGES')") + return value + + @field_validator('date_time_display_mode') + def date_time_display_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['EPOCH', 'DATETIME']): + raise ValueError("must be one of enum values ('EPOCH', 'DATETIME')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ListQueryExecutionOptionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ListQueryExecutionOptionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "limit": obj.get("limit"), + "queryMode": obj.get("queryMode"), + "omitHeader": obj.get("omitHeader"), + "calendarType": obj.get("calendarType"), + "currencyConversionMode": obj.get("currencyConversionMode"), + "currencyConversionDate": obj.get("currencyConversionDate"), + "page": obj.get("page"), + "multipleTables": obj.get("multipleTables"), + "currencyConversionCode": obj.get("currencyConversionCode"), + "recordMode": obj.get("recordMode"), + "dateTimeDisplayMode": obj.get("dateTimeDisplayMode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_source_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_source_dto.py new file mode 100644 index 0000000000..ba08830c19 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_source_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ListQuerySourceDTO(BaseModel): + """ + A ListQuerySource defines the source data to query in a list query. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="An ad-hoc metric formula. The response returns the individual data points that make up the aggregate.") + metric: Optional[StrictStr] = Field(default=None, description="The ID of an existing metric in your Visier solution.") + analytic_object: Optional[StrictStr] = Field(default=None, description="The ID of an existing analytic object in your Visier solution. An analytic object source cannot have filters or time handling.", alias="analyticObject") + text_concept: Optional[StrictStr] = Field(default=None, description="The ID of an existing text concept in your Visier solution. A concept that defines the text properties of an analytic object and includes filters to enforce aggregate thresholds.
**Note:** This field is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).", alias="textConcept") + __properties: ClassVar[List[str]] = ["formula", "metric", "analyticObject", "textConcept"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ListQuerySourceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ListQuerySourceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "metric": obj.get("metric"), + "analyticObject": obj.get("analyticObject"), + "textConcept": obj.get("textConcept") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/list_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/list_response.py new file mode 100644 index 0000000000..764bb7d02e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/list_response.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.any import Any +from typing import Optional, Set +from typing_extensions import Self + +class ListResponse(BaseModel): + """ + ListResponse + """ # noqa: E501 + header: Optional[Any] = None + rows: Optional[List[Any]] = None + __properties: ClassVar[List[str]] = ["header", "rows"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ListResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of header + if self.header: + _dict['header'] = self.header.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in rows (list) + _items = [] + if self.rows: + for _item_rows in self.rows: + if _item_rows: + _items.append(_item_rows.to_dict()) + _dict['rows'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ListResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "header": Any.from_dict(obj["header"]) if obj.get("header") is not None else None, + "rows": [Any.from_dict(_item) for _item in obj["rows"]] if obj.get("rows") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py new file mode 100644 index 0000000000..28132391e6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class LocalTenantProfileAssignmentRequestDTO(BaseModel): + """ + LocalTenantProfileAssignmentRequestDTO + """ # noqa: E501 + target_user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of users to assign this profile.", alias="targetUserIds") + validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active.", alias="validityStartTime") + validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active.", alias="validityEndTime") + __properties: ClassVar[List[str]] = ["targetUserIds", "validityStartTime", "validityEndTime"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LocalTenantProfileAssignmentRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LocalTenantProfileAssignmentRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetUserIds": obj.get("targetUserIds"), + "validityStartTime": obj.get("validityStartTime"), + "validityEndTime": obj.get("validityEndTime") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py new file mode 100644 index 0000000000..f538c5dc40 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.failed_local_tenant_profile_assignment_dto import FailedLocalTenantProfileAssignmentDTO +from visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto import SuccessfulLocalTenantProfileAssignmentDTO +from visier_platform_sdk.models.user_id_error_dto import UserIdErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class LocalTenantProfileAssignmentResponseDTO(BaseModel): + """ + LocalTenantProfileAssignmentResponseDTO + """ # noqa: E501 + errors: Optional[StrictBool] = Field(default=None, description="If true, an error was generated by the request.") + bad_user_ids: Optional[List[UserIdErrorDTO]] = Field(default=None, description="A list of objects representing the user IDs that may not be valid.", alias="badUserIds") + failed_assignments: Optional[List[FailedLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of objects representing any errors that occurred during the assignment operation.", alias="failedAssignments") + successful_assignments: Optional[List[SuccessfulLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of the user IDs that were successfully assigned the profile.", alias="successfulAssignments") + __properties: ClassVar[List[str]] = ["errors", "badUserIds", "failedAssignments", "successfulAssignments"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LocalTenantProfileAssignmentResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in bad_user_ids (list) + _items = [] + if self.bad_user_ids: + for _item_bad_user_ids in self.bad_user_ids: + if _item_bad_user_ids: + _items.append(_item_bad_user_ids.to_dict()) + _dict['badUserIds'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failed_assignments (list) + _items = [] + if self.failed_assignments: + for _item_failed_assignments in self.failed_assignments: + if _item_failed_assignments: + _items.append(_item_failed_assignments.to_dict()) + _dict['failedAssignments'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in successful_assignments (list) + _items = [] + if self.successful_assignments: + for _item_successful_assignments in self.successful_assignments: + if _item_successful_assignments: + _items.append(_item_successful_assignments.to_dict()) + _dict['successfulAssignments'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LocalTenantProfileAssignmentResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "errors": obj.get("errors"), + "badUserIds": [UserIdErrorDTO.from_dict(_item) for _item in obj["badUserIds"]] if obj.get("badUserIds") is not None else None, + "failedAssignments": [FailedLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["failedAssignments"]] if obj.get("failedAssignments") is not None else None, + "successfulAssignments": [SuccessfulLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["successfulAssignments"]] if obj.get("successfulAssignments") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py new file mode 100644 index 0000000000..ba6f748df4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class LocalTenantProfileRevokeRequestDTO(BaseModel): + """ + LocalTenantProfileRevokeRequestDTO + """ # noqa: E501 + target_user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of users to remove this profile from.", alias="targetUserIds") + __properties: ClassVar[List[str]] = ["targetUserIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LocalTenantProfileRevokeRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LocalTenantProfileRevokeRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetUserIds": obj.get("targetUserIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py new file mode 100644 index 0000000000..d82b2ac0a5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.failed_local_tenant_profile_revoke_dto import FailedLocalTenantProfileRevokeDTO +from visier_platform_sdk.models.successful_local_tenant_profile_assignment_dto import SuccessfulLocalTenantProfileAssignmentDTO +from typing import Optional, Set +from typing_extensions import Self + +class LocalTenantProfileRevokeResponseDTO(BaseModel): + """ + LocalTenantProfileRevokeResponseDTO + """ # noqa: E501 + failed: Optional[List[FailedLocalTenantProfileRevokeDTO]] = Field(default=None, description="A list of objects representing any errors that occurred during the assignment operation.") + succeeded: Optional[List[SuccessfulLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of the user IDs that successfully had a profile removed.") + __properties: ClassVar[List[str]] = ["failed", "succeeded"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of LocalTenantProfileRevokeResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in failed (list) + _items = [] + if self.failed: + for _item_failed in self.failed: + if _item_failed: + _items.append(_item_failed.to_dict()) + _dict['failed'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in succeeded (list) + _items = [] + if self.succeeded: + for _item_succeeded in self.succeeded: + if _item_succeeded: + _items.append(_item_succeeded.to_dict()) + _dict['succeeded'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of LocalTenantProfileRevokeResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "failed": [FailedLocalTenantProfileRevokeDTO.from_dict(_item) for _item in obj["failed"]] if obj.get("failed") is not None else None, + "succeeded": [SuccessfulLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["succeeded"]] if obj.get("succeeded") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/mask_message.py b/src/visier_platform_sdk/visier_platform_sdk/models/mask_message.py new file mode 100644 index 0000000000..326da41a37 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/mask_message.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class MaskMessage(BaseModel): + """ + MaskMessage + """ # noqa: E501 + mask: Optional[StrictStr] = Field(default=None, description="A comma-separated list of strings that specifies which fields to include in the response.") + __properties: ClassVar[List[str]] = ["mask"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MaskMessage from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MaskMessage from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "mask": obj.get("mask") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/medallia_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/medallia_auth_params_dto.py new file mode 100644 index 0000000000..4aae19cf07 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/medallia_auth_params_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class MedalliaAuthParamsDTO(BaseModel): + """ + MedalliaAuthParamsDTO + """ # noqa: E501 + tenant_domain_name: Optional[StrictStr] = Field(default=None, alias="tenantDomainName") + instance_url: Optional[StrictStr] = Field(default=None, alias="instanceUrl") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + __properties: ClassVar[List[str]] = ["tenantDomainName", "instanceUrl", "clientId", "clientSecret"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MedalliaAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MedalliaAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantDomainName": obj.get("tenantDomainName"), + "instanceUrl": obj.get("instanceUrl"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_dto.py new file mode 100644 index 0000000000..043dc9725b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.validity_range_dto import ValidityRangeDTO +from typing import Optional, Set +from typing_extensions import Self + +class MemberDTO(BaseModel): + """ + A member is an element of a dimension. Dimension members are organized hierarchically. For example, Argentina is a member of the Location dimension at the Country level of the hierarchy Region > Country > Province > City. + """ # noqa: E501 + full_name: Optional[StrictStr] = Field(default=None, description="The fully qualified name of the member. This is the dimension's object name and the member's display name, separated by a period.", alias="fullName") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the member.", alias="displayName") + level: Optional[StrictInt] = Field(default=None, description="The numeric level of the hierarchy the member belongs to.") + path: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of identifiers that reference members on the query axis as part of dimensionMemberSelection.") + validity_ranges: Optional[List[ValidityRangeDTO]] = Field(default=None, description="The validity ranges that exist for this member.", alias="validityRanges") + display_name_path: Optional[List[StrictStr]] = Field(default=None, description="The display names for each level in the member's ancestral path.", alias="displayNamePath") + __properties: ClassVar[List[str]] = ["fullName", "displayName", "level", "path", "validityRanges", "displayNamePath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MemberDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in validity_ranges (list) + _items = [] + if self.validity_ranges: + for _item_validity_ranges in self.validity_ranges: + if _item_validity_ranges: + _items.append(_item_validity_ranges.to_dict()) + _dict['validityRanges'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MemberDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fullName": obj.get("fullName"), + "displayName": obj.get("displayName"), + "level": obj.get("level"), + "path": obj.get("path"), + "validityRanges": [ValidityRangeDTO.from_dict(_item) for _item in obj["validityRanges"]] if obj.get("validityRanges") is not None else None, + "displayNamePath": obj.get("displayNamePath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_config_dto.py new file mode 100644 index 0000000000..93b4b3f622 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_config_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_filter_dto import DimensionFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class MemberFilterConfigDTO(BaseModel): + """ + MemberFilterConfigDTO + """ # noqa: E501 + dimension_filters: Optional[List[DimensionFilterDTO]] = Field(default=None, description="A list of objects representing the custom filters that define population access for the item. A custom filter can be a \"member filter\" (`staticDimensionFilter`) or a \"dynamic filter\" (`dynamicDimensionFilter`).", alias="dimensionFilters") + __properties: ClassVar[List[str]] = ["dimensionFilters"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MemberFilterConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dimension_filters (list) + _items = [] + if self.dimension_filters: + for _item_dimension_filters in self.dimension_filters: + if _item_dimension_filters: + _items.append(_item_dimension_filters.to_dict()) + _dict['dimensionFilters'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MemberFilterConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionFilters": [DimensionFilterDTO.from_dict(_item) for _item in obj["dimensionFilters"]] if obj.get("dimensionFilters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_dto.py new file mode 100644 index 0000000000..2ed4af73ec --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from visier_platform_sdk.models.member_values_dto import MemberValuesDTO +from typing import Optional, Set +from typing_extensions import Self + +class MemberFilterDTO(BaseModel): + """ + Member filters are dimension member values to filter by in your query. The member filters are defined within the filters section of a query definition. You can filter by dimension members in aggregate and list queries. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="The dimension in which the members belong.") + values: Optional[MemberValuesDTO] = Field(default=None, description="The dimension members to filter by.") + __properties: ClassVar[List[str]] = ["dimension", "values"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MemberFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + # override the default output from pydantic by calling `to_dict()` of values + if self.values: + _dict['values'] = self.values.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MemberFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "values": MemberValuesDTO.from_dict(obj["values"]) if obj.get("values") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_definition_dto.py new file mode 100644 index 0000000000..0c8dd668e5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_definition_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.member_values_dto import MemberValuesDTO +from typing import Optional, Set +from typing_extensions import Self + +class MemberParameterDefinitionDTO(BaseModel): + """ + The definition of a filter parameter. These elements are returned as part of the definition for metrics that include parameters in their definition. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the member parameter.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the member parameter.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the member parameter.") + dimension_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the dimension on which the member parameter is based.", alias="dimensionId") + reference_path: Optional[List[StrictStr]] = Field(default=None, description="The analytic object reference path from the metric to the dimension.", alias="referencePath") + default: Optional[MemberValuesDTO] = Field(default=None, description="The default value if the end user does not select a member at run time.") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "dimensionId", "referencePath", "default"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MemberParameterDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of default + if self.default: + _dict['default'] = self.default.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MemberParameterDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "dimensionId": obj.get("dimensionId"), + "referencePath": obj.get("referencePath"), + "default": MemberValuesDTO.from_dict(obj["default"]) if obj.get("default") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_value_dto.py new file mode 100644 index 0000000000..b2aa4e294c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_value_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.member_values_dto import MemberValuesDTO +from typing import Optional, Set +from typing_extensions import Self + +class MemberParameterValueDTO(BaseModel): + """ + The member value of a parameter, including the parameter ID, dimension that the parameter is based on, and the included and excluded members for the parameter. + """ # noqa: E501 + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the member parameter qualified by the object.", alias="parameterId") + dimension_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the dimension on which the parameter is based.", alias="dimensionId") + reference_path: Optional[List[StrictStr]] = Field(default=None, description="The analytic object reference path from the metric to the dimension.", alias="referencePath") + values: Optional[MemberValuesDTO] = Field(default=None, description="The included and excluded member references in a dimension filter.") + __properties: ClassVar[List[str]] = ["parameterId", "dimensionId", "referencePath", "values"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MemberParameterValueDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of values + if self.values: + _dict['values'] = self.values.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MemberParameterValueDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parameterId": obj.get("parameterId"), + "dimensionId": obj.get("dimensionId"), + "referencePath": obj.get("referencePath"), + "values": MemberValuesDTO.from_dict(obj["values"]) if obj.get("values") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_dto.py new file mode 100644 index 0000000000..de5f306ba8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class MemberSelectionDTO(BaseModel): + """ + MemberSelectionDTO + """ # noqa: E501 + name_path: Optional[List[StrictStr]] = Field(default=None, description="The member name path.", alias="namePath") + excluded: Optional[StrictBool] = Field(default=None, description="If `true`, population access is granted for all members except this member.") + dimension_member_status: Optional[StrictStr] = Field(default=None, description="The dimension member's validity status. Valid values: Valid, NotFound. * **Valid**: The object exists and has loaded data. * **NotFound**: The object doesn't exist.", alias="dimensionMemberStatus") + __properties: ClassVar[List[str]] = ["namePath", "excluded", "dimensionMemberStatus"] + + @field_validator('dimension_member_status') + def dimension_member_status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): + raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MemberSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MemberSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "namePath": obj.get("namePath"), + "excluded": obj.get("excluded"), + "dimensionMemberStatus": obj.get("dimensionMemberStatus") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_values_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_values_dto.py new file mode 100644 index 0000000000..d5f95551cb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_values_dto.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_member_reference_dto import DimensionMemberReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class MemberValuesDTO(BaseModel): + """ + Member filter values are discrete member references in a dimension filter. You can define included and excluded members simultaneously. This is typically done with filtering applied on dimensions with multiple levels. For example, a Location parameter may include \"South America\" and exclude \"Brazil\" which results in the metric being evaluated for all South American countries except Brazil. + """ # noqa: E501 + included: Optional[List[DimensionMemberReferenceDTO]] = Field(default=None, description="The unique IDs of members to include when evaluating the metric.") + excluded: Optional[List[DimensionMemberReferenceDTO]] = Field(default=None, description="The unique IDs of members to exclude when evaluating the metric.") + __properties: ClassVar[List[str]] = ["included", "excluded"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MemberValuesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in included (list) + _items = [] + if self.included: + for _item_included in self.included: + if _item_included: + _items.append(_item_included.to_dict()) + _dict['included'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in excluded (list) + _items = [] + if self.excluded: + for _item_excluded in self.excluded: + if _item_excluded: + _items.append(_item_excluded.to_dict()) + _dict['excluded'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MemberValuesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "included": [DimensionMemberReferenceDTO.from_dict(_item) for _item in obj["included"]] if obj.get("included") is not None else None, + "excluded": [DimensionMemberReferenceDTO.from_dict(_item) for _item in obj["excluded"]] if obj.get("excluded") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/members_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/members_dto.py new file mode 100644 index 0000000000..6e553416f7 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/members_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.member_dto import MemberDTO +from typing import Optional, Set +from typing_extensions import Self + +class MembersDTO(BaseModel): + """ + A collection of members. + """ # noqa: E501 + members: Optional[List[MemberDTO]] = None + __properties: ClassVar[List[str]] = ["members"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MembersDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in members (list) + _items = [] + if self.members: + for _item_members in self.members: + if _item_members: + _items.append(_item_members.to_dict()) + _dict['members'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MembersDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "members": [MemberDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_definition_dto.py new file mode 100644 index 0000000000..cdb0fec954 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_definition_dto.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.metric_type_details_dto import MetricTypeDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class MetricDefinitionDTO(BaseModel): + """ + Information about the metric, such as its object name, basic information, and additive type. + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the metric.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the metric.", alias="objectName") + basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the metric, such as its display name, description, and explanation.", alias="basicInformation") + details: Optional[MetricTypeDetailsDTO] = Field(default=None, description="The metric type and its details.") + additive_type: Optional[StrictStr] = Field(default=None, description="How to sum the metric's values. Valid values: - `fullyAdditive`: Sums the metric over any dimension, concept, or time period. - `balance`: Sums the metric over any dimension or concept, but not time period. - `nonAdditive`: Metric values are not additive.", alias="additiveType") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "additiveType"] + + @field_validator('additive_type') + def additive_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['fullyAdditive', 'balance', 'nonAdditive', 'unknown']): + raise ValueError("must be one of enum values ('fullyAdditive', 'balance', 'nonAdditive', 'unknown')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MetricDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of basic_information + if self.basic_information: + _dict['basicInformation'] = self.basic_information.to_dict() + # override the default output from pydantic by calling `to_dict()` of details + if self.details: + _dict['details'] = self.details.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MetricDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName"), + "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, + "details": MetricTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, + "additiveType": obj.get("additiveType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_dto.py new file mode 100644 index 0000000000..8c4fca977d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_dto.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.parameter_definition_dto import ParameterDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class MetricDTO(BaseModel): + """ + A metric is a calculation based on one or more attribute values of analytic objects. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the metric. Note: See `Metrics` to get the ID.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the metric.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the metric.") + data_start_date: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available for this metric. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataStartDate") + data_end_date: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available for this metric. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataEndDate") + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object.", alias="analyticObjectId") + parameters: Optional[List[ParameterDefinitionDTO]] = Field(default=None, description="The collection of parameters defined for the metric.") + category: Optional[StrictStr] = Field(default=None, description="The category of the metric. Will be one of: `REGULAR`, `DERIVED` or `PLANNING`.") + visible_in_app: Optional[StrictBool] = Field(default=None, description="// `true` if this metric is set to be visible in your solution.", alias="visibleInApp") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "dataStartDate", "dataEndDate", "analyticObjectId", "parameters", "category", "visibleInApp"] + + @field_validator('category') + def category_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['REGULAR', 'DERIVED', 'PLANNING']): + raise ValueError("must be one of enum values ('REGULAR', 'DERIVED', 'PLANNING')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MetricDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in parameters (list) + _items = [] + if self.parameters: + for _item_parameters in self.parameters: + if _item_parameters: + _items.append(_item_parameters.to_dict()) + _dict['parameters'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MetricDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "dataStartDate": obj.get("dataStartDate"), + "dataEndDate": obj.get("dataEndDate"), + "analyticObjectId": obj.get("analyticObjectId"), + "parameters": [ParameterDefinitionDTO.from_dict(_item) for _item in obj["parameters"]] if obj.get("parameters") is not None else None, + "category": obj.get("category"), + "visibleInApp": obj.get("visibleInApp") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_type_details_dto.py new file mode 100644 index 0000000000..5ddc9e8b0a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_type_details_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_metric_definition_dto import ProcessConceptMetricDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class MetricTypeDetailsDTO(BaseModel): + """ + MetricTypeDetailsDTO + """ # noqa: E501 + process_concept: Optional[ProcessConceptMetricDefinitionDTO] = Field(default=None, description="Information about the metric, such as its formula and data type.", alias="processConcept") + __properties: ClassVar[List[str]] = ["processConcept"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MetricTypeDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of process_concept + if self.process_concept: + _dict['processConcept'] = self.process_concept.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MetricTypeDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "processConcept": ProcessConceptMetricDefinitionDTO.from_dict(obj["processConcept"]) if obj.get("processConcept") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_validation_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_validation_summary_dto.py new file mode 100644 index 0000000000..2e6b322e63 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_validation_summary_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class MetricValidationSummaryDTO(BaseModel): + """ + MetricValidationSummaryDTO + """ # noqa: E501 + symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the metric. For example, \"employeeCount\".", alias="symbolName") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name that is displayed within Visier. For example, \"Headcount\".", alias="displayName") + value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The current value of the metric expressed as an integer.") + __properties: ClassVar[List[str]] = ["symbolName", "displayName", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MetricValidationSummaryDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MetricValidationSummaryDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "symbolName": obj.get("symbolName"), + "displayName": obj.get("displayName"), + "value": obj.get("value") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metrics_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metrics_dto.py new file mode 100644 index 0000000000..af71af7d72 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metrics_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.metric_dto import MetricDTO +from typing import Optional, Set +from typing_extensions import Self + +class MetricsDTO(BaseModel): + """ + A collection of metrics. + """ # noqa: E501 + metrics: Optional[List[MetricDTO]] = None + __properties: ClassVar[List[str]] = ["metrics"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MetricsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) + _items = [] + if self.metrics: + for _item_metrics in self.metrics: + if _item_metrics: + _items.append(_item_metrics.to_dict()) + _dict['metrics'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MetricsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "metrics": [MetricDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/microsoft365_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/microsoft365_auth_params_dto.py new file mode 100644 index 0000000000..2896211e7b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/microsoft365_auth_params_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class Microsoft365AuthParamsDTO(BaseModel): + """ + Microsoft365AuthParamsDTO + """ # noqa: E501 + o_auth_tenant_id: Optional[StrictStr] = Field(default=None, alias="oAuthTenantId") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + privacy_mode: Optional[StrictStr] = Field(default=None, alias="privacyMode") + __properties: ClassVar[List[str]] = ["oAuthTenantId", "clientId", "clientSecret", "privacyMode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of Microsoft365AuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of Microsoft365AuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "oAuthTenantId": obj.get("oAuthTenantId"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), + "privacyMode": obj.get("privacyMode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/module_settings_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/module_settings_dto.py new file mode 100644 index 0000000000..4f21f08042 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/module_settings_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ModuleSettingsDTO(BaseModel): + """ + ModuleSettingsDTO + """ # noqa: E501 + unavailable_for_assignment: Optional[StrictBool] = Field(default=None, description="If true, the module cannot be assigned to tenants.", alias="unavailableForAssignment") + special_handling_instruction: Optional[StrictStr] = Field(default=None, description="An instruction message in the module selection dialog. This can be a note for administrators such as \"Don't assign this module\" or \"Assign Module B instead\".", alias="specialHandlingInstruction") + locale: Optional[StrictStr] = Field(default=None, description="The language of the module. For example, a module that is in English will have the locale \"en\".") + __properties: ClassVar[List[str]] = ["unavailableForAssignment", "specialHandlingInstruction", "locale"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ModuleSettingsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ModuleSettingsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "unavailableForAssignment": obj.get("unavailableForAssignment"), + "specialHandlingInstruction": obj.get("specialHandlingInstruction"), + "locale": obj.get("locale") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py new file mode 100644 index 0000000000..2a6fab0f48 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_version_and_date_dto import DataVersionAndDateDTO +from typing import Optional, Set +from typing_extensions import Self + +class MultipleTenantDataVersionsDetailsDTO(BaseModel): + """ + MultipleTenantDataVersionsDetailsDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The owner of the data versions.", alias="tenantCode") + data_versions: Optional[List[DataVersionAndDateDTO]] = Field(default=None, description="The latest enabled data versions for the given analytic tenant. If the analytic tenant has no enabled data versions, an empty string \"\" is returned.", alias="dataVersions") + __properties: ClassVar[List[str]] = ["tenantCode", "dataVersions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MultipleTenantDataVersionsDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_versions (list) + _items = [] + if self.data_versions: + for _item_data_versions in self.data_versions: + if _item_data_versions: + _items.append(_item_data_versions.to_dict()) + _dict['dataVersions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MultipleTenantDataVersionsDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "dataVersions": [DataVersionAndDateDTO.from_dict(_item) for _item in obj["dataVersions"]] if obj.get("dataVersions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py new file mode 100644 index 0000000000..0e32d499ee --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.multiple_tenant_data_versions_details_dto import MultipleTenantDataVersionsDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class MultipleTenantDataVersionsListDTO(BaseModel): + """ + MultipleTenantDataVersionsListDTO + """ # noqa: E501 + tenants: Optional[List[MultipleTenantDataVersionsDetailsDTO]] = Field(default=None, description="A list of analytic tenants and their latest enabled data versions.") + limit: Optional[StrictInt] = Field(default=None, description="The number of analytic tenants to retrieve. The maximum number to retrieve is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MultipleTenantDataVersionsListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MultipleTenantDataVersionsListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [MultipleTenantDataVersionsDetailsDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/my_sql_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/my_sql_auth_params_dto.py new file mode 100644 index 0000000000..d7f1f74899 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/my_sql_auth_params_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class MySqlAuthParamsDTO(BaseModel): + """ + MySqlAuthParamsDTO + """ # noqa: E501 + host: Optional[StrictStr] = None + port: Optional[StrictStr] = None + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + database: Optional[StrictStr] = None + ssl_mode: Optional[StrictStr] = Field(default=None, alias="sslMode") + __properties: ClassVar[List[str]] = ["host", "port", "username", "password", "database", "sslMode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MySqlAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MySqlAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "host": obj.get("host"), + "port": obj.get("port"), + "username": obj.get("username"), + "password": obj.get("password"), + "database": obj.get("database"), + "sslMode": obj.get("sslMode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/namely_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/namely_auth_params_dto.py new file mode 100644 index 0000000000..b5ec6cb634 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/namely_auth_params_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class NamelyAuthParamsDTO(BaseModel): + """ + NamelyAuthParamsDTO + """ # noqa: E501 + auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") + __properties: ClassVar[List[str]] = ["authCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of NamelyAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of NamelyAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "authCode": obj.get("authCode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_request.py new file mode 100644 index 0000000000..f9d45d3f1d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_request.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class NetworkSubnetsMessageRequest(BaseModel): + """ + The IP addresses to modify in the API network subnet allowlist. + """ # noqa: E501 + network_subnets_for_api: Optional[List[StrictStr]] = Field(default=None, description="The IP addresses in the request.", alias="networkSubnetsForApi") + confirm_lockout: Optional[StrictBool] = Field(default=None, description="If `true`, you acknowledge that the API call removes your IP address from the list of allowed network subnets and you will not be able to call Visier APIs from your current IP address. Default is `false`. To avoid this, add your current IP address to the allowed network subnets list.", alias="confirmLockout") + __properties: ClassVar[List[str]] = ["networkSubnetsForApi", "confirmLockout"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of NetworkSubnetsMessageRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of NetworkSubnetsMessageRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "networkSubnetsForApi": obj.get("networkSubnetsForApi"), + "confirmLockout": obj.get("confirmLockout") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_response.py new file mode 100644 index 0000000000..244f7f0edf --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class NetworkSubnetsMessageResponse(BaseModel): + """ + The list of IP addresses that are allowed to call Visier APIs. + """ # noqa: E501 + network_subnets_for_api: Optional[List[StrictStr]] = Field(default=None, description="The IP addresses that are allowed to call Visier APIs.", alias="networkSubnetsForApi") + __properties: ClassVar[List[str]] = ["networkSubnetsForApi"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of NetworkSubnetsMessageResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of NetworkSubnetsMessageResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "networkSubnetsForApi": obj.get("networkSubnetsForApi") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_definition_dto.py new file mode 100644 index 0000000000..4ce7a432e8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_definition_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class NumericParameterDefinitionDTO(BaseModel): + """ + The definition of a numeric parameter. These elements are returned as part of the query definition for metric parameter values. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the numeric parameter.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the numeric parameter.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the numeric parameter.") + lower_bound: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The lowest value for the numeric parameter.", alias="lowerBound") + upper_bound: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The highest value for the numeric parameter.", alias="upperBound") + default: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The default value if the end user does not select a member at run time.") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "lowerBound", "upperBound", "default"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of NumericParameterDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of NumericParameterDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "lowerBound": obj.get("lowerBound"), + "upperBound": obj.get("upperBound"), + "default": obj.get("default") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_value_dto.py new file mode 100644 index 0000000000..65697492ac --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_value_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class NumericParameterValueDTO(BaseModel): + """ + The value of a numeric parameter, including the parameter ID and the numeric value passed into the parameter. + """ # noqa: E501 + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the numeric parameter qualified by the object.", alias="parameterId") + value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The numeric value of the parameter.") + __properties: ClassVar[List[str]] = ["parameterId", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of NumericParameterValueDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of NumericParameterValueDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parameterId": obj.get("parameterId"), + "value": obj.get("value") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_info_dto.py new file mode 100644 index 0000000000..f639139c8e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_info_dto.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.o_auth2_user_subnet_info_dto import OAuth2UserSubnetInfoDTO +from visier_platform_sdk.models.o_auth2_user_tenant_details_dto import OAuth2UserTenantDetailsDTO +from visier_platform_sdk.models.servicing_capability_proto_enum_access_lookup_dto import ServicingCapabilityProtoEnumAccessLookupDTO +from typing import Optional, Set +from typing_extensions import Self + +class OAuth2UserInfoDTO(BaseModel): + """ + Response from OAuth 2 `userinfo` endpoint. + """ # noqa: E501 + subject: Optional[StrictStr] = Field(default=None, description="The user's display name.") + name: Optional[StrictStr] = Field(default=None, description="The user's Common Name.") + email: Optional[StrictStr] = Field(default=None, description="The user's email address.") + visier_user_id: Optional[StrictStr] = Field(default=None, description="The user's unique ID.", alias="visier:user_id") + visier_capabilities: Optional[ServicingCapabilityProtoEnumAccessLookupDTO] = Field(default=None, description="The user's profile capabilities.", alias="visier:capabilities") + visier_subnets: Optional[OAuth2UserSubnetInfoDTO] = Field(default=None, description="Subnet restrictions controlling the IP addresses from which users can access the tenant.", alias="visier:subnets") + visier_export_subnets: Optional[OAuth2UserSubnetInfoDTO] = Field(default=None, description="Subnet restrictions controlling the IP addresses from which data and metadata requests can be made.", alias="visier:export_subnets") + visier_tenant_details: Optional[OAuth2UserTenantDetailsDTO] = Field(default=None, description="Detailed information about the analytic tenant. Included in the response if `includeTenantDetail` is `true`.", alias="visier:tenant_details") + __properties: ClassVar[List[str]] = ["subject", "name", "email", "visier:user_id", "visier:capabilities", "visier:subnets", "visier:export_subnets", "visier:tenant_details"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OAuth2UserInfoDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of visier_capabilities + if self.visier_capabilities: + _dict['visier:capabilities'] = self.visier_capabilities.to_dict() + # override the default output from pydantic by calling `to_dict()` of visier_subnets + if self.visier_subnets: + _dict['visier:subnets'] = self.visier_subnets.to_dict() + # override the default output from pydantic by calling `to_dict()` of visier_export_subnets + if self.visier_export_subnets: + _dict['visier:export_subnets'] = self.visier_export_subnets.to_dict() + # override the default output from pydantic by calling `to_dict()` of visier_tenant_details + if self.visier_tenant_details: + _dict['visier:tenant_details'] = self.visier_tenant_details.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OAuth2UserInfoDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "subject": obj.get("subject"), + "name": obj.get("name"), + "email": obj.get("email"), + "visier:user_id": obj.get("visier:user_id"), + "visier:capabilities": ServicingCapabilityProtoEnumAccessLookupDTO.from_dict(obj["visier:capabilities"]) if obj.get("visier:capabilities") is not None else None, + "visier:subnets": OAuth2UserSubnetInfoDTO.from_dict(obj["visier:subnets"]) if obj.get("visier:subnets") is not None else None, + "visier:export_subnets": OAuth2UserSubnetInfoDTO.from_dict(obj["visier:export_subnets"]) if obj.get("visier:export_subnets") is not None else None, + "visier:tenant_details": OAuth2UserTenantDetailsDTO.from_dict(obj["visier:tenant_details"]) if obj.get("visier:tenant_details") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py new file mode 100644 index 0000000000..a79067586b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class OAuth2UserSubnetInfoDTO(BaseModel): + """ + Subnet access details. + """ # noqa: E501 + access_type: Optional[StrictStr] = Field(default=None, description="The type of subnet access granted to the user. Possible values are: * `Unknown`: Could not determine subnet access details. * `All`: No subnet restrictions. * `Restricted`: Access is only granted to requests originating from the specified `subnets`. * `None`: Access is denied. Only applicable to the Data Export API.", alias="accessType") + subnets: Optional[List[StrictStr]] = Field(default=None, description="The list of trusted IP addresses from which access is granted if accessType is `Restricted`. Must be in Classless Inter-Domain Routing (CIDR) format: `xxx.xxx.xxx.xxx/xx`.") + __properties: ClassVar[List[str]] = ["accessType", "subnets"] + + @field_validator('access_type') + def access_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unknown', 'All', 'Restricted', 'None']): + raise ValueError("must be one of enum values ('Unknown', 'All', 'Restricted', 'None')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OAuth2UserSubnetInfoDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OAuth2UserSubnetInfoDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "accessType": obj.get("accessType"), + "subnets": obj.get("subnets") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py new file mode 100644 index 0000000000..0e47257c25 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.o_auth2_user_tenant_properties_dto import OAuth2UserTenantPropertiesDTO +from typing import Optional, Set +from typing_extensions import Self + +class OAuth2UserTenantDetailDTO(BaseModel): + """ + Tenant detail information. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant's unique ID.", alias="tenantCode") + display_name: Optional[StrictStr] = Field(default=None, description="The tenant's display name.", alias="displayName") + properties: Optional[OAuth2UserTenantPropertiesDTO] = Field(default=None, description="The tenant's properties.") + __properties: ClassVar[List[str]] = ["tenantCode", "displayName", "properties"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OAuth2UserTenantDetailDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of properties + if self.properties: + _dict['properties'] = self.properties.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OAuth2UserTenantDetailDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "displayName": obj.get("displayName"), + "properties": OAuth2UserTenantPropertiesDTO.from_dict(obj["properties"]) if obj.get("properties") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py new file mode 100644 index 0000000000..c3e106a9ae --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.o_auth2_user_tenant_detail_dto import OAuth2UserTenantDetailDTO +from typing import Optional, Set +from typing_extensions import Self + +class OAuth2UserTenantDetailsDTO(BaseModel): + """ + The details of all accessible analytic tenants + """ # noqa: E501 + details: Optional[List[OAuth2UserTenantDetailDTO]] = Field(default=None, description="The details of all accessible analytic tenants.") + __properties: ClassVar[List[str]] = ["details"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OAuth2UserTenantDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in details (list) + _items = [] + if self.details: + for _item_details in self.details: + if _item_details: + _items.append(_item_details.to_dict()) + _dict['details'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OAuth2UserTenantDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "details": [OAuth2UserTenantDetailDTO.from_dict(_item) for _item in obj["details"]] if obj.get("details") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py new file mode 100644 index 0000000000..73e84ae05d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class OAuth2UserTenantPropertiesDTO(BaseModel): + """ + Detailed information about the tenant. + """ # noqa: E501 + vanity_url_name: Optional[StrictStr] = Field(default=None, description="The tenant's vanity name.", alias="vanityUrlName") + __properties: ClassVar[List[str]] = ["vanityUrlName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OAuth2UserTenantPropertiesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OAuth2UserTenantPropertiesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "vanityUrlName": obj.get("vanityUrlName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/object_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/object_change_failure_dto.py new file mode 100644 index 0000000000..2b1cd2f85e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/object_change_failure_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ObjectChangeFailureDTO(BaseModel): + """ + ObjectChangeFailureDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The symbol name of the object that was not successfully changed.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the object.", alias="displayName") + message: Optional[StrictStr] = Field(default=None, description="An error message describing the cause of the failure.") + rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the object was not successfully changed in.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project that the object was not successfully changed in.", alias="projectId") + __properties: ClassVar[List[str]] = ["id", "displayName", "message", "rci", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ObjectChangeFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ObjectChangeFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "message": obj.get("message"), + "rci": obj.get("rci"), + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/object_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/object_change_success_dto.py new file mode 100644 index 0000000000..fdd7b17a75 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/object_change_success_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ObjectChangeSuccessDTO(BaseModel): + """ + ObjectChangeSuccessDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The symbol name of the object that was successfully changed.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the object.", alias="displayName") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the object was changed in.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project that the object was changed in.", alias="projectId") + __properties: ClassVar[List[str]] = ["id", "displayName", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ObjectChangeSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ObjectChangeSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/object_id_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/object_id_dto.py new file mode 100644 index 0000000000..cd1563fc74 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/object_id_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ObjectIdDTO(BaseModel): + """ + The identifier for the object. + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the object.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the object.", alias="objectName") + __properties: ClassVar[List[str]] = ["uuid", "objectName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ObjectIdDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ObjectIdDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/object_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/object_reference_dto.py new file mode 100644 index 0000000000..08ac8faa32 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/object_reference_dto.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ObjectReferenceDTO(BaseModel): + """ + A link between one analytic object and another. An ObjectReference allows you to discover the relationships between analytic objects. In some queries, you may need to provide a qualifyingPath, which is built from ObjectReference information. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the object reference.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the object reference.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the object reference.") + from_object: Optional[StrictStr] = Field(default=None, description="The ID of the referencing analytic object.", alias="fromObject") + to_object: Optional[StrictStr] = Field(default=None, description="The ID of the referenced analytic object.", alias="toObject") + type: Optional[StrictStr] = Field(default=None, description="The type of object reference.") + is_strong_reference: Optional[StrictBool] = Field(default=None, description="True if this is a strong reference.", alias="isStrongReference") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "fromObject", "toObject", "type", "isStrongReference"] + + @field_validator('type') + def type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['SUBJECT_REFERENCE', 'MULTI_VALUE_REFERENCE']): + raise ValueError("must be one of enum values ('SUBJECT_REFERENCE', 'MULTI_VALUE_REFERENCE')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ObjectReferenceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ObjectReferenceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "fromObject": obj.get("fromObject"), + "toObject": obj.get("toObject"), + "type": obj.get("type"), + "isStrongReference": obj.get("isStrongReference") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/objects_bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/objects_bulk_change_response_dto.py new file mode 100644 index 0000000000..73f64ca53a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/objects_bulk_change_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.object_change_failure_dto import ObjectChangeFailureDTO +from visier_platform_sdk.models.object_change_success_dto import ObjectChangeSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class ObjectsBulkChangeResponseDTO(BaseModel): + """ + ObjectsBulkChangeResponseDTO + """ # noqa: E501 + successes: Optional[List[ObjectChangeSuccessDTO]] = Field(default=None, description="The objects that were successfully changed.") + failures: Optional[List[ObjectChangeFailureDTO]] = Field(default=None, description="The objects that were not successfully changed.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ObjectsBulkChangeResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ObjectsBulkChangeResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [ObjectChangeSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [ObjectChangeFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/oracle_db_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/oracle_db_auth_params_dto.py new file mode 100644 index 0000000000..bb8bf3da23 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/oracle_db_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class OracleDbAuthParamsDTO(BaseModel): + """ + OracleDbAuthParamsDTO + """ # noqa: E501 + host: Optional[StrictStr] = None + port: Optional[StrictStr] = None + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + service_name: Optional[StrictStr] = Field(default=None, alias="serviceName") + __properties: ClassVar[List[str]] = ["host", "port", "username", "password", "serviceName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OracleDbAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OracleDbAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "host": obj.get("host"), + "port": obj.get("port"), + "username": obj.get("username"), + "password": obj.get("password"), + "serviceName": obj.get("serviceName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/pair_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/pair_dto.py new file mode 100644 index 0000000000..6ef60e63f2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/pair_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PairDTO(BaseModel): + """ + PairDTO + """ # noqa: E501 + key: Optional[StrictStr] = None + value: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["key", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PairDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PairDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "key": obj.get("key"), + "value": obj.get("value") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/parameter_definition_dto.py new file mode 100644 index 0000000000..dba53e95ba --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/parameter_definition_dto.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.aggregation_type_parameter_dto import AggregationTypeParameterDTO +from visier_platform_sdk.models.member_parameter_definition_dto import MemberParameterDefinitionDTO +from visier_platform_sdk.models.numeric_parameter_definition_dto import NumericParameterDefinitionDTO +from visier_platform_sdk.models.plan_parameter_definition_dto import PlanParameterDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class ParameterDefinitionDTO(BaseModel): + """ + Parameters generalize object definitions so that end users can provide values at query run time. + """ # noqa: E501 + member_parameter: Optional[MemberParameterDefinitionDTO] = Field(default=None, description="A filter parameter that can be set with dimension members for the end user to select.", alias="memberParameter") + numeric_parameter: Optional[NumericParameterDefinitionDTO] = Field(default=None, description="A parameter with a numeric data type. A numeric parameter can be set with an optional default value and value range.", alias="numericParameter") + plan_parameter: Optional[PlanParameterDefinitionDTO] = Field(default=None, description="A parameter on a planning metric. Plan parameters resolve planning model metrics to a specific plan and scenario or snapshot.", alias="planParameter") + aggregation_type_parameter: Optional[AggregationTypeParameterDTO] = Field(default=None, description="An aggregation parameter. Such parameters enable control over how applicable metrics aggregate their results.", alias="aggregationTypeParameter") + __properties: ClassVar[List[str]] = ["memberParameter", "numericParameter", "planParameter", "aggregationTypeParameter"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ParameterDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of member_parameter + if self.member_parameter: + _dict['memberParameter'] = self.member_parameter.to_dict() + # override the default output from pydantic by calling `to_dict()` of numeric_parameter + if self.numeric_parameter: + _dict['numericParameter'] = self.numeric_parameter.to_dict() + # override the default output from pydantic by calling `to_dict()` of plan_parameter + if self.plan_parameter: + _dict['planParameter'] = self.plan_parameter.to_dict() + # override the default output from pydantic by calling `to_dict()` of aggregation_type_parameter + if self.aggregation_type_parameter: + _dict['aggregationTypeParameter'] = self.aggregation_type_parameter.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ParameterDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "memberParameter": MemberParameterDefinitionDTO.from_dict(obj["memberParameter"]) if obj.get("memberParameter") is not None else None, + "numericParameter": NumericParameterDefinitionDTO.from_dict(obj["numericParameter"]) if obj.get("numericParameter") is not None else None, + "planParameter": PlanParameterDefinitionDTO.from_dict(obj["planParameter"]) if obj.get("planParameter") is not None else None, + "aggregationTypeParameter": AggregationTypeParameterDTO.from_dict(obj["aggregationTypeParameter"]) if obj.get("aggregationTypeParameter") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_by_tenant_dto.py new file mode 100644 index 0000000000..e950f19d33 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_by_tenant_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permission_assigned_user_dto import PermissionAssignedUserDTO +from typing import Optional, Set +from typing_extensions import Self + +class PermissionAssignedByTenantDTO(BaseModel): + """ + The users assigned a specific permission, grouped by tenant. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + users: Optional[List[PermissionAssignedUserDTO]] = Field(default=None, description="A list of objects representing the users that the permission is assigned to.") + __properties: ClassVar[List[str]] = ["tenantCode", "users"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionAssignedByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in users (list) + _items = [] + if self.users: + for _item_users in self.users: + if _item_users: + _items.append(_item_users.to_dict()) + _dict['users'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionAssignedByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "users": [PermissionAssignedUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..75b3da856e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PermissionAssignedForLocalTenantDTO(BaseModel): + """ + PermissionAssignedForLocalTenantDTO + """ # noqa: E501 + permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="A user-defined description of the permission.") + __properties: ClassVar[List[str]] = ["permissionId", "displayName", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionAssignedForLocalTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionAssignedForLocalTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissionId": obj.get("permissionId"), + "displayName": obj.get("displayName"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_user_dto.py new file mode 100644 index 0000000000..bdbe994606 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_user_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PermissionAssignedUserDTO(BaseModel): + """ + The user and the method through which the user was assigned the permission. + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") + username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.") + permission_from: Optional[StrictStr] = Field(default=None, description="The method through which the user was assigned the permission. The permission may be assigned through the following options: - User: The permission was directly assigned to the user. - UserGroup: The permission was assigned because the user belongs to a user group that is assigned the permission. - UserAndUserGroup: The permission was directly assigned to the user and assigned because the user belongs to a user group that is assigned the permission.", alias="permissionFrom") + __properties: ClassVar[List[str]] = ["userId", "username", "permissionFrom"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionAssignedUserDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionAssignedUserDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "username": obj.get("username"), + "permissionFrom": obj.get("permissionFrom") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_users_dto.py new file mode 100644 index 0000000000..73bcf5b1e9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_users_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permission_assigned_by_tenant_dto import PermissionAssignedByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class PermissionAssignedUsersDTO(BaseModel): + """ + Users that are assigned a specific permission. + """ # noqa: E501 + tenants: Optional[List[PermissionAssignedByTenantDTO]] = Field(default=None, description="A list of objects representing the users that are assigned the specific permission, organized by the tenants the users belong to.") + limit: Optional[StrictInt] = Field(default=None, description="The number of results to return. The maximum number of tenants to retrieve is 100.") + start: Optional[StrictInt] = Field(default=None, description="The index of the tenant to start retrieving results from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionAssignedUsersDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionAssignedUsersDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [PermissionAssignedByTenantDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_bulk_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_bulk_operation_response_dto.py new file mode 100644 index 0000000000..31118dfd39 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_bulk_operation_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permission_failure_dto import PermissionFailureDTO +from visier_platform_sdk.models.permission_success_dto import PermissionSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class PermissionBulkOperationResponseDTO(BaseModel): + """ + PermissionBulkOperationResponseDTO + """ # noqa: E501 + successes: Optional[List[PermissionSuccessDTO]] = Field(default=None, description="The successfully processed permissions.") + failures: Optional[List[PermissionFailureDTO]] = Field(default=None, description="The permissions that did not process and any relevant error information.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionBulkOperationResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionBulkOperationResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [PermissionSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [PermissionFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_dto.py new file mode 100644 index 0000000000..2bcfadd74f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_dto.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.admin_capability_config_dto import AdminCapabilityConfigDTO +from visier_platform_sdk.models.data_security_profile_dto import DataSecurityProfileDTO +from visier_platform_sdk.models.role_modules_config_dto import RoleModulesConfigDTO +from typing import Optional, Set +from typing_extensions import Self + +class PermissionDTO(BaseModel): + """ + PermissionDTO + """ # noqa: E501 + permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="A user-defined description of the permission.") + data_security_profiles: Optional[List[DataSecurityProfileDTO]] = Field(default=None, description="A list of objects representing the data security for each item in a permission.", alias="dataSecurityProfiles") + admin_capability_config: Optional[AdminCapabilityConfigDTO] = Field(default=None, description="The capabilities assigned in the permission.", alias="adminCapabilityConfig") + role_modules_config: Optional[RoleModulesConfigDTO] = Field(default=None, description="A list of content packages assigned to the permission.", alias="roleModulesConfig") + __properties: ClassVar[List[str]] = ["permissionId", "displayName", "description", "dataSecurityProfiles", "adminCapabilityConfig", "roleModulesConfig"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_security_profiles (list) + _items = [] + if self.data_security_profiles: + for _item_data_security_profiles in self.data_security_profiles: + if _item_data_security_profiles: + _items.append(_item_data_security_profiles.to_dict()) + _dict['dataSecurityProfiles'] = _items + # override the default output from pydantic by calling `to_dict()` of admin_capability_config + if self.admin_capability_config: + _dict['adminCapabilityConfig'] = self.admin_capability_config.to_dict() + # override the default output from pydantic by calling `to_dict()` of role_modules_config + if self.role_modules_config: + _dict['roleModulesConfig'] = self.role_modules_config.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissionId": obj.get("permissionId"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "dataSecurityProfiles": [DataSecurityProfileDTO.from_dict(_item) for _item in obj["dataSecurityProfiles"]] if obj.get("dataSecurityProfiles") is not None else None, + "adminCapabilityConfig": AdminCapabilityConfigDTO.from_dict(obj["adminCapabilityConfig"]) if obj.get("adminCapabilityConfig") is not None else None, + "roleModulesConfig": RoleModulesConfigDTO.from_dict(obj["roleModulesConfig"]) if obj.get("roleModulesConfig") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_error_dto.py new file mode 100644 index 0000000000..e350a312df --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_error_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PermissionErrorDTO(BaseModel): + """ + PermissionErrorDTO + """ # noqa: E501 + message: Optional[StrictStr] = Field(default=None, description="Error message") + rci: Optional[StrictStr] = Field(default=None, description="A root cause identifier that allows Visier to determine the source of the problem.") + __properties: ClassVar[List[str]] = ["message", "rci"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message"), + "rci": obj.get("rci") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_failure_dto.py new file mode 100644 index 0000000000..84d4519036 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_failure_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permission_error_dto import PermissionErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class PermissionFailureDTO(BaseModel): + """ + PermissionFailureDTO + """ # noqa: E501 + permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") + error: Optional[PermissionErrorDTO] = Field(default=None, description="The error associated with the failure.") + __properties: ClassVar[List[str]] = ["permissionId", "displayName", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissionId": obj.get("permissionId"), + "displayName": obj.get("displayName"), + "error": PermissionErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_response_dto.py new file mode 100644 index 0000000000..aac3c7644a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_response_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PermissionResponseDTO(BaseModel): + """ + PermissionResponseDTO + """ # noqa: E501 + permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") + __properties: ClassVar[List[str]] = ["permissionId", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissionId": obj.get("permissionId"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_success_dto.py new file mode 100644 index 0000000000..38c48e1aeb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_success_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PermissionSuccessDTO(BaseModel): + """ + PermissionSuccessDTO + """ # noqa: E501 + permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") + __properties: ClassVar[List[str]] = ["permissionId", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissionId": obj.get("permissionId"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_list_dto.py new file mode 100644 index 0000000000..f154ef6ac3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permission_dto import PermissionDTO +from typing import Optional, Set +from typing_extensions import Self + +class PermissionsListDTO(BaseModel): + """ + PermissionsListDTO + """ # noqa: E501 + permissions: Optional[List[PermissionDTO]] = Field(default=None, description="The list of permissions that will be created or updated") + __properties: ClassVar[List[str]] = ["permissions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionsListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) + _items = [] + if self.permissions: + for _item_permissions in self.permissions: + if _item_permissions: + _items.append(_item_permissions.to_dict()) + _dict['permissions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionsListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "permissions": [PermissionDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py new file mode 100644 index 0000000000..c6c59b65c3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_get_api_response_dto import UserGroupGetAPIResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class PermissionsToUserGroupForTenantDTO(BaseModel): + """ + PermissionsToUserGroupForTenantDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + status: Optional[StrictStr] = Field(default=None, description="The state of the permission assignment or removal. Valid values are Succeed or Failed.") + message: Optional[StrictStr] = Field(default=None, description="A detailed description of the request outcome, if available.") + user_groups: Optional[List[UserGroupGetAPIResponseDTO]] = Field(default=None, description="A list of objects representing user groups and the permissions to assign to or remove from them.", alias="userGroups") + __properties: ClassVar[List[str]] = ["tenantCode", "status", "message", "userGroups"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionsToUserGroupForTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) + _items = [] + if self.user_groups: + for _item_user_groups in self.user_groups: + if _item_user_groups: + _items.append(_item_user_groups.to_dict()) + _dict['userGroups'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionsToUserGroupForTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "status": obj.get("status"), + "message": obj.get("message"), + "userGroups": [UserGroupGetAPIResponseDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_request_dto.py new file mode 100644 index 0000000000..976046c573 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_request_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PermissionsToUserGroupRequestDTO(BaseModel): + """ + PermissionsToUserGroupRequestDTO + """ # noqa: E501 + user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user group.", alias="userGroupId") + permissions_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing the unique permission IDs to assign.", alias="permissionsIds") + __properties: ClassVar[List[str]] = ["userGroupId", "permissionsIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionsToUserGroupRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionsToUserGroupRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroupId": obj.get("userGroupId"), + "permissionsIds": obj.get("permissionsIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_groups_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_groups_request_dto.py new file mode 100644 index 0000000000..7ad7024fd1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_groups_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permissions_to_user_group_request_dto import PermissionsToUserGroupRequestDTO +from typing import Optional, Set +from typing_extensions import Self + +class PermissionsToUserGroupsRequestDTO(BaseModel): + """ + PermissionsToUserGroupsRequestDTO + """ # noqa: E501 + user_groups: Optional[List[PermissionsToUserGroupRequestDTO]] = Field(default=None, description="A list of objects representing the user groups and permissions to assign or remove.", alias="userGroups") + __properties: ClassVar[List[str]] = ["userGroups"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PermissionsToUserGroupsRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) + _items = [] + if self.user_groups: + for _item_user_groups in self.user_groups: + if _item_user_groups: + _items.append(_item_user_groups.to_dict()) + _dict['userGroups'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PermissionsToUserGroupsRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroups": [PermissionsToUserGroupRequestDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/perspective_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/perspective_configuration_dto.py new file mode 100644 index 0000000000..f49c4a3695 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/perspective_configuration_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.perspective_node_dto import PerspectiveNodeDTO +from typing import Optional, Set +from typing_extensions import Self + +class PerspectiveConfigurationDTO(BaseModel): + """ + PerspectiveConfigurationDTO + """ # noqa: E501 + perspective_id: Optional[StrictStr] = Field(default=None, description="The UUID of the perspective.", alias="perspectiveId") + perspective_name: Optional[StrictStr] = Field(default=None, description="The display name of the perspective.", alias="perspectiveName") + perspective_nodes: Optional[List[PerspectiveNodeDTO]] = Field(default=None, description="A list of nodes in the perspective.", alias="perspectiveNodes") + __properties: ClassVar[List[str]] = ["perspectiveId", "perspectiveName", "perspectiveNodes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PerspectiveConfigurationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in perspective_nodes (list) + _items = [] + if self.perspective_nodes: + for _item_perspective_nodes in self.perspective_nodes: + if _item_perspective_nodes: + _items.append(_item_perspective_nodes.to_dict()) + _dict['perspectiveNodes'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PerspectiveConfigurationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "perspectiveId": obj.get("perspectiveId"), + "perspectiveName": obj.get("perspectiveName"), + "perspectiveNodes": [PerspectiveNodeDTO.from_dict(_item) for _item in obj["perspectiveNodes"]] if obj.get("perspectiveNodes") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/perspective_node_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/perspective_node_dto.py new file mode 100644 index 0000000000..feaea2d90d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/perspective_node_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_filter_dto import AnalyticObjectFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class PerspectiveNodeDTO(BaseModel): + """ + PerspectiveNodeDTO + """ # noqa: E501 + selection_concept_uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the node's selection concept. Perspective nodes are generated as selection concepts to enable filtering.", alias="selectionConceptUuid") + symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the selection concept. For example, \"isExitActualSystemTermination\".", alias="symbolName") + analytic_object_filters: Optional[List[AnalyticObjectFilterDTO]] = Field(default=None, description="A list of analytic object filters indicating the analytic object and dimensions used for the selection concept.", alias="analyticObjectFilters") + __properties: ClassVar[List[str]] = ["selectionConceptUuid", "symbolName", "analyticObjectFilters"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PerspectiveNodeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_object_filters (list) + _items = [] + if self.analytic_object_filters: + for _item_analytic_object_filters in self.analytic_object_filters: + if _item_analytic_object_filters: + _items.append(_item_analytic_object_filters.to_dict()) + _dict['analyticObjectFilters'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PerspectiveNodeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "selectionConceptUuid": obj.get("selectionConceptUuid"), + "symbolName": obj.get("symbolName"), + "analyticObjectFilters": [AnalyticObjectFilterDTO.from_dict(_item) for _item in obj["analyticObjectFilters"]] if obj.get("analyticObjectFilters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_error_dto.py new file mode 100644 index 0000000000..0f901468e7 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_error_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanDataLoadErrorDTO(BaseModel): + """ + An error encountered while loading plan data. + """ # noqa: E501 + row: Optional[StrictInt] = Field(default=None, description="The row in the file that caused the error.") + rci: Optional[StrictStr] = Field(default=None, description="An error code that can be provided to Visier Support to help investigate your issue.") + error_message: Optional[StrictStr] = Field(default=None, description="Information regarding the error and any actions that you could take to load the data correctly.", alias="errorMessage") + __properties: ClassVar[List[str]] = ["row", "rci", "errorMessage"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanDataLoadErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanDataLoadErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "row": obj.get("row"), + "rci": obj.get("rci"), + "errorMessage": obj.get("errorMessage") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_upload_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_upload_response_dto.py index 1ace63a760..f28778af71 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_upload_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_upload_response_dto.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.plan_data_load_change_list_dto import PlanDataLoadChangeListDTO -from visier_platform_sdk.models.planning_plan_data_load_error_dto import PlanningPlanDataLoadErrorDTO +from visier_platform_sdk.models.plan_data_load_error_dto import PlanDataLoadErrorDTO from typing import Optional, Set from typing_extensions import Self @@ -31,7 +31,7 @@ class PlanDataUploadResponseDTO(BaseModel): """ # noqa: E501 updated_cells_count: Optional[StrictInt] = Field(default=None, description="The number of cells that were updated from the data load process.", alias="updatedCellsCount") potential_updated_cells_count: Optional[StrictInt] = Field(default=None, description="The number of cells that would have been updated if all changes were saved.", alias="potentialUpdatedCellsCount") - errors: Optional[List[PlanningPlanDataLoadErrorDTO]] = Field(default=None, description="The collection of errors encountered during the data load process.") + errors: Optional[List[PlanDataLoadErrorDTO]] = Field(default=None, description="The collection of errors encountered during the data load process.") changelists: Optional[List[PlanDataLoadChangeListDTO]] = Field(default=None, description="The collection of changes grouped by plan item made during the data load process. This list only contains the changes specified by the load. If you indicated in the request that the changes are to be rolled up or distributed, the values modified as a result of the calculations are not listed here.") __properties: ClassVar[List[str]] = ["updatedCellsCount", "potentialUpdatedCellsCount", "errors", "changelists"] @@ -102,7 +102,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "updatedCellsCount": obj.get("updatedCellsCount"), "potentialUpdatedCellsCount": obj.get("potentialUpdatedCellsCount"), - "errors": [PlanningPlanDataLoadErrorDTO.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None, + "errors": [PlanDataLoadErrorDTO.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None, "changelists": [PlanDataLoadChangeListDTO.from_dict(_item) for _item in obj["changelists"]] if obj.get("changelists") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_info_dto.py new file mode 100644 index 0000000000..0de4eeba57 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_info_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.scenario_info_dto import ScenarioInfoDTO +from typing import Optional, Set +from typing_extensions import Self + +class PlanInfoDTO(BaseModel): + """ + Information about a plan and its scenarios. + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the plan.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the plan.", alias="displayName") + model_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the planning model that the plan is using.", alias="modelId") + scenarios: Optional[List[ScenarioInfoDTO]] = Field(default=None, description="Information about the plan's scenarios.") + parent_plan_uuid: Optional[StrictStr] = Field(default=None, description="If the plan is a subplan, the response returns its parent plan's UUID. Not returned for main plans.", alias="parentPlanUuid") + currency_code: Optional[StrictStr] = Field(default=None, description="The 3-digit ISO 4217 currency code of the plan's data.", alias="currencyCode") + __properties: ClassVar[List[str]] = ["uuid", "displayName", "modelId", "scenarios", "parentPlanUuid", "currencyCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanInfoDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in scenarios (list) + _items = [] + if self.scenarios: + for _item_scenarios in self.scenarios: + if _item_scenarios: + _items.append(_item_scenarios.to_dict()) + _dict['scenarios'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanInfoDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "displayName": obj.get("displayName"), + "modelId": obj.get("modelId"), + "scenarios": [ScenarioInfoDTO.from_dict(_item) for _item in obj["scenarios"]] if obj.get("scenarios") is not None else None, + "parentPlanUuid": obj.get("parentPlanUuid"), + "currencyCode": obj.get("currencyCode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_item_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_item_dto.py new file mode 100644 index 0000000000..959c474d93 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_item_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanItemDTO(BaseModel): + """ + A plan item is a metric in your plan. The available plan items depend on the planning model. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the plan item.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the plan item.", alias="displayName") + data_type: Optional[StrictStr] = Field(default=None, description="The data type of the plan item. The data types are: - **rate**: Converts values into a percentage in the planning grid. The provided value is multiplied by 100 to get the display value. For example, a provided value of 0.5 is displayed as 50% in the grid. - **number**: Displays values as whole numbers. Decimal values are rounded to a whole number when displayed in the planning grid. - **currency**: Displays values as a currency. Values must not contain thousand separators, currency codes, or currency symbols. - **decimal**: Displays values with decimals.", alias="dataType") + __properties: ClassVar[List[str]] = ["id", "displayName", "dataType"] + + @field_validator('data_type') + def data_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['unknown', 'number', 'currency', 'decimal', 'rate']): + raise ValueError("must be one of enum values ('unknown', 'number', 'currency', 'decimal', 'rate')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanItemDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanItemDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "dataType": obj.get("dataType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_definition_dto.py new file mode 100644 index 0000000000..037dc392a6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_definition_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanParameterDefinitionDTO(BaseModel): + """ + The definition of a plan parameter. These parameters resolve planning model metrics to a specific plan and scenario or snapshot values at query runtime. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the parameter.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the parameter.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the parameter.") + model_name: Optional[StrictStr] = Field(default=None, description="The name of the planning model to which the parameter applies.", alias="modelName") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "modelName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanParameterDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanParameterDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "modelName": obj.get("modelName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_value_dto.py new file mode 100644 index 0000000000..971ae55f39 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_value_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanParameterValueDTO(BaseModel): + """ + The value for a parameter on a planning metric, including the parameter ID and the plan the parameter is based on. + """ # noqa: E501 + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the plan parameter qualified by the object.", alias="parameterId") + plan_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the plan the parameter is based on.", alias="planId") + scenario_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the scenario the parameter is based on.", alias="scenarioId") + snapshot_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the snapshot the parameter is based on.", alias="snapshotId") + __properties: ClassVar[List[str]] = ["parameterId", "planId", "scenarioId", "snapshotId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanParameterValueDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanParameterValueDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parameterId": obj.get("parameterId"), + "planId": obj.get("planId"), + "scenarioId": obj.get("scenarioId"), + "snapshotId": obj.get("snapshotId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_row_data_load_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_row_data_load_response_dto.py index 12d29796a8..15b1eb9e6f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_row_data_load_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_row_data_load_response_dto.py @@ -20,8 +20,8 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.planning_plan_data_load_error_dto import PlanningPlanDataLoadErrorDTO -from visier_platform_sdk.models.planning_plan_segment_level_member_dto import PlanningPlanSegmentLevelMemberDTO +from visier_platform_sdk.models.plan_data_load_error_dto import PlanDataLoadErrorDTO +from visier_platform_sdk.models.plan_segment_level_member_dto import PlanSegmentLevelMemberDTO from typing import Optional, Set from typing_extensions import Self @@ -33,8 +33,8 @@ class PlanRowDataLoadResponseDTO(BaseModel): removed_rows_count: Optional[StrictInt] = Field(default=None, description="The number of rows removed from the plan.", alias="removedRowsCount") potential_added_rows_count: Optional[StrictInt] = Field(default=None, description="The number of rows that could have been added to the plan.", alias="potentialAddedRowsCount") potential_removed_rows_count: Optional[StrictInt] = Field(default=None, description="The number of rows that could have been removed from the plan.", alias="potentialRemovedRowsCount") - errors: Optional[List[PlanningPlanDataLoadErrorDTO]] = Field(default=None, description="The errors that occurred while loading the data.") - custom_members: Optional[List[PlanningPlanSegmentLevelMemberDTO]] = Field(default=None, description="The custom members and their corresponding IDs in the plan.", alias="customMembers") + errors: Optional[List[PlanDataLoadErrorDTO]] = Field(default=None, description="The errors that occurred while loading the data.") + custom_members: Optional[List[PlanSegmentLevelMemberDTO]] = Field(default=None, description="The custom members and their corresponding IDs in the plan.", alias="customMembers") __properties: ClassVar[List[str]] = ["addedRowsCount", "removedRowsCount", "potentialAddedRowsCount", "potentialRemovedRowsCount", "errors", "customMembers"] model_config = ConfigDict( @@ -106,8 +106,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "removedRowsCount": obj.get("removedRowsCount"), "potentialAddedRowsCount": obj.get("potentialAddedRowsCount"), "potentialRemovedRowsCount": obj.get("potentialRemovedRowsCount"), - "errors": [PlanningPlanDataLoadErrorDTO.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None, - "customMembers": [PlanningPlanSegmentLevelMemberDTO.from_dict(_item) for _item in obj["customMembers"]] if obj.get("customMembers") is not None else None + "errors": [PlanDataLoadErrorDTO.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None, + "customMembers": [PlanSegmentLevelMemberDTO.from_dict(_item) for _item in obj["customMembers"]] if obj.get("customMembers") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_schema_dto.py new file mode 100644 index 0000000000..c89f457626 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_schema_dto.py @@ -0,0 +1,126 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.plan_item_dto import PlanItemDTO +from visier_platform_sdk.models.plan_segment_level_dto import PlanSegmentLevelDTO +from visier_platform_sdk.models.plan_segment_level_member_list_dto import PlanSegmentLevelMemberListDTO +from visier_platform_sdk.models.plan_time_period_dto import PlanTimePeriodDTO +from typing import Optional, Set +from typing_extensions import Self + +class PlanSchemaDTO(BaseModel): + """ + Information about a plan's schema. + """ # noqa: E501 + plan_items: Optional[List[PlanItemDTO]] = Field(default=None, description="A collection of editable plan items in a plan.", alias="planItems") + time_periods: Optional[List[PlanTimePeriodDTO]] = Field(default=None, description="The editable time periods in a plan. These time periods are the columns in the planning grid.", alias="timePeriods") + plan_segment_levels: Optional[List[PlanSegmentLevelDTO]] = Field(default=None, description="The dimensions that the plan is segmented by.", alias="planSegmentLevels") + plan_segment_level_members: Optional[List[PlanSegmentLevelMemberListDTO]] = Field(default=None, description="A collection of members grouped by their dimension and level. The combination of these member IDs points to a specific row in the plan.", alias="planSegmentLevelMembers") + __properties: ClassVar[List[str]] = ["planItems", "timePeriods", "planSegmentLevels", "planSegmentLevelMembers"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanSchemaDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in plan_items (list) + _items = [] + if self.plan_items: + for _item_plan_items in self.plan_items: + if _item_plan_items: + _items.append(_item_plan_items.to_dict()) + _dict['planItems'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in time_periods (list) + _items = [] + if self.time_periods: + for _item_time_periods in self.time_periods: + if _item_time_periods: + _items.append(_item_time_periods.to_dict()) + _dict['timePeriods'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in plan_segment_levels (list) + _items = [] + if self.plan_segment_levels: + for _item_plan_segment_levels in self.plan_segment_levels: + if _item_plan_segment_levels: + _items.append(_item_plan_segment_levels.to_dict()) + _dict['planSegmentLevels'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in plan_segment_level_members (list) + _items = [] + if self.plan_segment_level_members: + for _item_plan_segment_level_members in self.plan_segment_level_members: + if _item_plan_segment_level_members: + _items.append(_item_plan_segment_level_members.to_dict()) + _dict['planSegmentLevelMembers'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanSchemaDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "planItems": [PlanItemDTO.from_dict(_item) for _item in obj["planItems"]] if obj.get("planItems") is not None else None, + "timePeriods": [PlanTimePeriodDTO.from_dict(_item) for _item in obj["timePeriods"]] if obj.get("timePeriods") is not None else None, + "planSegmentLevels": [PlanSegmentLevelDTO.from_dict(_item) for _item in obj["planSegmentLevels"]] if obj.get("planSegmentLevels") is not None else None, + "planSegmentLevelMembers": [PlanSegmentLevelMemberListDTO.from_dict(_item) for _item in obj["planSegmentLevelMembers"]] if obj.get("planSegmentLevelMembers") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_dto.py new file mode 100644 index 0000000000..4a6ef6a1f6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanSegmentLevelDTO(BaseModel): + """ + A dimension and dimension level that segments the plan. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The symbol name of the dimension appended with its level ID.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the dimension level.", alias="displayName") + order: Optional[StrictInt] = Field(default=None, description="The number that describes the segment's position in the plan's overall structure.") + segment_id: Optional[StrictStr] = Field(default=None, description="The symbol name of the dimension.", alias="segmentId") + segment_display_name: Optional[StrictStr] = Field(default=None, description="The display name of the dimension.", alias="segmentDisplayName") + __properties: ClassVar[List[str]] = ["id", "displayName", "order", "segmentId", "segmentDisplayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanSegmentLevelDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanSegmentLevelDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "order": obj.get("order"), + "segmentId": obj.get("segmentId"), + "segmentDisplayName": obj.get("segmentDisplayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_dto.py new file mode 100644 index 0000000000..7053b8b2d8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanSegmentLevelMemberDTO(BaseModel): + """ + A member in the dimension. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension member.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the dimension member.", alias="displayName") + is_custom: Optional[StrictBool] = Field(default=None, description="If `true`, this is a custom member created for use in the plan and all its subplans.", alias="isCustom") + parent_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension member's parent.", alias="parentId") + __properties: ClassVar[List[str]] = ["id", "displayName", "isCustom", "parentId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanSegmentLevelMemberDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanSegmentLevelMemberDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "isCustom": obj.get("isCustom"), + "parentId": obj.get("parentId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_list_dto.py new file mode 100644 index 0000000000..bc33f34565 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_list_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.plan_segment_level_member_dto import PlanSegmentLevelMemberDTO +from typing import Optional, Set +from typing_extensions import Self + +class PlanSegmentLevelMemberListDTO(BaseModel): + """ + A collection of dimension members. + """ # noqa: E501 + segment_level_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension and dimension level.", alias="segmentLevelId") + members: Optional[List[PlanSegmentLevelMemberDTO]] = Field(default=None, description="The dimension members.") + segment_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension.", alias="segmentId") + __properties: ClassVar[List[str]] = ["segmentLevelId", "members", "segmentId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanSegmentLevelMemberListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in members (list) + _items = [] + if self.members: + for _item_members in self.members: + if _item_members: + _items.append(_item_members.to_dict()) + _dict['members'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanSegmentLevelMemberListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "segmentLevelId": obj.get("segmentLevelId"), + "members": [PlanSegmentLevelMemberDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None, + "segmentId": obj.get("segmentId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_time_period_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_time_period_dto.py new file mode 100644 index 0000000000..5b014e143b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_time_period_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanTimePeriodDTO(BaseModel): + """ + A time period in the plan. + """ # noqa: E501 + var_date: Optional[StrictStr] = Field(default=None, description="The date of the time period. The format is YYYY-MM-DD.", alias="date") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the time period; for example, March 2024.", alias="displayName") + __properties: ClassVar[List[str]] = ["date", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanTimePeriodDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanTimePeriodDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "date": obj.get("date"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_with_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_with_schema_dto.py new file mode 100644 index 0000000000..292977bea3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_with_schema_dto.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.plan_data_load_error_dto import PlanDataLoadErrorDTO +from visier_platform_sdk.models.plan_info_dto import PlanInfoDTO +from visier_platform_sdk.models.plan_schema_dto import PlanSchemaDTO +from typing import Optional, Set +from typing_extensions import Self + +class PlanWithSchemaDTO(BaseModel): + """ + Details about the plan, including its schema. + """ # noqa: E501 + plan: Optional[PlanInfoDTO] = None + var_schema: Optional[PlanSchemaDTO] = Field(default=None, alias="schema") + errors: Optional[List[PlanDataLoadErrorDTO]] = Field(default=None, description="The errors that occurred while loading the data.") + __properties: ClassVar[List[str]] = ["plan", "schema", "errors"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanWithSchemaDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of plan + if self.plan: + _dict['plan'] = self.plan.to_dict() + # override the default output from pydantic by calling `to_dict()` of var_schema + if self.var_schema: + _dict['schema'] = self.var_schema.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in errors (list) + _items = [] + if self.errors: + for _item_errors in self.errors: + if _item_errors: + _items.append(_item_errors.to_dict()) + _dict['errors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanWithSchemaDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "plan": PlanInfoDTO.from_dict(obj["plan"]) if obj.get("plan") is not None else None, + "schema": PlanSchemaDTO.from_dict(obj["schema"]) if obj.get("schema") is not None else None, + "errors": [PlanDataLoadErrorDTO.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_concept_filter_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_concept_filter_context_dto.py new file mode 100644 index 0000000000..b1d69d6553 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_concept_filter_context_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanningConceptFilterContextDTO(BaseModel): + """ + A plan context defined using a selection concept. + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The object name of the selection concept.") + __properties: ClassVar[List[str]] = ["name"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanningConceptFilterContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanningConceptFilterContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_get_plan_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_get_plan_list_response_dto.py deleted file mode 100644 index 943b456b9f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_get_plan_list_response_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.planning_plan_info_dto import PlanningPlanInfoDTO -from typing import Optional, Set -from typing_extensions import Self - -class PlanningGetPlanListResponseDTO(BaseModel): - """ - A collection of plans. - """ # noqa: E501 - plans: Optional[List[PlanningPlanInfoDTO]] = Field(default=None, description="A list of plans accessible to the user.") - page: Optional[StrictInt] = Field(default=None, description="The current page number of results that the user is viewing.") - __properties: ClassVar[List[str]] = ["plans", "page"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningGetPlanListResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in plans (list) - _items = [] - if self.plans: - for _item_plans in self.plans: - if _item_plans: - _items.append(_item_plans.to_dict()) - _dict['plans'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningGetPlanListResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "plans": [PlanningPlanInfoDTO.from_dict(_item) for _item in obj["plans"]] if obj.get("plans") is not None else None, - "page": obj.get("page") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py new file mode 100644 index 0000000000..35d7b0b9ae --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanningHierarchyFilterContextDTO(BaseModel): + """ + A plan context defined using hierarchy members + """ # noqa: E501 + hierarchy_name: Optional[StrictStr] = Field(default=None, description="The object name of the hierarchy.", alias="hierarchyName") + included_members: Optional[List[StrictStr]] = Field(default=None, description="The unique IDs of the included dimension members.", alias="includedMembers") + excluded_members: Optional[List[StrictStr]] = Field(default=None, description="The unique IDs of excluded dimension members.", alias="excludedMembers") + __properties: ClassVar[List[str]] = ["hierarchyName", "includedMembers", "excludedMembers"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanningHierarchyFilterContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanningHierarchyFilterContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "hierarchyName": obj.get("hierarchyName"), + "includedMembers": obj.get("includedMembers"), + "excludedMembers": obj.get("excludedMembers") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_model_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_model_dto.py new file mode 100644 index 0000000000..6fceeb749e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_model_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PlanningModelDTO(BaseModel): + """ + The basic information about the planning model. A planning model captures the planning intent, plan items, and the relationship between them. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the planning model. Note: See `PlanningModels` to get the ID.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the planning model.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the planning model.") + __properties: ClassVar[List[str]] = ["id", "displayName", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanningModelDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanningModelDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_models_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_models_dto.py new file mode 100644 index 0000000000..e07d1b8040 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_models_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.planning_model_dto import PlanningModelDTO +from typing import Optional, Set +from typing_extensions import Self + +class PlanningModelsDTO(BaseModel): + """ + A collection of planning modules. + """ # noqa: E501 + models: Optional[List[PlanningModelDTO]] = None + __properties: ClassVar[List[str]] = ["models"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanningModelsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in models (list) + _items = [] + if self.models: + for _item_models in self.models: + if _item_models: + _items.append(_item_models.to_dict()) + _dict['models'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanningModelsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "models": [PlanningModelDTO.from_dict(_item) for _item in obj["models"]] if obj.get("models") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_context_dto.py new file mode 100644 index 0000000000..f95a60a2c8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_context_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.planning_concept_filter_context_dto import PlanningConceptFilterContextDTO +from visier_platform_sdk.models.planning_hierarchy_filter_context_dto import PlanningHierarchyFilterContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class PlanningPlanContextDTO(BaseModel): + """ + The filter context for a plan. Plan contexts are defined using a set of hierarchy members or a concept. + """ # noqa: E501 + hierarchy_filter_context: Optional[PlanningHierarchyFilterContextDTO] = Field(default=None, description="A plan context defined using hierarchy members.", alias="hierarchyFilterContext") + concept_filter_context: Optional[PlanningConceptFilterContextDTO] = Field(default=None, description="A plan context defined using a selection concept.", alias="conceptFilterContext") + __properties: ClassVar[List[str]] = ["hierarchyFilterContext", "conceptFilterContext"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanningPlanContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of hierarchy_filter_context + if self.hierarchy_filter_context: + _dict['hierarchyFilterContext'] = self.hierarchy_filter_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of concept_filter_context + if self.concept_filter_context: + _dict['conceptFilterContext'] = self.concept_filter_context.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanningPlanContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "hierarchyFilterContext": PlanningHierarchyFilterContextDTO.from_dict(obj["hierarchyFilterContext"]) if obj.get("hierarchyFilterContext") is not None else None, + "conceptFilterContext": PlanningConceptFilterContextDTO.from_dict(obj["conceptFilterContext"]) if obj.get("conceptFilterContext") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_data_load_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_data_load_error_dto.py deleted file mode 100644 index e6ecacbb2f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_data_load_error_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanDataLoadErrorDTO(BaseModel): - """ - An error encountered while loading plan data. - """ # noqa: E501 - row: Optional[StrictInt] = Field(default=None, description="The row in the file that caused the error.") - rci: Optional[StrictStr] = Field(default=None, description="An error code that can be provided to Visier Support to help investigate your issue.") - error_message: Optional[StrictStr] = Field(default=None, description="Information regarding the error and any actions that you could take to load the data correctly.", alias="errorMessage") - __properties: ClassVar[List[str]] = ["row", "rci", "errorMessage"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanDataLoadErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanDataLoadErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "row": obj.get("row"), - "rci": obj.get("rci"), - "errorMessage": obj.get("errorMessage") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_dto.py new file mode 100644 index 0000000000..7ce7999f5f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_dto.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.planning_plan_context_dto import PlanningPlanContextDTO +from visier_platform_sdk.models.scenario_or_snapshot_dto import ScenarioOrSnapshotDTO +from typing import Optional, Set +from typing_extensions import Self + +class PlanningPlanDTO(BaseModel): + """ + The definition of a plan. Plans are defined on planning models, and each plan may define multiple scenarios or snapshots. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the plan. Note: See `PlanningPlans` to get the ID.") + name: Optional[StrictStr] = Field(default=None, description="The name of the plan.") + subject_id: Optional[StrictStr] = Field(default=None, description="The ID of subject for the plan.", alias="subjectId") + default_contexts: Optional[List[PlanningPlanContextDTO]] = Field(default=None, description="The contexts defined for the plan.", alias="defaultContexts") + plan_dimension_ids: Optional[List[StrictStr]] = Field(default=None, description="The IDs of the dimensions defined for the plan.", alias="planDimensionIds") + scenarios: Optional[List[ScenarioOrSnapshotDTO]] = Field(default=None, description="The available scenarios for the plan.") + snapshots: Optional[List[ScenarioOrSnapshotDTO]] = Field(default=None, description="The available snapshots for the plan.") + __properties: ClassVar[List[str]] = ["id", "name", "subjectId", "defaultContexts", "planDimensionIds", "scenarios", "snapshots"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanningPlanDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in default_contexts (list) + _items = [] + if self.default_contexts: + for _item_default_contexts in self.default_contexts: + if _item_default_contexts: + _items.append(_item_default_contexts.to_dict()) + _dict['defaultContexts'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in scenarios (list) + _items = [] + if self.scenarios: + for _item_scenarios in self.scenarios: + if _item_scenarios: + _items.append(_item_scenarios.to_dict()) + _dict['scenarios'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in snapshots (list) + _items = [] + if self.snapshots: + for _item_snapshots in self.snapshots: + if _item_snapshots: + _items.append(_item_snapshots.to_dict()) + _dict['snapshots'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanningPlanDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "subjectId": obj.get("subjectId"), + "defaultContexts": [PlanningPlanContextDTO.from_dict(_item) for _item in obj["defaultContexts"]] if obj.get("defaultContexts") is not None else None, + "planDimensionIds": obj.get("planDimensionIds"), + "scenarios": [ScenarioOrSnapshotDTO.from_dict(_item) for _item in obj["scenarios"]] if obj.get("scenarios") is not None else None, + "snapshots": [ScenarioOrSnapshotDTO.from_dict(_item) for _item in obj["snapshots"]] if obj.get("snapshots") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_info_dto.py deleted file mode 100644 index aac2b12732..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_info_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.planning_scenario_info_dto import PlanningScenarioInfoDTO -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanInfoDTO(BaseModel): - """ - Information about a plan and its scenarios. - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the plan.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the plan.", alias="displayName") - model_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the planning model that the plan is using.", alias="modelId") - scenarios: Optional[List[PlanningScenarioInfoDTO]] = Field(default=None, description="Information about the plan's scenarios.") - parent_plan_uuid: Optional[StrictStr] = Field(default=None, description="If the plan is a subplan, the response returns its parent plan's UUID. Not returned for main plans.", alias="parentPlanUuid") - currency_code: Optional[StrictStr] = Field(default=None, description="The 3-digit ISO 4217 currency code of the plan's data.", alias="currencyCode") - __properties: ClassVar[List[str]] = ["uuid", "displayName", "modelId", "scenarios", "parentPlanUuid", "currencyCode"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanInfoDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in scenarios (list) - _items = [] - if self.scenarios: - for _item_scenarios in self.scenarios: - if _item_scenarios: - _items.append(_item_scenarios.to_dict()) - _dict['scenarios'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanInfoDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "displayName": obj.get("displayName"), - "modelId": obj.get("modelId"), - "scenarios": [PlanningScenarioInfoDTO.from_dict(_item) for _item in obj["scenarios"]] if obj.get("scenarios") is not None else None, - "parentPlanUuid": obj.get("parentPlanUuid"), - "currencyCode": obj.get("currencyCode") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_item_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_item_dto.py deleted file mode 100644 index 749e4c40c1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_item_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanItemDTO(BaseModel): - """ - A plan item is a metric in your plan. The available plan items depend on the planning model. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the plan item.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the plan item.", alias="displayName") - data_type: Optional[StrictStr] = Field(default=None, description="The data type of the plan item. The data types are: - **rate**: Converts values into a percentage in the planning grid. The provided value is multiplied by 100 to get the display value. For example, a provided value of 0.5 is displayed as 50% in the grid. - **number**: Displays values as whole numbers. Decimal values are rounded to a whole number when displayed in the planning grid. - **currency**: Displays values as a currency. Values must not contain thousand separators, currency codes, or currency symbols. - **decimal**: Displays values with decimals.", alias="dataType") - __properties: ClassVar[List[str]] = ["id", "displayName", "dataType"] - - @field_validator('data_type') - def data_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['unknown', 'number', 'currency', 'decimal', 'rate']): - raise ValueError("must be one of enum values ('unknown', 'number', 'currency', 'decimal', 'rate')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanItemDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanItemDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "dataType": obj.get("dataType") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_schema_dto.py deleted file mode 100644 index 3f0dab1181..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_schema_dto.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.planning_plan_item_dto import PlanningPlanItemDTO -from visier_platform_sdk.models.planning_plan_segment_level_dto import PlanningPlanSegmentLevelDTO -from visier_platform_sdk.models.planning_plan_segment_level_member_list_dto import PlanningPlanSegmentLevelMemberListDTO -from visier_platform_sdk.models.planning_plan_time_period_dto import PlanningPlanTimePeriodDTO -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanSchemaDTO(BaseModel): - """ - Information about a plan's schema. - """ # noqa: E501 - plan_items: Optional[List[PlanningPlanItemDTO]] = Field(default=None, description="A collection of editable plan items in a plan.", alias="planItems") - time_periods: Optional[List[PlanningPlanTimePeriodDTO]] = Field(default=None, description="The editable time periods in a plan. These time periods are the columns in the planning grid.", alias="timePeriods") - plan_segment_levels: Optional[List[PlanningPlanSegmentLevelDTO]] = Field(default=None, description="The dimensions that the plan is segmented by.", alias="planSegmentLevels") - plan_segment_level_members: Optional[List[PlanningPlanSegmentLevelMemberListDTO]] = Field(default=None, description="A collection of members grouped by their dimension and level. The combination of these member IDs points to a specific row in the plan.", alias="planSegmentLevelMembers") - __properties: ClassVar[List[str]] = ["planItems", "timePeriods", "planSegmentLevels", "planSegmentLevelMembers"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanSchemaDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in plan_items (list) - _items = [] - if self.plan_items: - for _item_plan_items in self.plan_items: - if _item_plan_items: - _items.append(_item_plan_items.to_dict()) - _dict['planItems'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in time_periods (list) - _items = [] - if self.time_periods: - for _item_time_periods in self.time_periods: - if _item_time_periods: - _items.append(_item_time_periods.to_dict()) - _dict['timePeriods'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in plan_segment_levels (list) - _items = [] - if self.plan_segment_levels: - for _item_plan_segment_levels in self.plan_segment_levels: - if _item_plan_segment_levels: - _items.append(_item_plan_segment_levels.to_dict()) - _dict['planSegmentLevels'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in plan_segment_level_members (list) - _items = [] - if self.plan_segment_level_members: - for _item_plan_segment_level_members in self.plan_segment_level_members: - if _item_plan_segment_level_members: - _items.append(_item_plan_segment_level_members.to_dict()) - _dict['planSegmentLevelMembers'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanSchemaDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "planItems": [PlanningPlanItemDTO.from_dict(_item) for _item in obj["planItems"]] if obj.get("planItems") is not None else None, - "timePeriods": [PlanningPlanTimePeriodDTO.from_dict(_item) for _item in obj["timePeriods"]] if obj.get("timePeriods") is not None else None, - "planSegmentLevels": [PlanningPlanSegmentLevelDTO.from_dict(_item) for _item in obj["planSegmentLevels"]] if obj.get("planSegmentLevels") is not None else None, - "planSegmentLevelMembers": [PlanningPlanSegmentLevelMemberListDTO.from_dict(_item) for _item in obj["planSegmentLevelMembers"]] if obj.get("planSegmentLevelMembers") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_dto.py deleted file mode 100644 index 9f6dfd24b7..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanSegmentLevelDTO(BaseModel): - """ - A dimension and dimension level that segments the plan. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The symbol name of the dimension appended with its level ID.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the dimension level.", alias="displayName") - order: Optional[StrictInt] = Field(default=None, description="The number that describes the segment's position in the plan's overall structure.") - segment_id: Optional[StrictStr] = Field(default=None, description="The symbol name of the dimension.", alias="segmentId") - segment_display_name: Optional[StrictStr] = Field(default=None, description="The display name of the dimension.", alias="segmentDisplayName") - __properties: ClassVar[List[str]] = ["id", "displayName", "order", "segmentId", "segmentDisplayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanSegmentLevelDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanSegmentLevelDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "order": obj.get("order"), - "segmentId": obj.get("segmentId"), - "segmentDisplayName": obj.get("segmentDisplayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_member_dto.py deleted file mode 100644 index e1d12ed034..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_member_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanSegmentLevelMemberDTO(BaseModel): - """ - A member in the dimension. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension member.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the dimension member.", alias="displayName") - is_custom: Optional[StrictBool] = Field(default=None, description="If `true`, this is a custom member created for use in the plan and all its subplans.", alias="isCustom") - parent_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension member's parent.", alias="parentId") - __properties: ClassVar[List[str]] = ["id", "displayName", "isCustom", "parentId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanSegmentLevelMemberDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanSegmentLevelMemberDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "isCustom": obj.get("isCustom"), - "parentId": obj.get("parentId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_member_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_member_list_dto.py deleted file mode 100644 index 427b247cfc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_segment_level_member_list_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.planning_plan_segment_level_member_dto import PlanningPlanSegmentLevelMemberDTO -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanSegmentLevelMemberListDTO(BaseModel): - """ - A collection of dimension members. - """ # noqa: E501 - segment_level_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension and dimension level.", alias="segmentLevelId") - members: Optional[List[PlanningPlanSegmentLevelMemberDTO]] = Field(default=None, description="The dimension members.") - segment_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dimension.", alias="segmentId") - __properties: ClassVar[List[str]] = ["segmentLevelId", "members", "segmentId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanSegmentLevelMemberListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item_members in self.members: - if _item_members: - _items.append(_item_members.to_dict()) - _dict['members'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanSegmentLevelMemberListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "segmentLevelId": obj.get("segmentLevelId"), - "members": [PlanningPlanSegmentLevelMemberDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None, - "segmentId": obj.get("segmentId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_time_period_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_time_period_dto.py deleted file mode 100644 index d1d2ab52f5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_time_period_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanTimePeriodDTO(BaseModel): - """ - A time period in the plan. - """ # noqa: E501 - var_date: Optional[StrictStr] = Field(default=None, description="The date of the time period. The format is YYYY-MM-DD.", alias="date") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the time period; for example, March 2024.", alias="displayName") - __properties: ClassVar[List[str]] = ["date", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanTimePeriodDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanTimePeriodDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "date": obj.get("date"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_with_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_with_schema_dto.py deleted file mode 100644 index cc80b4df72..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_with_schema_dto.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.planning_plan_data_load_error_dto import PlanningPlanDataLoadErrorDTO -from visier_platform_sdk.models.planning_plan_info_dto import PlanningPlanInfoDTO -from visier_platform_sdk.models.planning_plan_schema_dto import PlanningPlanSchemaDTO -from typing import Optional, Set -from typing_extensions import Self - -class PlanningPlanWithSchemaDTO(BaseModel): - """ - Details about the plan, including its schema. - """ # noqa: E501 - plan: Optional[PlanningPlanInfoDTO] = None - var_schema: Optional[PlanningPlanSchemaDTO] = Field(default=None, alias="schema") - errors: Optional[List[PlanningPlanDataLoadErrorDTO]] = Field(default=None, description="The errors that occurred while loading the data.") - __properties: ClassVar[List[str]] = ["plan", "schema", "errors"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningPlanWithSchemaDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of plan - if self.plan: - _dict['plan'] = self.plan.to_dict() - # override the default output from pydantic by calling `to_dict()` of var_schema - if self.var_schema: - _dict['schema'] = self.var_schema.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in errors (list) - _items = [] - if self.errors: - for _item_errors in self.errors: - if _item_errors: - _items.append(_item_errors.to_dict()) - _dict['errors'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningPlanWithSchemaDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "plan": PlanningPlanInfoDTO.from_dict(obj["plan"]) if obj.get("plan") is not None else None, - "schema": PlanningPlanSchemaDTO.from_dict(obj["schema"]) if obj.get("schema") is not None else None, - "errors": [PlanningPlanDataLoadErrorDTO.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plans_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plans_dto.py new file mode 100644 index 0000000000..fa1faf28a3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plans_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.planning_plan_dto import PlanningPlanDTO +from typing import Optional, Set +from typing_extensions import Self + +class PlanningPlansDTO(BaseModel): + """ + A collection of plan definitions. + """ # noqa: E501 + plans: Optional[List[PlanningPlanDTO]] = None + __properties: ClassVar[List[str]] = ["plans"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanningPlansDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in plans (list) + _items = [] + if self.plans: + for _item_plans in self.plans: + if _item_plans: + _items.append(_item_plans.to_dict()) + _dict['plans'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanningPlansDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "plans": [PlanningPlanDTO.from_dict(_item) for _item in obj["plans"]] if obj.get("plans") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_scenario_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_scenario_info_dto.py deleted file mode 100644 index aed548530b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_scenario_info_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class PlanningScenarioInfoDTO(BaseModel): - """ - Information about a plan's scenario. - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the scenario.") - display_name: Optional[StrictStr] = Field(default=None, description="The full display name of the scenario.", alias="displayName") - versioned_scenario_id: Optional[StrictStr] = Field(default=None, description="If the scenario belongs to a managed plan, the response returns the scenario's user-readable symbol name.", alias="versionedScenarioId") - __properties: ClassVar[List[str]] = ["uuid", "displayName", "versionedScenarioId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanningScenarioInfoDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanningScenarioInfoDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "displayName": obj.get("displayName"), - "versionedScenarioId": obj.get("versionedScenarioId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/population_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/population_configuration_dto.py new file mode 100644 index 0000000000..6c76e3645f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/population_configuration_dto.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from visier_platform_sdk.models.property_reference_dto import PropertyReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class PopulationConfigurationDTO(BaseModel): + """ + A set of property and dimension references configured by Visier or an administrator to tell the platform what properties and dimensions to use when doing population insight calculations. These are the distinguishing properties, change history properties, and grouping dimensions to use in AI insights. + """ # noqa: E501 + distinguishing_properties: Optional[List[PropertyReferenceDTO]] = Field(default=None, description="Properties that are used by default to compare subject members.", alias="distinguishingProperties") + change_history_properties: Optional[List[PropertyReferenceDTO]] = Field(default=None, description="Properties that are used by default to compare subject members over time.", alias="changeHistoryProperties") + grouping_dimensions: Optional[List[DimensionReferenceDTO]] = Field(default=None, description="Dimensions to use for grouping and clustering the population.", alias="groupingDimensions") + __properties: ClassVar[List[str]] = ["distinguishingProperties", "changeHistoryProperties", "groupingDimensions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PopulationConfigurationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in distinguishing_properties (list) + _items = [] + if self.distinguishing_properties: + for _item_distinguishing_properties in self.distinguishing_properties: + if _item_distinguishing_properties: + _items.append(_item_distinguishing_properties.to_dict()) + _dict['distinguishingProperties'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in change_history_properties (list) + _items = [] + if self.change_history_properties: + for _item_change_history_properties in self.change_history_properties: + if _item_change_history_properties: + _items.append(_item_change_history_properties.to_dict()) + _dict['changeHistoryProperties'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in grouping_dimensions (list) + _items = [] + if self.grouping_dimensions: + for _item_grouping_dimensions in self.grouping_dimensions: + if _item_grouping_dimensions: + _items.append(_item_grouping_dimensions.to_dict()) + _dict['groupingDimensions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PopulationConfigurationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "distinguishingProperties": [PropertyReferenceDTO.from_dict(_item) for _item in obj["distinguishingProperties"]] if obj.get("distinguishingProperties") is not None else None, + "changeHistoryProperties": [PropertyReferenceDTO.from_dict(_item) for _item in obj["changeHistoryProperties"]] if obj.get("changeHistoryProperties") is not None else None, + "groupingDimensions": [DimensionReferenceDTO.from_dict(_item) for _item in obj["groupingDimensions"]] if obj.get("groupingDimensions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/prediction_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/prediction_dto.py new file mode 100644 index 0000000000..cb30c557bf --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/prediction_dto.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PredictionDTO(BaseModel): + """ + A prediction is a forecast of future events with advanced machine learning models. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the prediction. Note: See `Predictions` to get the ID.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the prediction.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the prediction.") + subject: Optional[StrictStr] = Field(default=None, description="The object name of the subject that the prediction applies to. For example, Employee.") + subject_key: Optional[StrictStr] = Field(default=None, description="The unique ID of the subject's property that the prediction applies to. For example, Employee.EmployeeID.", alias="subjectKey") + subject_parent_key: Optional[StrictStr] = Field(default=None, description="The unique ID of the reference that connects a subject member to other members. For example, Employee.Direct_Manager. Note: The `subjectParentKey` defines parent, child, and peer relationships between subject members.", alias="subjectParentKey") + subject_filter: Optional[StrictStr] = Field(default=None, description="The object name of a selection concept to filter the subject population. Filtering the population selects specific subject members in the prediction's training data. For example, using the isHighPerformer concept will filter the prediction to only high performing employees.", alias="subjectFilter") + event: Optional[StrictStr] = Field(default=None, description="The object name of the event to predict. The prediction's training data uses past occurrences of the event to make predictions. For example, the Predicted Risk of Resignation model uses the Employee_Exit event to estimate likelihood of exit from the organization.") + event_filter: Optional[StrictStr] = Field(default=None, description="The object name of a selection concept to filter event occurrences in the prediction's training data.", alias="eventFilter") + label_property: Optional[StrictStr] = Field(default=None, description="The unique ID of the property label for the prediction. This is automatically generated.", alias="labelProperty") + factor_properties: Optional[List[StrictStr]] = Field(default=None, description="The list of unique IDs of the properties used as prediction factors. Note: Factors are conditions used as part of a Visier prediction. For example, Compensation might be a factor in predicting an individual's risk of resignation. Factors are chosen based on: - Availability in tenants. - Prediction impact, such as salary. - Reducing bias.", alias="factorProperties") + factor_dimensions: Optional[List[StrictStr]] = Field(default=None, description="The list of unique IDs of the dimensions used as prediction factors.", alias="factorDimensions") + factor_concepts: Optional[List[StrictStr]] = Field(default=None, description="The list of unique IDs of the concepts used as prediction factors.", alias="factorConcepts") + data_start_date: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available for this prediction. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataStartDate") + data_end_date: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available for this prediction. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataEndDate") + score_name: Optional[StrictStr] = Field(default=None, description="The unique name of the score property. The prediction's formula references the score property as an object. This is automatically generated.", alias="scoreName") + factors_name: Optional[StrictStr] = Field(default=None, description="The unique name of the factor property. The prediction's formula references the factor property as an object. This is automatically generated.", alias="factorsName") + minimum_training_months: Optional[StrictStr] = Field(default=None, description="The minimum amount of time, in months, to train the prediction model.", alias="minimumTrainingMonths") + is_multi_tenant: Optional[StrictBool] = Field(default=None, description="If `true`, this prediction applies to more than one tenant. If \"false\", the prediction only applies to the current tenant.", alias="isMultiTenant") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "subject", "subjectKey", "subjectParentKey", "subjectFilter", "event", "eventFilter", "labelProperty", "factorProperties", "factorDimensions", "factorConcepts", "dataStartDate", "dataEndDate", "scoreName", "factorsName", "minimumTrainingMonths", "isMultiTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PredictionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PredictionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "subject": obj.get("subject"), + "subjectKey": obj.get("subjectKey"), + "subjectParentKey": obj.get("subjectParentKey"), + "subjectFilter": obj.get("subjectFilter"), + "event": obj.get("event"), + "eventFilter": obj.get("eventFilter"), + "labelProperty": obj.get("labelProperty"), + "factorProperties": obj.get("factorProperties"), + "factorDimensions": obj.get("factorDimensions"), + "factorConcepts": obj.get("factorConcepts"), + "dataStartDate": obj.get("dataStartDate"), + "dataEndDate": obj.get("dataEndDate"), + "scoreName": obj.get("scoreName"), + "factorsName": obj.get("factorsName"), + "minimumTrainingMonths": obj.get("minimumTrainingMonths"), + "isMultiTenant": obj.get("isMultiTenant") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/predictions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/predictions_dto.py new file mode 100644 index 0000000000..035472db13 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/predictions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.prediction_dto import PredictionDTO +from typing import Optional, Set +from typing_extensions import Self + +class PredictionsDTO(BaseModel): + """ + A collection of predictions. + """ # noqa: E501 + predictions: Optional[List[PredictionDTO]] = None + __properties: ClassVar[List[str]] = ["predictions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PredictionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in predictions (list) + _items = [] + if self.predictions: + for _item_predictions in self.predictions: + if _item_predictions: + _items.append(_item_predictions.to_dict()) + _dict['predictions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PredictionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "predictions": [PredictionDTO.from_dict(_item) for _item in obj["predictions"]] if obj.get("predictions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_definition_dto.py new file mode 100644 index 0000000000..3a976ea674 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_definition_dto.py @@ -0,0 +1,128 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_metric_list_dto import ProcessConceptMetricListDTO +from visier_platform_sdk.models.process_concept_outcome_list_dto import ProcessConceptOutcomeListDTO +from visier_platform_sdk.models.process_concept_property_list_dto import ProcessConceptPropertyListDTO +from visier_platform_sdk.models.process_concept_stage_list_dto import ProcessConceptStageListDTO +from visier_platform_sdk.models.tag_reference_list_dto import TagReferenceListDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptDefinitionDTO(BaseModel): + """ + The process concept's associated objects, such as its analytic object and status dimension. + """ # noqa: E501 + analytic_object_name: Optional[StrictStr] = Field(default=None, description="The object name of the analytic object for the process concept.", alias="analyticObjectName") + status_dimension_object_name: Optional[StrictStr] = Field(default=None, description="The object name of the status dimension for the process concept.", alias="statusDimensionObjectName") + participation_concept_uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the participation concept for the process concept.", alias="participationConceptUuid") + on_hold_concept_uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the on-hold concept for the process concept.", alias="onHoldConceptUuid") + stage_list: Optional[ProcessConceptStageListDTO] = Field(default=None, description="The process concept's stages.", alias="stageList") + outcome_list: Optional[ProcessConceptOutcomeListDTO] = Field(default=None, description="The process concept's outcomes.", alias="outcomeList") + metric_list: Optional[ProcessConceptMetricListDTO] = Field(default=None, description="The process concept's associated metrics.", alias="metricList") + property_list: Optional[ProcessConceptPropertyListDTO] = Field(default=None, description="The process concept's associated properties.", alias="propertyList") + tag_list: Optional[TagReferenceListDTO] = Field(default=None, description="The tags assigned to the object.", alias="tagList") + visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution.", alias="visibleInAnalytics") + include_with_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the object is available in Vee's responses.", alias="includeWithVee") + __properties: ClassVar[List[str]] = ["analyticObjectName", "statusDimensionObjectName", "participationConceptUuid", "onHoldConceptUuid", "stageList", "outcomeList", "metricList", "propertyList", "tagList", "visibleInAnalytics", "includeWithVee"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of stage_list + if self.stage_list: + _dict['stageList'] = self.stage_list.to_dict() + # override the default output from pydantic by calling `to_dict()` of outcome_list + if self.outcome_list: + _dict['outcomeList'] = self.outcome_list.to_dict() + # override the default output from pydantic by calling `to_dict()` of metric_list + if self.metric_list: + _dict['metricList'] = self.metric_list.to_dict() + # override the default output from pydantic by calling `to_dict()` of property_list + if self.property_list: + _dict['propertyList'] = self.property_list.to_dict() + # override the default output from pydantic by calling `to_dict()` of tag_list + if self.tag_list: + _dict['tagList'] = self.tag_list.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjectName": obj.get("analyticObjectName"), + "statusDimensionObjectName": obj.get("statusDimensionObjectName"), + "participationConceptUuid": obj.get("participationConceptUuid"), + "onHoldConceptUuid": obj.get("onHoldConceptUuid"), + "stageList": ProcessConceptStageListDTO.from_dict(obj["stageList"]) if obj.get("stageList") is not None else None, + "outcomeList": ProcessConceptOutcomeListDTO.from_dict(obj["outcomeList"]) if obj.get("outcomeList") is not None else None, + "metricList": ProcessConceptMetricListDTO.from_dict(obj["metricList"]) if obj.get("metricList") is not None else None, + "propertyList": ProcessConceptPropertyListDTO.from_dict(obj["propertyList"]) if obj.get("propertyList") is not None else None, + "tagList": TagReferenceListDTO.from_dict(obj["tagList"]) if obj.get("tagList") is not None else None, + "visibleInAnalytics": obj.get("visibleInAnalytics"), + "includeWithVee": obj.get("includeWithVee") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_dto.py new file mode 100644 index 0000000000..1e91e5553b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptMemberDTO(BaseModel): + """ + Each member mapped to a stage or outcome in the process concept. + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the mapped member.", alias="displayName") + name_path: Optional[List[StrictStr]] = Field(default=None, description="The name path of the mapped member.", alias="namePath") + __properties: ClassVar[List[str]] = ["displayName", "namePath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptMemberDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptMemberDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "namePath": obj.get("namePath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_list_dto.py new file mode 100644 index 0000000000..003c127714 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_member_dto import ProcessConceptMemberDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptMemberListDTO(BaseModel): + """ + The members mapped to a stage or outcome in the process concept. + """ # noqa: E501 + members: Optional[List[ProcessConceptMemberDTO]] = Field(default=None, description="Each member mapped to a stage or outcome in the process concept.") + __properties: ClassVar[List[str]] = ["members"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptMemberListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in members (list) + _items = [] + if self.members: + for _item_members in self.members: + if _item_members: + _items.append(_item_members.to_dict()) + _dict['members'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptMemberListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "members": [ProcessConceptMemberDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_definition_dto.py new file mode 100644 index 0000000000..6c2f9a0e43 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_definition_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptMetricDefinitionDTO(BaseModel): + """ + Information about the metric, such as its formula and data type. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="The metric's formula written in Visier Formula Language (VFL).") + data_type: Optional[StrictStr] = Field(default=None, description="The metric's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") + visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution. Default is `true`.", alias="visibleInAnalytics") + __properties: ClassVar[List[str]] = ["formula", "dataType", "visibleInAnalytics"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptMetricDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptMetricDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "dataType": obj.get("dataType"), + "visibleInAnalytics": obj.get("visibleInAnalytics") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_list_dto.py new file mode 100644 index 0000000000..251294d7ac --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.metric_definition_dto import MetricDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptMetricListDTO(BaseModel): + """ + The process concept's associated metrics. + """ # noqa: E501 + metrics: Optional[List[MetricDefinitionDTO]] = Field(default=None, description="Each metric in the process concept.") + __properties: ClassVar[List[str]] = ["metrics"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptMetricListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) + _items = [] + if self.metrics: + for _item_metrics in self.metrics: + if _item_metrics: + _items.append(_item_metrics.to_dict()) + _dict['metrics'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptMetricListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "metrics": [MetricDefinitionDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_dto.py new file mode 100644 index 0000000000..5a0ad6dab9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_dto.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.process_concept_member_list_dto import ProcessConceptMemberListDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptOutcomeDTO(BaseModel): + """ + Information about a process concept outcome. + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the process concept outcome.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the process concept outcome.", alias="objectName") + basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the concept outcome, such as its display name, description, and explanation.", alias="basicInformation") + outcome_semantic: Optional[StrictStr] = Field(default=None, description="The end result of the process. Valid values: - `Success`: The outcome is considered successful; for example, Hired. This is the default. - `Fail`: The outcome is considered a failure; for example, Rejected.", alias="outcomeSemantic") + mapped_member_list: Optional[ProcessConceptMemberListDTO] = Field(default=None, description="Each member mapped to the process concept outcome.", alias="mappedMemberList") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "outcomeSemantic", "mappedMemberList"] + + @field_validator('outcome_semantic') + def outcome_semantic_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Success', 'Fail']): + raise ValueError("must be one of enum values ('Success', 'Fail')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptOutcomeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of basic_information + if self.basic_information: + _dict['basicInformation'] = self.basic_information.to_dict() + # override the default output from pydantic by calling `to_dict()` of mapped_member_list + if self.mapped_member_list: + _dict['mappedMemberList'] = self.mapped_member_list.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptOutcomeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName"), + "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, + "outcomeSemantic": obj.get("outcomeSemantic"), + "mappedMemberList": ProcessConceptMemberListDTO.from_dict(obj["mappedMemberList"]) if obj.get("mappedMemberList") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_list_dto.py new file mode 100644 index 0000000000..6b67270ca2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_outcome_dto import ProcessConceptOutcomeDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptOutcomeListDTO(BaseModel): + """ + The process concept's outcomes. + """ # noqa: E501 + outcomes: Optional[List[ProcessConceptOutcomeDTO]] = Field(default=None, description="Each outcome in the process concept.") + __properties: ClassVar[List[str]] = ["outcomes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptOutcomeListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in outcomes (list) + _items = [] + if self.outcomes: + for _item_outcomes in self.outcomes: + if _item_outcomes: + _items.append(_item_outcomes.to_dict()) + _dict['outcomes'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptOutcomeListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "outcomes": [ProcessConceptOutcomeDTO.from_dict(_item) for _item in obj["outcomes"]] if obj.get("outcomes") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_list_dto.py new file mode 100644 index 0000000000..07d2676e60 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_definition_dto import PropertyDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptPropertyListDTO(BaseModel): + """ + The process concept's associated properties. + """ # noqa: E501 + properties: Optional[List[PropertyDefinitionDTO]] = Field(default=None, description="Each property in the process concept.") + __properties: ClassVar[List[str]] = ["properties"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptPropertyListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in properties (list) + _items = [] + if self.properties: + for _item_properties in self.properties: + if _item_properties: + _items.append(_item_properties.to_dict()) + _dict['properties'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptPropertyListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "properties": [PropertyDefinitionDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_type_dto.py new file mode 100644 index 0000000000..6dda2de1ba --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_type_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptPropertyTypeDTO(BaseModel): + """ + A process concept property that takes a value that comes directly from the data and creates a new value through a formula. + """ # noqa: E501 + data_type: Optional[StrictStr] = Field(default=None, description="The property's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") + primitive_type: Optional[StrictStr] = Field(default=None, description="The primitive data type, such as String, Integer, or Boolean.", alias="primitiveType") + formula: Optional[StrictStr] = Field(default=None, description="The property's formula written in Visier Formula Language (VFL).") + __properties: ClassVar[List[str]] = ["dataType", "primitiveType", "formula"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptPropertyTypeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptPropertyTypeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataType": obj.get("dataType"), + "primitiveType": obj.get("primitiveType"), + "formula": obj.get("formula") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_dto.py new file mode 100644 index 0000000000..d21f121b4e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.process_concept_member_list_dto import ProcessConceptMemberListDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptStageDTO(BaseModel): + """ + Information about a process concept stage. + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the process concept stage.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the process concept stage.", alias="objectName") + basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the concept stage, such as its display name, description, and explanation.", alias="basicInformation") + mapped_member_list: Optional[ProcessConceptMemberListDTO] = Field(default=None, description="The members mapped to the process concept stage.", alias="mappedMemberList") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "mappedMemberList"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptStageDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of basic_information + if self.basic_information: + _dict['basicInformation'] = self.basic_information.to_dict() + # override the default output from pydantic by calling `to_dict()` of mapped_member_list + if self.mapped_member_list: + _dict['mappedMemberList'] = self.mapped_member_list.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptStageDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName"), + "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, + "mappedMemberList": ProcessConceptMemberListDTO.from_dict(obj["mappedMemberList"]) if obj.get("mappedMemberList") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_list_dto.py new file mode 100644 index 0000000000..dd273254f8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_stage_dto import ProcessConceptStageDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptStageListDTO(BaseModel): + """ + The process concept's stages. + """ # noqa: E501 + stages: Optional[List[ProcessConceptStageDTO]] = Field(default=None, description="Each stage in the process concept.") + __properties: ClassVar[List[str]] = ["stages"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptStageListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in stages (list) + _items = [] + if self.stages: + for _item_stages in self.stages: + if _item_stages: + _items.append(_item_stages.to_dict()) + _dict['stages'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptStageListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "stages": [ProcessConceptStageDTO.from_dict(_item) for _item in obj["stages"]] if obj.get("stages") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job.py new file mode 100644 index 0000000000..2fe283d00c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProcessingJob(BaseModel): + """ + ProcessingJob + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the processing job for the analytic tenant.", alias="jobId") + tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant code.", alias="tenantCode") + data_version: Optional[StrictStr] = Field(default=None, description="The data version associated with the processing job.", alias="dataVersion") + status: Optional[StrictStr] = Field(default=None, description="The status of the receiving job for the analytic tenant.") + message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the processing job.") + __properties: ClassVar[List[str]] = ["jobId", "tenantCode", "dataVersion", "status", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessingJob from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessingJob from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId"), + "tenantCode": obj.get("tenantCode"), + "dataVersion": obj.get("dataVersion"), + "status": obj.get("status"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_and_status_response.py new file mode 100644 index 0000000000..16e0bf5e30 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_and_status_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.processing_job import ProcessingJob +from typing import Optional, Set +from typing_extensions import Self + +class ProcessingJobAndStatusResponse(BaseModel): + """ + ProcessingJobAndStatusResponse + """ # noqa: E501 + parent_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="parentJobId") + parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that owns the dispatching job. This is usually the administrating tenant.", alias="parentTenantCode") + limit: Optional[StrictInt] = Field(default=None, description="The number of processing jobs to return. The maximum number of jobs to return is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") + processing_jobs: Optional[List[ProcessingJob]] = Field(default=None, description="A list of processing job information.", alias="processingJobs") + __properties: ClassVar[List[str]] = ["parentJobId", "parentTenantCode", "limit", "start", "processingJobs"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessingJobAndStatusResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in processing_jobs (list) + _items = [] + if self.processing_jobs: + for _item_processing_jobs in self.processing_jobs: + if _item_processing_jobs: + _items.append(_item_processing_jobs.to_dict()) + _dict['processingJobs'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessingJobAndStatusResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parentJobId": obj.get("parentJobId"), + "parentTenantCode": obj.get("parentTenantCode"), + "limit": obj.get("limit"), + "start": obj.get("start"), + "processingJobs": [ProcessingJob.from_dict(_item) for _item in obj["processingJobs"]] if obj.get("processingJobs") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_request_dto.py new file mode 100644 index 0000000000..cf400e61c9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProcessingJobRequestDTO(BaseModel): + """ + ProcessingJobRequestDTO + """ # noqa: E501 + tenants: Optional[List[StrictStr]] = Field(default=None, description="The tenant codes of the tenants to run processing jobs for. If omitted, runs a processing job for the tenant associated with the user who made the API request. Only valid for requests from an administrating tenant.") + all_tenants: Optional[StrictBool] = Field(default=None, description="If `true`, runs processing jobs for all accessible analytic tenants. Default is `false`. Only valid for requests from an administrating tenant.", alias="allTenants") + data_category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the data category to run the job. If omitted, runs a job using the primary data category. To retrieve a list of all data categories, see `GET /v1/op/data/categories`.", alias="dataCategoryId") + publish_to_production: Optional[StrictBool] = Field(default=None, description="If `true`, publishes the generated data version to production. Default is `false`.", alias="publishToProduction") + excluded_tenants: Optional[List[StrictStr]] = Field(default=None, description="The unique IDs of the tenants to exclude from the extraction job. Only valid if `allTenants` is \"true\". Only valid for requests from an administrating tenant.", alias="excludedTenants") + __properties: ClassVar[List[str]] = ["tenants", "allTenants", "dataCategoryId", "publishToProduction", "excludedTenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessingJobRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessingJobRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": obj.get("tenants"), + "allTenants": obj.get("allTenants"), + "dataCategoryId": obj.get("dataCategoryId"), + "publishToProduction": obj.get("publishToProduction"), + "excludedTenants": obj.get("excludedTenants") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_status_response.py new file mode 100644 index 0000000000..7a675ac490 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_status_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.processing_job import ProcessingJob +from typing import Optional, Set +from typing_extensions import Self + +class ProcessingJobStatusResponse(BaseModel): + """ + ProcessingJobStatusResponse + """ # noqa: E501 + parent_job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the receiving job that spawned this job.", alias="parentJobId") + parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the receiving job that spawned this job.", alias="parentTenantCode") + limit: Optional[StrictInt] = Field(default=None, description="The limit of processing jobs to retrieve per page.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") + processing_jobs: Optional[List[ProcessingJob]] = Field(default=None, description="A list of objects representing the processing jobs to retrieve.", alias="processingJobs") + __properties: ClassVar[List[str]] = ["parentJobId", "parentTenantCode", "limit", "start", "processingJobs"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessingJobStatusResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in processing_jobs (list) + _items = [] + if self.processing_jobs: + for _item_processing_jobs in self.processing_jobs: + if _item_processing_jobs: + _items.append(_item_processing_jobs.to_dict()) + _dict['processingJobs'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessingJobStatusResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parentJobId": obj.get("parentJobId"), + "parentTenantCode": obj.get("parentTenantCode"), + "limit": obj.get("limit"), + "start": obj.get("start"), + "processingJobs": [ProcessingJob.from_dict(_item) for _item in obj["processingJobs"]] if obj.get("processingJobs") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_release_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_release_dto.py new file mode 100644 index 0000000000..e8f6b86774 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_release_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProductReleaseDTO(BaseModel): + """ + Details about the available release versions for a specific product. + """ # noqa: E501 + product_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the product.", alias="productId") + previous_version: Optional[StrictStr] = Field(default=None, description="The release version being replaced by the latest version.", alias="previousVersion") + previous_version_end_date: Optional[StrictStr] = Field(default=None, description="The end-of-life date for the previous release version. Once this date has passed, the latest version will be automatically activated on all tenants. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.", alias="previousVersionEndDate") + latest_version: Optional[StrictStr] = Field(default=None, description="The release version that replaces previous versions.", alias="latestVersion") + __properties: ClassVar[List[str]] = ["productId", "previousVersion", "previousVersionEndDate", "latestVersion"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductReleaseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductReleaseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "productId": obj.get("productId"), + "previousVersion": obj.get("previousVersion"), + "previousVersionEndDate": obj.get("previousVersionEndDate"), + "latestVersion": obj.get("latestVersion") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_releases_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_releases_dto.py new file mode 100644 index 0000000000..336fb2615e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_releases_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.product_release_dto import ProductReleaseDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProductReleasesDTO(BaseModel): + """ + A collection of products and details about their available release versions. + """ # noqa: E501 + releases: Optional[List[ProductReleaseDTO]] = Field(default=None, description="A list of products and details about their available release versions.") + __properties: ClassVar[List[str]] = ["releases"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductReleasesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in releases (list) + _items = [] + if self.releases: + for _item_releases in self.releases: + if _item_releases: + _items.append(_item_releases.to_dict()) + _dict['releases'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductReleasesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "releases": [ProductReleaseDTO.from_dict(_item) for _item in obj["releases"]] if obj.get("releases") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_version_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_version_dto.py new file mode 100644 index 0000000000..422d30d7da --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_version_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProductVersionDTO(BaseModel): + """ + Provides information about the product release version of a tenant. It is used when retrieving the active product release version and activating the product release version. + """ # noqa: E501 + product_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the product.", alias="productId") + version: Optional[StrictStr] = Field(default=None, description="The release version of the product.") + tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="The tenants you want to execute the API call on. Retrieve or activate the product release versions on these tenants.", alias="tenantCodes") + __properties: ClassVar[List[str]] = ["productId", "version", "tenantCodes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductVersionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductVersionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "productId": obj.get("productId"), + "version": obj.get("version"), + "tenantCodes": obj.get("tenantCodes") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_dto.py new file mode 100644 index 0000000000..567623de8c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.product_version_dto import ProductVersionDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProductVersionsDTO(BaseModel): + """ + A collection of products and their current release version for a tenant. + """ # noqa: E501 + versions: Optional[List[ProductVersionDTO]] = Field(default=None, description="A list of products and their current release versions for a tenant.") + __properties: ClassVar[List[str]] = ["versions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductVersionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in versions (list) + _items = [] + if self.versions: + for _item_versions in self.versions: + if _item_versions: + _items.append(_item_versions.to_dict()) + _dict['versions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductVersionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "versions": [ProductVersionDTO.from_dict(_item) for _item in obj["versions"]] if obj.get("versions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py new file mode 100644 index 0000000000..13853077d8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProductVersionsUpdateFailureTenantResponseDTO(BaseModel): + """ + Provides details about the failed activation of a product release version. + """ # noqa: E501 + product_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the product that failed to activate.", alias="productId") + version: Optional[StrictStr] = Field(default=None, description="The release version of the product that was being activated.") + tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="The tenants where the specified release version failed to activate.", alias="tenantCodes") + message: Optional[StrictStr] = Field(default=None, description="More information about why the activation failed.") + __properties: ClassVar[List[str]] = ["productId", "version", "tenantCodes", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductVersionsUpdateFailureTenantResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductVersionsUpdateFailureTenantResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "productId": obj.get("productId"), + "version": obj.get("version"), + "tenantCodes": obj.get("tenantCodes"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_response_dto.py new file mode 100644 index 0000000000..0227dc4f3b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.product_versions_update_failure_tenant_response_dto import ProductVersionsUpdateFailureTenantResponseDTO +from visier_platform_sdk.models.product_versions_update_successful_tenant_response_dto import ProductVersionsUpdateSuccessfulTenantResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProductVersionsUpdateResponseDTO(BaseModel): + """ + A collection of responses indicating the success or failure of a product release version activation request, including lists of tenants with successful or failed activations. + """ # noqa: E501 + successes: Optional[List[ProductVersionsUpdateSuccessfulTenantResponseDTO]] = Field(default=None, description="The products that were successfully activated.") + failures: Optional[List[ProductVersionsUpdateFailureTenantResponseDTO]] = Field(default=None, description="The products that failed to activate.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductVersionsUpdateResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductVersionsUpdateResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [ProductVersionsUpdateSuccessfulTenantResponseDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [ProductVersionsUpdateFailureTenantResponseDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py new file mode 100644 index 0000000000..c8ba2693e0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProductVersionsUpdateSuccessfulTenantResponseDTO(BaseModel): + """ + Provides confirmation details about the successful activation of a product release version. + """ # noqa: E501 + product_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the product that was successfully activated.", alias="productId") + version: Optional[StrictStr] = Field(default=None, description="The release version of the product that was activated.") + tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="The tenants where the specified release version was succesfully activated.", alias="tenantCodes") + __properties: ClassVar[List[str]] = ["productId", "version", "tenantCodes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductVersionsUpdateSuccessfulTenantResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductVersionsUpdateSuccessfulTenantResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "productId": obj.get("productId"), + "version": obj.get("version"), + "tenantCodes": obj.get("tenantCodes") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_request_dto.py new file mode 100644 index 0000000000..e573c54743 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_request_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProductionVersionAPIOperationRequestDTO(BaseModel): + """ + ProductionVersionAPIOperationRequestDTO + """ # noqa: E501 + operation: Optional[StrictStr] = Field(default=None, description="The operation to perform. Valid values: * `rollBackTo`: Create a project that rolls back the production version to the specified version. The project contains uncommitted changes that reverse the published versions after the target production version.") + __properties: ClassVar[List[str]] = ["operation"] + + @field_validator('operation') + def operation_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['unknownProductionVersionAPIOperation', 'rollBackTo']): + raise ValueError("must be one of enum values ('unknownProductionVersionAPIOperation', 'rollBackTo')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductionVersionAPIOperationRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductionVersionAPIOperationRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "operation": obj.get("operation") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_response_dto.py new file mode 100644 index 0000000000..58cf52fa1c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_response_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.project_dto import ProjectDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProductionVersionAPIOperationResponseDTO(BaseModel): + """ + ProductionVersionAPIOperationResponseDTO + """ # noqa: E501 + roll_back_to: Optional[ProjectDTO] = Field(default=None, description="The project created by the `rollBackTo` operation.", alias="rollBackTo") + __properties: ClassVar[List[str]] = ["rollBackTo"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductionVersionAPIOperationResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of roll_back_to + if self.roll_back_to: + _dict['rollBackTo'] = self.roll_back_to.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductionVersionAPIOperationResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "rollBackTo": ProjectDTO.from_dict(obj["rollBackTo"]) if obj.get("rollBackTo") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_request_dto.py new file mode 100644 index 0000000000..263f4242c0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_request_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.export_production_versions_api_operation_parameters_dto import ExportProductionVersionsAPIOperationParametersDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProductionVersionsAPIOperationRequestDTO(BaseModel): + """ + ProductionVersionsAPIOperationRequestDTO + """ # noqa: E501 + operation: Optional[StrictStr] = Field(default=None, description="The operation to perform. Valid values: * `export`: Export the project changes of the requested production versions and their related files, such as any Guidebook images. If successful, a ZIP file is returned containing any relevant image files and a JSON file with the production project changes.") + export_parameters: Optional[ExportProductionVersionsAPIOperationParametersDTO] = Field(default=None, description="The parameters for the `export` option, such as the production version to start exporting versions from. Required for `export` operations.", alias="exportParameters") + __properties: ClassVar[List[str]] = ["operation", "exportParameters"] + + @field_validator('operation') + def operation_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['unknownProductionVersionsAPIOperation', 'export']): + raise ValueError("must be one of enum values ('unknownProductionVersionsAPIOperation', 'export')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductionVersionsAPIOperationRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of export_parameters + if self.export_parameters: + _dict['exportParameters'] = self.export_parameters.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductionVersionsAPIOperationRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "operation": obj.get("operation"), + "exportParameters": ExportProductionVersionsAPIOperationParametersDTO.from_dict(obj["exportParameters"]) if obj.get("exportParameters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_response_dto.py new file mode 100644 index 0000000000..6f3ba79b93 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_response_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProductionVersionsAPIOperationResponseDTO(BaseModel): + """ + ProductionVersionsAPIOperationResponseDTO + """ # noqa: E501 + export: Optional[Dict[str, Any]] = Field(default=None, description="The result of the `export` operation.") + __properties: ClassVar[List[str]] = ["export"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProductionVersionsAPIOperationResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProductionVersionsAPIOperationResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "export": obj.get("export") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py new file mode 100644 index 0000000000..7e8b37e183 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProfileAssignedForAccessibleTenantDTO(BaseModel): + """ + ProfileAssignedForAccessibleTenantDTO + """ # noqa: E501 + profile_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the profile.", alias="profileId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable profile name to display in Visier such as \"Partner Service Manager\".", alias="displayName") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant on which this profile is assigned.", alias="tenantCode") + for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the profile is assigned for all the analytic tenants of the administrating tenant.", alias="forAllChildren") + validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active. Note: Long.Min_Value means that startTime is undefined.", alias="validityStartTime") + validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active. Note: Long.Max_Value means that endTime is undefined and is equivalent to permanent access.", alias="validityEndTime") + __properties: ClassVar[List[str]] = ["profileId", "displayName", "tenantCode", "forAllChildren", "validityStartTime", "validityEndTime"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProfileAssignedForAccessibleTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProfileAssignedForAccessibleTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "profileId": obj.get("profileId"), + "displayName": obj.get("displayName"), + "tenantCode": obj.get("tenantCode"), + "forAllChildren": obj.get("forAllChildren"), + "validityStartTime": obj.get("validityStartTime"), + "validityEndTime": obj.get("validityEndTime") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..9c5c6d079a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.additional_capabilities_dto import AdditionalCapabilitiesDTO +from visier_platform_sdk.models.capabilities_dto import CapabilitiesDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProfileAssignedForLocalTenantDTO(BaseModel): + """ + ProfileAssignedForLocalTenantDTO + """ # noqa: E501 + profile_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the profile.", alias="profileId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable profile name to display in Visier, such as \"Partner Service Manager\".", alias="displayName") + validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active.", alias="validityStartTime") + validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active.", alias="validityEndTime") + capabilities: Optional[List[CapabilitiesDTO]] = Field(default=None, description="A list of objects representing the access that this profile has for the capabilities of this profile.") + additional_capabilities: Optional[AdditionalCapabilitiesDTO] = Field(default=None, description="A list of the additional capabilities that are assigned to this profile.", alias="additionalCapabilities") + __properties: ClassVar[List[str]] = ["profileId", "displayName", "validityStartTime", "validityEndTime", "capabilities", "additionalCapabilities"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProfileAssignedForLocalTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in capabilities (list) + _items = [] + if self.capabilities: + for _item_capabilities in self.capabilities: + if _item_capabilities: + _items.append(_item_capabilities.to_dict()) + _dict['capabilities'] = _items + # override the default output from pydantic by calling `to_dict()` of additional_capabilities + if self.additional_capabilities: + _dict['additionalCapabilities'] = self.additional_capabilities.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProfileAssignedForLocalTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "profileId": obj.get("profileId"), + "displayName": obj.get("displayName"), + "validityStartTime": obj.get("validityStartTime"), + "validityEndTime": obj.get("validityEndTime"), + "capabilities": [CapabilitiesDTO.from_dict(_item) for _item in obj["capabilities"]] if obj.get("capabilities") is not None else None, + "additionalCapabilities": AdditionalCapabilitiesDTO.from_dict(obj["additionalCapabilities"]) if obj.get("additionalCapabilities") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profile_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profile_get_api_response_dto.py new file mode 100644 index 0000000000..d99c932c36 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profile_get_api_response_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.capabilities_dto import CapabilitiesDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProfileGetAPIResponseDTO(BaseModel): + """ + ProfileGetAPIResponseDTO + """ # noqa: E501 + profile_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the profile.", alias="profileId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable profile name to display in Visier. For example, \"Partner Service Manager\".", alias="displayName") + capabilities: Optional[List[CapabilitiesDTO]] = Field(default=None, description="A list of objects representing the access that this profile has for the capabilities of this profile.") + additional_capabilities: Optional[List[StrictStr]] = Field(default=None, description="A list of the additional capabilities that are assigned to this profile.", alias="additionalCapabilities") + __properties: ClassVar[List[str]] = ["profileId", "displayName", "capabilities", "additionalCapabilities"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProfileGetAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in capabilities (list) + _items = [] + if self.capabilities: + for _item_capabilities in self.capabilities: + if _item_capabilities: + _items.append(_item_capabilities.to_dict()) + _dict['capabilities'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProfileGetAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "profileId": obj.get("profileId"), + "displayName": obj.get("displayName"), + "capabilities": [CapabilitiesDTO.from_dict(_item) for _item in obj["capabilities"]] if obj.get("capabilities") is not None else None, + "additionalCapabilities": obj.get("additionalCapabilities") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profiles_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profiles_get_api_response_dto.py new file mode 100644 index 0000000000..657dec2515 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profiles_get_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.profile_get_api_response_dto import ProfileGetAPIResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProfilesGetAPIResponseDTO(BaseModel): + """ + ProfilesGetAPIResponseDTO + """ # noqa: E501 + profiles: Optional[List[ProfileGetAPIResponseDTO]] = Field(default=None, description="A list of objects representing the available profiles.") + __properties: ClassVar[List[str]] = ["profiles"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProfilesGetAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in profiles (list) + _items = [] + if self.profiles: + for _item_profiles in self.profiles: + if _item_profiles: + _items.append(_item_profiles.to_dict()) + _dict['profiles'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProfilesGetAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "profiles": [ProfileGetAPIResponseDTO.from_dict(_item) for _item in obj["profiles"]] if obj.get("profiles") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_commits_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_commits_api_response_dto.py new file mode 100644 index 0000000000..64f7d6f49a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_commits_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.commit_dto import CommitDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProjectCommitsAPIResponseDTO(BaseModel): + """ + ProjectCommitsAPIResponseDTO + """ # noqa: E501 + commits: Optional[List[CommitDTO]] = Field(default=None, description="A list of committed changes in the project.") + __properties: ClassVar[List[str]] = ["commits"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProjectCommitsAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in commits (list) + _items = [] + if self.commits: + for _item_commits in self.commits: + if _item_commits: + _items.append(_item_commits.to_dict()) + _dict['commits'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProjectCommitsAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "commits": [CommitDTO.from_dict(_item) for _item in obj["commits"]] if obj.get("commits") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_dto.py new file mode 100644 index 0000000000..876fb9543a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_dto.py @@ -0,0 +1,111 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProjectDTO(BaseModel): + """ + ProjectDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the project. Omit when creating a new project.") + name: Optional[StrictStr] = Field(default=None, description="An identifiable project name to display in Visier.") + description: Optional[StrictStr] = Field(default=None, description="A description of the project.") + release_version: Optional[StrictStr] = Field(default=None, description="The release version of the project.", alias="releaseVersion") + ticket_number: Optional[StrictStr] = Field(default=None, description="The change management ticket number of the project.", alias="ticketNumber") + version_number: Optional[StrictInt] = Field(default=None, description="The version number of the project.", alias="versionNumber") + capabilities: Optional[List[StrictStr]] = Field(default=None, description="The current user's capabilities for the project. Users with `canWrite`, `canShare`, or `owner` capabilities can add and commit changes to the project. **canRead**: The project has been shared to the user with `View` access. **canWrite**: The project has been shared to the user with `Edit` access. **canShare**: The project has been shared to the user with `Share` access. **owner**: The user is the owner of the project. Omit when creating a new project.") + __properties: ClassVar[List[str]] = ["id", "name", "description", "releaseVersion", "ticketNumber", "versionNumber", "capabilities"] + + @field_validator('capabilities') + def capabilities_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + for i in value: + if i not in set(['canRead', 'canWrite', 'canShare', 'owner']): + raise ValueError("each list item must be one of ('canRead', 'canWrite', 'canShare', 'owner')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProjectDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProjectDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "description": obj.get("description"), + "releaseVersion": obj.get("releaseVersion"), + "ticketNumber": obj.get("ticketNumber"), + "versionNumber": obj.get("versionNumber"), + "capabilities": obj.get("capabilities") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_request_dto.py new file mode 100644 index 0000000000..1216647e8d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_request_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProjectOperationRequestDTO(BaseModel): + """ + ProjectOperationRequestDTO + """ # noqa: E501 + operation: Optional[StrictStr] = Field(default=None, description="The operation to perform on a draft project. Valid values: * `commitAndPublish`: Commits the requesting user's changes and publishes the draft project to production.") + __properties: ClassVar[List[str]] = ["operation"] + + @field_validator('operation') + def operation_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['unknown', 'commitAndPublish']): + raise ValueError("must be one of enum values ('unknown', 'commitAndPublish')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProjectOperationRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProjectOperationRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "operation": obj.get("operation") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_response_dto.py new file mode 100644 index 0000000000..c6461ae64b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_response_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.commit_and_publish_operation_response_dto import CommitAndPublishOperationResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProjectOperationResponseDTO(BaseModel): + """ + ProjectOperationResponseDTO + """ # noqa: E501 + commit_and_publish: Optional[CommitAndPublishOperationResponseDTO] = Field(default=None, description="The result of the `commitAndPublish` operation.", alias="commitAndPublish") + __properties: ClassVar[List[str]] = ["commitAndPublish"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProjectOperationResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of commit_and_publish + if self.commit_and_publish: + _dict['commitAndPublish'] = self.commit_and_publish.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProjectOperationResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "commitAndPublish": CommitAndPublishOperationResponseDTO.from_dict(obj["commitAndPublish"]) if obj.get("commitAndPublish") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/properties_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/properties_change_definitions_dto.py new file mode 100644 index 0000000000..b8ec518dfc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/properties_change_definitions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_change_definitions_by_tenant_dto import PropertyChangeDefinitionsByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertiesChangeDefinitionsDTO(BaseModel): + """ + PropertiesChangeDefinitionsDTO + """ # noqa: E501 + properties_by_tenant: Optional[List[PropertyChangeDefinitionsByTenantDTO]] = Field(default=None, description="The property updates to make in each tenant.", alias="propertiesByTenant") + __properties: ClassVar[List[str]] = ["propertiesByTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertiesChangeDefinitionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in properties_by_tenant (list) + _items = [] + if self.properties_by_tenant: + for _item_properties_by_tenant in self.properties_by_tenant: + if _item_properties_by_tenant: + _items.append(_item_properties_by_tenant.to_dict()) + _dict['propertiesByTenant'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertiesChangeDefinitionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "propertiesByTenant": [PropertyChangeDefinitionsByTenantDTO.from_dict(_item) for _item in obj["propertiesByTenant"]] if obj.get("propertiesByTenant") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/properties_delete_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/properties_delete_definitions_dto.py new file mode 100644 index 0000000000..88a2893f1b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/properties_delete_definitions_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_delete_definitions_by_tenant_dto import PropertyDeleteDefinitionsByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertiesDeleteDefinitionsDTO(BaseModel): + """ + Property deletion options. + """ # noqa: E501 + delete_derived_properties: Optional[StrictBool] = Field(default=None, description="If `true`, deletes derived properties along with the properties to delete. Default is `false`.", alias="deleteDerivedProperties") + ignore_property_references: Optional[StrictBool] = Field(default=None, description="If `true`, ignores properties that reference the properties to delete. Default is `false`.", alias="ignorePropertyReferences") + properties_by_tenant: Optional[List[PropertyDeleteDefinitionsByTenantDTO]] = Field(default=None, description="The properties to delete for each tenant.", alias="propertiesByTenant") + __properties: ClassVar[List[str]] = ["deleteDerivedProperties", "ignorePropertyReferences", "propertiesByTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertiesDeleteDefinitionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in properties_by_tenant (list) + _items = [] + if self.properties_by_tenant: + for _item_properties_by_tenant in self.properties_by_tenant: + if _item_properties_by_tenant: + _items.append(_item_properties_by_tenant.to_dict()) + _dict['propertiesByTenant'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertiesDeleteDefinitionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "deleteDerivedProperties": obj.get("deleteDerivedProperties"), + "ignorePropertyReferences": obj.get("ignorePropertyReferences"), + "propertiesByTenant": [PropertyDeleteDefinitionsByTenantDTO.from_dict(_item) for _item in obj["propertiesByTenant"]] if obj.get("propertiesByTenant") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/properties_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/properties_dto.py new file mode 100644 index 0000000000..76d0942481 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/properties_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_dto import PropertyDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertiesDTO(BaseModel): + """ + A collection of properties. + """ # noqa: E501 + properties: Optional[List[PropertyDTO]] = None + __properties: ClassVar[List[str]] = ["properties"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertiesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in properties (list) + _items = [] + if self.properties: + for _item_properties in self.properties: + if _item_properties: + _items.append(_item_properties.to_dict()) + _dict['properties'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertiesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "properties": [PropertyDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_access_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_access_config_dto.py new file mode 100644 index 0000000000..a6f846171c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_access_config_dto.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PropertyAccessConfigDTO(BaseModel): + """ + PropertyAccessConfigDTO + """ # noqa: E501 + property_id: Optional[StrictStr] = Field(default=None, description="The property ID associated with the property access configuration.", alias="propertyId") + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The analytic object ID of the property.", alias="analyticObjectId") + analytic_object_reference_paths: Optional[List[StrictStr]] = Field(default=None, description="The path to the analytic object reference. Empty if the configuration is not a reference.", alias="analyticObjectReferencePaths") + access_level: Optional[StrictStr] = Field(default=None, description="The access level of the property. Valid values are: `Aggregate`, `Detailed`. * **Aggregate**: The property can only be accessed as part of an aggregate. * **Detailed**: The property can be accessed at a detailed level.", alias="accessLevel") + property_status: Optional[StrictStr] = Field(default=None, description="The property's validity status. Valid values: `Valid`, `NoData`, `NotFound`. * **Valid**: The object exists and has loaded data. * **NoData**: The object exists but doesn't have loaded data. * **NotFound**: The object doesn't exist.", alias="propertyStatus") + __properties: ClassVar[List[str]] = ["propertyId", "analyticObjectId", "analyticObjectReferencePaths", "accessLevel", "propertyStatus"] + + @field_validator('access_level') + def access_level_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['None', 'Aggregate', 'Detailed']): + raise ValueError("must be one of enum values ('None', 'Aggregate', 'Detailed')") + return value + + @field_validator('property_status') + def property_status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): + raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyAccessConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyAccessConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "propertyId": obj.get("propertyId"), + "analyticObjectId": obj.get("analyticObjectId"), + "analyticObjectReferencePaths": obj.get("analyticObjectReferencePaths"), + "accessLevel": obj.get("accessLevel"), + "propertyStatus": obj.get("propertyStatus") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_bulk_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_bulk_delete_response_dto.py new file mode 100644 index 0000000000..fc43f2691c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_bulk_delete_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_delete_failure_dto import PropertyDeleteFailureDTO +from visier_platform_sdk.models.property_delete_success_dto import PropertyDeleteSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyBulkDeleteResponseDTO(BaseModel): + """ + Results of a bulk delete operation. + """ # noqa: E501 + successes: Optional[List[PropertyDeleteSuccessDTO]] = Field(default=None, description="Properties that were successfully deleted.") + failures: Optional[List[PropertyDeleteFailureDTO]] = Field(default=None, description="Properties that were not successfully deleted.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyBulkDeleteResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyBulkDeleteResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [PropertyDeleteSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [PropertyDeleteFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definition_dto.py new file mode 100644 index 0000000000..b43edcfc14 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definition_dto.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_type_dto import PropertyTypeDTO +from visier_platform_sdk.models.tags_dto import TagsDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyChangeDefinitionDTO(BaseModel): + """ + PropertyChangeDefinitionDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The symbol name of the property; for example, Employee.Birth_Date") + display_name: Optional[StrictStr] = Field(default=None, description="The user-friendly name for the property.", alias="displayName") + short_display_name: Optional[StrictStr] = Field(default=None, description="A shortened version of the display name. If the property is visible in the solution experience, this name is displayed in visualization titles.", alias="shortDisplayName") + description: Optional[StrictStr] = Field(default=None, description="A short description of the property. Descriptions provide in-context help for your users while working in Visier.") + explanation: Optional[StrictStr] = Field(default=None, description="Explanation of the property. This field is used to provide additional information about the property.") + designer_notes: Optional[StrictStr] = Field(default=None, description="Notes for the designer. This field is used to provide additional information about the property.", alias="designerNotes") + type: Optional[PropertyTypeDTO] = Field(default=None, description="The type of the property.") + tags: Optional[TagsDTO] = Field(default=None, description="The tags associated with the property.") + include_with_vee: Optional[StrictBool] = Field(default=None, description="If 'true', the property is included with Vee.", alias="includeWithVee") + __properties: ClassVar[List[str]] = ["id", "displayName", "shortDisplayName", "description", "explanation", "designerNotes", "type", "tags", "includeWithVee"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyChangeDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of type + if self.type: + _dict['type'] = self.type.to_dict() + # override the default output from pydantic by calling `to_dict()` of tags + if self.tags: + _dict['tags'] = self.tags.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyChangeDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "shortDisplayName": obj.get("shortDisplayName"), + "description": obj.get("description"), + "explanation": obj.get("explanation"), + "designerNotes": obj.get("designerNotes"), + "type": PropertyTypeDTO.from_dict(obj["type"]) if obj.get("type") is not None else None, + "tags": TagsDTO.from_dict(obj["tags"]) if obj.get("tags") is not None else None, + "includeWithVee": obj.get("includeWithVee") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..7bf9703577 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_change_definition_dto import PropertyChangeDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyChangeDefinitionsByTenantDTO(BaseModel): + """ + PropertyChangeDefinitionsByTenantDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the tenant in which to update properties.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="To make changes in a project, specify a project ID.", alias="projectId") + properties: Optional[List[PropertyChangeDefinitionDTO]] = Field(default=None, description="The list of properties to update.") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "properties"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyChangeDefinitionsByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in properties (list) + _items = [] + if self.properties: + for _item_properties in self.properties: + if _item_properties: + _items.append(_item_properties.to_dict()) + _dict['properties'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyChangeDefinitionsByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "properties": [PropertyChangeDefinitionDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_column_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_column_dto.py new file mode 100644 index 0000000000..bef1110089 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_column_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.query_property_dto import QueryPropertyDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyColumnDTO(BaseModel): + """ + A named, result column of a list query. + """ # noqa: E501 + column_name: Optional[StrictStr] = Field(default=None, description="The name of the column. This is optional. If not specified, the name of the property is used, or a generic column name if the property is unnamed.", alias="columnName") + column_definition: Optional[QueryPropertyDTO] = Field(default=None, description="The definition of the property to query on.", alias="columnDefinition") + __properties: ClassVar[List[str]] = ["columnName", "columnDefinition"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyColumnDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of column_definition + if self.column_definition: + _dict['columnDefinition'] = self.column_definition.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyColumnDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "columnName": obj.get("columnName"), + "columnDefinition": QueryPropertyDTO.from_dict(obj["columnDefinition"]) if obj.get("columnDefinition") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_dto.py new file mode 100644 index 0000000000..b9954892a9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.property_type_details_dto import PropertyTypeDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyDefinitionDTO(BaseModel): + """ + PropertyDefinitionDTO + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the property.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the property.", alias="objectName") + basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the property, such as its display name, description, and explanation.", alias="basicInformation") + details: Optional[PropertyTypeDetailsDTO] = Field(default=None, description="The property type and its details.") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of basic_information + if self.basic_information: + _dict['basicInformation'] = self.basic_information.to_dict() + # override the default output from pydantic by calling `to_dict()` of details + if self.details: + _dict['details'] = self.details.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName"), + "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, + "details": PropertyTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..4c686c53f3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PropertyDeleteDefinitionsByTenantDTO(BaseModel): + """ + The properties to delete for a specific tenant. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant to delete properties from. Default is the current tenant.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project in which to delete properties. If omitted and the ProjectID request header is not defined, the change is published to production immediately.", alias="projectId") + property_ids: Optional[List[StrictStr]] = Field(default=None, description="The IDs of the properties to delete.", alias="propertyIds") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "propertyIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyDeleteDefinitionsByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyDeleteDefinitionsByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "propertyIds": obj.get("propertyIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_failure_dto.py new file mode 100644 index 0000000000..5ef0b58404 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_failure_dto.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dependent_dto import DependentDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyDeleteFailureDTO(BaseModel): + """ + Details about a failed property deletion. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the property.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the property.", alias="displayName") + message: Optional[StrictStr] = Field(default=None, description="An error message describing the cause of the failure.") + rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant in which the property wasn't deleted.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project in which the property wasn't deleted.", alias="projectId") + derived_dependents_to_delete: Optional[List[DependentDTO]] = Field(default=None, description="The derived dependents that would have been deleted if the deletion was successful.", alias="derivedDependentsToDelete") + reference_dependents_to_ignore: Optional[List[DependentDTO]] = Field(default=None, description="Dependents that reference this property and could be affected.", alias="referenceDependentsToIgnore") + __properties: ClassVar[List[str]] = ["id", "displayName", "message", "rci", "tenantCode", "projectId", "derivedDependentsToDelete", "referenceDependentsToIgnore"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyDeleteFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in derived_dependents_to_delete (list) + _items = [] + if self.derived_dependents_to_delete: + for _item_derived_dependents_to_delete in self.derived_dependents_to_delete: + if _item_derived_dependents_to_delete: + _items.append(_item_derived_dependents_to_delete.to_dict()) + _dict['derivedDependentsToDelete'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in reference_dependents_to_ignore (list) + _items = [] + if self.reference_dependents_to_ignore: + for _item_reference_dependents_to_ignore in self.reference_dependents_to_ignore: + if _item_reference_dependents_to_ignore: + _items.append(_item_reference_dependents_to_ignore.to_dict()) + _dict['referenceDependentsToIgnore'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyDeleteFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "message": obj.get("message"), + "rci": obj.get("rci"), + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "derivedDependentsToDelete": [DependentDTO.from_dict(_item) for _item in obj["derivedDependentsToDelete"]] if obj.get("derivedDependentsToDelete") is not None else None, + "referenceDependentsToIgnore": [DependentDTO.from_dict(_item) for _item in obj["referenceDependentsToIgnore"]] if obj.get("referenceDependentsToIgnore") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_success_dto.py new file mode 100644 index 0000000000..cff08c6297 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_success_dto.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dependent_dto import DependentDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyDeleteSuccessDTO(BaseModel): + """ + Details about a successful property deletion. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the property.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the property.", alias="displayName") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant in which the property was deleted.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project in which the property was deleted.", alias="projectId") + derived_dependents_deleted: Optional[List[DependentDTO]] = Field(default=None, description="The derived dependents that were deleted along with the property.", alias="derivedDependentsDeleted") + reference_dependents_ignored: Optional[List[DependentDTO]] = Field(default=None, description="Dependents that reference the property and were ignored during deletion.", alias="referenceDependentsIgnored") + __properties: ClassVar[List[str]] = ["id", "displayName", "tenantCode", "projectId", "derivedDependentsDeleted", "referenceDependentsIgnored"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyDeleteSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in derived_dependents_deleted (list) + _items = [] + if self.derived_dependents_deleted: + for _item_derived_dependents_deleted in self.derived_dependents_deleted: + if _item_derived_dependents_deleted: + _items.append(_item_derived_dependents_deleted.to_dict()) + _dict['derivedDependentsDeleted'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in reference_dependents_ignored (list) + _items = [] + if self.reference_dependents_ignored: + for _item_reference_dependents_ignored in self.reference_dependents_ignored: + if _item_reference_dependents_ignored: + _items.append(_item_reference_dependents_ignored.to_dict()) + _dict['referenceDependentsIgnored'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyDeleteSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "derivedDependentsDeleted": [DependentDTO.from_dict(_item) for _item in obj["derivedDependentsDeleted"]] if obj.get("derivedDependentsDeleted") is not None else None, + "referenceDependentsIgnored": [DependentDTO.from_dict(_item) for _item in obj["referenceDependentsIgnored"]] if obj.get("referenceDependentsIgnored") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_dto.py new file mode 100644 index 0000000000..8751e73436 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_dto.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.parameter_definition_dto import ParameterDefinitionDTO +from visier_platform_sdk.models.tag_map_element_dto import TagMapElementDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyDTO(BaseModel): + """ + Properties are qualities of an analytic object. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the property. **Note:** See `Properties` to get the ID.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the property.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the property.") + data_type: Optional[StrictStr] = Field(default=None, description="The data type of the property, such as Categorical, HourDuration, or Ratio.", alias="dataType") + primitive_data_type: Optional[StrictStr] = Field(default=None, description="The primitive data type of the property, such as Number, String, or Boolean.", alias="primitiveDataType") + parameters: Optional[List[ParameterDefinitionDTO]] = Field(default=None, description="The collection of parameters defined for the property.") + tags: Optional[List[TagMapElementDTO]] = Field(default=None, description="The optional collection of tags defined for this element.") + explanation: Optional[StrictStr] = Field(default=None, description="The localized explanation of the property.") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "dataType", "primitiveDataType", "parameters", "tags", "explanation"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in parameters (list) + _items = [] + if self.parameters: + for _item_parameters in self.parameters: + if _item_parameters: + _items.append(_item_parameters.to_dict()) + _dict['parameters'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in tags (list) + _items = [] + if self.tags: + for _item_tags in self.tags: + if _item_tags: + _items.append(_item_tags.to_dict()) + _dict['tags'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "dataType": obj.get("dataType"), + "primitiveDataType": obj.get("primitiveDataType"), + "parameters": [ParameterDefinitionDTO.from_dict(_item) for _item in obj["parameters"]] if obj.get("parameters") is not None else None, + "tags": [TagMapElementDTO.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None, + "explanation": obj.get("explanation") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_reference_dto.py new file mode 100644 index 0000000000..7291cc8c0a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_reference_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PropertyReferenceDTO(BaseModel): + """ + The name and qualifying path of a property to query. + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The ID of the property. See `Properties` to get the ID.") + qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the property in Visier, such as the analytic object or event the property is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") + __properties: ClassVar[List[str]] = ["name", "qualifyingPath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyReferenceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyReferenceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "qualifyingPath": obj.get("qualifyingPath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_set_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_set_config_dto.py new file mode 100644 index 0000000000..407d1f7f68 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_set_config_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.property_access_config_dto import PropertyAccessConfigDTO +from visier_platform_sdk.models.shareable_data_access_set import ShareableDataAccessSet +from typing import Optional, Set +from typing_extensions import Self + +class PropertySetConfigDTO(BaseModel): + """ + PropertySetConfigDTO + """ # noqa: E501 + property_access_configs: Optional[List[PropertyAccessConfigDTO]] = Field(default=None, description="The data access for a property.", alias="propertyAccessConfigs") + shareable_data_access_set: Optional[ShareableDataAccessSet] = Field(default=None, description="A shareable data access set. Shareable data access sets may be linked in multiple permissions.", alias="shareableDataAccessSet") + __properties: ClassVar[List[str]] = ["propertyAccessConfigs", "shareableDataAccessSet"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertySetConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in property_access_configs (list) + _items = [] + if self.property_access_configs: + for _item_property_access_configs in self.property_access_configs: + if _item_property_access_configs: + _items.append(_item_property_access_configs.to_dict()) + _dict['propertyAccessConfigs'] = _items + # override the default output from pydantic by calling `to_dict()` of shareable_data_access_set + if self.shareable_data_access_set: + _dict['shareableDataAccessSet'] = self.shareable_data_access_set.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertySetConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "propertyAccessConfigs": [PropertyAccessConfigDTO.from_dict(_item) for _item in obj["propertyAccessConfigs"]] if obj.get("propertyAccessConfigs") is not None else None, + "shareableDataAccessSet": ShareableDataAccessSet.from_dict(obj["shareableDataAccessSet"]) if obj.get("shareableDataAccessSet") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_type_details_dto.py new file mode 100644 index 0000000000..3b7ad149de --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_type_details_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_property_type_dto import ProcessConceptPropertyTypeDTO +from visier_platform_sdk.models.v2_calculated_property_type_dto import V2CalculatedPropertyTypeDTO +from visier_platform_sdk.models.v2_simple_property_type_dto import V2SimplePropertyTypeDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyTypeDetailsDTO(BaseModel): + """ + The property type. + """ # noqa: E501 + simple: Optional[V2SimplePropertyTypeDTO] = Field(default=None, description="The simple property type, which provides a single value directly from the data.") + calculated: Optional[V2CalculatedPropertyTypeDTO] = Field(default=None, description="The calculated property type, which derives its value using a formula.") + process_concept: Optional[ProcessConceptPropertyTypeDTO] = Field(default=None, description="The process concept property type, which describes the relationship between subject member properties and a subject member in the process pipeline.", alias="processConcept") + __properties: ClassVar[List[str]] = ["simple", "calculated", "processConcept"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyTypeDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of simple + if self.simple: + _dict['simple'] = self.simple.to_dict() + # override the default output from pydantic by calling `to_dict()` of calculated + if self.calculated: + _dict['calculated'] = self.calculated.to_dict() + # override the default output from pydantic by calling `to_dict()` of process_concept + if self.process_concept: + _dict['processConcept'] = self.process_concept.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyTypeDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "simple": V2SimplePropertyTypeDTO.from_dict(obj["simple"]) if obj.get("simple") is not None else None, + "calculated": V2CalculatedPropertyTypeDTO.from_dict(obj["calculated"]) if obj.get("calculated") is not None else None, + "processConcept": ProcessConceptPropertyTypeDTO.from_dict(obj["processConcept"]) if obj.get("processConcept") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_type_dto.py new file mode 100644 index 0000000000..8ee0c1a64c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_type_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.calculated_property_type_dto import CalculatedPropertyTypeDTO +from visier_platform_sdk.models.simple_property_type_dto import SimplePropertyTypeDTO +from typing import Optional, Set +from typing_extensions import Self + +class PropertyTypeDTO(BaseModel): + """ + PropertyTypeDTO + """ # noqa: E501 + simple: Optional[SimplePropertyTypeDTO] = Field(default=None, description="The simple property type, which provides a single value directly from the data.") + calculated: Optional[CalculatedPropertyTypeDTO] = Field(default=None, description="The calculated property type, which derives its value using a formula.") + __properties: ClassVar[List[str]] = ["simple", "calculated"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PropertyTypeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of simple + if self.simple: + _dict['simple'] = self.simple.to_dict() + # override the default output from pydantic by calling `to_dict()` of calculated + if self.calculated: + _dict['calculated'] = self.calculated.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PropertyTypeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "simple": SimplePropertyTypeDTO.from_dict(obj["simple"]) if obj.get("simple") is not None else None, + "calculated": CalculatedPropertyTypeDTO.from_dict(obj["calculated"]) if obj.get("calculated") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/public_key_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/public_key_dto.py new file mode 100644 index 0000000000..8c4e258e9f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/public_key_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PublicKeyDTO(BaseModel): + """ + PublicKeyDTO + """ # noqa: E501 + key_id: Optional[StrictStr] = Field(default=None, description="The key ID of the generated key pair in 16-letter hexadecimal format, including leading zeros.", alias="keyID") + date_generated: Optional[StrictStr] = Field(default=None, description="The UTC date that the key pair was generated in milliseconds since the Unix epoch.", alias="dateGenerated") + expiry_date: Optional[StrictStr] = Field(default=None, description="The UTC expiration date of the key in milliseconds since the Unix epoch.", alias="expiryDate") + recipient: Optional[StrictStr] = Field(default=None, description="The tenant code and creation date in milliseconds of the PGP key; for example, WFF_j1r_13490234234.") + public_key: Optional[StrictStr] = Field(default=None, description="The public key of the generated key pair.", alias="publicKey") + __properties: ClassVar[List[str]] = ["keyID", "dateGenerated", "expiryDate", "recipient", "publicKey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PublicKeyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PublicKeyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "keyID": obj.get("keyID"), + "dateGenerated": obj.get("dateGenerated"), + "expiryDate": obj.get("expiryDate"), + "recipient": obj.get("recipient"), + "publicKey": obj.get("publicKey") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/public_keys_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/public_keys_dto.py new file mode 100644 index 0000000000..65f3454b97 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/public_keys_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.public_key_dto import PublicKeyDTO +from typing import Optional, Set +from typing_extensions import Self + +class PublicKeysDTO(BaseModel): + """ + PublicKeysDTO + """ # noqa: E501 + keys: Optional[List[PublicKeyDTO]] = Field(default=None, description="A list of the tenant's public keys.") + __properties: ClassVar[List[str]] = ["keys"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PublicKeysDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in keys (list) + _items = [] + if self.keys: + for _item_keys in self.keys: + if _item_keys: + _items.append(_item_keys.to_dict()) + _dict['keys'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PublicKeysDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "keys": [PublicKeyDTO.from_dict(_item) for _item in obj["keys"]] if obj.get("keys") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_cancel_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_cancel_response.py new file mode 100644 index 0000000000..1b455c37e6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_cancel_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_transfer_result_detail import DataTransferResultDetail +from typing import Optional, Set +from typing_extensions import Self + +class PushDataCancelResponse(BaseModel): + """ + PushDataCancelResponse + """ # noqa: E501 + message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the transfer session.") + transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") + data_transfer_result_details: Optional[List[DataTransferResultDetail]] = Field(default=None, description="A list of objects representing the results of the transfer session.", alias="dataTransferResultDetails") + status: Optional[StrictStr] = Field(default=None, description="The status of the transfer session. A cancelled session returns the status CANCELLED.") + __properties: ClassVar[List[str]] = ["message", "transferSessionId", "dataTransferResultDetails", "status"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PushDataCancelResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_transfer_result_details (list) + _items = [] + if self.data_transfer_result_details: + for _item_data_transfer_result_details in self.data_transfer_result_details: + if _item_data_transfer_result_details: + _items.append(_item_data_transfer_result_details.to_dict()) + _dict['dataTransferResultDetails'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PushDataCancelResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message"), + "transferSessionId": obj.get("transferSessionId"), + "dataTransferResultDetails": [DataTransferResultDetail.from_dict(_item) for _item in obj["dataTransferResultDetails"]] if obj.get("dataTransferResultDetails") is not None else None, + "status": obj.get("status") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_column_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_column_definition_dto.py new file mode 100644 index 0000000000..814db36e59 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_column_definition_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PushDataColumnDefinitionDTO(BaseModel): + """ + Definition of the source column. + """ # noqa: E501 + column_name: Optional[StrictStr] = Field(default=None, description="The name of the column.", alias="columnName") + data_type: Optional[StrictStr] = Field(default=None, description="The data type associated with the column.", alias="dataType") + data_formats: Optional[List[StrictStr]] = Field(default=None, description="The expected format for datetime data types.", alias="dataFormats") + is_mandatory: Optional[StrictBool] = Field(default=None, description="If true, the column value is required. If a column is mandatory, and the file is missing this column, the request will fail.", alias="isMandatory") + allow_empty: Optional[StrictBool] = Field(default=None, description="If true, the column allows an empty value for the record.", alias="allowEmpty") + default_value: Optional[StrictStr] = Field(default=None, description="The default value of the column.", alias="defaultValue") + __properties: ClassVar[List[str]] = ["columnName", "dataType", "dataFormats", "isMandatory", "allowEmpty", "defaultValue"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PushDataColumnDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PushDataColumnDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "columnName": obj.get("columnName"), + "dataType": obj.get("dataType"), + "dataFormats": obj.get("dataFormats"), + "isMandatory": obj.get("isMandatory"), + "allowEmpty": obj.get("allowEmpty"), + "defaultValue": obj.get("defaultValue") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_request.py new file mode 100644 index 0000000000..98de07ccf8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_request.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PushDataCompleteRequest(BaseModel): + """ + PushDataCompleteRequest + """ # noqa: E501 + transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") + processing_data: Optional[StrictBool] = Field(default=None, description="If `true`, a processing job will be triggered after the receiving job successfully completes. This generates a new data version.", alias="processingData") + __properties: ClassVar[List[str]] = ["transferSessionId", "processingData"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PushDataCompleteRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PushDataCompleteRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "transferSessionId": obj.get("transferSessionId"), + "processingData": obj.get("processingData") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_response.py new file mode 100644 index 0000000000..4d66ec63bc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.data_transfer_result_detail import DataTransferResultDetail +from typing import Optional, Set +from typing_extensions import Self + +class PushDataCompleteResponse(BaseModel): + """ + PushDataCompleteResponse + """ # noqa: E501 + data_receiving_job_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the receiving job.", alias="dataReceivingJobId") + message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the transfer session.") + transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") + data_transfer_result_details: Optional[List[DataTransferResultDetail]] = Field(default=None, description="A list of objects representing the results of the transfer session.", alias="dataTransferResultDetails") + status: Optional[StrictStr] = Field(default=None, description="The status of the transfer session. A completed session returns the status SUCCEED.") + __properties: ClassVar[List[str]] = ["dataReceivingJobId", "message", "transferSessionId", "dataTransferResultDetails", "status"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PushDataCompleteResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in data_transfer_result_details (list) + _items = [] + if self.data_transfer_result_details: + for _item_data_transfer_result_details in self.data_transfer_result_details: + if _item_data_transfer_result_details: + _items.append(_item_data_transfer_result_details.to_dict()) + _dict['dataTransferResultDetails'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PushDataCompleteResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataReceivingJobId": obj.get("dataReceivingJobId"), + "message": obj.get("message"), + "transferSessionId": obj.get("transferSessionId"), + "dataTransferResultDetails": [DataTransferResultDetail.from_dict(_item) for _item in obj["dataTransferResultDetails"]] if obj.get("dataTransferResultDetails") is not None else None, + "status": obj.get("status") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_response.py new file mode 100644 index 0000000000..9c1399be0c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant import Tenant +from typing import Optional, Set +from typing_extensions import Self + +class PushDataResponse(BaseModel): + """ + PushDataResponse + """ # noqa: E501 + transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") + sequence: Optional[StrictInt] = Field(default=None, description="The unique sequence number associated with a batch of records.") + status: Optional[StrictStr] = Field(default=None, description="The status of the data transfer.") + message: Optional[StrictStr] = Field(default=None, description="Any additional information about the data transfer.") + tenants: Optional[List[Tenant]] = Field(default=None, description="A list of strings representing the tenants that data was pushed to and their data transfer results.") + __properties: ClassVar[List[str]] = ["transferSessionId", "sequence", "status", "message", "tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PushDataResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PushDataResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "transferSessionId": obj.get("transferSessionId"), + "sequence": obj.get("sequence"), + "status": obj.get("status"), + "message": obj.get("message"), + "tenants": [Tenant.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definition_dto.py new file mode 100644 index 0000000000..6ee50feeef --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definition_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.push_data_column_definition_dto import PushDataColumnDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class PushDataSourceDefinitionDTO(BaseModel): + """ + Details of each existing source. + """ # noqa: E501 + source_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the source.", alias="sourceId") + name: Optional[StrictStr] = Field(default=None, description="The object name of the source.") + columns: Optional[List[PushDataColumnDefinitionDTO]] = Field(default=None, description="A list of objects representing the source columns.") + is_inherited: Optional[StrictBool] = Field(default=None, description="If true, the source is inherited by all analytic tenants.", alias="isInherited") + __properties: ClassVar[List[str]] = ["sourceId", "name", "columns", "isInherited"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PushDataSourceDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in columns (list) + _items = [] + if self.columns: + for _item_columns in self.columns: + if _item_columns: + _items.append(_item_columns.to_dict()) + _dict['columns'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PushDataSourceDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sourceId": obj.get("sourceId"), + "name": obj.get("name"), + "columns": [PushDataColumnDefinitionDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None, + "isInherited": obj.get("isInherited") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definitions_dto.py new file mode 100644 index 0000000000..3278049585 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definitions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.push_data_source_definition_dto import PushDataSourceDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class PushDataSourceDefinitionsDTO(BaseModel): + """ + The existing sources. + """ # noqa: E501 + sources: Optional[List[PushDataSourceDefinitionDTO]] = Field(default=None, description="A list of objects representing the target sources for the request.") + __properties: ClassVar[List[str]] = ["sources"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PushDataSourceDefinitionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in sources (list) + _items = [] + if self.sources: + for _item_sources in self.sources: + if _item_sources: + _items.append(_item_sources.to_dict()) + _dict['sources'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PushDataSourceDefinitionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sources": [PushDataSourceDefinitionDTO.from_dict(_item) for _item in obj["sources"]] if obj.get("sources") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/put_project_commits_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/put_project_commits_request.py new file mode 100644 index 0000000000..dcd3fe1fe5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/put_project_commits_request.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PutProjectCommitsRequest(BaseModel): + """ + PutProjectCommitsRequest + """ # noqa: E501 + project_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the draft project you want to import committed changes into.", alias="projectId") + __properties: ClassVar[List[str]] = ["projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PutProjectCommitsRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PutProjectCommitsRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/qualtrics_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/qualtrics_auth_params_dto.py new file mode 100644 index 0000000000..49fe0af021 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/qualtrics_auth_params_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class QualtricsAuthParamsDTO(BaseModel): + """ + QualtricsAuthParamsDTO + """ # noqa: E501 + api_token: Optional[StrictStr] = Field(default=None, alias="apiToken") + data_center_id: Optional[StrictStr] = Field(default=None, alias="dataCenterId") + __properties: ClassVar[List[str]] = ["apiToken", "dataCenterId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QualtricsAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QualtricsAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiToken": obj.get("apiToken"), + "dataCenterId": obj.get("dataCenterId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_dto.py new file mode 100644 index 0000000000..9f057f32de --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_dto.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.query_axis_options_dto import QueryAxisOptionsDTO +from visier_platform_sdk.models.query_dimension_data_member_selection_dto import QueryDimensionDataMemberSelectionDTO +from visier_platform_sdk.models.query_dimension_leaf_selection_dto import QueryDimensionLeafSelectionDTO +from visier_platform_sdk.models.query_dimension_level_selection_dto import QueryDimensionLevelSelectionDTO +from visier_platform_sdk.models.query_dimension_member_selection_dto import QueryDimensionMemberSelectionDTO +from visier_platform_sdk.models.query_member_map_selection_dto import QueryMemberMapSelectionDTO +from visier_platform_sdk.models.query_numeric_ranges_dto import QueryNumericRangesDTO +from visier_platform_sdk.models.selection_concept_reference_dto import SelectionConceptReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryAxisDTO(BaseModel): + """ + An axis of a query used to group data points. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="An axis expressed as a formula.") + selection_concept: Optional[SelectionConceptReferenceDTO] = Field(default=None, description="An axis that uses an existing selection concept in Visier. The resulting axis consists of 3 positions: True, False, and Unknown.", alias="selectionConcept") + dimension_member_selection: Optional[QueryDimensionMemberSelectionDTO] = Field(default=None, description="An axis that uses existing dimension members in Visier.", alias="dimensionMemberSelection") + member_map_selection: Optional[QueryMemberMapSelectionDTO] = Field(default=None, description="An axis that uses an existing member map in Visier.", alias="memberMapSelection") + numeric_ranges: Optional[QueryNumericRangesDTO] = Field(default=None, description="An axis that uses an existing range dimension in Visier and defines the ranges to query.", alias="numericRanges") + dimension_level_selection: Optional[QueryDimensionLevelSelectionDTO] = Field(default=None, description="An axis that uses levels of existing dimensions in Visier.", alias="dimensionLevelSelection") + dimension_leaf_member_selection: Optional[QueryDimensionLeafSelectionDTO] = Field(default=None, description="An axis comprised of all non-data leaf members of an existing dimension in Visier.", alias="dimensionLeafMemberSelection") + dimension_data_member_selection: Optional[QueryDimensionDataMemberSelectionDTO] = Field(default=None, description="An axis comprised of all leaf, including data, members of an existing dimension in Visier.", alias="dimensionDataMemberSelection") + dimension_level_with_uncategorized_value_selection: Optional[QueryDimensionLevelSelectionDTO] = Field(default=None, description="An axis that uses existing dimension levels in Visier, including uncategorized levels.", alias="dimensionLevelWithUncategorizedValueSelection") + table_axis_options: Optional[QueryAxisOptionsDTO] = Field(default=None, description="Additional transformations to perform on this axis. Only available when the Accept header is a table format, such as text/csv or application/jsonlines.", alias="tableAxisOptions") + __properties: ClassVar[List[str]] = ["formula", "selectionConcept", "dimensionMemberSelection", "memberMapSelection", "numericRanges", "dimensionLevelSelection", "dimensionLeafMemberSelection", "dimensionDataMemberSelection", "dimensionLevelWithUncategorizedValueSelection", "tableAxisOptions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryAxisDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of selection_concept + if self.selection_concept: + _dict['selectionConcept'] = self.selection_concept.to_dict() + # override the default output from pydantic by calling `to_dict()` of dimension_member_selection + if self.dimension_member_selection: + _dict['dimensionMemberSelection'] = self.dimension_member_selection.to_dict() + # override the default output from pydantic by calling `to_dict()` of member_map_selection + if self.member_map_selection: + _dict['memberMapSelection'] = self.member_map_selection.to_dict() + # override the default output from pydantic by calling `to_dict()` of numeric_ranges + if self.numeric_ranges: + _dict['numericRanges'] = self.numeric_ranges.to_dict() + # override the default output from pydantic by calling `to_dict()` of dimension_level_selection + if self.dimension_level_selection: + _dict['dimensionLevelSelection'] = self.dimension_level_selection.to_dict() + # override the default output from pydantic by calling `to_dict()` of dimension_leaf_member_selection + if self.dimension_leaf_member_selection: + _dict['dimensionLeafMemberSelection'] = self.dimension_leaf_member_selection.to_dict() + # override the default output from pydantic by calling `to_dict()` of dimension_data_member_selection + if self.dimension_data_member_selection: + _dict['dimensionDataMemberSelection'] = self.dimension_data_member_selection.to_dict() + # override the default output from pydantic by calling `to_dict()` of dimension_level_with_uncategorized_value_selection + if self.dimension_level_with_uncategorized_value_selection: + _dict['dimensionLevelWithUncategorizedValueSelection'] = self.dimension_level_with_uncategorized_value_selection.to_dict() + # override the default output from pydantic by calling `to_dict()` of table_axis_options + if self.table_axis_options: + _dict['tableAxisOptions'] = self.table_axis_options.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryAxisDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "selectionConcept": SelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, + "dimensionMemberSelection": QueryDimensionMemberSelectionDTO.from_dict(obj["dimensionMemberSelection"]) if obj.get("dimensionMemberSelection") is not None else None, + "memberMapSelection": QueryMemberMapSelectionDTO.from_dict(obj["memberMapSelection"]) if obj.get("memberMapSelection") is not None else None, + "numericRanges": QueryNumericRangesDTO.from_dict(obj["numericRanges"]) if obj.get("numericRanges") is not None else None, + "dimensionLevelSelection": QueryDimensionLevelSelectionDTO.from_dict(obj["dimensionLevelSelection"]) if obj.get("dimensionLevelSelection") is not None else None, + "dimensionLeafMemberSelection": QueryDimensionLeafSelectionDTO.from_dict(obj["dimensionLeafMemberSelection"]) if obj.get("dimensionLeafMemberSelection") is not None else None, + "dimensionDataMemberSelection": QueryDimensionDataMemberSelectionDTO.from_dict(obj["dimensionDataMemberSelection"]) if obj.get("dimensionDataMemberSelection") is not None else None, + "dimensionLevelWithUncategorizedValueSelection": QueryDimensionLevelSelectionDTO.from_dict(obj["dimensionLevelWithUncategorizedValueSelection"]) if obj.get("dimensionLevelWithUncategorizedValueSelection") is not None else None, + "tableAxisOptions": QueryAxisOptionsDTO.from_dict(obj["tableAxisOptions"]) if obj.get("tableAxisOptions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_options_dto.py new file mode 100644 index 0000000000..426d70cf19 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_options_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class QueryAxisOptionsDTO(BaseModel): + """ + QueryAxisOptions allows you to customize an axis in the query, such as changing the display mode for its cell set values or providing a custom column name. Only available when the Accept header is a table format, such as text/csv or application/jsonlines. + """ # noqa: E501 + member_display_mode: Optional[StrictStr] = Field(default=None, description="Options to override the display mode for the axis. This overrides the query-level `memberDisplayMode` options value in the query. Only available for non-time axes. Use the QueryAxisMemberDisplayMode `memberDisplayMode` to apply different display modes to different axes. For example, let's say your query has the `memberDisplayMode` as `DISPLAY` but you want to fetch the object name for a specific dimension. With QueryAxisMemberDisplayMode `memberDisplayMode`, you can override that dimension's `memberDisplayMode` to `DEFAULT` instead of `DISPLAY`. Valid values are `UNCHANGED`, `DEFAULT`, `COMPACT`, `DISPLAY`, or `MDX`. Default is `UNCHANGED`.", alias="memberDisplayMode") + column_name: Optional[StrictStr] = Field(default=None, description="If specified, returns the column name of the axis in the response.", alias="columnName") + __properties: ClassVar[List[str]] = ["memberDisplayMode", "columnName"] + + @field_validator('member_display_mode') + def member_display_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['UNCHANGED', 'DEFAULT', 'COMPACT', 'DISPLAY', 'MDX']): + raise ValueError("must be one of enum values ('UNCHANGED', 'DEFAULT', 'COMPACT', 'DISPLAY', 'MDX')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryAxisOptionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryAxisOptionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "memberDisplayMode": obj.get("memberDisplayMode"), + "columnName": obj.get("columnName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_data_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_data_member_selection_dto.py new file mode 100644 index 0000000000..c8881da04e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_data_member_selection_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryDimensionDataMemberSelectionDTO(BaseModel): + """ + A QueryDimensionLeafSelection allows you to define a member set consisting exclusively of leaf-level, including data, members for the given dimension. Leaf members are those members that have no descendents. A member may be a leaf member regardless of the level it is positioned at. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") + __properties: ClassVar[List[str]] = ["dimension"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryDimensionDataMemberSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryDimensionDataMemberSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_leaf_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_leaf_selection_dto.py new file mode 100644 index 0000000000..b4c5f23708 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_leaf_selection_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryDimensionLeafSelectionDTO(BaseModel): + """ + A QueryDimensionLeafSelection allows you to define a member set consisting exclusively of leaf-level members for the given dimension. Leaf members are those members that have no descendents. A member may be a leaf member regardless of the level it is positioned at. This member selection option, excludes data members. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") + __properties: ClassVar[List[str]] = ["dimension"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryDimensionLeafSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryDimensionLeafSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_property_dto.py new file mode 100644 index 0000000000..3bcb0c45d6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_property_dto.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryDimensionLevelPropertyDTO(BaseModel): + """ + A QueryDimensionLevelPropertyDTO defines an existing dimension level and its dimension to query. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") + member_value_mode: Optional[StrictStr] = Field(default=None, description="Controls how to display member values. Valid values are `NAME`, `PATH`. * `NAME`: Returns the member's display name. This is the default. * `PATH`: Returns the member's name path.", alias="memberValueMode") + level_id: Optional[StrictStr] = Field(default=None, description="The level ID. For example, \"Level_1\" or \"Level_2\".", alias="levelId") + level_depth: Optional[StrictInt] = Field(default=None, description="The level depth. For a parent-child dimension, depth must be greater than 0. For example, 1 or 2.", alias="levelDepth") + __properties: ClassVar[List[str]] = ["dimension", "memberValueMode", "levelId", "levelDepth"] + + @field_validator('member_value_mode') + def member_value_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['NAME', 'PATH']): + raise ValueError("must be one of enum values ('NAME', 'PATH')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryDimensionLevelPropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryDimensionLevelPropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "memberValueMode": obj.get("memberValueMode"), + "levelId": obj.get("levelId"), + "levelDepth": obj.get("levelDepth") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_selection_dto.py new file mode 100644 index 0000000000..76e0c91b27 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_selection_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryDimensionLevelSelectionDTO(BaseModel): + """ + A QueryDimensionLevelSelection allows you to select a dimension level and its members without explicitly listing each member. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") + level_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of level IDs for the dimension levels that you want to query. For example, [\"Level_1\", \"Level_2\"]. To get a dimension's level IDs, call the Data Model API.", alias="levelIds") + level_depths: Optional[List[StrictInt]] = Field(default=None, description="A list of level depths for the dimension levels that you want to query. For a parent-child dimension, depth must be greater than 0. For example, [1, 2]. To get a dimension's level depths, call the Data Model API.", alias="levelDepths") + __properties: ClassVar[List[str]] = ["dimension", "levelIds", "levelDepths"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryDimensionLevelSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryDimensionLevelSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "levelIds": obj.get("levelIds"), + "levelDepths": obj.get("levelDepths") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_member_selection_dto.py new file mode 100644 index 0000000000..a824e23249 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_member_selection_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_member_reference_dto import DimensionMemberReferenceDTO +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryDimensionMemberSelectionDTO(BaseModel): + """ + A QueryDimensionMemberSelection defines dimension members to select in the query. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="A dimension and its qualifying path to query.") + members: Optional[List[DimensionMemberReferenceDTO]] = Field(default=None, description="A collection of dimension members to select in the query. This must contain at least one member.") + __properties: ClassVar[List[str]] = ["dimension", "members"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryDimensionMemberSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in members (list) + _items = [] + if self.members: + for _item_members in self.members: + if _item_members: + _items.append(_item_members.to_dict()) + _dict['members'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryDimensionMemberSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "members": [DimensionMemberReferenceDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_details_dto.py new file mode 100644 index 0000000000..79715195af --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_details_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class QueryExecutionErrorDetailsDTO(BaseModel): + """ + The details of a error that occurred during query execution. + """ # noqa: E501 + object_type: Optional[StrictStr] = Field(default=None, description="Query request object type.", alias="objectType") + query_index: Optional[StrictInt] = Field(default=None, description="The position of the query within the request query list.", alias="queryIndex") + column_index: Optional[StrictInt] = Field(default=None, description="The position of the column within the request column list.", alias="columnIndex") + error: Optional[StrictStr] = Field(default=None, description="The details of the error.") + __properties: ClassVar[List[str]] = ["objectType", "queryIndex", "columnIndex", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryExecutionErrorDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryExecutionErrorDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objectType": obj.get("objectType"), + "queryIndex": obj.get("queryIndex"), + "columnIndex": obj.get("columnIndex"), + "error": obj.get("error") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_dto.py new file mode 100644 index 0000000000..6d00f78cb7 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.query_execution_errors_dto import QueryExecutionErrorsDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryExecutionErrorDTO(BaseModel): + """ + An error that occurred during query execution. A QueryExecutionError returns as part of a successful batch aggregation query for any queries that failed. This is different from errors, which return for failed requests. + """ # noqa: E501 + error_code: Optional[StrictStr] = Field(default=None, description="A brief identifier of the type of error.", alias="errorCode") + message: Optional[StrictStr] = Field(default=None, description="The details of the error.") + all_errors: Optional[List[QueryExecutionErrorsDTO]] = Field(default=None, description="All errors", alias="allErrors") + __properties: ClassVar[List[str]] = ["errorCode", "message", "allErrors"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryExecutionErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in all_errors (list) + _items = [] + if self.all_errors: + for _item_all_errors in self.all_errors: + if _item_all_errors: + _items.append(_item_all_errors.to_dict()) + _dict['allErrors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryExecutionErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "errorCode": obj.get("errorCode"), + "message": obj.get("message"), + "allErrors": [QueryExecutionErrorsDTO.from_dict(_item) for _item in obj["allErrors"]] if obj.get("allErrors") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_errors_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_errors_dto.py new file mode 100644 index 0000000000..ce50dea09a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_errors_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.query_execution_error_details_dto import QueryExecutionErrorDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryExecutionErrorsDTO(BaseModel): + """ + The errors that occurred during query execution. + """ # noqa: E501 + error_code: Optional[StrictStr] = Field(default=None, description="A brief identifier of the type of error.", alias="errorCode") + message: Optional[StrictStr] = Field(default=None, description="The message of the error.") + all_error_details: Optional[List[QueryExecutionErrorDetailsDTO]] = Field(default=None, description="The list of the error details.", alias="allErrorDetails") + __properties: ClassVar[List[str]] = ["errorCode", "message", "allErrorDetails"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryExecutionErrorsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in all_error_details (list) + _items = [] + if self.all_error_details: + for _item_all_error_details in self.all_error_details: + if _item_all_error_details: + _items.append(_item_all_error_details.to_dict()) + _dict['allErrorDetails'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryExecutionErrorsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "errorCode": obj.get("errorCode"), + "message": obj.get("message"), + "allErrorDetails": [QueryExecutionErrorDetailsDTO.from_dict(_item) for _item in obj["allErrorDetails"]] if obj.get("allErrorDetails") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_options_dto.py new file mode 100644 index 0000000000..089774b151 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_options_dto.py @@ -0,0 +1,192 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.cell_distribution_options_dto import CellDistributionOptionsDTO +from visier_platform_sdk.models.internal_query_execution_options_dto import InternalQueryExecutionOptionsDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryExecutionOptionsDTO(BaseModel): + """ + A QueryExecutionOptions provides additional instructions to perform a query. + """ # noqa: E501 + calendar_type: Optional[StrictStr] = Field(default=None, description="The calendar type to use. This will be used for all time calculations unless explicitly overridden in the calculation itself. Default is TENANT_CALENDAR.", alias="calendarType") + currency_conversion_mode: Optional[StrictStr] = Field(default=None, description="This will be removed as of Winter 2026. Use `currencyConversionCode` instead. The currency conversion mode to use. This will be used for all currency conversion calculations unless explicitly overridden in the calculation itself. Default is TENANT_CURRENCY_CONVERSION.", alias="currencyConversionMode") + currency_conversion_date: Optional[StrictStr] = Field(default=None, description="The currency conversion date to use. If defined, the currency conversion will use the exchange rates as of this date. Default is the exchange rate at the end of the query time interval. Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Note: Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="currencyConversionDate") + lineage_depth: Optional[StrictInt] = Field(default=None, description="The max number of levels of nesting to unwind when determining the lineage for a derived metric value.", alias="lineageDepth") + zero_visibility: Optional[StrictStr] = Field(default=None, description="Show or hide zeros in the result. Default is SHOW.", alias="zeroVisibility") + null_visibility: Optional[StrictStr] = Field(default=None, description="Show or hide null or N/A values in the result. Default is SHOW.", alias="nullVisibility") + cell_distribution_options: Optional[CellDistributionOptionsDTO] = Field(default=None, alias="cellDistributionOptions") + axis_visibility: Optional[StrictStr] = Field(default=None, description="The amount of information to return about each axis. Default is SIMPLE.", alias="axisVisibility") + enable_sparse_results: Optional[StrictBool] = Field(default=None, description="Retrieve sparse cell sets. Sparse results only retrieve non-zero and non-null cells. Whether a result is truly sparse or not is determined by the Visier server.", alias="enableSparseResults") + internal: Optional[InternalQueryExecutionOptionsDTO] = None + enable_descending_space: Optional[StrictBool] = Field(default=None, description="If true, filter non-time axis member sets to only include members that are in aggregate positions or whose previous position is a leaf", alias="enableDescendingSpace") + currency_conversion_code: Optional[StrictStr] = Field(default=None, description="Overrides the tenant's default currency for currency conversions.", alias="currencyConversionCode") + member_display_mode: Optional[StrictStr] = Field(default=None, description="Control how member values are displayed. You can override the `memberDisplayMode` on a per-axis basis, if required. Valid values are `DEFAULT`, `COMPACT`, `DISPLAY`, or `MDX`. Default is `DEFAULT`. * `DEFAULT`: The default member name representation. For non-time members, this returns the technical member name path. For time members, this includes a bracketed member index. For example, Time instant member: `2019-06-01T00:00:00.000Z - [0]` For example, Time interval member: `2022-06-01T00:00:00.000Z/2022-07-01T00:00:00.000Z - [12]` * `COMPACT`: Shortens the member name representation. For time intervals, the member name is the end time of the interval. For example, Time instant member: `2019-06-01T00:00:00.000Z` For example, Time interval member: `2022-07-01T00:00:00.000Z` where the interval member name was `2022-06-01T00:00:00.000Z/2022-07-01T00:00:00.000Z - [12]` * `DISPLAY`: Emits the members' display names whenever possible. When combined with `axisVisibility = VERBOSE`, the full display name path will be emitted. * `MDX`: Emits member name paths where each element is enclosed in square brackets, `[]`. Multidimensional expression (MDX) display mode automatically encloses time members in square brackets and puts them in `COMPACT` format. For example, Location member `North America.United States.California` becomes `[North America].[United States].[California]` in MDX display mode. For example, Time instant member `2019-06-01T00:00:00.000Z - [0]` becomes `[2019-06-01T00:00:00.000Z]` in MDX display mode. * `COMPACT_DISPLAY`: Emit the members' display names after compacting. This applies primarily to time members for event-based metrics. Compact display is required when running multi-metric queries containing both event-based and subject-based metrics. Multi-metric queries with `DISPLAY` mode are changed automatically to `COMPACT_DISPLAY`. For example, Time interval member `2022-06-01T00:00:00.000Z/2022-07-01T00:00:00.000Z - [12]` becomes `Jun 30, 2022` in `COMPACT_DISPLAY` mode. The exact format of the compacted time member display name depends on the the user's locale.", alias="memberDisplayMode") + axes_overall_value_mode: Optional[StrictStr] = Field(default=None, description="If `axes` is defined, use `axesOverallValueMode` to specify the type of overall values to return across the axes. Valid values: * `NONE`: Returns the metric's values for the selected axes and doesn't return overall values. This is the default. * `AGGREGATE`: Returns the metric's overall values for the selected axes members. * `OVERALL`: Returns the metric's overall values for all axes members. **Note**: `AGGREGATE` is not supported for lookup overlays because the overall values of selected members cannot be calculated directly from the data. Example: Let's say you want to know the Headcount of the locations Canada and US and the genders Male and Female. When `axesOverallValueMode` is `NONE`, the query returns these values: * 100 (Canada, Male) * 100 (US, Male) * 100 (Canada, Female) * 100 (US, Female) When `axesOverallValueMode` is `AGGREGATE`, the query returns these values: * 100 (Canada, Male) * 100 (US, Male) * 100 (Canada, Female) * 100 (US, Female) * 400 (Overall, Overall) * 200 (Overall, Male) * 200 (Overall, Female) * 200 (Canada, Overall) * 200 (US, Overall) When `axesOverallValueMode` is `OVERALL`, the query returns these values: * 100 (Canada, Male) * 100 (US, Male) * 100 (Canada, Female) * 100 (US, Female) * 800 (Overall, Overall) * 400 (Overall, Male) * 400 (Overall, Female) * 400 (Canada, Overall) * 400 (US, Overall) In this example, `OVERALL` returns higher overall values than `AGGREGATE` because `AGGREGATE` returns the overall values for the selected locations (Canada, US) and genders (Male, Female), whereas `OVERALL` returns the overall values across all locations and genders in the data.", alias="axesOverallValueMode") + __properties: ClassVar[List[str]] = ["calendarType", "currencyConversionMode", "currencyConversionDate", "lineageDepth", "zeroVisibility", "nullVisibility", "cellDistributionOptions", "axisVisibility", "enableSparseResults", "internal", "enableDescendingSpace", "currencyConversionCode", "memberDisplayMode", "axesOverallValueMode"] + + @field_validator('calendar_type') + def calendar_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['TENANT_CALENDAR', 'GREGORIAN_CALENDAR']): + raise ValueError("must be one of enum values ('TENANT_CALENDAR', 'GREGORIAN_CALENDAR')") + return value + + @field_validator('currency_conversion_mode') + def currency_conversion_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['TENANT_CURRENCY_CONVERSION', 'VISIER_CURRENCY_CONVERSION']): + raise ValueError("must be one of enum values ('TENANT_CURRENCY_CONVERSION', 'VISIER_CURRENCY_CONVERSION')") + return value + + @field_validator('zero_visibility') + def zero_visibility_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['SHOW', 'HIDE', 'ELIMINATE']): + raise ValueError("must be one of enum values ('SHOW', 'HIDE', 'ELIMINATE')") + return value + + @field_validator('null_visibility') + def null_visibility_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['SHOW', 'HIDE', 'ELIMINATE']): + raise ValueError("must be one of enum values ('SHOW', 'HIDE', 'ELIMINATE')") + return value + + @field_validator('axis_visibility') + def axis_visibility_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['SIMPLE', 'VERBOSE']): + raise ValueError("must be one of enum values ('SIMPLE', 'VERBOSE')") + return value + + @field_validator('member_display_mode') + def member_display_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['DEFAULT', 'COMPACT', 'DISPLAY', 'MDX', 'COMPACT_DISPLAY']): + raise ValueError("must be one of enum values ('DEFAULT', 'COMPACT', 'DISPLAY', 'MDX', 'COMPACT_DISPLAY')") + return value + + @field_validator('axes_overall_value_mode') + def axes_overall_value_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['NONE', 'AGGREGATE', 'OVERALL']): + raise ValueError("must be one of enum values ('NONE', 'AGGREGATE', 'OVERALL')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryExecutionOptionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of cell_distribution_options + if self.cell_distribution_options: + _dict['cellDistributionOptions'] = self.cell_distribution_options.to_dict() + # override the default output from pydantic by calling `to_dict()` of internal + if self.internal: + _dict['internal'] = self.internal.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryExecutionOptionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "calendarType": obj.get("calendarType"), + "currencyConversionMode": obj.get("currencyConversionMode"), + "currencyConversionDate": obj.get("currencyConversionDate"), + "lineageDepth": obj.get("lineageDepth"), + "zeroVisibility": obj.get("zeroVisibility"), + "nullVisibility": obj.get("nullVisibility"), + "cellDistributionOptions": CellDistributionOptionsDTO.from_dict(obj["cellDistributionOptions"]) if obj.get("cellDistributionOptions") is not None else None, + "axisVisibility": obj.get("axisVisibility"), + "enableSparseResults": obj.get("enableSparseResults"), + "internal": InternalQueryExecutionOptionsDTO.from_dict(obj["internal"]) if obj.get("internal") is not None else None, + "enableDescendingSpace": obj.get("enableDescendingSpace"), + "currencyConversionCode": obj.get("currencyConversionCode"), + "memberDisplayMode": obj.get("memberDisplayMode"), + "axesOverallValueMode": obj.get("axesOverallValueMode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_filter_dto.py new file mode 100644 index 0000000000..f30f9e2cf4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_filter_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.cohort_filter_dto import CohortFilterDTO +from visier_platform_sdk.models.member_filter_dto import MemberFilterDTO +from visier_platform_sdk.models.selection_concept_reference_dto import SelectionConceptReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryFilterDTO(BaseModel): + """ + A QueryFilter selects specific data points within a population. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="A filter expressed as a formula.") + selection_concept: Optional[SelectionConceptReferenceDTO] = Field(default=None, description="A filter that uses an existing selection concept in Visier.", alias="selectionConcept") + member_set: Optional[MemberFilterDTO] = Field(default=None, description="A filter that includes or excludes dimension members.", alias="memberSet") + cohort: Optional[CohortFilterDTO] = Field(default=None, description="A filter that identifies a population at a specific time.") + __properties: ClassVar[List[str]] = ["formula", "selectionConcept", "memberSet", "cohort"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of selection_concept + if self.selection_concept: + _dict['selectionConcept'] = self.selection_concept.to_dict() + # override the default output from pydantic by calling `to_dict()` of member_set + if self.member_set: + _dict['memberSet'] = self.member_set.to_dict() + # override the default output from pydantic by calling `to_dict()` of cohort + if self.cohort: + _dict['cohort'] = self.cohort.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "selectionConcept": SelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, + "memberSet": MemberFilterDTO.from_dict(obj["memberSet"]) if obj.get("memberSet") is not None else None, + "cohort": CohortFilterDTO.from_dict(obj["cohort"]) if obj.get("cohort") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_property_dto.py new file mode 100644 index 0000000000..fa7cda9582 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_property_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryMemberMapPropertyDTO(BaseModel): + """ + A QueryMemberMapProperty defines an existing member map and its dimension to query. + """ # noqa: E501 + member_map: Optional[DimensionReferenceDTO] = Field(default=None, description="A member map and its qualifying path to query.", alias="memberMap") + target_dimension_name: Optional[StrictStr] = Field(default=None, description="The name of the member map's dimension that you want to query. The member selection is based on this dimension.", alias="targetDimensionName") + __properties: ClassVar[List[str]] = ["memberMap", "targetDimensionName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryMemberMapPropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of member_map + if self.member_map: + _dict['memberMap'] = self.member_map.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryMemberMapPropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "memberMap": DimensionReferenceDTO.from_dict(obj["memberMap"]) if obj.get("memberMap") is not None else None, + "targetDimensionName": obj.get("targetDimensionName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_selection_dto.py new file mode 100644 index 0000000000..06ab89c710 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_selection_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_member_reference_dto import DimensionMemberReferenceDTO +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryMemberMapSelectionDTO(BaseModel): + """ + A QueryMemberMapSelection groups data in a query by dimension members in a member map. This allows grouping by a dimension that isn't typically valid on the analytic object being queried by selecting a valid member map on the analytic object. Note: This is unique to the data query API and cannot be reproduced in Visier's interface. + """ # noqa: E501 + member_map: Optional[DimensionReferenceDTO] = Field(default=None, description="A member map and its qualifying path to query.", alias="memberMap") + target_dimension_name: Optional[StrictStr] = Field(default=None, description="The name of the member map's dimension that you want to query. The member selection is based on this dimension.", alias="targetDimensionName") + members: Optional[List[DimensionMemberReferenceDTO]] = Field(default=None, description="A collection of the selected dimension members from the `targetDimension`. This must contain at least one member.") + __properties: ClassVar[List[str]] = ["memberMap", "targetDimensionName", "members"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryMemberMapSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of member_map + if self.member_map: + _dict['memberMap'] = self.member_map.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in members (list) + _items = [] + if self.members: + for _item_members in self.members: + if _item_members: + _items.append(_item_members.to_dict()) + _dict['members'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryMemberMapSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "memberMap": DimensionReferenceDTO.from_dict(obj["memberMap"]) if obj.get("memberMap") is not None else None, + "targetDimensionName": obj.get("targetDimensionName"), + "members": [DimensionMemberReferenceDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_numeric_ranges_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_numeric_ranges_dto.py new file mode 100644 index 0000000000..3c89142f86 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_numeric_ranges_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.query_property_dto import QueryPropertyDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryNumericRangesDTO(BaseModel): + """ + A QueryNumericRanges groups data into specified ranges based on a property value. + """ # noqa: E501 + var_property: Optional[QueryPropertyDTO] = Field(default=None, description="The name and qualifying path of a numeric property. Non-numeric properties are not accepted.", alias="property") + ranges: Optional[StrictStr] = Field(default=None, description="The ranges to group data into, expressed as a space-separated string of range-bound values.") + include_negative: Optional[StrictBool] = Field(default=None, description="If `true`, negative ranges are included. Default is false.", alias="includeNegative") + include_independent_zero_range: Optional[StrictBool] = Field(default=None, description="If `true`, 0 is an independent range. Default is false.", alias="includeIndependentZeroRange") + include_all_member: Optional[StrictBool] = Field(default=None, description="If `true`, a member is included that represents all members on the axis. Default is false.", alias="includeAllMember") + __properties: ClassVar[List[str]] = ["property", "ranges", "includeNegative", "includeIndependentZeroRange", "includeAllMember"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryNumericRangesDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of var_property + if self.var_property: + _dict['property'] = self.var_property.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryNumericRangesDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "property": QueryPropertyDTO.from_dict(obj["property"]) if obj.get("property") is not None else None, + "ranges": obj.get("ranges"), + "includeNegative": obj.get("includeNegative"), + "includeIndependentZeroRange": obj.get("includeIndependentZeroRange"), + "includeAllMember": obj.get("includeAllMember") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_parameter_value_dto.py new file mode 100644 index 0000000000..2979107db0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_parameter_value_dto.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.aggregation_type_parameter_value_dto import AggregationTypeParameterValueDTO +from visier_platform_sdk.models.member_parameter_value_dto import MemberParameterValueDTO +from visier_platform_sdk.models.numeric_parameter_value_dto import NumericParameterValueDTO +from visier_platform_sdk.models.plan_parameter_value_dto import PlanParameterValueDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryParameterValueDTO(BaseModel): + """ + An object that contains parameter values for either member or numeric parameters. + """ # noqa: E501 + member_value: Optional[MemberParameterValueDTO] = Field(default=None, description="A value for a member parameter.", alias="memberValue") + numeric_value: Optional[NumericParameterValueDTO] = Field(default=None, description="A value for a numeric parameter.", alias="numericValue") + plan_value: Optional[PlanParameterValueDTO] = Field(default=None, description="A value for a plan parameter.", alias="planValue") + aggregation_type_value: Optional[AggregationTypeParameterValueDTO] = Field(default=None, description="A value for an aggregation parameter.", alias="aggregationTypeValue") + __properties: ClassVar[List[str]] = ["memberValue", "numericValue", "planValue", "aggregationTypeValue"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryParameterValueDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of member_value + if self.member_value: + _dict['memberValue'] = self.member_value.to_dict() + # override the default output from pydantic by calling `to_dict()` of numeric_value + if self.numeric_value: + _dict['numericValue'] = self.numeric_value.to_dict() + # override the default output from pydantic by calling `to_dict()` of plan_value + if self.plan_value: + _dict['planValue'] = self.plan_value.to_dict() + # override the default output from pydantic by calling `to_dict()` of aggregation_type_value + if self.aggregation_type_value: + _dict['aggregationTypeValue'] = self.aggregation_type_value.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryParameterValueDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "memberValue": MemberParameterValueDTO.from_dict(obj["memberValue"]) if obj.get("memberValue") is not None else None, + "numericValue": NumericParameterValueDTO.from_dict(obj["numericValue"]) if obj.get("numericValue") is not None else None, + "planValue": PlanParameterValueDTO.from_dict(obj["planValue"]) if obj.get("planValue") is not None else None, + "aggregationTypeValue": AggregationTypeParameterValueDTO.from_dict(obj["aggregationTypeValue"]) if obj.get("aggregationTypeValue") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_property_dto.py new file mode 100644 index 0000000000..490f9dbfa4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_property_dto.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from visier_platform_sdk.models.property_reference_dto import PropertyReferenceDTO +from visier_platform_sdk.models.query_dimension_level_property_dto import QueryDimensionLevelPropertyDTO +from visier_platform_sdk.models.query_member_map_property_dto import QueryMemberMapPropertyDTO +from visier_platform_sdk.models.selection_concept_reference_dto import SelectionConceptReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryPropertyDTO(BaseModel): + """ + A QueryProperty defines a property of a data point returned from a query. This is not the same as a `property` in Visier's data mode. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="A formula-based property.") + var_property: Optional[PropertyReferenceDTO] = Field(default=None, description="A property reference.", alias="property") + selection_concept: Optional[SelectionConceptReferenceDTO] = Field(default=None, description="A selection concept-based property that returns true or false.", alias="selectionConcept") + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="A dimension-based property that returns the full name path of the dimension member that the data point is mapped to.") + member_map_property: Optional[QueryMemberMapPropertyDTO] = Field(default=None, description="A member map-based property that uses an existing member map in Visier.", alias="memberMapProperty") + effective_date_property: Optional[Dict[str, Any]] = Field(default=None, description="A property that yields the effective date for the record", alias="effectiveDateProperty") + dimension_level_selection: Optional[QueryDimensionLevelPropertyDTO] = Field(default=None, description="A dimension-based property that returns the member values of the dimension level.", alias="dimensionLevelSelection") + __properties: ClassVar[List[str]] = ["formula", "property", "selectionConcept", "dimension", "memberMapProperty", "effectiveDateProperty", "dimensionLevelSelection"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryPropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of var_property + if self.var_property: + _dict['property'] = self.var_property.to_dict() + # override the default output from pydantic by calling `to_dict()` of selection_concept + if self.selection_concept: + _dict['selectionConcept'] = self.selection_concept.to_dict() + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + # override the default output from pydantic by calling `to_dict()` of member_map_property + if self.member_map_property: + _dict['memberMapProperty'] = self.member_map_property.to_dict() + # override the default output from pydantic by calling `to_dict()` of dimension_level_selection + if self.dimension_level_selection: + _dict['dimensionLevelSelection'] = self.dimension_level_selection.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryPropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "property": PropertyReferenceDTO.from_dict(obj["property"]) if obj.get("property") is not None else None, + "selectionConcept": SelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "memberMapProperty": QueryMemberMapPropertyDTO.from_dict(obj["memberMapProperty"]) if obj.get("memberMapProperty") is not None else None, + "effectiveDateProperty": obj.get("effectiveDateProperty"), + "dimensionLevelSelection": QueryDimensionLevelPropertyDTO.from_dict(obj["dimensionLevelSelection"]) if obj.get("dimensionLevelSelection") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto.py new file mode 100644 index 0000000000..cd81c8b550 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.time_shift_dto import TimeShiftDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryTimeIntervalDTO(BaseModel): + """ + A QueryTimeInterval defines the time interval to query, including the \"from\" time, period type, period count, time direction, and shift to apply + """ # noqa: E501 + from_instant: Optional[StrictStr] = Field(default=None, description="The instant from which to extend in the specified `direction`, in milliseconds since 1970-01-01T00:00:00Z. Events that occur on this date are excluded. Subject-based data that ends on this date is included. Note: Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="fromInstant") + from_date_time: Optional[StrictStr] = Field(default=None, description="The instant from which to extend in the specified `direction`, as an ISO-8601 formatted date time string. Valid formats: yyyy-MM-dd, yyyy-MM-dd'T'HH:mm:ss, yyyy-MM-dd'T'HH:mm:ss.SSS. Events that occur on this date are excluded. Subject-based data that ends on this date is included.", alias="fromDateTime") + dynamic_date_from: Optional[StrictStr] = Field(default=None, description="Dynamically select the date from which to extend in the specified `direction`. Valid values are `SOURCE` or `COMPLETE_PERIOD`. Both options determine the date using the request's `source` field. Whether the source is a metric, formula, or metrics, each source has earliest and latest data available dates to use. The `direction` determines whether the earliest or latest date is used. * If `dynamicDateFrom` is `SOURCE`, the query returns data from a date determined by the `source` query definition element. If `dynamicDateFrom` is `COMPLETE_PERIOD`, the query returns data starting from the latest or earliest date with a complete period of data. `COMPLETE_PERIOD` returns periods defined by `intervalPeriodType`. If the period type is MONTH, it returns full months of data. If the period type is YEAR, it returns full years of data. When `dynamicDateFrom` is specified: * If `source` is `metric`, then `dynamicDateFrom` considers the date range of available data for the metric. * If `source` is `formula`, then `dynamicDateFrom` considers the date range of available data for the metric in the formula. * If `source` is `analyticObject`, then `dynamicDateFrom` considers the date range of available data for the analytic object. Then, if `direction` is `BACKWARD`, query backward from the data **end** date and if `direction` is `FORWARD`, query forward from the data **start** date. This allows you to keep getting the latest or earliest data without changing your query every time there's new or updated data. Example: If a tenant has Headcount metric data available from 2023-01-01 to 2024-01-01 (End date exclusive), specifying `dynamicDateFrom`: `SOURCE` with `direction`: `BACKWARD` means the query will retrieve data backward from 2024-01-01. The effect is the same as if specifying a `fromDateTime` of 2024-01-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-01 to 2024-01-01 (End date exclusive), specifying `dynamicDateFrom`: `SOURCE` with `direction`: `FORWARD` means the query will retrieve data forward from 2023-01-01. The effect is the same as if specifying a `fromDateTime` of 2023-01-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-10 to 2023-04-01 (End date exclusive), specifying `dynamicDateFrom`: `COMPLETE_PERIOD` with `direction`: `FORWARD` means the query will retrieve data forward from 2023-02-01. The effect is the same as if specifying a `fromDateTime` of 2023-02-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-01 to 2023-03-15 (End date exclusive), specifying `dynamicDateFrom`: `COMPLETE_PERIOD` with `direction`: `BACKWARD` means the query will retrieve data backward from 2023-03-01. The effect is the same as if specifying a `fromDateTime` of 2023-03-01'T'00:00:00.000. Example: Retrieve a list of EmployeeIDs for the formula extending 1 month backward from the dynamic source date { \"source\": { \"formula\": \"on Employee validUntil instant filterBy(isActiveEmployee) aggregate count(Employee.EmployeeID)\" }, \"columns\": [ { \"columnDefinition\": { \"property\": { \"name\": \"Employee.EmployeeID\", \"qualifyingPath\": \"Employee\" } } }, { \"columnDefinition\": { \"effectiveDateProperty\": {} } } ], \"timeInterval\": { \"dynamicDateFrom\": \"SOURCE\", \"intervalPeriodType\": \"MONTH\", \"intervalPeriodCount\": 1, \"direction\": \"BACKWARD\" } }", alias="dynamicDateFrom") + interval_period_type: Optional[StrictStr] = Field(default=None, description="The time period type for each interval. Default is MONTH.", alias="intervalPeriodType") + interval_period_count: Optional[StrictInt] = Field(default=None, description="The number of time periods per interval.", alias="intervalPeriodCount") + direction: Optional[StrictStr] = Field(default=None, description="The direction to extend. Default is BACKWARD. BACKWARD is useful when the time instant is the current date or with `dynamicDateFrom` because the query continuously retrieves the newest data from current date backwards.") + shift: Optional[TimeShiftDTO] = Field(default=None, description="The amount of time to shift the time interval by, such as backward by one year. Default is none.") + __properties: ClassVar[List[str]] = ["fromInstant", "fromDateTime", "dynamicDateFrom", "intervalPeriodType", "intervalPeriodCount", "direction", "shift"] + + @field_validator('dynamic_date_from') + def dynamic_date_from_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['SOURCE', 'COMPLETE_PERIOD']): + raise ValueError("must be one of enum values ('SOURCE', 'COMPLETE_PERIOD')") + return value + + @field_validator('interval_period_type') + def interval_period_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): + raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") + return value + + @field_validator('direction') + def direction_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['BACKWARD', 'FORWARD']): + raise ValueError("must be one of enum values ('BACKWARD', 'FORWARD')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryTimeIntervalDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of shift + if self.shift: + _dict['shift'] = self.shift.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryTimeIntervalDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fromInstant": obj.get("fromInstant"), + "fromDateTime": obj.get("fromDateTime"), + "dynamicDateFrom": obj.get("dynamicDateFrom"), + "intervalPeriodType": obj.get("intervalPeriodType"), + "intervalPeriodCount": obj.get("intervalPeriodCount"), + "direction": obj.get("direction"), + "shift": TimeShiftDTO.from_dict(obj["shift"]) if obj.get("shift") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto.py new file mode 100644 index 0000000000..6cc005e196 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.time_shift_dto import TimeShiftDTO +from typing import Optional, Set +from typing_extensions import Self + +class QueryTimeIntervalsDTO(BaseModel): + """ + A QueryTimeIntervals defines a series of time intervals to query, including the \"from\" time, period type, period count, number of intervals, time direction, and shift to apply to each time interval. + """ # noqa: E501 + from_instant: Optional[StrictStr] = Field(default=None, description="The instant from which to extend, in milliseconds since 1970-01-01T00:00:00Z. Events that occur on this date are excluded. Subject-based data that ends on this date is included. Note: Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="fromInstant") + from_date_time: Optional[StrictStr] = Field(default=None, description="The instant from which to extend, as an ISO-8601 formatted date time string. This value is exclusive. Valid formats: yyyy-MM-dd, yyyy-MM-dd'T'HH:mm:ss, yyyy-MM-dd'T'HH:mm:ss.SSS. Events that occur on this date are excluded. Subject-based data that ends on this date is included.", alias="fromDateTime") + dynamic_date_from: Optional[StrictStr] = Field(default=None, description="Dynamically select the date from which to extend. Valid values are `SOURCE` or `COMPLETE_PERIOD`. Both options use the `source` query definition element to determine the date. If `dynamicDateFrom` is `SOURCE`, the query returns data from a date determined by the `source` query definition element. If `dynamicDateFrom` is `COMPLETE_PERIOD`, the query returns data starting from the latest or earliest date with a complete period of data. When `dynamicDateFrom` is specified: * If `source` is `metric`, then `dynamicDateFrom` considers the date range of available data for the metric. * If `source` is `formula`, then `dynamicDateFrom` considers the date range of available data for the metric in the formula. * If `source` is `metrics`, then `dynamicDateFrom` considers the date range of available data for the metric in the formula. Then, if `direction` is `BACKWARD`, query backward from the data **end** date and if `direction` is `FORWARD`, query forward from the data **start** date. This allows you to keep getting the latest or earliest data without changing your query every time there's new or updated data. Note: For multi-metric queries, if `direction` is `BACKWARD`, query backward from the earliest data end date of all metrics and if `direction` is `FORWARD`, query forward from the latest data start date of all metrics. This ensures that all metrics have data in the specified time range. Example: If a tenant has Headcount metric data available from 2023-01-01 to 2024-01-01 (End date exclusive), specifying `dynamicDateFrom`: `SOURCE` with `direction`: `BACKWARD` means the query will retrieve data backward from 2024-01-01. The effect is the same as if specifying a `fromDateTime` of 2024-01-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-10 to 2023-04-01 (End date exclusive), specifying `dynamicDateFrom`: `COMPLETE_PERIOD` with `direction`: `FORWARD` means the query will retrieve data forward from 2023-02-01. The effect is the same as if specifying a `fromDateTime` of 2023-02-01'T'00:00:00.000. Example: If a tenant has Employee subject data available from 2023-01-01 to 2023-03-15 (End date exclusive), specifying `dynamicDateFrom`: `COMPLETE_PERIOD` with `direction`: `BACKWARD` means the query will retrieve data backward from 2023-03-01. The effect is the same as if specifying a `fromDateTime` of 2023-03-01'T'00:00:00.000. Example: If a tenant has Headcount data available from 2023-01-01 to 2024-09-01 and Exit Count data available from 2023-01-01 to 2024-01-01, specifying `dynamicDateFrom`: `SOURCE` with `direction`: `BACKWARD` means the query will retrieve data backward from 2024-01-01. Exit Count has an earlier data end date than Headcount, so `dynamicDateFrom` retrieves data backward from Exit Count's data end date to ensure both metrics have data in the specified time range. Example: Retrieve Headcount (employeeCount) extending 1 month backward from Headcount's dynamic source date { \"query\": { \"source\": { \"metric\": \"employeeCount\" }, \"timeIntervals\": { \"dynamicDateFrom\": \"SOURCE\", \"intervalPeriodType\": \"MONTH\", \"intervalCount\": 1, \"direction\": \"BACKWARD\" } } }", alias="dynamicDateFrom") + interval_period_type: Optional[StrictStr] = Field(default=None, description="The time period type for each interval. Default is MONTH.", alias="intervalPeriodType") + interval_period_count: Optional[StrictInt] = Field(default=None, description="The number of time periods per interval. Default is 1.", alias="intervalPeriodCount") + interval_count: Optional[StrictInt] = Field(default=None, description="The number of intervals. Default is 1.", alias="intervalCount") + direction: Optional[StrictStr] = Field(default=None, description="The direction to extend. Defaults is BACKWARD.") + shift: Optional[TimeShiftDTO] = Field(default=None, description="The amount of time to shift the time interval by, such as backward by one year.") + trailing_period_type: Optional[StrictStr] = Field(default=None, description="The time period type for each trailing period. If `trailingPeriodCount` is defined and `trailingPeriodType` is undefined, the default trailing period type is `MONTH`. If both `trailingPeriodType` and `trailingPeriodCount` are undefined, `intervalPeriodCount` is used as the trailing period count. Note: This parameter is only applicable to metrics that can calculate trailing time. If defined on a metric that doesn't have trailing time, the platform ignores the parameter.", alias="trailingPeriodType") + trailing_period_count: Optional[StrictInt] = Field(default=None, description="The number of time periods per trailing period. If `trailingPeriodType` is defined and `trailingPeriodCount` is undefined, the default trailing period count is 1. Note: This parameter is only applicable to metrics that can calculate trailing time. If defined on a metric that doesn't have trailing time, the platform ignores the parameter.", alias="trailingPeriodCount") + __properties: ClassVar[List[str]] = ["fromInstant", "fromDateTime", "dynamicDateFrom", "intervalPeriodType", "intervalPeriodCount", "intervalCount", "direction", "shift", "trailingPeriodType", "trailingPeriodCount"] + + @field_validator('dynamic_date_from') + def dynamic_date_from_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['SOURCE', 'COMPLETE_PERIOD']): + raise ValueError("must be one of enum values ('SOURCE', 'COMPLETE_PERIOD')") + return value + + @field_validator('interval_period_type') + def interval_period_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): + raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") + return value + + @field_validator('direction') + def direction_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['BACKWARD', 'FORWARD']): + raise ValueError("must be one of enum values ('BACKWARD', 'FORWARD')") + return value + + @field_validator('trailing_period_type') + def trailing_period_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): + raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QueryTimeIntervalsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of shift + if self.shift: + _dict['shift'] = self.shift.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QueryTimeIntervalsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fromInstant": obj.get("fromInstant"), + "fromDateTime": obj.get("fromDateTime"), + "dynamicDateFrom": obj.get("dynamicDateFrom"), + "intervalPeriodType": obj.get("intervalPeriodType"), + "intervalPeriodCount": obj.get("intervalPeriodCount"), + "intervalCount": obj.get("intervalCount"), + "direction": obj.get("direction"), + "shift": TimeShiftDTO.from_dict(obj["shift"]) if obj.get("shift") is not None else None, + "trailingPeriodType": obj.get("trailingPeriodType"), + "trailingPeriodCount": obj.get("trailingPeriodCount") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/question_categories_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/question_categories_api_response_dto.py new file mode 100644 index 0000000000..e590edd819 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/question_categories_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.question_category_api_response_dto import QuestionCategoryAPIResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class QuestionCategoriesAPIResponseDTO(BaseModel): + """ + QuestionCategoriesAPIResponseDTO + """ # noqa: E501 + categories: Optional[List[QuestionCategoryAPIResponseDTO]] = Field(default=None, description="A list of available categories for Vee sample questions.") + __properties: ClassVar[List[str]] = ["categories"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QuestionCategoriesAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in categories (list) + _items = [] + if self.categories: + for _item_categories in self.categories: + if _item_categories: + _items.append(_item_categories.to_dict()) + _dict['categories'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QuestionCategoriesAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "categories": [QuestionCategoryAPIResponseDTO.from_dict(_item) for _item in obj["categories"]] if obj.get("categories") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/question_category_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/question_category_api_response_dto.py new file mode 100644 index 0000000000..15da1782fc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/question_category_api_response_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class QuestionCategoryAPIResponseDTO(BaseModel): + """ + QuestionCategoryAPIResponseDTO + """ # noqa: E501 + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"About individuals\".", alias="displayName") + __properties: ClassVar[List[str]] = ["categoryId", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of QuestionCategoryAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of QuestionCategoryAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "categoryId": obj.get("categoryId"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job.py new file mode 100644 index 0000000000..517fdb3312 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ReceivingJob(BaseModel): + """ + ReceivingJob + """ # noqa: E501 + receiving_job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the receiving job for the analytic tenant.", alias="receivingJobId") + tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant code.", alias="tenantCode") + status: Optional[StrictStr] = Field(default=None, description="The status of the receiving job for the analytic tenant.") + __properties: ClassVar[List[str]] = ["receivingJobId", "tenantCode", "status"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReceivingJob from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReceivingJob from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "receivingJobId": obj.get("receivingJobId"), + "tenantCode": obj.get("tenantCode"), + "status": obj.get("status") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_and_status_response.py new file mode 100644 index 0000000000..6be214c74c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_and_status_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.receiving_job import ReceivingJob +from typing import Optional, Set +from typing_extensions import Self + +class ReceivingJobAndStatusResponse(BaseModel): + """ + ReceivingJobAndStatusResponse + """ # noqa: E501 + parent_job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="parentJobId") + parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that owns the dispatching job. This is usually the administrating tenant.", alias="parentTenantCode") + limit: Optional[StrictInt] = Field(default=None, description="The number of receiving jobs to return. The maximum number of jobs to return is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") + receiving_jobs: Optional[List[ReceivingJob]] = Field(default=None, description="A list of receiving job information.", alias="receivingJobs") + __properties: ClassVar[List[str]] = ["parentJobId", "parentTenantCode", "limit", "start", "receivingJobs"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReceivingJobAndStatusResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in receiving_jobs (list) + _items = [] + if self.receiving_jobs: + for _item_receiving_jobs in self.receiving_jobs: + if _item_receiving_jobs: + _items.append(_item_receiving_jobs.to_dict()) + _dict['receivingJobs'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReceivingJobAndStatusResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parentJobId": obj.get("parentJobId"), + "parentTenantCode": obj.get("parentTenantCode"), + "limit": obj.get("limit"), + "start": obj.get("start"), + "receivingJobs": [ReceivingJob.from_dict(_item) for _item in obj["receivingJobs"]] if obj.get("receivingJobs") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_status_response.py new file mode 100644 index 0000000000..a796b44d16 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_status_response.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.receiving_job import ReceivingJob +from typing import Optional, Set +from typing_extensions import Self + +class ReceivingJobStatusResponse(BaseModel): + """ + ReceivingJobStatusResponse + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the receiving job.", alias="jobId") + status: Optional[StrictStr] = Field(default=None, description="The status of the receiving job.") + parent_job_id: Optional[StrictStr] = Field(default=None, description="The job ID of the receiving job that spawned this job.", alias="parentJobId") + parent_tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the receiving job that spawned this job.", alias="parentTenantCode") + receiving_jobs: Optional[List[ReceivingJob]] = Field(default=None, description="A list of objects representing the receiving jobs to retrieve.", alias="receivingJobs") + __properties: ClassVar[List[str]] = ["jobId", "status", "parentJobId", "parentTenantCode", "receivingJobs"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReceivingJobStatusResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in receiving_jobs (list) + _items = [] + if self.receiving_jobs: + for _item_receiving_jobs in self.receiving_jobs: + if _item_receiving_jobs: + _items.append(_item_receiving_jobs.to_dict()) + _dict['receivingJobs'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReceivingJobStatusResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId"), + "status": obj.get("status"), + "parentJobId": obj.get("parentJobId"), + "parentTenantCode": obj.get("parentTenantCode"), + "receivingJobs": [ReceivingJob.from_dict(_item) for _item in obj["receivingJobs"]] if obj.get("receivingJobs") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/redshift_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/redshift_auth_params_dto.py new file mode 100644 index 0000000000..917d5039c1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/redshift_auth_params_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RedshiftAuthParamsDTO(BaseModel): + """ + RedshiftAuthParamsDTO + """ # noqa: E501 + endpoint: Optional[StrictStr] = None + port: Optional[StrictStr] = None + database: Optional[StrictStr] = None + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + table_prefix: Optional[StrictStr] = Field(default=None, alias="tablePrefix") + var_schema: Optional[StrictStr] = Field(default=None, alias="schema") + __properties: ClassVar[List[str]] = ["endpoint", "port", "database", "username", "password", "tablePrefix", "schema"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RedshiftAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RedshiftAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "endpoint": obj.get("endpoint"), + "port": obj.get("port"), + "database": obj.get("database"), + "username": obj.get("username"), + "password": obj.get("password"), + "tablePrefix": obj.get("tablePrefix"), + "schema": obj.get("schema") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_error_dto.py new file mode 100644 index 0000000000..d0731dc7bb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_error_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ReducedErrorDTO(BaseModel): + """ + ReducedErrorDTO + """ # noqa: E501 + error_message: Optional[StrictStr] = Field(default=None, description="A meaningful message for the end user.", alias="errorMessage") + __properties: ClassVar[List[str]] = ["errorMessage"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReducedErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReducedErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "errorMessage": obj.get("errorMessage") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_tenant_code_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_tenant_code_error_dto.py new file mode 100644 index 0000000000..901238a50f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_tenant_code_error_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.reduced_error_dto import ReducedErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class ReducedTenantCodeErrorDTO(BaseModel): + """ + ReducedTenantCodeErrorDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The bad tenant code.", alias="tenantCode") + for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the assignment is for all the analytic tenants of the specified tenant.", alias="forAllChildren") + error: Optional[ReducedErrorDTO] = Field(default=None, description="The details about the error.") + __properties: ClassVar[List[str]] = ["tenantCode", "forAllChildren", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReducedTenantCodeErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReducedTenantCodeErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "forAllChildren": obj.get("forAllChildren"), + "error": ReducedErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_user_id_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_user_id_error_dto.py new file mode 100644 index 0000000000..a2d272d381 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_user_id_error_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.reduced_error_dto import ReducedErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class ReducedUserIdErrorDTO(BaseModel): + """ + ReducedUserIdErrorDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The bad user ID.", alias="userId") + error: Optional[ReducedErrorDTO] = Field(default=None, description="The details about the error.") + __properties: ClassVar[List[str]] = ["userId", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReducedUserIdErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReducedUserIdErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "error": ReducedErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/related_analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/related_analytic_object_dto.py new file mode 100644 index 0000000000..bb3764e14a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/related_analytic_object_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RelatedAnalyticObjectDTO(BaseModel): + """ + RelatedAnalyticObjectDTO + """ # noqa: E501 + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The analytic object ID.", alias="analyticObjectId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable analytic object name to display in Visier, such as \"Recognition\".", alias="displayName") + __properties: ClassVar[List[str]] = ["analyticObjectId", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RelatedAnalyticObjectDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RelatedAnalyticObjectDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjectId": obj.get("analyticObjectId"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/report_create_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/report_create_request_dto.py new file mode 100644 index 0000000000..2f37aa801f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/report_create_request_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ReportCreateRequestDTO(BaseModel): + """ + The request to create a new report. + """ # noqa: E501 + title: Optional[StrictStr] = Field(default=None, description="The localized title of the report.") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the report.") + __properties: ClassVar[List[str]] = ["title", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReportCreateRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReportCreateRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "title": obj.get("title"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/report_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/report_delete_success_dto.py new file mode 100644 index 0000000000..a1def1da91 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/report_delete_success_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ReportDeleteSuccessDTO(BaseModel): + """ + The report that was successfully deleted. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the deleted report.") + __properties: ClassVar[List[str]] = ["id"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReportDeleteSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReportDeleteSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/report_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/report_dto.py new file mode 100644 index 0000000000..4bfe68aae8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/report_dto.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ReportDTO(BaseModel): + """ + The information of a single report. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the report.") + title: Optional[StrictStr] = Field(default=None, description="The localized title of the report.") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the report.") + updated_time: Optional[StrictStr] = Field(default=None, description="The time in epoch milliseconds when the report was last updated.", alias="updatedTime") + is_published_report: Optional[StrictBool] = Field(default=None, description="If `true`, the report is published through a project.", alias="isPublishedReport") + owner: Optional[StrictStr] = Field(default=None, description="The owner of the report.") + is_owned_by_user: Optional[StrictBool] = Field(default=None, description="If `true`, you are the owner of the report.", alias="isOwnedByUser") + allowed_actions: Optional[List[StrictStr]] = Field(default=None, description="The actions that you can perform on the report. Valid values are: - `duplicate`: The user can make their own copy of this report. - `delete`: The user can delete this report. - `edit`: The user can edit this report directly. - `download`: The user can download this report as a CSV. - `share`: The user can share this report with other users or user groups.", alias="allowedActions") + link: Optional[StrictStr] = Field(default=None, description="The link to the report.") + __properties: ClassVar[List[str]] = ["id", "title", "description", "updatedTime", "isPublishedReport", "owner", "isOwnedByUser", "allowedActions", "link"] + + @field_validator('allowed_actions') + def allowed_actions_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + for i in value: + if i not in set(['duplicate', 'delete', 'edit', 'download', 'share']): + raise ValueError("each list item must be one of ('duplicate', 'delete', 'edit', 'download', 'share')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReportDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReportDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "title": obj.get("title"), + "description": obj.get("description"), + "updatedTime": obj.get("updatedTime"), + "isPublishedReport": obj.get("isPublishedReport"), + "owner": obj.get("owner"), + "isOwnedByUser": obj.get("isOwnedByUser"), + "allowedActions": obj.get("allowedActions"), + "link": obj.get("link") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/report_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/report_list_response_dto.py new file mode 100644 index 0000000000..b06dc340fb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/report_list_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.report_dto import ReportDTO +from typing import Optional, Set +from typing_extensions import Self + +class ReportListResponseDTO(BaseModel): + """ + The information of all the reports you have access to in your tenant. + """ # noqa: E501 + reports: Optional[List[ReportDTO]] = Field(default=None, description="A list of reports.") + __properties: ClassVar[List[str]] = ["reports"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ReportListResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in reports (list) + _items = [] + if self.reports: + for _item_reports in self.reports: + if _item_reports: + _items.append(_item_reports.to_dict()) + _dict['reports'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ReportListResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "reports": [ReportDTO.from_dict(_item) for _item in obj["reports"]] if obj.get("reports") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/result.py b/src/visier_platform_sdk/visier_platform_sdk/models/result.py new file mode 100644 index 0000000000..8e3016700e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/result.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class Result(BaseModel): + """ + Result + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="If applicable, the job ID associated with the data version.", alias="jobId") + data_version: Optional[StrictStr] = Field(default=None, description="If applicable, the data version that was disabled.", alias="dataVersion") + tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant that the disable operation was conducted for.", alias="tenantCode") + status: Optional[StrictStr] = Field(default=None, description="The outcome of the disabling operation.") + message: Optional[StrictStr] = Field(default=None, description="If applicable, the message explains what errors occurred while disabling data versions.") + __properties: ClassVar[List[str]] = ["jobId", "dataVersion", "tenantCode", "status", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of Result from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of Result from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId"), + "dataVersion": obj.get("dataVersion"), + "tenantCode": obj.get("tenantCode"), + "status": obj.get("status"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/role_modules_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/role_modules_config_dto.py new file mode 100644 index 0000000000..307d2073c3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/role_modules_config_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RoleModulesConfigDTO(BaseModel): + """ + RoleModulesConfigDTO + """ # noqa: E501 + content_package_ids: Optional[List[StrictStr]] = Field(default=None, description="The unique IDs of the content packages assigned to the permission.", alias="contentPackageIds") + __properties: ClassVar[List[str]] = ["contentPackageIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RoleModulesConfigDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RoleModulesConfigDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "contentPackageIds": obj.get("contentPackageIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_auth_params_dto.py new file mode 100644 index 0000000000..3c9a9417a3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_auth_params_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SalesforceAuthParamsDTO(BaseModel): + """ + SalesforceAuthParamsDTO + """ # noqa: E501 + refresh_token: Optional[StrictStr] = Field(default=None, alias="refreshToken") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + __properties: ClassVar[List[str]] = ["refreshToken", "clientId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SalesforceAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SalesforceAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "refreshToken": obj.get("refreshToken"), + "clientId": obj.get("clientId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_v2_auth_params_dto.py new file mode 100644 index 0000000000..2f86339b33 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_v2_auth_params_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SalesforceV2AuthParamsDTO(BaseModel): + """ + SalesforceV2AuthParamsDTO + """ # noqa: E501 + auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + login_host: Optional[StrictStr] = Field(default=None, alias="loginHost") + __properties: ClassVar[List[str]] = ["authCode", "clientId", "clientSecret", "loginHost"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SalesforceV2AuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SalesforceV2AuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "authCode": obj.get("authCode"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), + "loginHost": obj.get("loginHost") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sample_question_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sample_question_api_response_dto.py new file mode 100644 index 0000000000..07ee528619 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sample_question_api_response_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_assignment_dto import UserGroupAssignmentDTO +from typing import Optional, Set +from typing_extensions import Self + +class SampleQuestionAPIResponseDTO(BaseModel): + """ + SampleQuestionAPIResponseDTO + """ # noqa: E501 + question: Optional[StrictStr] = Field(default=None, description="A question in plain language.") + question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question.", alias="questionId") + visible_in_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the sample question is visible in Vee.", alias="visibleInVee") + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") + user_group_assignment: Optional[UserGroupAssignmentDTO] = Field(default=None, description="The user group IDs assigned to the sample question.", alias="userGroupAssignment") + __properties: ClassVar[List[str]] = ["question", "questionId", "visibleInVee", "categoryId", "userGroupAssignment"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SampleQuestionAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of user_group_assignment + if self.user_group_assignment: + _dict['userGroupAssignment'] = self.user_group_assignment.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SampleQuestionAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "question": obj.get("question"), + "questionId": obj.get("questionId"), + "visibleInVee": obj.get("visibleInVee"), + "categoryId": obj.get("categoryId"), + "userGroupAssignment": UserGroupAssignmentDTO.from_dict(obj["userGroupAssignment"]) if obj.get("userGroupAssignment") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sample_questions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sample_questions_api_response_dto.py new file mode 100644 index 0000000000..73b6872ed9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sample_questions_api_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.sample_question_api_response_dto import SampleQuestionAPIResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class SampleQuestionsAPIResponseDTO(BaseModel): + """ + SampleQuestionsAPIResponseDTO + """ # noqa: E501 + questions: Optional[List[SampleQuestionAPIResponseDTO]] = Field(default=None, description="A list of sample questions to help your users start using Vee.") + __properties: ClassVar[List[str]] = ["questions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SampleQuestionsAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in questions (list) + _items = [] + if self.questions: + for _item_questions in self.questions: + if _item_questions: + _items.append(_item_questions.to_dict()) + _dict['questions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SampleQuestionsAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "questions": [SampleQuestionAPIResponseDTO.from_dict(_item) for _item in obj["questions"]] if obj.get("questions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/scenario_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/scenario_info_dto.py new file mode 100644 index 0000000000..e197987e20 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/scenario_info_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ScenarioInfoDTO(BaseModel): + """ + Information about a plan's scenario. + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the scenario.") + display_name: Optional[StrictStr] = Field(default=None, description="The full display name of the scenario.", alias="displayName") + versioned_scenario_id: Optional[StrictStr] = Field(default=None, description="If the scenario belongs to a managed plan, the response returns the scenario's user-readable symbol name.", alias="versionedScenarioId") + __properties: ClassVar[List[str]] = ["uuid", "displayName", "versionedScenarioId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ScenarioInfoDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ScenarioInfoDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "displayName": obj.get("displayName"), + "versionedScenarioId": obj.get("versionedScenarioId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/scenario_or_snapshot_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/scenario_or_snapshot_dto.py new file mode 100644 index 0000000000..283f4de058 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/scenario_or_snapshot_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ScenarioOrSnapshotDTO(BaseModel): + """ + The unique identifier and display name for plan scenarios and snapshots. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The identifier of the scenario or snapshot.") + display_name: Optional[StrictStr] = Field(default=None, description="The scenario or snapshot display name.", alias="displayName") + __properties: ClassVar[List[str]] = ["id", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ScenarioOrSnapshotDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ScenarioOrSnapshotDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/securable_dimension_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/securable_dimension_dto.py new file mode 100644 index 0000000000..82e8a69619 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/securable_dimension_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.hierarchy_property_dto import HierarchyPropertyDTO +from typing import Optional, Set +from typing_extensions import Self + +class SecurableDimensionDTO(BaseModel): + """ + SecurableDimensionDTO + """ # noqa: E501 + dimension_id: Optional[StrictStr] = Field(default=None, description="The dimension ID.", alias="dimensionId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable dimension name to display in Visier, such as \"Contract Type\".", alias="displayName") + analytic_object_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of analytic object IDs.", alias="analyticObjectIds") + hierarchy_properties: Optional[List[HierarchyPropertyDTO]] = Field(default=None, description="The list of hierarchies you can map to a user in a permission's dynamic filter.", alias="hierarchyProperties") + __properties: ClassVar[List[str]] = ["dimensionId", "displayName", "analyticObjectIds", "hierarchyProperties"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SecurableDimensionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in hierarchy_properties (list) + _items = [] + if self.hierarchy_properties: + for _item_hierarchy_properties in self.hierarchy_properties: + if _item_hierarchy_properties: + _items.append(_item_hierarchy_properties.to_dict()) + _dict['hierarchyProperties'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SecurableDimensionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionId": obj.get("dimensionId"), + "displayName": obj.get("displayName"), + "analyticObjectIds": obj.get("analyticObjectIds"), + "hierarchyProperties": [HierarchyPropertyDTO.from_dict(_item) for _item in obj["hierarchyProperties"]] if obj.get("hierarchyProperties") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/securable_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/securable_property_dto.py new file mode 100644 index 0000000000..ba335f0b2a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/securable_property_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SecurablePropertyDTO(BaseModel): + """ + SecurablePropertyDTO + """ # noqa: E501 + property_id: Optional[StrictStr] = Field(default=None, description="The property ID.", alias="propertyId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable property name to display in Visier, such as \"Job Pay Level\".", alias="displayName") + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The property's analytic object ID.", alias="analyticObjectId") + is_primary_key: Optional[StrictBool] = Field(default=None, description="If true, this property is the analytic object's primary key.", alias="isPrimaryKey") + reference_symbol_name: Optional[StrictStr] = Field(default=None, description="The reference symbol name.", alias="referenceSymbolName") + __properties: ClassVar[List[str]] = ["propertyId", "displayName", "analyticObjectId", "isPrimaryKey", "referenceSymbolName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SecurablePropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SecurablePropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "propertyId": obj.get("propertyId"), + "displayName": obj.get("displayName"), + "analyticObjectId": obj.get("analyticObjectId"), + "isPrimaryKey": obj.get("isPrimaryKey"), + "referenceSymbolName": obj.get("referenceSymbolName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/security_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/security_assignment_response_dto.py new file mode 100644 index 0000000000..a19c87379a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/security_assignment_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_assignments_dto import TenantAssignmentsDTO +from typing import Optional, Set +from typing_extensions import Self + +class SecurityAssignmentResponseDTO(BaseModel): + """ + SecurityAssignmentResponseDTO + """ # noqa: E501 + tenants: Optional[List[TenantAssignmentsDTO]] = Field(default=None, description="A list of objects representing the tenants and users that were assigned to or removed from user groups.") + __properties: ClassVar[List[str]] = ["tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SecurityAssignmentResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SecurityAssignmentResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [TenantAssignmentsDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_dto.py new file mode 100644 index 0000000000..e57c2df1a0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_filter_dto import AnalyticObjectFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class SelectionConceptConfigurationDTO(BaseModel): + """ + SelectionConceptConfigurationDTO + """ # noqa: E501 + analytic_object_filters: Optional[List[AnalyticObjectFilterDTO]] = Field(default=None, description="A list of analytic object filters indicating the analytic object and dimension used for this selection concept.", alias="analyticObjectFilters") + __properties: ClassVar[List[str]] = ["analyticObjectFilters"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SelectionConceptConfigurationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_object_filters (list) + _items = [] + if self.analytic_object_filters: + for _item_analytic_object_filters in self.analytic_object_filters: + if _item_analytic_object_filters: + _items.append(_item_analytic_object_filters.to_dict()) + _dict['analyticObjectFilters'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SelectionConceptConfigurationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjectFilters": [AnalyticObjectFilterDTO.from_dict(_item) for _item in obj["analyticObjectFilters"]] if obj.get("analyticObjectFilters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_map_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_map_dto.py new file mode 100644 index 0000000000..d3d1470904 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_map_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_filter_dto import AnalyticObjectFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class SelectionConceptConfigurationMapDTO(BaseModel): + """ + SelectionConceptConfigurationMapDTO + """ # noqa: E501 + analytic_object_filters_to_map: Optional[List[AnalyticObjectFilterDTO]] = Field(default=None, description="A list of analytic object filters indicating the analytic object and dimension members used for the selection concept. Note: If this array is empty, all filters will be removed for the concept.", alias="analyticObjectFiltersToMap") + __properties: ClassVar[List[str]] = ["analyticObjectFiltersToMap"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SelectionConceptConfigurationMapDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_object_filters_to_map (list) + _items = [] + if self.analytic_object_filters_to_map: + for _item_analytic_object_filters_to_map in self.analytic_object_filters_to_map: + if _item_analytic_object_filters_to_map: + _items.append(_item_analytic_object_filters_to_map.to_dict()) + _dict['analyticObjectFiltersToMap'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SelectionConceptConfigurationMapDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjectFiltersToMap": [AnalyticObjectFilterDTO.from_dict(_item) for _item in obj["analyticObjectFiltersToMap"]] if obj.get("analyticObjectFiltersToMap") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_dto.py new file mode 100644 index 0000000000..b320f4c364 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tag_map_element_dto import TagMapElementDTO +from typing import Optional, Set +from typing_extensions import Self + +class SelectionConceptDTO(BaseModel): + """ + Selection concepts select a population of subject members of a given subject or event. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the selection concept Note: See `SelectionConcepts` to get the ID.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the selection concept.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The localized description of the selection concept.") + visible_in_app: Optional[StrictBool] = Field(default=None, description="`true` if this selection concept is set to be visible in your solution.", alias="visibleInApp") + tags: Optional[List[TagMapElementDTO]] = Field(default=None, description="The optional collection of tags defined for this element.") + explanation: Optional[StrictStr] = Field(default=None, description="The localized explanation of the selection concept.") + __properties: ClassVar[List[str]] = ["id", "displayName", "description", "visibleInApp", "tags", "explanation"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SelectionConceptDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tags (list) + _items = [] + if self.tags: + for _item_tags in self.tags: + if _item_tags: + _items.append(_item_tags.to_dict()) + _dict['tags'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SelectionConceptDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "visibleInApp": obj.get("visibleInApp"), + "tags": [TagMapElementDTO.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None, + "explanation": obj.get("explanation") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_list_dto.py new file mode 100644 index 0000000000..72567290e5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.designer_selection_concept_dto import DesignerSelectionConceptDTO +from typing import Optional, Set +from typing_extensions import Self + +class SelectionConceptListDTO(BaseModel): + """ + SelectionConceptListDTO + """ # noqa: E501 + concepts: Optional[List[DesignerSelectionConceptDTO]] = Field(default=None, description="A list of objects representing selection concepts.") + __properties: ClassVar[List[str]] = ["concepts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SelectionConceptListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) + _items = [] + if self.concepts: + for _item_concepts in self.concepts: + if _item_concepts: + _items.append(_item_concepts.to_dict()) + _dict['concepts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SelectionConceptListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "concepts": [DesignerSelectionConceptDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_reference_dto.py new file mode 100644 index 0000000000..349211c55b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_reference_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SelectionConceptReferenceDTO(BaseModel): + """ + The name and qualifying path of a selection concept to query. + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The ID of the selection concept. See `SelectionConcepts` to get the ID.") + qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the selection concept in Visier, such as the analytic object or event the selection concept is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") + __properties: ClassVar[List[str]] = ["name", "qualifyingPath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SelectionConceptReferenceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SelectionConceptReferenceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "qualifyingPath": obj.get("qualifyingPath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concepts_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concepts_dto.py new file mode 100644 index 0000000000..3f5ebd696f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concepts_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.selection_concept_dto import SelectionConceptDTO +from typing import Optional, Set +from typing_extensions import Self + +class SelectionConceptsDTO(BaseModel): + """ + A collection of selection concepts + """ # noqa: E501 + selection_concepts: Optional[List[SelectionConceptDTO]] = Field(default=None, alias="selectionConcepts") + __properties: ClassVar[List[str]] = ["selectionConcepts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SelectionConceptsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in selection_concepts (list) + _items = [] + if self.selection_concepts: + for _item_selection_concepts in self.selection_concepts: + if _item_selection_concepts: + _items.append(_item_selection_concepts.to_dict()) + _dict['selectionConcepts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SelectionConceptsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "selectionConcepts": [SelectionConceptDTO.from_dict(_item) for _item in obj["selectionConcepts"]] if obj.get("selectionConcepts") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/service_now_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/service_now_auth_params_dto.py new file mode 100644 index 0000000000..922aef6bc8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/service_now_auth_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ServiceNowAuthParamsDTO(BaseModel): + """ + ServiceNowAuthParamsDTO + """ # noqa: E501 + host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["hostDomainName", "username", "password"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ServiceNowAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ServiceNowAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "hostDomainName": obj.get("hostDomainName"), + "username": obj.get("username"), + "password": obj.get("password") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/service_now_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/service_now_v2_auth_params_dto.py new file mode 100644 index 0000000000..7cf6cffa24 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/service_now_v2_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ServiceNowV2AuthParamsDTO(BaseModel): + """ + ServiceNowV2AuthParamsDTO + """ # noqa: E501 + host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") + alternate_domain: Optional[StrictStr] = Field(default=None, alias="alternateDomain") + __properties: ClassVar[List[str]] = ["hostDomainName", "clientId", "clientSecret", "authCode", "alternateDomain"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ServiceNowV2AuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ServiceNowV2AuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "hostDomainName": obj.get("hostDomainName"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret"), + "authCode": obj.get("authCode"), + "alternateDomain": obj.get("alternateDomain") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_request_dto.py deleted file mode 100644 index bf74d59745..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_request_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_target_tenant_code_dto import ServicingTargetTenantCodeDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAccessibleTenantProfileAssignmentRequestDTO(BaseModel): - """ - ServicingAccessibleTenantProfileAssignmentRequestDTO - """ # noqa: E501 - target_user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of users to assign this profile.", alias="targetUserIds") - target_tenant_codes: Optional[List[ServicingTargetTenantCodeDTO]] = Field(default=None, description="A list of objects representing the analytic tenants for profiles assigned to the users.", alias="targetTenantCodes") - validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active.", alias="validityStartTime") - validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active.", alias="validityEndTime") - __properties: ClassVar[List[str]] = ["targetUserIds", "targetTenantCodes", "validityStartTime", "validityEndTime"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAccessibleTenantProfileAssignmentRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in target_tenant_codes (list) - _items = [] - if self.target_tenant_codes: - for _item_target_tenant_codes in self.target_tenant_codes: - if _item_target_tenant_codes: - _items.append(_item_target_tenant_codes.to_dict()) - _dict['targetTenantCodes'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAccessibleTenantProfileAssignmentRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "targetUserIds": obj.get("targetUserIds"), - "targetTenantCodes": [ServicingTargetTenantCodeDTO.from_dict(_item) for _item in obj["targetTenantCodes"]] if obj.get("targetTenantCodes") is not None else None, - "validityStartTime": obj.get("validityStartTime"), - "validityEndTime": obj.get("validityEndTime") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_response_dto.py deleted file mode 100644 index ed57ecaa8d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_response_dto.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_failed_accessible_tenant_profile_assignment_dto import ServicingFailedAccessibleTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_successful_accessible_tenant_profile_assignment_dto import ServicingSuccessfulAccessibleTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_tenant_code_error_dto import ServicingTenantCodeErrorDTO -from visier_platform_sdk.models.servicing_user_id_error_dto import ServicingUserIdErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAccessibleTenantProfileAssignmentResponseDTO(BaseModel): - """ - ServicingAccessibleTenantProfileAssignmentResponseDTO - """ # noqa: E501 - errors: Optional[StrictBool] = Field(default=None, description="If true, an error is generated by the request.") - bad_tenant_codes: Optional[List[ServicingTenantCodeErrorDTO]] = Field(default=None, description="A list of objects representing any tenants that returned errors.", alias="badTenantCodes") - bad_user_ids: Optional[List[ServicingUserIdErrorDTO]] = Field(default=None, description="A list of objects representing the user IDs that may not be valid.", alias="badUserIds") - failed_assignments: Optional[List[ServicingFailedAccessibleTenantProfileAssignmentDTO]] = Field(default=None, description="A list of objects representing any errors during the assignment operation.", alias="failedAssignments") - successful_assignments: Optional[List[ServicingSuccessfulAccessibleTenantProfileAssignmentDTO]] = Field(default=None, description="A list of user IDs that were successfully assigned the profiles.", alias="successfulAssignments") - __properties: ClassVar[List[str]] = ["errors", "badTenantCodes", "badUserIds", "failedAssignments", "successfulAssignments"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAccessibleTenantProfileAssignmentResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in bad_tenant_codes (list) - _items = [] - if self.bad_tenant_codes: - for _item_bad_tenant_codes in self.bad_tenant_codes: - if _item_bad_tenant_codes: - _items.append(_item_bad_tenant_codes.to_dict()) - _dict['badTenantCodes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in bad_user_ids (list) - _items = [] - if self.bad_user_ids: - for _item_bad_user_ids in self.bad_user_ids: - if _item_bad_user_ids: - _items.append(_item_bad_user_ids.to_dict()) - _dict['badUserIds'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failed_assignments (list) - _items = [] - if self.failed_assignments: - for _item_failed_assignments in self.failed_assignments: - if _item_failed_assignments: - _items.append(_item_failed_assignments.to_dict()) - _dict['failedAssignments'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in successful_assignments (list) - _items = [] - if self.successful_assignments: - for _item_successful_assignments in self.successful_assignments: - if _item_successful_assignments: - _items.append(_item_successful_assignments.to_dict()) - _dict['successfulAssignments'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAccessibleTenantProfileAssignmentResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "errors": obj.get("errors"), - "badTenantCodes": [ServicingTenantCodeErrorDTO.from_dict(_item) for _item in obj["badTenantCodes"]] if obj.get("badTenantCodes") is not None else None, - "badUserIds": [ServicingUserIdErrorDTO.from_dict(_item) for _item in obj["badUserIds"]] if obj.get("badUserIds") is not None else None, - "failedAssignments": [ServicingFailedAccessibleTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["failedAssignments"]] if obj.get("failedAssignments") is not None else None, - "successfulAssignments": [ServicingSuccessfulAccessibleTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["successfulAssignments"]] if obj.get("successfulAssignments") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_request_dto.py deleted file mode 100644 index f9e00f98f0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_request_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_target_tenant_code_dto import ServicingTargetTenantCodeDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAccessibleTenantProfileRevokeRequestDTO(BaseModel): - """ - ServicingAccessibleTenantProfileRevokeRequestDTO - """ # noqa: E501 - target_user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of users to remove this profile from.", alias="targetUserIds") - target_tenant_codes: Optional[List[ServicingTargetTenantCodeDTO]] = Field(default=None, description="A list of objects representing the analytic tenants for removing profiles from each target user ID.", alias="targetTenantCodes") - __properties: ClassVar[List[str]] = ["targetUserIds", "targetTenantCodes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAccessibleTenantProfileRevokeRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in target_tenant_codes (list) - _items = [] - if self.target_tenant_codes: - for _item_target_tenant_codes in self.target_tenant_codes: - if _item_target_tenant_codes: - _items.append(_item_target_tenant_codes.to_dict()) - _dict['targetTenantCodes'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAccessibleTenantProfileRevokeRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "targetUserIds": obj.get("targetUserIds"), - "targetTenantCodes": [ServicingTargetTenantCodeDTO.from_dict(_item) for _item in obj["targetTenantCodes"]] if obj.get("targetTenantCodes") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_response_dto.py deleted file mode 100644 index 31b1f857cf..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_response_dto.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_reduced_tenant_code_error_dto import ServicingReducedTenantCodeErrorDTO -from visier_platform_sdk.models.servicing_reduced_user_id_error_dto import ServicingReducedUserIdErrorDTO -from visier_platform_sdk.models.servicing_successful_local_tenant_profile_assignment_dto import ServicingSuccessfulLocalTenantProfileAssignmentDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAccessibleTenantProfileRevokeResponseDTO(BaseModel): - """ - ServicingAccessibleTenantProfileRevokeResponseDTO - """ # noqa: E501 - bad_tenant_codes: Optional[List[ServicingReducedTenantCodeErrorDTO]] = Field(default=None, description="A list of objects representing any tenants that returned errors.", alias="badTenantCodes") - bad_user_ids: Optional[List[ServicingReducedUserIdErrorDTO]] = Field(default=None, description="A list of objects representing the user IDs that may not be valid.", alias="badUserIds") - unaffected_users: Optional[List[ServicingSuccessfulLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of objects representing the valid user IDs that were not affected.", alias="unaffectedUsers") - succeeded: Optional[List[ServicingSuccessfulLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of objects representing the valid user IDs that succeeded.") - __properties: ClassVar[List[str]] = ["badTenantCodes", "badUserIds", "unaffectedUsers", "succeeded"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAccessibleTenantProfileRevokeResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in bad_tenant_codes (list) - _items = [] - if self.bad_tenant_codes: - for _item_bad_tenant_codes in self.bad_tenant_codes: - if _item_bad_tenant_codes: - _items.append(_item_bad_tenant_codes.to_dict()) - _dict['badTenantCodes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in bad_user_ids (list) - _items = [] - if self.bad_user_ids: - for _item_bad_user_ids in self.bad_user_ids: - if _item_bad_user_ids: - _items.append(_item_bad_user_ids.to_dict()) - _dict['badUserIds'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in unaffected_users (list) - _items = [] - if self.unaffected_users: - for _item_unaffected_users in self.unaffected_users: - if _item_unaffected_users: - _items.append(_item_unaffected_users.to_dict()) - _dict['unaffectedUsers'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in succeeded (list) - _items = [] - if self.succeeded: - for _item_succeeded in self.succeeded: - if _item_succeeded: - _items.append(_item_succeeded.to_dict()) - _dict['succeeded'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAccessibleTenantProfileRevokeResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "badTenantCodes": [ServicingReducedTenantCodeErrorDTO.from_dict(_item) for _item in obj["badTenantCodes"]] if obj.get("badTenantCodes") is not None else None, - "badUserIds": [ServicingReducedUserIdErrorDTO.from_dict(_item) for _item in obj["badUserIds"]] if obj.get("badUserIds") is not None else None, - "unaffectedUsers": [ServicingSuccessfulLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["unaffectedUsers"]] if obj.get("unaffectedUsers") is not None else None, - "succeeded": [ServicingSuccessfulLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["succeeded"]] if obj.get("succeeded") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_additional_capabilities_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_additional_capabilities_dto.py deleted file mode 100644 index 68fd024e03..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_additional_capabilities_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAdditionalCapabilitiesDTO(BaseModel): - """ - ServicingAdditionalCapabilitiesDTO - """ # noqa: E501 - additional_capabilities: Optional[List[StrictStr]] = Field(default=None, description="The additional capabilities assigned to this profile.", alias="additionalCapabilities") - __properties: ClassVar[List[str]] = ["additionalCapabilities"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAdditionalCapabilitiesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAdditionalCapabilitiesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "additionalCapabilities": obj.get("additionalCapabilities") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_admin_capability_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_admin_capability_config_dto.py deleted file mode 100644 index c60b0a5316..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_admin_capability_config_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAdminCapabilityConfigDTO(BaseModel): - """ - ServicingAdminCapabilityConfigDTO - """ # noqa: E501 - all_capabilities_access: Optional[StrictBool] = Field(default=None, description="If `true`, the permission has all possible capabilities.", alias="allCapabilitiesAccess") - capabilities: Optional[List[StrictStr]] = Field(default=None, description="A list of the capabilities assigned in the permission. Not required if `allCapabilitiesAccess` is true.") - __properties: ClassVar[List[str]] = ["allCapabilitiesAccess", "capabilities"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAdminCapabilityConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAdminCapabilityConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "allCapabilitiesAccess": obj.get("allCapabilitiesAccess"), - "capabilities": obj.get("capabilities") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_permissions_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_permissions_assigned_for_local_tenant_dto.py deleted file mode 100644 index 6415517e16..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_permissions_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_permission_assigned_for_local_tenant_dto import ServicingPermissionAssignedForLocalTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAllPermissionsAssignedForLocalTenantDTO(BaseModel): - """ - ServicingAllPermissionsAssignedForLocalTenantDTO - """ # noqa: E501 - assigned_permissions: Optional[List[ServicingPermissionAssignedForLocalTenantDTO]] = Field(default=None, description="A list of objects representing the user's permissions.", alias="assignedPermissions") - __properties: ClassVar[List[str]] = ["assignedPermissions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAllPermissionsAssignedForLocalTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in assigned_permissions (list) - _items = [] - if self.assigned_permissions: - for _item_assigned_permissions in self.assigned_permissions: - if _item_assigned_permissions: - _items.append(_item_assigned_permissions.to_dict()) - _dict['assignedPermissions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAllPermissionsAssignedForLocalTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "assignedPermissions": [ServicingPermissionAssignedForLocalTenantDTO.from_dict(_item) for _item in obj["assignedPermissions"]] if obj.get("assignedPermissions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_profile_assigned_for_accessible_tenant_dto.py deleted file mode 100644 index 46fe1c7653..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_profile_assigned_for_accessible_tenant_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_profile_assigned_for_accessible_tenant_dto import ServicingProfileAssignedForAccessibleTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAllProfileAssignedForAccessibleTenantDTO(BaseModel): - """ - ServicingAllProfileAssignedForAccessibleTenantDTO - """ # noqa: E501 - assigned_profiles_for_accessible_tenant: Optional[List[ServicingProfileAssignedForAccessibleTenantDTO]] = Field(default=None, description="A list of objects representing the user profiles assigned to the user and their validity range.", alias="assignedProfilesForAccessibleTenant") - __properties: ClassVar[List[str]] = ["assignedProfilesForAccessibleTenant"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAllProfileAssignedForAccessibleTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in assigned_profiles_for_accessible_tenant (list) - _items = [] - if self.assigned_profiles_for_accessible_tenant: - for _item_assigned_profiles_for_accessible_tenant in self.assigned_profiles_for_accessible_tenant: - if _item_assigned_profiles_for_accessible_tenant: - _items.append(_item_assigned_profiles_for_accessible_tenant.to_dict()) - _dict['assignedProfilesForAccessibleTenant'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAllProfileAssignedForAccessibleTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "assignedProfilesForAccessibleTenant": [ServicingProfileAssignedForAccessibleTenantDTO.from_dict(_item) for _item in obj["assignedProfilesForAccessibleTenant"]] if obj.get("assignedProfilesForAccessibleTenant") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_profile_assigned_for_local_tenant_dto.py deleted file mode 100644 index 3fbf91e523..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_profile_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_profile_assigned_for_local_tenant_dto import ServicingProfileAssignedForLocalTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAllProfileAssignedForLocalTenantDTO(BaseModel): - """ - ServicingAllProfileAssignedForLocalTenantDTO - """ # noqa: E501 - assigned_profiles: Optional[List[ServicingProfileAssignedForLocalTenantDTO]] = Field(default=None, description="A list of objects representing the user profiles assigned to the user and their validity range.", alias="assignedProfiles") - __properties: ClassVar[List[str]] = ["assignedProfiles"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAllProfileAssignedForLocalTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in assigned_profiles (list) - _items = [] - if self.assigned_profiles: - for _item_assigned_profiles in self.assigned_profiles: - if _item_assigned_profiles: - _items.append(_item_assigned_profiles.to_dict()) - _dict['assignedProfiles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAllProfileAssignedForLocalTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "assignedProfiles": [ServicingProfileAssignedForLocalTenantDTO.from_dict(_item) for _item in obj["assignedProfiles"]] if obj.get("assignedProfiles") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_user_groups_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_user_groups_assigned_for_local_tenant_dto.py deleted file mode 100644 index 51b66e003d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_user_groups_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_user_group_assigned_for_local_tenant_dto import ServicingUserGroupAssignedForLocalTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAllUserGroupsAssignedForLocalTenantDTO(BaseModel): - """ - ServicingAllUserGroupsAssignedForLocalTenantDTO - """ # noqa: E501 - assigned_user_groups: Optional[List[ServicingUserGroupAssignedForLocalTenantDTO]] = Field(default=None, description="A list of objects representing the available user groups.", alias="assignedUserGroups") - __properties: ClassVar[List[str]] = ["assignedUserGroups"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAllUserGroupsAssignedForLocalTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in assigned_user_groups (list) - _items = [] - if self.assigned_user_groups: - for _item_assigned_user_groups in self.assigned_user_groups: - if _item_assigned_user_groups: - _items.append(_item_assigned_user_groups.to_dict()) - _dict['assignedUserGroups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAllUserGroupsAssignedForLocalTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "assignedUserGroups": [ServicingUserGroupAssignedForLocalTenantDTO.from_dict(_item) for _item in obj["assignedUserGroups"]] if obj.get("assignedUserGroups") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_users_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_users_get_api_response_dto.py deleted file mode 100644 index 7a80a737f8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_all_users_get_api_response_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_user_get_api_response_dto import ServicingUserGetAPIResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAllUsersGetAPIResponseDTO(BaseModel): - """ - ServicingAllUsersGetAPIResponseDTO - """ # noqa: E501 - users: Optional[List[ServicingUserGetAPIResponseDTO]] = Field(default=None, description="A list of available users.") - limit: Optional[StrictInt] = Field(default=None, description="The number of results to return. The maximum number of users to retrieve is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["users", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAllUsersGetAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item_users in self.users: - if _item_users: - _items.append(_item_users.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAllUsersGetAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "users": [ServicingUserGetAPIResponseDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_analytic_object_dto.py deleted file mode 100644 index ed71484a1c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_analytic_object_dto.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_related_analytic_object_dto import ServicingRelatedAnalyticObjectDTO -from visier_platform_sdk.models.servicing_securable_dimension_dto import ServicingSecurableDimensionDTO -from visier_platform_sdk.models.servicing_securable_property_dto import ServicingSecurablePropertyDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAnalyticObjectDTO(BaseModel): - """ - ServicingAnalyticObjectDTO - """ # noqa: E501 - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object.", alias="analyticObjectId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display in Visier, such as \"Employee\".", alias="displayName") - object_type: Optional[StrictStr] = Field(default=None, description="The analytic object type.", alias="objectType") - related_objects: Optional[List[ServicingRelatedAnalyticObjectDTO]] = Field(default=None, description="The analytic objects related to the data security object.", alias="relatedObjects") - securable_properties: Optional[List[ServicingSecurablePropertyDTO]] = Field(default=None, description="All available properties from the data security object and its related analytic objects that you can configure data access for.", alias="securableProperties") - securable_dimensions: Optional[List[ServicingSecurableDimensionDTO]] = Field(default=None, description="A list of dimensions that are available to define population access filters in the permission.", alias="securableDimensions") - __properties: ClassVar[List[str]] = ["analyticObjectId", "displayName", "objectType", "relatedObjects", "securableProperties", "securableDimensions"] - - @field_validator('object_type') - def object_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Event', 'Subject', 'BusinessOutcomeOverlay', 'PlanOrBudgetOverlay', 'ExternalBenchmark', 'VisierBenchmark', 'UsageOverlay', 'OtherOverlay', 'InternalComparison', 'PlanAnalyticObject']): - raise ValueError("must be one of enum values ('Event', 'Subject', 'BusinessOutcomeOverlay', 'PlanOrBudgetOverlay', 'ExternalBenchmark', 'VisierBenchmark', 'UsageOverlay', 'OtherOverlay', 'InternalComparison', 'PlanAnalyticObject')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAnalyticObjectDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in related_objects (list) - _items = [] - if self.related_objects: - for _item_related_objects in self.related_objects: - if _item_related_objects: - _items.append(_item_related_objects.to_dict()) - _dict['relatedObjects'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in securable_properties (list) - _items = [] - if self.securable_properties: - for _item_securable_properties in self.securable_properties: - if _item_securable_properties: - _items.append(_item_securable_properties.to_dict()) - _dict['securableProperties'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in securable_dimensions (list) - _items = [] - if self.securable_dimensions: - for _item_securable_dimensions in self.securable_dimensions: - if _item_securable_dimensions: - _items.append(_item_securable_dimensions.to_dict()) - _dict['securableDimensions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAnalyticObjectDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjectId": obj.get("analyticObjectId"), - "displayName": obj.get("displayName"), - "objectType": obj.get("objectType"), - "relatedObjects": [ServicingRelatedAnalyticObjectDTO.from_dict(_item) for _item in obj["relatedObjects"]] if obj.get("relatedObjects") is not None else None, - "securableProperties": [ServicingSecurablePropertyDTO.from_dict(_item) for _item in obj["securableProperties"]] if obj.get("securableProperties") is not None else None, - "securableDimensions": [ServicingSecurableDimensionDTO.from_dict(_item) for _item in obj["securableDimensions"]] if obj.get("securableDimensions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_permission_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_permission_dto.py deleted file mode 100644 index a3980871c8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_permission_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_user_dto import ServicingAssignRevokePermissionByUserDTO -from visier_platform_sdk.models.servicing_permission_assigned_for_local_tenant_dto import ServicingPermissionAssignedForLocalTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAssignRevokePermissionByPermissionDTO(BaseModel): - """ - The results of the permission assignment or removal. - """ # noqa: E501 - permission: Optional[ServicingPermissionAssignedForLocalTenantDTO] = None - users: Optional[List[ServicingAssignRevokePermissionByUserDTO]] = Field(default=None, description="A list of objects representing the users that was permission was assigned to or removed from.") - __properties: ClassVar[List[str]] = ["permission", "users"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionByPermissionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of permission - if self.permission: - _dict['permission'] = self.permission.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item_users in self.users: - if _item_users: - _items.append(_item_users.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionByPermissionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permission": ServicingPermissionAssignedForLocalTenantDTO.from_dict(obj["permission"]) if obj.get("permission") is not None else None, - "users": [ServicingAssignRevokePermissionByUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_tenant_dto.py deleted file mode 100644 index 8236398509..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_tenant_dto.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_permission_dto import ServicingAssignRevokePermissionByPermissionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAssignRevokePermissionByTenantDTO(BaseModel): - """ - The permissions organized by tenant. - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - permissions: Optional[List[ServicingAssignRevokePermissionByPermissionDTO]] = Field(default=None, description="A list of objects representing the assigned or removed permissions.") - status: Optional[StrictStr] = Field(default=None, description="The state of the permission assignment. Valid values are Succeed or Failed.") - message: Optional[StrictStr] = Field(default=None, description="A detailed description of the request outcome, if available.") - project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project that the change was made in, if applicable.", alias="projectId") - __properties: ClassVar[List[str]] = ["tenantCode", "permissions", "status", "message", "projectId"] - - @field_validator('status') - def status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unknown', 'Succeed', 'Failed']): - raise ValueError("must be one of enum values ('Unknown', 'Succeed', 'Failed')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionByTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item_permissions in self.permissions: - if _item_permissions: - _items.append(_item_permissions.to_dict()) - _dict['permissions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionByTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "permissions": [ServicingAssignRevokePermissionByPermissionDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None, - "status": obj.get("status"), - "message": obj.get("message"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_user_dto.py deleted file mode 100644 index a80f22937f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_by_user_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAssignRevokePermissionByUserDTO(BaseModel): - """ - The results of the permission assignment or removal by user. - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") - username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.") - message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the user permission.") - __properties: ClassVar[List[str]] = ["userId", "username", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionByUserDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionByUserDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "username": obj.get("username"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_request_dto.py deleted file mode 100644 index 5252cec46f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permission_request_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAssignRevokePermissionRequestDTO(BaseModel): - """ - Set permission detail permissionId with assign to userIds - """ # noqa: E501 - permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with a permission.", alias="permissionId") - user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing unique user IDs.", alias="userIds") - __properties: ClassVar[List[str]] = ["permissionId", "userIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissionId": obj.get("permissionId"), - "userIds": obj.get("userIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permissions_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permissions_request_dto.py deleted file mode 100644 index 81e3739860..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permissions_request_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.admin_target_project_for_tenants_list_dto import AdminTargetProjectForTenantsListDTO -from visier_platform_sdk.models.servicing_assign_revoke_permission_request_dto import ServicingAssignRevokePermissionRequestDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAssignRevokePermissionsRequestDTO(BaseModel): - """ - Set permissions request List of permissionId with assign to user Ids - """ # noqa: E501 - permissions: Optional[List[ServicingAssignRevokePermissionRequestDTO]] = Field(default=None, description="A list of objects representing the permissions to assign to or remove from users.") - target_project_for_tenants_list: Optional[AdminTargetProjectForTenantsListDTO] = Field(default=None, description="Administrating tenants can specify the tenants and projects in which to assign permissions to users or remove permissions from users. Specify one `projectId` per `tenantCode`. If omitted, the request is immediately published to production or applied to the `ProjectID` in the request header, if available, for the administrating tenant or TargetTenantID, if available.", alias="targetProjectForTenantsList") - __properties: ClassVar[List[str]] = ["permissions", "targetProjectForTenantsList"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionsRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item_permissions in self.permissions: - if _item_permissions: - _items.append(_item_permissions.to_dict()) - _dict['permissions'] = _items - # override the default output from pydantic by calling `to_dict()` of target_project_for_tenants_list - if self.target_project_for_tenants_list: - _dict['targetProjectForTenantsList'] = self.target_project_for_tenants_list.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionsRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissions": [ServicingAssignRevokePermissionRequestDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None, - "targetProjectForTenantsList": AdminTargetProjectForTenantsListDTO.from_dict(obj["targetProjectForTenantsList"]) if obj.get("targetProjectForTenantsList") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permissions_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permissions_response_dto.py deleted file mode 100644 index b21b0cbe81..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_assign_revoke_permissions_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_assign_revoke_permission_by_tenant_dto import ServicingAssignRevokePermissionByTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingAssignRevokePermissionsResponseDTO(BaseModel): - """ - The results of the permission assignment or removal. - """ # noqa: E501 - tenants: Optional[List[ServicingAssignRevokePermissionByTenantDTO]] = Field(default=None, description="A list of objects representing the users that were assigned permissions, organized by the tenants the users belong to.") - __properties: ClassVar[List[str]] = ["tenants"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionsResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingAssignRevokePermissionsResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [ServicingAssignRevokePermissionByTenantDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_bulk_data_access_set_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_bulk_data_access_set_response_dto.py deleted file mode 100644 index e95f834bcc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_bulk_data_access_set_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_data_access_set_failure_dto import ServicingDataAccessSetFailureDTO -from visier_platform_sdk.models.servicing_data_access_set_success_dto import ServicingDataAccessSetSuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingBulkDataAccessSetResponseDTO(BaseModel): - """ - ServicingBulkDataAccessSetResponseDTO - """ # noqa: E501 - successes: Optional[List[ServicingDataAccessSetSuccessDTO]] = Field(default=None, description="The successfully created data access sets.") - failures: Optional[List[ServicingDataAccessSetFailureDTO]] = Field(default=None, description="The data access sets that failed to be created and any relevant error information.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingBulkDataAccessSetResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingBulkDataAccessSetResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [ServicingDataAccessSetSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [ServicingDataAccessSetFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capabilities_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capabilities_dto.py deleted file mode 100644 index 6f07330ac3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capabilities_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingCapabilitiesDTO(BaseModel): - """ - ServicingCapabilitiesDTO - """ # noqa: E501 - capability: Optional[StrictStr] = Field(default=None, description="The name of the capability.") - access_level: Optional[StrictStr] = Field(default=None, description="The access level of the profile for the given capability.", alias="accessLevel") - view_level: Optional[StrictStr] = Field(default=None, description="The view level of the profile for the given capability.", alias="viewLevel") - __properties: ClassVar[List[str]] = ["capability", "accessLevel", "viewLevel"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingCapabilitiesDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingCapabilitiesDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "capability": obj.get("capability"), - "accessLevel": obj.get("accessLevel"), - "viewLevel": obj.get("viewLevel") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_dto.py deleted file mode 100644 index 74c3f01d30..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingCapabilityDTO(BaseModel): - """ - ServicingCapabilityDTO - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The unique name of the capability.") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable capability name to display in Visier, such as \"Schedule Analysis\".", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="A description of the capability.") - __properties: ClassVar[List[str]] = ["name", "displayName", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingCapabilityDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingCapabilityDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "displayName": obj.get("displayName"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_group_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_group_dto.py deleted file mode 100644 index 87aaf7401a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_group_dto.py +++ /dev/null @@ -1,146 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingCapabilityGroupDTO(BaseModel): - """ - ServicingCapabilityGroupDTO - """ # noqa: E501 - group: Optional[StrictStr] = None - access_level: Optional[StrictStr] = Field(default=None, alias="accessLevel") - view_level: Optional[StrictStr] = Field(default=None, alias="viewLevel") - api_access_level: Optional[StrictStr] = Field(default=None, alias="apiAccessLevel") - api_view_level: Optional[StrictStr] = Field(default=None, alias="apiViewLevel") - __properties: ClassVar[List[str]] = ["group", "accessLevel", "viewLevel", "apiAccessLevel", "apiViewLevel"] - - @field_validator('group') - def group_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['unknown', 'Any', 'NotRequired', 'Data', 'Application', 'ApplicationManagement', 'Security', 'UserManagement', 'Model', 'TenantManagement', 'Settings', 'DataUpload', 'FileSharing', 'Approve', 'TwoStepPublish', 'DirectPublish', 'TenantPreview', 'OpenAPI', 'OpenPlatform', 'ManageJobs', 'SupportPowerUser', 'LMSPowerUser', 'SupportProjectManager', 'SupportStandardUser', 'Translation', 'ModuleManagement', 'AnalyticObjectCreation', 'ClassicAdminConfig', 'ClassicReadOnlyAdminConfig', 'ClassicManageTenant', 'ClassicAnalysis', 'ClassicDraft', 'ClassicInternalDebugging', 'ClassicAPIRestricted', 'InfrastructureOperations', 'SolutionDesigner', 'AccessToAllData', 'FeatureToggle', 'SystemDiagnostics', 'SystemDiagnosticsSensitive', 'ConsumptionPricingAdmin', 'ReadImpersonator', 'WriteImpersonator', 'ReadImpersonated', 'WriteImpersonated', 'MasterImpersonator', 'Impersonator', 'WillowUser', 'WillowAdmin', 'GeminiManager', 'GeminiSupport', 'GeminiAdmin', 'GeminiSysAdmin', 'ConsolidatedAnalytics', 'RequestSecureTicket', 'RequestAuthToken', 'OAuth2ClientRegistration', 'AccessToAllProperties', 'AccessToKeyProperties', 'PlanningManagement', 'WillowVantageCrawler', 'DataValidation', 'ContentReassignment', 'ReportDownloading', 'PlutoUser', 'ReportingManagement', 'QuotaManagement', 'WebhookManagement', 'ProfileManagement', 'UserGroupManagement', 'ProactiveAlertManagement', 'PermissionManagement']): - raise ValueError("must be one of enum values ('unknown', 'Any', 'NotRequired', 'Data', 'Application', 'ApplicationManagement', 'Security', 'UserManagement', 'Model', 'TenantManagement', 'Settings', 'DataUpload', 'FileSharing', 'Approve', 'TwoStepPublish', 'DirectPublish', 'TenantPreview', 'OpenAPI', 'OpenPlatform', 'ManageJobs', 'SupportPowerUser', 'LMSPowerUser', 'SupportProjectManager', 'SupportStandardUser', 'Translation', 'ModuleManagement', 'AnalyticObjectCreation', 'ClassicAdminConfig', 'ClassicReadOnlyAdminConfig', 'ClassicManageTenant', 'ClassicAnalysis', 'ClassicDraft', 'ClassicInternalDebugging', 'ClassicAPIRestricted', 'InfrastructureOperations', 'SolutionDesigner', 'AccessToAllData', 'FeatureToggle', 'SystemDiagnostics', 'SystemDiagnosticsSensitive', 'ConsumptionPricingAdmin', 'ReadImpersonator', 'WriteImpersonator', 'ReadImpersonated', 'WriteImpersonated', 'MasterImpersonator', 'Impersonator', 'WillowUser', 'WillowAdmin', 'GeminiManager', 'GeminiSupport', 'GeminiAdmin', 'GeminiSysAdmin', 'ConsolidatedAnalytics', 'RequestSecureTicket', 'RequestAuthToken', 'OAuth2ClientRegistration', 'AccessToAllProperties', 'AccessToKeyProperties', 'PlanningManagement', 'WillowVantageCrawler', 'DataValidation', 'ContentReassignment', 'ReportDownloading', 'PlutoUser', 'ReportingManagement', 'QuotaManagement', 'WebhookManagement', 'ProfileManagement', 'UserGroupManagement', 'ProactiveAlertManagement', 'PermissionManagement')") - return value - - @field_validator('access_level') - def access_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['NoAccess', 'ReadOnly', 'Write']): - raise ValueError("must be one of enum values ('NoAccess', 'ReadOnly', 'Write')") - return value - - @field_validator('view_level') - def view_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Simple', 'Detailed', 'API', 'Certified', 'Embedded']): - raise ValueError("must be one of enum values ('Simple', 'Detailed', 'API', 'Certified', 'Embedded')") - return value - - @field_validator('api_access_level') - def api_access_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['NoAccess', 'ReadOnly', 'Write']): - raise ValueError("must be one of enum values ('NoAccess', 'ReadOnly', 'Write')") - return value - - @field_validator('api_view_level') - def api_view_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Simple', 'Detailed', 'API', 'Certified', 'Embedded']): - raise ValueError("must be one of enum values ('Simple', 'Detailed', 'API', 'Certified', 'Embedded')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingCapabilityGroupDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingCapabilityGroupDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "group": obj.get("group"), - "accessLevel": obj.get("accessLevel"), - "viewLevel": obj.get("viewLevel"), - "apiAccessLevel": obj.get("apiAccessLevel"), - "apiViewLevel": obj.get("apiViewLevel") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py new file mode 100644 index 0000000000..6bb612c1e8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.capability_group_dto import CapabilityGroupDTO +from typing import Optional, Set +from typing_extensions import Self + +class ServicingCapabilityProtoEnumAccessLookupDTO(BaseModel): + """ + ServicingCapabilityProtoEnumAccessLookupDTO + """ # noqa: E501 + capability_groups: Optional[List[CapabilityGroupDTO]] = Field(default=None, alias="capabilityGroups") + __properties: ClassVar[List[str]] = ["capabilityGroups"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ServicingCapabilityProtoEnumAccessLookupDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in capability_groups (list) + _items = [] + if self.capability_groups: + for _item_capability_groups in self.capability_groups: + if _item_capability_groups: + _items.append(_item_capability_groups.to_dict()) + _dict['capabilityGroups'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ServicingCapabilityProtoEnumAccessLookupDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "capabilityGroups": [CapabilityGroupDTO.from_dict(_item) for _item in obj["capabilityGroups"]] if obj.get("capabilityGroups") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_clone_files_into_source_parameters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_clone_files_into_source_parameters_dto.py deleted file mode 100644 index 30ccf189f6..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_clone_files_into_source_parameters_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_date_range_dto import ServicingDateRangeDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingCloneFilesIntoSourceParametersDTO(BaseModel): - """ - The parameters for the `cloneFilesIntoSource` option, such as the source to clone files from, the source to clone files into, and the date range of the files to clone. - """ # noqa: E501 - origin_source: Optional[StrictStr] = Field(default=None, description="The unique identifier of the source to clone files from.", alias="originSource") - target_source: Optional[StrictStr] = Field(default=None, description="The unique identifier of the source to clone files into.", alias="targetSource") - date_range: Optional[ServicingDateRangeDTO] = Field(default=None, description="The date range of the files to clone. If undefined, clones all files.", alias="dateRange") - __properties: ClassVar[List[str]] = ["originSource", "targetSource", "dateRange"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingCloneFilesIntoSourceParametersDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of date_range - if self.date_range: - _dict['dateRange'] = self.date_range.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingCloneFilesIntoSourceParametersDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "originSource": obj.get("originSource"), - "targetSource": obj.get("targetSource"), - "dateRange": ServicingDateRangeDTO.from_dict(obj["dateRange"]) if obj.get("dateRange") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_commit_and_publish_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_commit_and_publish_operation_response_dto.py deleted file mode 100644 index fa33393c7d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_commit_and_publish_operation_response_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingCommitAndPublishOperationResponseDTO(BaseModel): - """ - ServicingCommitAndPublishOperationResponseDTO - """ # noqa: E501 - published_version: Optional[ServicingProjectDTO] = Field(default=None, description="The project version that was published to production.", alias="publishedVersion") - __properties: ClassVar[List[str]] = ["publishedVersion"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingCommitAndPublishOperationResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of published_version - if self.published_version: - _dict['publishedVersion'] = self.published_version.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingCommitAndPublishOperationResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "publishedVersion": ServicingProjectDTO.from_dict(obj["publishedVersion"]) if obj.get("publishedVersion") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_commit_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_commit_dto.py deleted file mode 100644 index ea30418c57..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_commit_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingCommitDTO(BaseModel): - """ - ServicingCommitDTO - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the committed change.") - name: Optional[StrictStr] = Field(default=None, description="An identifiable name of the committed change to display in Visier.") - description: Optional[StrictStr] = Field(default=None, description="A description of the committed change.") - __properties: ClassVar[List[str]] = ["id", "name", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingCommitDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingCommitDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "name": obj.get("name"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_content_package_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_content_package_dto.py deleted file mode 100644 index d3cbaa63d9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_content_package_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingContentPackageDTO(BaseModel): - """ - ServicingContentPackageDTO - """ # noqa: E501 - content_package_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the content package.", alias="contentPackageId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable content package name to display in Visier, such as \"Talent Acquisition Core Content\".", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="A description of the content package.") - __properties: ClassVar[List[str]] = ["contentPackageId", "displayName", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingContentPackageDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingContentPackageDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "contentPackageId": obj.get("contentPackageId"), - "displayName": obj.get("displayName"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_create_data_access_set_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_create_data_access_set_request_dto.py deleted file mode 100644 index bc6bdd8621..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_create_data_access_set_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_data_access_set_dto import ServicingDataAccessSetDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingCreateDataAccessSetRequestDTO(BaseModel): - """ - ServicingCreateDataAccessSetRequestDTO - """ # noqa: E501 - shareable_property_access_configs: Optional[List[ServicingDataAccessSetDTO]] = Field(default=None, description="The data access sets to be created.", alias="shareablePropertyAccessConfigs") - __properties: ClassVar[List[str]] = ["shareablePropertyAccessConfigs"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingCreateDataAccessSetRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in shareable_property_access_configs (list) - _items = [] - if self.shareable_property_access_configs: - for _item_shareable_property_access_configs in self.shareable_property_access_configs: - if _item_shareable_property_access_configs: - _items.append(_item_shareable_property_access_configs.to_dict()) - _dict['shareablePropertyAccessConfigs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingCreateDataAccessSetRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "shareablePropertyAccessConfigs": [ServicingDataAccessSetDTO.from_dict(_item) for _item in obj["shareablePropertyAccessConfigs"]] if obj.get("shareablePropertyAccessConfigs") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_dto.py deleted file mode 100644 index f259fd2a3e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_property_access_config_dto import ServicingPropertyAccessConfigDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDataAccessSetDTO(BaseModel): - """ - ServicingDataAccessSetDTO - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the data access set.") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data access set name to display in Visier, such as \"Aggregate(Employee)\".", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="A description of the data access set.") - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object that the data access set is for.", alias="analyticObjectId") - property_access_configs: Optional[List[ServicingPropertyAccessConfigDTO]] = Field(default=None, description="The data access assigned to properties in the data access set.", alias="propertyAccessConfigs") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "analyticObjectId", "propertyAccessConfigs"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDataAccessSetDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in property_access_configs (list) - _items = [] - if self.property_access_configs: - for _item_property_access_configs in self.property_access_configs: - if _item_property_access_configs: - _items.append(_item_property_access_configs.to_dict()) - _dict['propertyAccessConfigs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDataAccessSetDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "analyticObjectId": obj.get("analyticObjectId"), - "propertyAccessConfigs": [ServicingPropertyAccessConfigDTO.from_dict(_item) for _item in obj["propertyAccessConfigs"]] if obj.get("propertyAccessConfigs") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_error_dto.py deleted file mode 100644 index 5adf33107b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_error_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDataAccessSetErrorDTO(BaseModel): - """ - ServicingDataAccessSetErrorDTO - """ # noqa: E501 - message: Optional[StrictStr] = Field(default=None, description="Error message") - rci: Optional[StrictStr] = Field(default=None, description="A root cause identifier that allows Visier to determine the source of the problem.") - __properties: ClassVar[List[str]] = ["message", "rci"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDataAccessSetErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDataAccessSetErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "message": obj.get("message"), - "rci": obj.get("rci") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_failure_dto.py deleted file mode 100644 index 13c4b57901..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_failure_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_data_access_set_error_dto import ServicingDataAccessSetErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDataAccessSetFailureDTO(BaseModel): - """ - ServicingDataAccessSetFailureDTO - """ # noqa: E501 - data_access_set_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data access set.", alias="dataAccessSetId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data access set name to display in Visier, such as \"Detailed(Employee)\".", alias="displayName") - error: Optional[ServicingDataAccessSetErrorDTO] = Field(default=None, description="The error associated with the failure.") - __properties: ClassVar[List[str]] = ["dataAccessSetId", "displayName", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDataAccessSetFailureDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDataAccessSetFailureDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataAccessSetId": obj.get("dataAccessSetId"), - "displayName": obj.get("displayName"), - "error": ServicingDataAccessSetErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_success_dto.py deleted file mode 100644 index 358af90e1f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_access_set_success_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDataAccessSetSuccessDTO(BaseModel): - """ - ServicingDataAccessSetSuccessDTO - """ # noqa: E501 - data_access_set_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the created data access set.", alias="dataAccessSetId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable data access set name to display in Visier, such as \"Detailed(Employee)\".", alias="displayName") - __properties: ClassVar[List[str]] = ["dataAccessSetId", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDataAccessSetSuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDataAccessSetSuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataAccessSetId": obj.get("dataAccessSetId"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_categories_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_categories_response_dto.py deleted file mode 100644 index 0e6f993c93..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_categories_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_data_category_response_dto import ServicingDataCategoryResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDataCategoriesResponseDTO(BaseModel): - """ - A list of data categories. - """ # noqa: E501 - categories: Optional[List[ServicingDataCategoryResponseDTO]] = None - __properties: ClassVar[List[str]] = ["categories"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDataCategoriesResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in categories (list) - _items = [] - if self.categories: - for _item_categories in self.categories: - if _item_categories: - _items.append(_item_categories.to_dict()) - _dict['categories'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDataCategoriesResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "categories": [ServicingDataCategoryResponseDTO.from_dict(_item) for _item in obj["categories"]] if obj.get("categories") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_category_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_category_response_dto.py deleted file mode 100644 index 5129ec0974..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_category_response_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDataCategoryResponseDTO(BaseModel): - """ - The data category's UUID and display name. - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The display name of the data category.") - id: Optional[StrictStr] = Field(default=None, description="The UUID of the data category.") - __properties: ClassVar[List[str]] = ["name", "id"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDataCategoryResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDataCategoryResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "id": obj.get("id") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_security_profile_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_security_profile_dto.py deleted file mode 100644 index ca0041b97e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_data_security_profile_dto.py +++ /dev/null @@ -1,134 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_inherited_access_config_dto import ServicingInheritedAccessConfigDTO -from visier_platform_sdk.models.servicing_inherited_reference_member_filter_config_dto import ServicingInheritedReferenceMemberFilterConfigDTO -from visier_platform_sdk.models.servicing_member_filter_config_dto import ServicingMemberFilterConfigDTO -from visier_platform_sdk.models.servicing_property_set_config_dto import ServicingPropertySetConfigDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDataSecurityProfileDTO(BaseModel): - """ - ServicingDataSecurityProfileDTO - """ # noqa: E501 - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object assigned data security in this permission.", alias="analyticObjectId") - property_set_config: Optional[ServicingPropertySetConfigDTO] = Field(default=None, description="A list of objects representing the data access for an analytic object’s properties.", alias="propertySetConfig") - all_data_point_access: Optional[StrictBool] = Field(default=None, description="If `true`, the permission grants access to the entire population. If `false`, define `memberFilterConfigs` to set custom population access.", alias="allDataPointAccess") - member_filter_configs: Optional[List[ServicingMemberFilterConfigDTO]] = Field(default=None, description="Custom filters that define population access for an item in the permission.", alias="memberFilterConfigs") - inherited_access_configs: Optional[List[ServicingInheritedAccessConfigDTO]] = Field(default=None, description="The events and related objects inherited from the analytic object. By default, all events and related objects associated with the analytic object will be inherited from the analytic object in a permission. For example, if you assign access to Employee, then access to the Employee Exit event is inherited in the permission. To remove access to an event or related object, add the object to `inheritedAccessConfigs` with `removeAccess`: true. To add custom filters to an event or related object, add the object to `inheritedAccessConfigs` and define `memberFilterConfigs`.", alias="inheritedAccessConfigs") - inherited_reference_member_filter_config: Optional[ServicingInheritedReferenceMemberFilterConfigDTO] = Field(default=None, description="Configures the analytic object to inherit population access filters from. The target analytic object must be assigned population access in the permission and have a binding (strong) reference from the source analytic object. * For example, assume `Applicant` -> `Requisition` is configured to be a binding (strong) reference. For `Applicant` (source analytic object) to inherit population access filters from `Requisition` (target analytic object), in the Applicant `dataSecurityProfile`, set `inheritedReferenceMemberFilterConfig` to `Requisition`. In this example, Applicant will inherit filters from Requisition because Requsition is assigned data security in this permission and there is a binding (strong) reference from Applicant to Requisition.", alias="inheritedReferenceMemberFilterConfig") - analytic_object_status: Optional[StrictStr] = Field(default=None, description="The analytic object's validity status. Valid values: Valid, NoData, NotFound. * **Valid**: The object exists and has loaded data. * **NoData**: The object exists but doesn't have loaded data. * **NotFound**: The object doesn't exist.", alias="analyticObjectStatus") - __properties: ClassVar[List[str]] = ["analyticObjectId", "propertySetConfig", "allDataPointAccess", "memberFilterConfigs", "inheritedAccessConfigs", "inheritedReferenceMemberFilterConfig", "analyticObjectStatus"] - - @field_validator('analytic_object_status') - def analytic_object_status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): - raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDataSecurityProfileDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of property_set_config - if self.property_set_config: - _dict['propertySetConfig'] = self.property_set_config.to_dict() - # override the default output from pydantic by calling `to_dict()` of each item in member_filter_configs (list) - _items = [] - if self.member_filter_configs: - for _item_member_filter_configs in self.member_filter_configs: - if _item_member_filter_configs: - _items.append(_item_member_filter_configs.to_dict()) - _dict['memberFilterConfigs'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in inherited_access_configs (list) - _items = [] - if self.inherited_access_configs: - for _item_inherited_access_configs in self.inherited_access_configs: - if _item_inherited_access_configs: - _items.append(_item_inherited_access_configs.to_dict()) - _dict['inheritedAccessConfigs'] = _items - # override the default output from pydantic by calling `to_dict()` of inherited_reference_member_filter_config - if self.inherited_reference_member_filter_config: - _dict['inheritedReferenceMemberFilterConfig'] = self.inherited_reference_member_filter_config.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDataSecurityProfileDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjectId": obj.get("analyticObjectId"), - "propertySetConfig": ServicingPropertySetConfigDTO.from_dict(obj["propertySetConfig"]) if obj.get("propertySetConfig") is not None else None, - "allDataPointAccess": obj.get("allDataPointAccess"), - "memberFilterConfigs": [ServicingMemberFilterConfigDTO.from_dict(_item) for _item in obj["memberFilterConfigs"]] if obj.get("memberFilterConfigs") is not None else None, - "inheritedAccessConfigs": [ServicingInheritedAccessConfigDTO.from_dict(_item) for _item in obj["inheritedAccessConfigs"]] if obj.get("inheritedAccessConfigs") is not None else None, - "inheritedReferenceMemberFilterConfig": ServicingInheritedReferenceMemberFilterConfigDTO.from_dict(obj["inheritedReferenceMemberFilterConfig"]) if obj.get("inheritedReferenceMemberFilterConfig") is not None else None, - "analyticObjectStatus": obj.get("analyticObjectStatus") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_date_range_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_date_range_dto.py deleted file mode 100644 index a5fcb67beb..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_date_range_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDateRangeDTO(BaseModel): - """ - The range of dates for the request. - """ # noqa: E501 - start: Optional[StrictStr] = Field(default=None, description="The start date in ISO 8601 format.") - end: Optional[StrictStr] = Field(default=None, description="The end date in ISO 8601 format. If undefined, the end date is the current date.") - __properties: ClassVar[List[str]] = ["start", "end"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDateRangeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDateRangeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "start": obj.get("start"), - "end": obj.get("end") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_delete_permissions_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_delete_permissions_request_dto.py deleted file mode 100644 index 7add0fdb92..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_delete_permissions_request_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDeletePermissionsRequestDTO(BaseModel): - """ - ServicingDeletePermissionsRequestDTO - """ # noqa: E501 - permission_ids: Optional[List[StrictStr]] = Field(default=None, description="The identifiers of the permissions to delete.", alias="permissionIds") - __properties: ClassVar[List[str]] = ["permissionIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDeletePermissionsRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDeletePermissionsRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissionIds": obj.get("permissionIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dimension_filter_dto.py deleted file mode 100644 index 0586d73245..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dimension_filter_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_dynamic_dimension_filter_dto import ServicingDynamicDimensionFilterDTO -from visier_platform_sdk.models.servicing_static_dimension_filter_dto import ServicingStaticDimensionFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDimensionFilterDTO(BaseModel): - """ - ServicingDimensionFilterDTO - """ # noqa: E501 - static_dimension_filter: Optional[ServicingStaticDimensionFilterDTO] = Field(default=None, alias="staticDimensionFilter") - dynamic_dimension_filter: Optional[ServicingDynamicDimensionFilterDTO] = Field(default=None, alias="dynamicDimensionFilter") - __properties: ClassVar[List[str]] = ["staticDimensionFilter", "dynamicDimensionFilter"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDimensionFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of static_dimension_filter - if self.static_dimension_filter: - _dict['staticDimensionFilter'] = self.static_dimension_filter.to_dict() - # override the default output from pydantic by calling `to_dict()` of dynamic_dimension_filter - if self.dynamic_dimension_filter: - _dict['dynamicDimensionFilter'] = self.dynamic_dimension_filter.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDimensionFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "staticDimensionFilter": ServicingStaticDimensionFilterDTO.from_dict(obj["staticDimensionFilter"]) if obj.get("staticDimensionFilter") is not None else None, - "dynamicDimensionFilter": ServicingDynamicDimensionFilterDTO.from_dict(obj["dynamicDimensionFilter"]) if obj.get("dynamicDimensionFilter") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_job_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_job_config_dto.py deleted file mode 100644 index 6765df2eb2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_job_config_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDirectDataJobConfigDTO(BaseModel): - """ - Whether the direct data intake job is a primary job or a supplemental job. - """ # noqa: E501 - supplemental_mode: Optional[StrictStr] = Field(default=None, description="The configuration for the processing job as a primary job (default) or a supplemental job. If a primary job is already defined, the direct data intake job must be supplemental. The valid values are `IS_PRIMARY`, `IS_SUPPLEMENTAL`, and `UNCHANGED`.", alias="supplementalMode") - extend_objects: Optional[List[StrictStr]] = Field(default=None, description="The target analytic objects to load using extension tables. You can extend objects if the job type is supplemental and the target objects already contain data from a previous data version. This allows you to load data for objects that already contain data in Visier.", alias="extendObjects") - __properties: ClassVar[List[str]] = ["supplementalMode", "extendObjects"] - - @field_validator('supplemental_mode') - def supplemental_mode_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['UNCHANGED', 'IS_PRIMARY', 'IS_SUPPLEMENTAL']): - raise ValueError("must be one of enum values ('UNCHANGED', 'IS_PRIMARY', 'IS_SUPPLEMENTAL')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDirectDataJobConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDirectDataJobConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "supplementalMode": obj.get("supplementalMode"), - "extendObjects": obj.get("extendObjects") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_job_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_job_status_response_dto.py deleted file mode 100644 index 326f602e04..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_job_status_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDirectDataJobStatusResponseDTO(BaseModel): - """ - The job status information for a committed transaction. - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant for the data load.", alias="tenantCode") - transaction_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the committed transaction.", alias="transactionId") - job_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the processing job.", alias="jobId") - status: Optional[StrictStr] = Field(default=None, description="The status of the processing job.") - message: Optional[StrictStr] = Field(default=None, description="If the processing job fails, this field contains details specific to the failure.") - __properties: ClassVar[List[str]] = ["tenantCode", "transactionId", "jobId", "status", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDirectDataJobStatusResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDirectDataJobStatusResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "transactionId": obj.get("transactionId"), - "jobId": obj.get("jobId"), - "status": obj.get("status"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_list_transactions_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_list_transactions_response_dto.py deleted file mode 100644 index 733645716d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_list_transactions_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_direct_data_transaction_dto import ServicingDirectDataTransactionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDirectDataListTransactionsResponseDTO(BaseModel): - """ - A list of all currently open transactions. - """ # noqa: E501 - transactions: Optional[List[ServicingDirectDataTransactionDTO]] = Field(default=None, description="The list of open transactions.") - __properties: ClassVar[List[str]] = ["transactions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDirectDataListTransactionsResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in transactions (list) - _items = [] - if self.transactions: - for _item_transactions in self.transactions: - if _item_transactions: - _items.append(_item_transactions.to_dict()) - _dict['transactions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDirectDataListTransactionsResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "transactions": [ServicingDirectDataTransactionDTO.from_dict(_item) for _item in obj["transactions"]] if obj.get("transactions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_load_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_load_config_dto.py deleted file mode 100644 index fa95e1a90f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_load_config_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_direct_data_job_config_dto import ServicingDirectDataJobConfigDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDirectDataLoadConfigDTO(BaseModel): - """ - The configuration for the direct data intake, such as the direct data intake job type. - """ # noqa: E501 - job: Optional[ServicingDirectDataJobConfigDTO] = Field(default=None, description="The direct data intake job configuration.") - __properties: ClassVar[List[str]] = ["job"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDirectDataLoadConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of job - if self.job: - _dict['job'] = self.job.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDirectDataLoadConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "job": ServicingDirectDataJobConfigDTO.from_dict(obj["job"]) if obj.get("job") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_schema_dto.py deleted file mode 100644 index 8d310ac182..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_schema_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_direct_data_schema_field_dto import ServicingDirectDataSchemaFieldDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDirectDataSchemaDTO(BaseModel): - """ - Public API Direct Intake schema response object - """ # noqa: E501 - var_schema: Optional[List[ServicingDirectDataSchemaFieldDTO]] = Field(default=None, description="The schema definition for loading a specific object", alias="schema") - __properties: ClassVar[List[str]] = ["schema"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDirectDataSchemaDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in var_schema (list) - _items = [] - if self.var_schema: - for _item_var_schema in self.var_schema: - if _item_var_schema: - _items.append(_item_var_schema.to_dict()) - _dict['schema'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDirectDataSchemaDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "schema": [ServicingDirectDataSchemaFieldDTO.from_dict(_item) for _item in obj["schema"]] if obj.get("schema") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_schema_field_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_schema_field_dto.py deleted file mode 100644 index 5bf37ffe5f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_schema_field_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDirectDataSchemaFieldDTO(BaseModel): - """ - The definition of each field in an object's schema. - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The field's column name. Column names are case sensitive.") - data_type: Optional[StrictStr] = Field(default=None, description="The column's data type.", alias="dataType") - formats: Optional[List[StrictStr]] = Field(default=None, description="The column's accepted formats, such as date formats like \"yyyy-MM-dd\".") - is_mandatory: Optional[StrictBool] = Field(default=None, description="If true, the field must contain a value to successfully load data into the object.", alias="isMandatory") - empty_values_allowed: Optional[StrictBool] = Field(default=None, description="If true, the value may be empty.", alias="emptyValuesAllowed") - __properties: ClassVar[List[str]] = ["name", "dataType", "formats", "isMandatory", "emptyValuesAllowed"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDirectDataSchemaFieldDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDirectDataSchemaFieldDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name"), - "dataType": obj.get("dataType"), - "formats": obj.get("formats"), - "isMandatory": obj.get("isMandatory"), - "emptyValuesAllowed": obj.get("emptyValuesAllowed") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_transaction_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_transaction_dto.py deleted file mode 100644 index 6f2bba4b46..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_transaction_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDirectDataTransactionDTO(BaseModel): - """ - An open transaction. - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant for the data load.", alias="tenantCode") - transaction_id: Optional[StrictStr] = Field(default=None, description="The transaction's unique identifier.", alias="transactionId") - created: Optional[StrictStr] = Field(default=None, description="The transaction's creation date and time. The format is YYYY-MM-DDTHH:mm:ss.SSSZ (ISO 8601).") - updated: Optional[StrictStr] = Field(default=None, description="The transaction's last update date and time. The format is YYYY-MM-DDTHH:mm:ss.SSSZ (ISO 8601).") - status: Optional[StrictStr] = Field(default=None, description="The status of the transaction, such as open, progressing, or committed.") - __properties: ClassVar[List[str]] = ["tenantCode", "transactionId", "created", "updated", "status"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDirectDataTransactionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDirectDataTransactionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "transactionId": obj.get("transactionId"), - "created": obj.get("created"), - "updated": obj.get("updated"), - "status": obj.get("status") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_transaction_start_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_transaction_start_response_dto.py deleted file mode 100644 index e01cc9487d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_transaction_start_response_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDirectDataTransactionStartResponseDTO(BaseModel): - """ - The response after successfully creating a transaction. - """ # noqa: E501 - transaction_id: Optional[StrictStr] = Field(default=None, description="The transaction's unique identifier.", alias="transactionId") - __properties: ClassVar[List[str]] = ["transactionId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDirectDataTransactionStartResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDirectDataTransactionStartResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "transactionId": obj.get("transactionId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_document_search_link_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_document_search_link_dto.py deleted file mode 100644 index 008e14086d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_document_search_link_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDocumentSearchLinkDTO(BaseModel): - """ - Defines the attributes of a web request to reference documents in the search results. - """ # noqa: E501 - href: Optional[StrictStr] = Field(default=None, description="The URL pointing to the specific document.") - verb: Optional[StrictStr] = Field(default=None, description="The verb to use when formulating the web request. This is commonly `GET`.") - __properties: ClassVar[List[str]] = ["href", "verb"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDocumentSearchLinkDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDocumentSearchLinkDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "href": obj.get("href"), - "verb": obj.get("verb") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dynamic_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dynamic_dimension_filter_dto.py deleted file mode 100644 index a31564d4b1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dynamic_dimension_filter_dto.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_dynamic_property_mapping_dto import ServicingDynamicPropertyMappingDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDynamicDimensionFilterDTO(BaseModel): - """ - ServicingDynamicDimensionFilterDTO - """ # noqa: E501 - dimension_id: Optional[StrictStr] = Field(default=None, description="The dimension ID associated with the filter.", alias="dimensionId") - subject_reference_path: Optional[List[StrictStr]] = Field(default=None, description="The subject reference path.", alias="subjectReferencePath") - dynamic_property_mappings: Optional[List[ServicingDynamicPropertyMappingDTO]] = Field(default=None, description="The properties assigned population access in the dynamic filter.", alias="dynamicPropertyMappings") - dimension_status: Optional[StrictStr] = Field(default=None, description="The dimension's validity status. Valid values: Valid, NoData, NotFound. * **Valid**: The object exists and has loaded data. * **NoData**: The object exists but doesn't have loaded data. * **NotFound**: The object doesn't exist.", alias="dimensionStatus") - __properties: ClassVar[List[str]] = ["dimensionId", "subjectReferencePath", "dynamicPropertyMappings", "dimensionStatus"] - - @field_validator('dimension_status') - def dimension_status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): - raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDynamicDimensionFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dynamic_property_mappings (list) - _items = [] - if self.dynamic_property_mappings: - for _item_dynamic_property_mappings in self.dynamic_property_mappings: - if _item_dynamic_property_mappings: - _items.append(_item_dynamic_property_mappings.to_dict()) - _dict['dynamicPropertyMappings'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDynamicDimensionFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionId": obj.get("dimensionId"), - "subjectReferencePath": obj.get("subjectReferencePath"), - "dynamicPropertyMappings": [ServicingDynamicPropertyMappingDTO.from_dict(_item) for _item in obj["dynamicPropertyMappings"]] if obj.get("dynamicPropertyMappings") is not None else None, - "dimensionStatus": obj.get("dimensionStatus") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dynamic_property_mapping_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dynamic_property_mapping_dto.py deleted file mode 100644 index 6f4924d38a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_dynamic_property_mapping_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_user_property_dto import ServicingUserPropertyDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingDynamicPropertyMappingDTO(BaseModel): - """ - ServicingDynamicPropertyMappingDTO - """ # noqa: E501 - hierarchy_property_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the property.", alias="hierarchyPropertyId") - user_property: Optional[ServicingUserPropertyDTO] = Field(default=None, description="The user property that you want to link the name property or organization head to.", alias="userProperty") - hierarchy_property_status: Optional[StrictStr] = Field(default=None, description="The property's validity status. Valid values: `Valid`, `NotFound`. * **Valid**: The object exists and has loaded data. * **NotFound**: The object doesn't exist.", alias="hierarchyPropertyStatus") - __properties: ClassVar[List[str]] = ["hierarchyPropertyId", "userProperty", "hierarchyPropertyStatus"] - - @field_validator('hierarchy_property_status') - def hierarchy_property_status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): - raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingDynamicPropertyMappingDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of user_property - if self.user_property: - _dict['userProperty'] = self.user_property.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingDynamicPropertyMappingDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "hierarchyPropertyId": obj.get("hierarchyPropertyId"), - "userProperty": ServicingUserPropertyDTO.from_dict(obj["userProperty"]) if obj.get("userProperty") is not None else None, - "hierarchyPropertyStatus": obj.get("hierarchyPropertyStatus") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_error_dto.py deleted file mode 100644 index b5d988fd06..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_error_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingErrorDTO(BaseModel): - """ - ServicingErrorDTO - """ # noqa: E501 - root_cause_id: Optional[StrictStr] = Field(default=None, description="The root cause identifier that allows Visier to determine the source of the problem.", alias="rootCauseId") - error_code: Optional[StrictStr] = Field(default=None, description="A brief identifier of the type of error.", alias="errorCode") - error_message: Optional[StrictStr] = Field(default=None, description="A description of the error that occurred.", alias="errorMessage") - __properties: ClassVar[List[str]] = ["rootCauseId", "errorCode", "errorMessage"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "rootCauseId": obj.get("rootCauseId"), - "errorCode": obj.get("errorCode"), - "errorMessage": obj.get("errorMessage") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_export_production_versions_api_operation_parameters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_export_production_versions_api_operation_parameters_dto.py deleted file mode 100644 index 094e77e448..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_export_production_versions_api_operation_parameters_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingExportProductionVersionsAPIOperationParametersDTO(BaseModel): - """ - ServicingExportProductionVersionsAPIOperationParametersDTO - """ # noqa: E501 - start_version: Optional[StrictStr] = Field(default=None, description="The unique identifier of the version to start exporting versions from. The range is inclusive.", alias="startVersion") - end_version: Optional[StrictStr] = Field(default=None, description="The unique identifier of the version to stop exporting versions at. The range is inclusive.", alias="endVersion") - excluded_versions: Optional[List[StrictStr]] = Field(default=None, description="A list of versions between `startVersion` and `endVersion` to exclude.", alias="excludedVersions") - __properties: ClassVar[List[str]] = ["startVersion", "endVersion", "excludedVersions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingExportProductionVersionsAPIOperationParametersDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingExportProductionVersionsAPIOperationParametersDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "startVersion": obj.get("startVersion"), - "endVersion": obj.get("endVersion"), - "excludedVersions": obj.get("excludedVersions") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_accessible_tenant_profile_assignment_dto.py deleted file mode 100644 index 989a79117f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_accessible_tenant_profile_assignment_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_error_dto import ServicingErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingFailedAccessibleTenantProfileAssignmentDTO(BaseModel): - """ - ServicingFailedAccessibleTenantProfileAssignmentDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The impacted user ID.", alias="userId") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") - for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the target assignment is for all analytic tenants.", alias="forAllChildren") - error: Optional[ServicingErrorDTO] = Field(default=None, description="The details about the error.") - __properties: ClassVar[List[str]] = ["userId", "tenantCode", "forAllChildren", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingFailedAccessibleTenantProfileAssignmentDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingFailedAccessibleTenantProfileAssignmentDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "tenantCode": obj.get("tenantCode"), - "forAllChildren": obj.get("forAllChildren"), - "error": ServicingErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_local_tenant_profile_assignment_dto.py deleted file mode 100644 index c0e2fb3b79..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_local_tenant_profile_assignment_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_error_dto import ServicingErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingFailedLocalTenantProfileAssignmentDTO(BaseModel): - """ - ServicingFailedLocalTenantProfileAssignmentDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The impacted user ID.", alias="userId") - error: Optional[ServicingErrorDTO] = Field(default=None, description="The details about the error.") - __properties: ClassVar[List[str]] = ["userId", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingFailedLocalTenantProfileAssignmentDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingFailedLocalTenantProfileAssignmentDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "error": ServicingErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_local_tenant_profile_revoke_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_local_tenant_profile_revoke_dto.py deleted file mode 100644 index 80dc122113..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_failed_local_tenant_profile_revoke_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingFailedLocalTenantProfileRevokeDTO(BaseModel): - """ - ServicingFailedLocalTenantProfileRevokeDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The impacted user ID.", alias="userId") - message: Optional[StrictStr] = Field(default=None, description="The details about the error.") - __properties: ClassVar[List[str]] = ["userId", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingFailedLocalTenantProfileRevokeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingFailedLocalTenantProfileRevokeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_capabilities_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_capabilities_api_response_dto.py deleted file mode 100644 index b6a73c2b81..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_capabilities_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_capability_dto import ServicingCapabilityDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingGetCapabilitiesAPIResponseDTO(BaseModel): - """ - ServicingGetCapabilitiesAPIResponseDTO - """ # noqa: E501 - capabilities: Optional[List[ServicingCapabilityDTO]] = Field(default=None, description="A list of objects representing the available capabilities.") - __properties: ClassVar[List[str]] = ["capabilities"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingGetCapabilitiesAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in capabilities (list) - _items = [] - if self.capabilities: - for _item_capabilities in self.capabilities: - if _item_capabilities: - _items.append(_item_capabilities.to_dict()) - _dict['capabilities'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingGetCapabilitiesAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "capabilities": [ServicingCapabilityDTO.from_dict(_item) for _item in obj["capabilities"]] if obj.get("capabilities") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_content_packages_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_content_packages_api_response_dto.py deleted file mode 100644 index 6f9288875a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_content_packages_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_content_package_dto import ServicingContentPackageDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingGetContentPackagesAPIResponseDTO(BaseModel): - """ - ServicingGetContentPackagesAPIResponseDTO - """ # noqa: E501 - content_packages: Optional[List[ServicingContentPackageDTO]] = Field(default=None, description="A list of objects representing the available content packages.", alias="contentPackages") - __properties: ClassVar[List[str]] = ["contentPackages"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingGetContentPackagesAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in content_packages (list) - _items = [] - if self.content_packages: - for _item_content_packages in self.content_packages: - if _item_content_packages: - _items.append(_item_content_packages.to_dict()) - _dict['contentPackages'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingGetContentPackagesAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "contentPackages": [ServicingContentPackageDTO.from_dict(_item) for _item in obj["contentPackages"]] if obj.get("contentPackages") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_data_access_sets_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_data_access_sets_api_response_dto.py deleted file mode 100644 index 8bebaa322d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_data_access_sets_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_data_access_set_dto import ServicingDataAccessSetDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingGetDataAccessSetsAPIResponseDTO(BaseModel): - """ - ServicingGetDataAccessSetsAPIResponseDTO - """ # noqa: E501 - data_access_sets: Optional[List[ServicingDataAccessSetDTO]] = Field(default=None, description="A list of objects representing the shareable data access sets.", alias="dataAccessSets") - __properties: ClassVar[List[str]] = ["dataAccessSets"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingGetDataAccessSetsAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_access_sets (list) - _items = [] - if self.data_access_sets: - for _item_data_access_sets in self.data_access_sets: - if _item_data_access_sets: - _items.append(_item_data_access_sets.to_dict()) - _dict['dataAccessSets'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingGetDataAccessSetsAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataAccessSets": [ServicingDataAccessSetDTO.from_dict(_item) for _item in obj["dataAccessSets"]] if obj.get("dataAccessSets") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_data_security_objects_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_data_security_objects_api_response_dto.py deleted file mode 100644 index 6c08887c2d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_data_security_objects_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_analytic_object_dto import ServicingAnalyticObjectDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingGetDataSecurityObjectsAPIResponseDTO(BaseModel): - """ - ServicingGetDataSecurityObjectsAPIResponseDTO - """ # noqa: E501 - analytic_objects: Optional[List[ServicingAnalyticObjectDTO]] = Field(default=None, description="A list of analytic objects and their related objects that are available to define data access to.", alias="analyticObjects") - __properties: ClassVar[List[str]] = ["analyticObjects"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingGetDataSecurityObjectsAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) - _items = [] - if self.analytic_objects: - for _item_analytic_objects in self.analytic_objects: - if _item_analytic_objects: - _items.append(_item_analytic_objects.to_dict()) - _dict['analyticObjects'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingGetDataSecurityObjectsAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjects": [ServicingAnalyticObjectDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_permissions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_permissions_api_response_dto.py deleted file mode 100644 index aeb1fb2497..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_permissions_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_permission_dto import ServicingPermissionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingGetPermissionsAPIResponseDTO(BaseModel): - """ - List of available permissions - """ # noqa: E501 - permissions: Optional[List[ServicingPermissionDTO]] = Field(default=None, description="A list of objects representing the available permissions.") - __properties: ClassVar[List[str]] = ["permissions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingGetPermissionsAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) - _items = [] - if self.permissions: - for _item_permissions in self.permissions: - if _item_permissions: - _items.append(_item_permissions.to_dict()) - _dict['permissions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingGetPermissionsAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissions": [ServicingPermissionDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_production_versions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_production_versions_api_response_dto.py deleted file mode 100644 index 9d7f8d67e3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_production_versions_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingGetProductionVersionsAPIResponseDTO(BaseModel): - """ - ServicingGetProductionVersionsAPIResponseDTO - """ # noqa: E501 - published_versions: Optional[List[ServicingProjectDTO]] = Field(default=None, description="A list of projects that were published to production.", alias="publishedVersions") - __properties: ClassVar[List[str]] = ["publishedVersions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingGetProductionVersionsAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in published_versions (list) - _items = [] - if self.published_versions: - for _item_published_versions in self.published_versions: - if _item_published_versions: - _items.append(_item_published_versions.to_dict()) - _dict['publishedVersions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingGetProductionVersionsAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "publishedVersions": [ServicingProjectDTO.from_dict(_item) for _item in obj["publishedVersions"]] if obj.get("publishedVersions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_projects_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_projects_api_response_dto.py deleted file mode 100644 index a8aa536c8a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_get_projects_api_response_dto.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingGetProjectsAPIResponseDTO(BaseModel): - """ - ServicingGetProjectsAPIResponseDTO - """ # noqa: E501 - open_projects: Optional[List[ServicingProjectDTO]] = Field(default=None, description="A list of objects representing the accessible open projects for the user.", alias="openProjects") - approval_projects: Optional[List[ServicingProjectDTO]] = Field(default=None, description="A list of objects representing the accessible approval projects for the user.", alias="approvalProjects") - rejected_projects: Optional[List[ServicingProjectDTO]] = Field(default=None, description="A list of objects representing the accessible rejected projects for the user.", alias="rejectedProjects") - archived_projects: Optional[List[ServicingProjectDTO]] = Field(default=None, description="A list of objects representing the accessible archived projects for the user.", alias="archivedProjects") - __properties: ClassVar[List[str]] = ["openProjects", "approvalProjects", "rejectedProjects", "archivedProjects"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingGetProjectsAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in open_projects (list) - _items = [] - if self.open_projects: - for _item_open_projects in self.open_projects: - if _item_open_projects: - _items.append(_item_open_projects.to_dict()) - _dict['openProjects'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in approval_projects (list) - _items = [] - if self.approval_projects: - for _item_approval_projects in self.approval_projects: - if _item_approval_projects: - _items.append(_item_approval_projects.to_dict()) - _dict['approvalProjects'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in rejected_projects (list) - _items = [] - if self.rejected_projects: - for _item_rejected_projects in self.rejected_projects: - if _item_rejected_projects: - _items.append(_item_rejected_projects.to_dict()) - _dict['rejectedProjects'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in archived_projects (list) - _items = [] - if self.archived_projects: - for _item_archived_projects in self.archived_projects: - if _item_archived_projects: - _items.append(_item_archived_projects.to_dict()) - _dict['archivedProjects'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingGetProjectsAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "openProjects": [ServicingProjectDTO.from_dict(_item) for _item in obj["openProjects"]] if obj.get("openProjects") is not None else None, - "approvalProjects": [ServicingProjectDTO.from_dict(_item) for _item in obj["approvalProjects"]] if obj.get("approvalProjects") is not None else None, - "rejectedProjects": [ServicingProjectDTO.from_dict(_item) for _item in obj["rejectedProjects"]] if obj.get("rejectedProjects") is not None else None, - "archivedProjects": [ServicingProjectDTO.from_dict(_item) for _item in obj["archivedProjects"]] if obj.get("archivedProjects") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_hierarchy_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_hierarchy_property_dto.py deleted file mode 100644 index 59ef00f166..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_hierarchy_property_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingHierarchyPropertyDTO(BaseModel): - """ - ServicingHierarchyPropertyDTO - """ # noqa: E501 - hierarchy_property_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the property.", alias="hierarchyPropertyId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable property name to display in Visier, such as \"Name Property\".", alias="displayName") - __properties: ClassVar[List[str]] = ["hierarchyPropertyId", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingHierarchyPropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingHierarchyPropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "hierarchyPropertyId": obj.get("hierarchyPropertyId"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_inherited_access_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_inherited_access_config_dto.py deleted file mode 100644 index af5ec9bc3a..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_inherited_access_config_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_member_filter_config_dto import ServicingMemberFilterConfigDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingInheritedAccessConfigDTO(BaseModel): - """ - ServicingInheritedAccessConfigDTO - """ # noqa: E501 - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The analytic object ID associated with the inherited access configuration.", alias="analyticObjectId") - remove_access: Optional[StrictBool] = Field(default=None, description="The flag for removing access to the inherited analytic object.", alias="removeAccess") - member_filter_configs: Optional[List[ServicingMemberFilterConfigDTO]] = Field(default=None, description="Custom filters that define population access for an inherited analytic object in the permission.", alias="memberFilterConfigs") - __properties: ClassVar[List[str]] = ["analyticObjectId", "removeAccess", "memberFilterConfigs"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingInheritedAccessConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in member_filter_configs (list) - _items = [] - if self.member_filter_configs: - for _item_member_filter_configs in self.member_filter_configs: - if _item_member_filter_configs: - _items.append(_item_member_filter_configs.to_dict()) - _dict['memberFilterConfigs'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingInheritedAccessConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjectId": obj.get("analyticObjectId"), - "removeAccess": obj.get("removeAccess"), - "memberFilterConfigs": [ServicingMemberFilterConfigDTO.from_dict(_item) for _item in obj["memberFilterConfigs"]] if obj.get("memberFilterConfigs") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_inherited_reference_member_filter_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_inherited_reference_member_filter_config_dto.py deleted file mode 100644 index fbf8d8bfea..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_inherited_reference_member_filter_config_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingInheritedReferenceMemberFilterConfigDTO(BaseModel): - """ - ServicingInheritedReferenceMemberFilterConfigDTO - """ # noqa: E501 - target_analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object that the source analytic object should inherit filters from. The target analytic object must have a binding (strong) reference from the source analytic object.", alias="targetAnalyticObjectId") - analytic_object_reference: Optional[StrictStr] = Field(default=None, description="The optional object name of a binding (strong) reference to the target analytic object. If not specified, uses the first binding reference from the source to the target analytic object.", alias="analyticObjectReference") - __properties: ClassVar[List[str]] = ["targetAnalyticObjectId", "analyticObjectReference"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingInheritedReferenceMemberFilterConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingInheritedReferenceMemberFilterConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "targetAnalyticObjectId": obj.get("targetAnalyticObjectId"), - "analyticObjectReference": obj.get("analyticObjectReference") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_job_id_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_job_id_response.py deleted file mode 100644 index 015062a062..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_job_id_response.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingJobIdResponse(BaseModel): - """ - The unique identifier of the returned job. - """ # noqa: E501 - job_id: Optional[StrictStr] = Field(default=None, alias="jobId") - __properties: ClassVar[List[str]] = ["jobId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingJobIdResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingJobIdResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "jobId": obj.get("jobId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_last_login_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_last_login_dto.py deleted file mode 100644 index bb538710ff..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_last_login_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingLastLoginDTO(BaseModel): - """ - ServicingLastLoginDTO - """ # noqa: E501 - timestamp: Optional[StrictStr] = Field(default=None, description="The time that the user last logged into Visier.") - __properties: ClassVar[List[str]] = ["timestamp"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingLastLoginDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingLastLoginDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "timestamp": obj.get("timestamp") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_assignment_request_dto.py deleted file mode 100644 index 6f5087ad72..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_assignment_request_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingLocalTenantProfileAssignmentRequestDTO(BaseModel): - """ - ServicingLocalTenantProfileAssignmentRequestDTO - """ # noqa: E501 - target_user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of users to assign this profile.", alias="targetUserIds") - validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active.", alias="validityStartTime") - validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active.", alias="validityEndTime") - __properties: ClassVar[List[str]] = ["targetUserIds", "validityStartTime", "validityEndTime"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingLocalTenantProfileAssignmentRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingLocalTenantProfileAssignmentRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "targetUserIds": obj.get("targetUserIds"), - "validityStartTime": obj.get("validityStartTime"), - "validityEndTime": obj.get("validityEndTime") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_assignment_response_dto.py deleted file mode 100644 index 39f3d2dff8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_assignment_response_dto.py +++ /dev/null @@ -1,118 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_failed_local_tenant_profile_assignment_dto import ServicingFailedLocalTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_successful_local_tenant_profile_assignment_dto import ServicingSuccessfulLocalTenantProfileAssignmentDTO -from visier_platform_sdk.models.servicing_user_id_error_dto import ServicingUserIdErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingLocalTenantProfileAssignmentResponseDTO(BaseModel): - """ - ServicingLocalTenantProfileAssignmentResponseDTO - """ # noqa: E501 - errors: Optional[StrictBool] = Field(default=None, description="If true, an error was generated by the request.") - bad_user_ids: Optional[List[ServicingUserIdErrorDTO]] = Field(default=None, description="A list of objects representing the user IDs that may not be valid.", alias="badUserIds") - failed_assignments: Optional[List[ServicingFailedLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of objects representing any errors that occurred during the assignment operation.", alias="failedAssignments") - successful_assignments: Optional[List[ServicingSuccessfulLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of the user IDs that were successfully assigned the profile.", alias="successfulAssignments") - __properties: ClassVar[List[str]] = ["errors", "badUserIds", "failedAssignments", "successfulAssignments"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingLocalTenantProfileAssignmentResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in bad_user_ids (list) - _items = [] - if self.bad_user_ids: - for _item_bad_user_ids in self.bad_user_ids: - if _item_bad_user_ids: - _items.append(_item_bad_user_ids.to_dict()) - _dict['badUserIds'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failed_assignments (list) - _items = [] - if self.failed_assignments: - for _item_failed_assignments in self.failed_assignments: - if _item_failed_assignments: - _items.append(_item_failed_assignments.to_dict()) - _dict['failedAssignments'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in successful_assignments (list) - _items = [] - if self.successful_assignments: - for _item_successful_assignments in self.successful_assignments: - if _item_successful_assignments: - _items.append(_item_successful_assignments.to_dict()) - _dict['successfulAssignments'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingLocalTenantProfileAssignmentResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "errors": obj.get("errors"), - "badUserIds": [ServicingUserIdErrorDTO.from_dict(_item) for _item in obj["badUserIds"]] if obj.get("badUserIds") is not None else None, - "failedAssignments": [ServicingFailedLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["failedAssignments"]] if obj.get("failedAssignments") is not None else None, - "successfulAssignments": [ServicingSuccessfulLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["successfulAssignments"]] if obj.get("successfulAssignments") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_revoke_request_dto.py deleted file mode 100644 index 5395534575..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_revoke_request_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingLocalTenantProfileRevokeRequestDTO(BaseModel): - """ - ServicingLocalTenantProfileRevokeRequestDTO - """ # noqa: E501 - target_user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of users to remove this profile from.", alias="targetUserIds") - __properties: ClassVar[List[str]] = ["targetUserIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingLocalTenantProfileRevokeRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingLocalTenantProfileRevokeRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "targetUserIds": obj.get("targetUserIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_revoke_response_dto.py deleted file mode 100644 index e86541a398..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_local_tenant_profile_revoke_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_failed_local_tenant_profile_revoke_dto import ServicingFailedLocalTenantProfileRevokeDTO -from visier_platform_sdk.models.servicing_successful_local_tenant_profile_assignment_dto import ServicingSuccessfulLocalTenantProfileAssignmentDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingLocalTenantProfileRevokeResponseDTO(BaseModel): - """ - ServicingLocalTenantProfileRevokeResponseDTO - """ # noqa: E501 - failed: Optional[List[ServicingFailedLocalTenantProfileRevokeDTO]] = Field(default=None, description="A list of objects representing any errors that occurred during the assignment operation.") - succeeded: Optional[List[ServicingSuccessfulLocalTenantProfileAssignmentDTO]] = Field(default=None, description="A list of the user IDs that successfully had a profile removed.") - __properties: ClassVar[List[str]] = ["failed", "succeeded"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingLocalTenantProfileRevokeResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in failed (list) - _items = [] - if self.failed: - for _item_failed in self.failed: - if _item_failed: - _items.append(_item_failed.to_dict()) - _dict['failed'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in succeeded (list) - _items = [] - if self.succeeded: - for _item_succeeded in self.succeeded: - if _item_succeeded: - _items.append(_item_succeeded.to_dict()) - _dict['succeeded'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingLocalTenantProfileRevokeResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "failed": [ServicingFailedLocalTenantProfileRevokeDTO.from_dict(_item) for _item in obj["failed"]] if obj.get("failed") is not None else None, - "succeeded": [ServicingSuccessfulLocalTenantProfileAssignmentDTO.from_dict(_item) for _item in obj["succeeded"]] if obj.get("succeeded") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_member_filter_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_member_filter_config_dto.py deleted file mode 100644 index 16c4e44840..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_member_filter_config_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_dimension_filter_dto import ServicingDimensionFilterDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingMemberFilterConfigDTO(BaseModel): - """ - ServicingMemberFilterConfigDTO - """ # noqa: E501 - dimension_filters: Optional[List[ServicingDimensionFilterDTO]] = Field(default=None, description="A list of objects representing the custom filters that define population access for the item. A custom filter can be a \"member filter\" (`staticDimensionFilter`) or a \"dynamic filter\" (`dynamicDimensionFilter`).", alias="dimensionFilters") - __properties: ClassVar[List[str]] = ["dimensionFilters"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingMemberFilterConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dimension_filters (list) - _items = [] - if self.dimension_filters: - for _item_dimension_filters in self.dimension_filters: - if _item_dimension_filters: - _items.append(_item_dimension_filters.to_dict()) - _dict['dimensionFilters'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingMemberFilterConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionFilters": [ServicingDimensionFilterDTO.from_dict(_item) for _item in obj["dimensionFilters"]] if obj.get("dimensionFilters") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_member_selection_dto.py deleted file mode 100644 index 9b1b9cd927..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_member_selection_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingMemberSelectionDTO(BaseModel): - """ - ServicingMemberSelectionDTO - """ # noqa: E501 - name_path: Optional[List[StrictStr]] = Field(default=None, description="The member name path.", alias="namePath") - excluded: Optional[StrictBool] = Field(default=None, description="If `true`, population access is granted for all members except this member.") - dimension_member_status: Optional[StrictStr] = Field(default=None, description="The dimension member's validity status. Valid values: Valid, NotFound. * **Valid**: The object exists and has loaded data. * **NotFound**: The object doesn't exist.", alias="dimensionMemberStatus") - __properties: ClassVar[List[str]] = ["namePath", "excluded", "dimensionMemberStatus"] - - @field_validator('dimension_member_status') - def dimension_member_status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): - raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingMemberSelectionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingMemberSelectionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "namePath": obj.get("namePath"), - "excluded": obj.get("excluded"), - "dimensionMemberStatus": obj.get("dimensionMemberStatus") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_calculated_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_calculated_property_type_dto.py deleted file mode 100644 index 1610f4af08..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_calculated_property_type_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationCalculatedPropertyTypeDTO(BaseModel): - """ - ServicingObjectconfigurationCalculatedPropertyTypeDTO - """ # noqa: E501 - data_type: Optional[StrictStr] = Field(default=None, description="The data type of the property, such as Categorical, HourDuration, or Ratio.", alias="dataType") - formula: Optional[StrictStr] = Field(default=None, description="The formula used to calculate the property's value, written in Visier Formula Language.") - __properties: ClassVar[List[str]] = ["dataType", "formula"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationCalculatedPropertyTypeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationCalculatedPropertyTypeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataType": obj.get("dataType"), - "formula": obj.get("formula") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dependent_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dependent_dto.py deleted file mode 100644 index 4dc7feca14..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dependent_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationDependentDTO(BaseModel): - """ - Details about a dependent object related to the property to delete. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the dependent object.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the dependent object.", alias="displayName") - object_type: Optional[StrictStr] = Field(default=None, description="The type of dependent object, such as a property or parameter.", alias="objectType") - __properties: ClassVar[List[str]] = ["id", "displayName", "objectType"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationDependentDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationDependentDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "objectType": obj.get("objectType") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definition_dto.py deleted file mode 100644 index d7f3d9498c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definition_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationDimensionChangeDefinitionDTO(BaseModel): - """ - ServicingObjectconfigurationDimensionChangeDefinitionDTO - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The symbol name of the dimension; for example, `Career_Level` or `Employee.Vaccination_Status`") - display_name: Optional[StrictStr] = Field(default=None, description="The user-friendly name for the dimension.", alias="displayName") - short_display_name: Optional[StrictStr] = Field(default=None, description="A shortened version of the display name. If the dimension is visible in the solution experience, this name is displayed in visualization titles.", alias="shortDisplayName") - description: Optional[StrictStr] = Field(default=None, description="A short description of the dimension. Descriptions provide in-context help for your users while working in Visier.") - __properties: ClassVar[List[str]] = ["id", "displayName", "shortDisplayName", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationDimensionChangeDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationDimensionChangeDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "shortDisplayName": obj.get("shortDisplayName"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py deleted file mode 100644 index 085e9ccce1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_dimension_change_definition_dto import ServicingObjectconfigurationDimensionChangeDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO(BaseModel): - """ - ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the tenant in which to update dimensions.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="To make changes in a project, specify a project ID.", alias="projectId") - dimensions: Optional[List[ServicingObjectconfigurationDimensionChangeDefinitionDTO]] = Field(default=None, description="The list of dimensions to update.") - __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "dimensions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dimensions (list) - _items = [] - if self.dimensions: - for _item_dimensions in self.dimensions: - if _item_dimensions: - _items.append(_item_dimensions.to_dict()) - _dict['dimensions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId"), - "dimensions": [ServicingObjectconfigurationDimensionChangeDefinitionDTO.from_dict(_item) for _item in obj["dimensions"]] if obj.get("dimensions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimensions_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimensions_change_definitions_dto.py deleted file mode 100644 index 06b6ad11ba..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_dimensions_change_definitions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto import ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationDimensionsChangeDefinitionsDTO(BaseModel): - """ - ServicingObjectconfigurationDimensionsChangeDefinitionsDTO - """ # noqa: E501 - dimensions_by_tenant: Optional[List[ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO]] = Field(default=None, description="The dimension updates to make in each tenant.", alias="dimensionsByTenant") - __properties: ClassVar[List[str]] = ["dimensionsByTenant"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationDimensionsChangeDefinitionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in dimensions_by_tenant (list) - _items = [] - if self.dimensions_by_tenant: - for _item_dimensions_by_tenant in self.dimensions_by_tenant: - if _item_dimensions_by_tenant: - _items.append(_item_dimensions_by_tenant.to_dict()) - _dict['dimensionsByTenant'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationDimensionsChangeDefinitionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionsByTenant": [ServicingObjectconfigurationDimensionChangeDefinitionsByTenantDTO.from_dict(_item) for _item in obj["dimensionsByTenant"]] if obj.get("dimensionsByTenant") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_object_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_object_change_failure_dto.py deleted file mode 100644 index 8e5be8a6f8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_object_change_failure_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationObjectChangeFailureDTO(BaseModel): - """ - ServicingObjectconfigurationObjectChangeFailureDTO - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The symbol name of the object that was not successfully changed.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the object.", alias="displayName") - message: Optional[StrictStr] = Field(default=None, description="An error message describing the cause of the failure.") - rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the object was not successfully changed in.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project that the object was not successfully changed in.", alias="projectId") - __properties: ClassVar[List[str]] = ["id", "displayName", "message", "rci", "tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationObjectChangeFailureDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationObjectChangeFailureDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "message": obj.get("message"), - "rci": obj.get("rci"), - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_object_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_object_change_success_dto.py deleted file mode 100644 index 1465830c89..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_object_change_success_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationObjectChangeSuccessDTO(BaseModel): - """ - ServicingObjectconfigurationObjectChangeSuccessDTO - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The symbol name of the object that was successfully changed.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the object.", alias="displayName") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the object was changed in.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project that the object was changed in.", alias="projectId") - __properties: ClassVar[List[str]] = ["id", "displayName", "tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationObjectChangeSuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationObjectChangeSuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_objects_bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_objects_bulk_change_response_dto.py deleted file mode 100644 index 64413d21f8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_objects_bulk_change_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_object_change_failure_dto import ServicingObjectconfigurationObjectChangeFailureDTO -from visier_platform_sdk.models.servicing_objectconfiguration_object_change_success_dto import ServicingObjectconfigurationObjectChangeSuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationObjectsBulkChangeResponseDTO(BaseModel): - """ - ServicingObjectconfigurationObjectsBulkChangeResponseDTO - """ # noqa: E501 - successes: Optional[List[ServicingObjectconfigurationObjectChangeSuccessDTO]] = Field(default=None, description="The objects that were successfully changed.") - failures: Optional[List[ServicingObjectconfigurationObjectChangeFailureDTO]] = Field(default=None, description="The objects that were not successfully changed.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationObjectsBulkChangeResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationObjectsBulkChangeResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [ServicingObjectconfigurationObjectChangeSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [ServicingObjectconfigurationObjectChangeFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_properties_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_properties_change_definitions_dto.py deleted file mode 100644 index 4b95f4ba59..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_properties_change_definitions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_property_change_definitions_by_tenant_dto import ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertiesChangeDefinitionsDTO(BaseModel): - """ - ServicingObjectconfigurationPropertiesChangeDefinitionsDTO - """ # noqa: E501 - properties_by_tenant: Optional[List[ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO]] = Field(default=None, description="The property updates to make in each tenant.", alias="propertiesByTenant") - __properties: ClassVar[List[str]] = ["propertiesByTenant"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertiesChangeDefinitionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in properties_by_tenant (list) - _items = [] - if self.properties_by_tenant: - for _item_properties_by_tenant in self.properties_by_tenant: - if _item_properties_by_tenant: - _items.append(_item_properties_by_tenant.to_dict()) - _dict['propertiesByTenant'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertiesChangeDefinitionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "propertiesByTenant": [ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO.from_dict(_item) for _item in obj["propertiesByTenant"]] if obj.get("propertiesByTenant") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_properties_delete_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_properties_delete_definitions_dto.py deleted file mode 100644 index 96ff8ba312..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_properties_delete_definitions_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_definitions_by_tenant_dto import ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO(BaseModel): - """ - Property deletion options. - """ # noqa: E501 - delete_derived_properties: Optional[StrictBool] = Field(default=None, description="If `true`, deletes derived properties along with the properties to delete. Default is `false`.", alias="deleteDerivedProperties") - ignore_property_references: Optional[StrictBool] = Field(default=None, description="If `true`, ignores properties that reference the properties to delete. Default is `false`.", alias="ignorePropertyReferences") - properties_by_tenant: Optional[List[ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO]] = Field(default=None, description="The properties to delete for each tenant.", alias="propertiesByTenant") - __properties: ClassVar[List[str]] = ["deleteDerivedProperties", "ignorePropertyReferences", "propertiesByTenant"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in properties_by_tenant (list) - _items = [] - if self.properties_by_tenant: - for _item_properties_by_tenant in self.properties_by_tenant: - if _item_properties_by_tenant: - _items.append(_item_properties_by_tenant.to_dict()) - _dict['propertiesByTenant'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertiesDeleteDefinitionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "deleteDerivedProperties": obj.get("deleteDerivedProperties"), - "ignorePropertyReferences": obj.get("ignorePropertyReferences"), - "propertiesByTenant": [ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO.from_dict(_item) for _item in obj["propertiesByTenant"]] if obj.get("propertiesByTenant") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_bulk_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_bulk_delete_response_dto.py deleted file mode 100644 index 89fd15c338..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_bulk_delete_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_failure_dto import ServicingObjectconfigurationPropertyDeleteFailureDTO -from visier_platform_sdk.models.servicing_objectconfiguration_property_delete_success_dto import ServicingObjectconfigurationPropertyDeleteSuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertyBulkDeleteResponseDTO(BaseModel): - """ - Results of a bulk delete operation. - """ # noqa: E501 - successes: Optional[List[ServicingObjectconfigurationPropertyDeleteSuccessDTO]] = Field(default=None, description="Properties that were successfully deleted.") - failures: Optional[List[ServicingObjectconfigurationPropertyDeleteFailureDTO]] = Field(default=None, description="Properties that were not successfully deleted.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyBulkDeleteResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyBulkDeleteResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [ServicingObjectconfigurationPropertyDeleteSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [ServicingObjectconfigurationPropertyDeleteFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_change_definition_dto.py deleted file mode 100644 index 3e7afb60dc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_change_definition_dto.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_property_type_dto import ServicingObjectconfigurationPropertyTypeDTO -from visier_platform_sdk.models.servicing_objectconfiguration_tags_dto import ServicingObjectconfigurationTagsDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertyChangeDefinitionDTO(BaseModel): - """ - ServicingObjectconfigurationPropertyChangeDefinitionDTO - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The symbol name of the property; for example, Employee.Birth_Date") - display_name: Optional[StrictStr] = Field(default=None, description="The user-friendly name for the property.", alias="displayName") - short_display_name: Optional[StrictStr] = Field(default=None, description="A shortened version of the display name. If the property is visible in the solution experience, this name is displayed in visualization titles.", alias="shortDisplayName") - description: Optional[StrictStr] = Field(default=None, description="A short description of the property. Descriptions provide in-context help for your users while working in Visier.") - explanation: Optional[StrictStr] = Field(default=None, description="Explanation of the property. This field is used to provide additional information about the property.") - designer_notes: Optional[StrictStr] = Field(default=None, description="Notes for the designer. This field is used to provide additional information about the property.", alias="designerNotes") - type: Optional[ServicingObjectconfigurationPropertyTypeDTO] = Field(default=None, description="The type of the property.") - tags: Optional[ServicingObjectconfigurationTagsDTO] = Field(default=None, description="The tags associated with the property.") - include_with_vee: Optional[StrictBool] = Field(default=None, description="If 'true', the property is included with Vee.", alias="includeWithVee") - __properties: ClassVar[List[str]] = ["id", "displayName", "shortDisplayName", "description", "explanation", "designerNotes", "type", "tags", "includeWithVee"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyChangeDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of type - if self.type: - _dict['type'] = self.type.to_dict() - # override the default output from pydantic by calling `to_dict()` of tags - if self.tags: - _dict['tags'] = self.tags.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyChangeDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "shortDisplayName": obj.get("shortDisplayName"), - "description": obj.get("description"), - "explanation": obj.get("explanation"), - "designerNotes": obj.get("designerNotes"), - "type": ServicingObjectconfigurationPropertyTypeDTO.from_dict(obj["type"]) if obj.get("type") is not None else None, - "tags": ServicingObjectconfigurationTagsDTO.from_dict(obj["tags"]) if obj.get("tags") is not None else None, - "includeWithVee": obj.get("includeWithVee") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py deleted file mode 100644 index 75abcc5d71..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_property_change_definition_dto import ServicingObjectconfigurationPropertyChangeDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO(BaseModel): - """ - ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the tenant in which to update properties.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="To make changes in a project, specify a project ID.", alias="projectId") - properties: Optional[List[ServicingObjectconfigurationPropertyChangeDefinitionDTO]] = Field(default=None, description="The list of properties to update.") - __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "properties"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in properties (list) - _items = [] - if self.properties: - for _item_properties in self.properties: - if _item_properties: - _items.append(_item_properties.to_dict()) - _dict['properties'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyChangeDefinitionsByTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId"), - "properties": [ServicingObjectconfigurationPropertyChangeDefinitionDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py deleted file mode 100644 index 39a154963f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO(BaseModel): - """ - The properties to delete for a specific tenant. - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant to delete properties from. Default is the current tenant.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project in which to delete properties. If omitted and the ProjectID request header is not defined, the change is published to production immediately.", alias="projectId") - property_ids: Optional[List[StrictStr]] = Field(default=None, description="The IDs of the properties to delete.", alias="propertyIds") - __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "propertyIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyDeleteDefinitionsByTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId"), - "propertyIds": obj.get("propertyIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_failure_dto.py deleted file mode 100644 index 81b09bb238..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_failure_dto.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_dependent_dto import ServicingObjectconfigurationDependentDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertyDeleteFailureDTO(BaseModel): - """ - Details about a failed property deletion. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the property.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the property.", alias="displayName") - message: Optional[StrictStr] = Field(default=None, description="An error message describing the cause of the failure.") - rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant in which the property wasn't deleted.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project in which the property wasn't deleted.", alias="projectId") - derived_dependents_to_delete: Optional[List[ServicingObjectconfigurationDependentDTO]] = Field(default=None, description="The derived dependents that would have been deleted if the deletion was successful.", alias="derivedDependentsToDelete") - reference_dependents_to_ignore: Optional[List[ServicingObjectconfigurationDependentDTO]] = Field(default=None, description="Dependents that reference this property and could be affected.", alias="referenceDependentsToIgnore") - __properties: ClassVar[List[str]] = ["id", "displayName", "message", "rci", "tenantCode", "projectId", "derivedDependentsToDelete", "referenceDependentsToIgnore"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyDeleteFailureDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in derived_dependents_to_delete (list) - _items = [] - if self.derived_dependents_to_delete: - for _item_derived_dependents_to_delete in self.derived_dependents_to_delete: - if _item_derived_dependents_to_delete: - _items.append(_item_derived_dependents_to_delete.to_dict()) - _dict['derivedDependentsToDelete'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in reference_dependents_to_ignore (list) - _items = [] - if self.reference_dependents_to_ignore: - for _item_reference_dependents_to_ignore in self.reference_dependents_to_ignore: - if _item_reference_dependents_to_ignore: - _items.append(_item_reference_dependents_to_ignore.to_dict()) - _dict['referenceDependentsToIgnore'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyDeleteFailureDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "message": obj.get("message"), - "rci": obj.get("rci"), - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId"), - "derivedDependentsToDelete": [ServicingObjectconfigurationDependentDTO.from_dict(_item) for _item in obj["derivedDependentsToDelete"]] if obj.get("derivedDependentsToDelete") is not None else None, - "referenceDependentsToIgnore": [ServicingObjectconfigurationDependentDTO.from_dict(_item) for _item in obj["referenceDependentsToIgnore"]] if obj.get("referenceDependentsToIgnore") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_success_dto.py deleted file mode 100644 index ce10aa6d54..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_delete_success_dto.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_dependent_dto import ServicingObjectconfigurationDependentDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertyDeleteSuccessDTO(BaseModel): - """ - Details about a successful property deletion. - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the property.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the property.", alias="displayName") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant in which the property was deleted.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project in which the property was deleted.", alias="projectId") - derived_dependents_deleted: Optional[List[ServicingObjectconfigurationDependentDTO]] = Field(default=None, description="The derived dependents that were deleted along with the property.", alias="derivedDependentsDeleted") - reference_dependents_ignored: Optional[List[ServicingObjectconfigurationDependentDTO]] = Field(default=None, description="Dependents that reference the property and were ignored during deletion.", alias="referenceDependentsIgnored") - __properties: ClassVar[List[str]] = ["id", "displayName", "tenantCode", "projectId", "derivedDependentsDeleted", "referenceDependentsIgnored"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyDeleteSuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in derived_dependents_deleted (list) - _items = [] - if self.derived_dependents_deleted: - for _item_derived_dependents_deleted in self.derived_dependents_deleted: - if _item_derived_dependents_deleted: - _items.append(_item_derived_dependents_deleted.to_dict()) - _dict['derivedDependentsDeleted'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in reference_dependents_ignored (list) - _items = [] - if self.reference_dependents_ignored: - for _item_reference_dependents_ignored in self.reference_dependents_ignored: - if _item_reference_dependents_ignored: - _items.append(_item_reference_dependents_ignored.to_dict()) - _dict['referenceDependentsIgnored'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyDeleteSuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "displayName": obj.get("displayName"), - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId"), - "derivedDependentsDeleted": [ServicingObjectconfigurationDependentDTO.from_dict(_item) for _item in obj["derivedDependentsDeleted"]] if obj.get("derivedDependentsDeleted") is not None else None, - "referenceDependentsIgnored": [ServicingObjectconfigurationDependentDTO.from_dict(_item) for _item in obj["referenceDependentsIgnored"]] if obj.get("referenceDependentsIgnored") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_type_dto.py deleted file mode 100644 index e6939a7da4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_property_type_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_objectconfiguration_calculated_property_type_dto import ServicingObjectconfigurationCalculatedPropertyTypeDTO -from visier_platform_sdk.models.servicing_objectconfiguration_simple_property_type_dto import ServicingObjectconfigurationSimplePropertyTypeDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationPropertyTypeDTO(BaseModel): - """ - ServicingObjectconfigurationPropertyTypeDTO - """ # noqa: E501 - simple: Optional[ServicingObjectconfigurationSimplePropertyTypeDTO] = Field(default=None, description="The simple property type, which provides a single value directly from the data.") - calculated: Optional[ServicingObjectconfigurationCalculatedPropertyTypeDTO] = Field(default=None, description="The calculated property type, which derives its value using a formula.") - __properties: ClassVar[List[str]] = ["simple", "calculated"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyTypeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of simple - if self.simple: - _dict['simple'] = self.simple.to_dict() - # override the default output from pydantic by calling `to_dict()` of calculated - if self.calculated: - _dict['calculated'] = self.calculated.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationPropertyTypeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "simple": ServicingObjectconfigurationSimplePropertyTypeDTO.from_dict(obj["simple"]) if obj.get("simple") is not None else None, - "calculated": ServicingObjectconfigurationCalculatedPropertyTypeDTO.from_dict(obj["calculated"]) if obj.get("calculated") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_simple_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_simple_property_type_dto.py deleted file mode 100644 index 5e6994e71d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_simple_property_type_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationSimplePropertyTypeDTO(BaseModel): - """ - ServicingObjectconfigurationSimplePropertyTypeDTO - """ # noqa: E501 - data_type: Optional[StrictStr] = Field(default=None, description="The data type of the property, such as Categorical, HourDuration, or Ratio.", alias="dataType") - __properties: ClassVar[List[str]] = ["dataType"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationSimplePropertyTypeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationSimplePropertyTypeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataType": obj.get("dataType") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_tags_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_tags_dto.py deleted file mode 100644 index 283124d5d8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_objectconfiguration_tags_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingObjectconfigurationTagsDTO(BaseModel): - """ - Wrapper to distinguish between an empty list and a null/unset list. - """ # noqa: E501 - ids: Optional[List[StrictStr]] = Field(default=None, description="The tag ids.") - __properties: ClassVar[List[str]] = ["ids"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationTagsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingObjectconfigurationTagsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "ids": obj.get("ids") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_by_tenant_dto.py deleted file mode 100644 index db603de774..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_by_tenant_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_permission_assigned_user_dto import ServicingPermissionAssignedUserDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionAssignedByTenantDTO(BaseModel): - """ - The users assigned a specific permission, grouped by tenant. - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") - users: Optional[List[ServicingPermissionAssignedUserDTO]] = Field(default=None, description="A list of objects representing the users that the permission is assigned to.") - __properties: ClassVar[List[str]] = ["tenantCode", "users"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionAssignedByTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item_users in self.users: - if _item_users: - _items.append(_item_users.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionAssignedByTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "users": [ServicingPermissionAssignedUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_for_local_tenant_dto.py deleted file mode 100644 index a9ec472a91..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionAssignedForLocalTenantDTO(BaseModel): - """ - ServicingPermissionAssignedForLocalTenantDTO - """ # noqa: E501 - permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="A user-defined description of the permission.") - __properties: ClassVar[List[str]] = ["permissionId", "displayName", "description"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionAssignedForLocalTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionAssignedForLocalTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissionId": obj.get("permissionId"), - "displayName": obj.get("displayName"), - "description": obj.get("description") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_user_dto.py deleted file mode 100644 index 76f34e5f5b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_user_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionAssignedUserDTO(BaseModel): - """ - The user and the method through which the user was assigned the permission. - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") - username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.") - permission_from: Optional[StrictStr] = Field(default=None, description="The method through which the user was assigned the permission. The permission may be assigned through the following options: - User: The permission was directly assigned to the user. - UserGroup: The permission was assigned because the user belongs to a user group that is assigned the permission. - UserAndUserGroup: The permission was directly assigned to the user and assigned because the user belongs to a user group that is assigned the permission.", alias="permissionFrom") - __properties: ClassVar[List[str]] = ["userId", "username", "permissionFrom"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionAssignedUserDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionAssignedUserDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "username": obj.get("username"), - "permissionFrom": obj.get("permissionFrom") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_users_dto.py deleted file mode 100644 index cf1ea21de2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_assigned_users_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_permission_assigned_by_tenant_dto import ServicingPermissionAssignedByTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionAssignedUsersDTO(BaseModel): - """ - Users that are assigned a specific permission. - """ # noqa: E501 - tenants: Optional[List[ServicingPermissionAssignedByTenantDTO]] = Field(default=None, description="A list of objects representing the users that are assigned the specific permission, organized by the tenants the users belong to.") - limit: Optional[StrictInt] = Field(default=None, description="The number of results to return. The maximum number of tenants to retrieve is 100.") - start: Optional[StrictInt] = Field(default=None, description="The index of the tenant to start retrieving results from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionAssignedUsersDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionAssignedUsersDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [ServicingPermissionAssignedByTenantDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_bulk_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_bulk_operation_response_dto.py deleted file mode 100644 index fa477c0635..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_bulk_operation_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_permission_failure_dto import ServicingPermissionFailureDTO -from visier_platform_sdk.models.servicing_permission_success_dto import ServicingPermissionSuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionBulkOperationResponseDTO(BaseModel): - """ - ServicingPermissionBulkOperationResponseDTO - """ # noqa: E501 - successes: Optional[List[ServicingPermissionSuccessDTO]] = Field(default=None, description="The successfully processed permissions.") - failures: Optional[List[ServicingPermissionFailureDTO]] = Field(default=None, description="The permissions that did not process and any relevant error information.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionBulkOperationResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionBulkOperationResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [ServicingPermissionSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [ServicingPermissionFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_dto.py deleted file mode 100644 index 4e572b2b3d..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_dto.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_admin_capability_config_dto import ServicingAdminCapabilityConfigDTO -from visier_platform_sdk.models.servicing_data_security_profile_dto import ServicingDataSecurityProfileDTO -from visier_platform_sdk.models.servicing_role_modules_config_dto import ServicingRoleModulesConfigDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionDTO(BaseModel): - """ - ServicingPermissionDTO - """ # noqa: E501 - permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="A user-defined description of the permission.") - data_security_profiles: Optional[List[ServicingDataSecurityProfileDTO]] = Field(default=None, description="A list of objects representing the data security for each item in a permission.", alias="dataSecurityProfiles") - admin_capability_config: Optional[ServicingAdminCapabilityConfigDTO] = Field(default=None, description="The capabilities assigned in the permission.", alias="adminCapabilityConfig") - role_modules_config: Optional[ServicingRoleModulesConfigDTO] = Field(default=None, description="A list of content packages assigned to the permission.", alias="roleModulesConfig") - __properties: ClassVar[List[str]] = ["permissionId", "displayName", "description", "dataSecurityProfiles", "adminCapabilityConfig", "roleModulesConfig"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in data_security_profiles (list) - _items = [] - if self.data_security_profiles: - for _item_data_security_profiles in self.data_security_profiles: - if _item_data_security_profiles: - _items.append(_item_data_security_profiles.to_dict()) - _dict['dataSecurityProfiles'] = _items - # override the default output from pydantic by calling `to_dict()` of admin_capability_config - if self.admin_capability_config: - _dict['adminCapabilityConfig'] = self.admin_capability_config.to_dict() - # override the default output from pydantic by calling `to_dict()` of role_modules_config - if self.role_modules_config: - _dict['roleModulesConfig'] = self.role_modules_config.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissionId": obj.get("permissionId"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "dataSecurityProfiles": [ServicingDataSecurityProfileDTO.from_dict(_item) for _item in obj["dataSecurityProfiles"]] if obj.get("dataSecurityProfiles") is not None else None, - "adminCapabilityConfig": ServicingAdminCapabilityConfigDTO.from_dict(obj["adminCapabilityConfig"]) if obj.get("adminCapabilityConfig") is not None else None, - "roleModulesConfig": ServicingRoleModulesConfigDTO.from_dict(obj["roleModulesConfig"]) if obj.get("roleModulesConfig") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_error_dto.py deleted file mode 100644 index 976138a41c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_error_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionErrorDTO(BaseModel): - """ - ServicingPermissionErrorDTO - """ # noqa: E501 - message: Optional[StrictStr] = Field(default=None, description="Error message") - rci: Optional[StrictStr] = Field(default=None, description="A root cause identifier that allows Visier to determine the source of the problem.") - __properties: ClassVar[List[str]] = ["message", "rci"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "message": obj.get("message"), - "rci": obj.get("rci") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_failure_dto.py deleted file mode 100644 index 35f9e5d5aa..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_failure_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_permission_error_dto import ServicingPermissionErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionFailureDTO(BaseModel): - """ - ServicingPermissionFailureDTO - """ # noqa: E501 - permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") - error: Optional[ServicingPermissionErrorDTO] = Field(default=None, description="The error associated with the failure.") - __properties: ClassVar[List[str]] = ["permissionId", "displayName", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionFailureDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionFailureDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissionId": obj.get("permissionId"), - "displayName": obj.get("displayName"), - "error": ServicingPermissionErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_success_dto.py deleted file mode 100644 index ddf939c231..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_permission_success_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPermissionSuccessDTO(BaseModel): - """ - ServicingPermissionSuccessDTO - """ # noqa: E501 - permission_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the permission.", alias="permissionId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable permission name to display in Visier, such as \"Diversity Access\".", alias="displayName") - __properties: ClassVar[List[str]] = ["permissionId", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPermissionSuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPermissionSuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "permissionId": obj.get("permissionId"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_version_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_version_api_operation_request_dto.py deleted file mode 100644 index 89a6e014b9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_version_api_operation_request_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProductionVersionAPIOperationRequestDTO(BaseModel): - """ - ServicingProductionVersionAPIOperationRequestDTO - """ # noqa: E501 - operation: Optional[StrictStr] = Field(default=None, description="The operation to perform. Valid values: * `rollBackTo`: Create a project that rolls back the production version to the specified version. The project contains uncommitted changes that reverse the published versions after the target production version.") - __properties: ClassVar[List[str]] = ["operation"] - - @field_validator('operation') - def operation_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['unknownProductionVersionAPIOperation', 'rollBackTo']): - raise ValueError("must be one of enum values ('unknownProductionVersionAPIOperation', 'rollBackTo')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProductionVersionAPIOperationRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProductionVersionAPIOperationRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "operation": obj.get("operation") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_version_api_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_version_api_operation_response_dto.py deleted file mode 100644 index 48272ab39b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_version_api_operation_response_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProductionVersionAPIOperationResponseDTO(BaseModel): - """ - ServicingProductionVersionAPIOperationResponseDTO - """ # noqa: E501 - roll_back_to: Optional[ServicingProjectDTO] = Field(default=None, description="The project created by the `rollBackTo` operation.", alias="rollBackTo") - __properties: ClassVar[List[str]] = ["rollBackTo"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProductionVersionAPIOperationResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of roll_back_to - if self.roll_back_to: - _dict['rollBackTo'] = self.roll_back_to.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProductionVersionAPIOperationResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "rollBackTo": ServicingProjectDTO.from_dict(obj["rollBackTo"]) if obj.get("rollBackTo") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_versions_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_versions_api_operation_request_dto.py deleted file mode 100644 index 9e88e4dfde..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_versions_api_operation_request_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_export_production_versions_api_operation_parameters_dto import ServicingExportProductionVersionsAPIOperationParametersDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProductionVersionsAPIOperationRequestDTO(BaseModel): - """ - ServicingProductionVersionsAPIOperationRequestDTO - """ # noqa: E501 - operation: Optional[StrictStr] = Field(default=None, description="The operation to perform. Valid values: * `export`: Export the project changes of the requested production versions and their related files, such as any Guidebook images. If successful, a ZIP file is returned containing any relevant image files and a JSON file with the production project changes.") - export_parameters: Optional[ServicingExportProductionVersionsAPIOperationParametersDTO] = Field(default=None, description="The parameters for the `export` option, such as the production version to start exporting versions from. Required for `export` operations.", alias="exportParameters") - __properties: ClassVar[List[str]] = ["operation", "exportParameters"] - - @field_validator('operation') - def operation_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['unknownProductionVersionsAPIOperation', 'export']): - raise ValueError("must be one of enum values ('unknownProductionVersionsAPIOperation', 'export')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProductionVersionsAPIOperationRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of export_parameters - if self.export_parameters: - _dict['exportParameters'] = self.export_parameters.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProductionVersionsAPIOperationRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "operation": obj.get("operation"), - "exportParameters": ServicingExportProductionVersionsAPIOperationParametersDTO.from_dict(obj["exportParameters"]) if obj.get("exportParameters") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_versions_api_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_versions_api_operation_response_dto.py deleted file mode 100644 index 98060ba744..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_production_versions_api_operation_response_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProductionVersionsAPIOperationResponseDTO(BaseModel): - """ - ServicingProductionVersionsAPIOperationResponseDTO - """ # noqa: E501 - export: Optional[Dict[str, Any]] = Field(default=None, description="The result of the `export` operation.") - __properties: ClassVar[List[str]] = ["export"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProductionVersionsAPIOperationResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProductionVersionsAPIOperationResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "export": obj.get("export") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_assigned_for_accessible_tenant_dto.py deleted file mode 100644 index 4a1c141037..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_assigned_for_accessible_tenant_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProfileAssignedForAccessibleTenantDTO(BaseModel): - """ - ServicingProfileAssignedForAccessibleTenantDTO - """ # noqa: E501 - profile_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the profile.", alias="profileId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable profile name to display in Visier such as \"Partner Service Manager\".", alias="displayName") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant on which this profile is assigned.", alias="tenantCode") - for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the profile is assigned for all the analytic tenants of the administrating tenant.", alias="forAllChildren") - validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active. Note: Long.Min_Value means that startTime is undefined.", alias="validityStartTime") - validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active. Note: Long.Max_Value means that endTime is undefined and is equivalent to permanent access.", alias="validityEndTime") - __properties: ClassVar[List[str]] = ["profileId", "displayName", "tenantCode", "forAllChildren", "validityStartTime", "validityEndTime"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProfileAssignedForAccessibleTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProfileAssignedForAccessibleTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "profileId": obj.get("profileId"), - "displayName": obj.get("displayName"), - "tenantCode": obj.get("tenantCode"), - "forAllChildren": obj.get("forAllChildren"), - "validityStartTime": obj.get("validityStartTime"), - "validityEndTime": obj.get("validityEndTime") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_assigned_for_local_tenant_dto.py deleted file mode 100644 index ff473c6f18..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_additional_capabilities_dto import ServicingAdditionalCapabilitiesDTO -from visier_platform_sdk.models.servicing_capabilities_dto import ServicingCapabilitiesDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProfileAssignedForLocalTenantDTO(BaseModel): - """ - ServicingProfileAssignedForLocalTenantDTO - """ # noqa: E501 - profile_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the profile.", alias="profileId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable profile name to display in Visier, such as \"Partner Service Manager\".", alias="displayName") - validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active.", alias="validityStartTime") - validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active.", alias="validityEndTime") - capabilities: Optional[List[ServicingCapabilitiesDTO]] = Field(default=None, description="A list of objects representing the access that this profile has for the capabilities of this profile.") - additional_capabilities: Optional[ServicingAdditionalCapabilitiesDTO] = Field(default=None, description="A list of the additional capabilities that are assigned to this profile.", alias="additionalCapabilities") - __properties: ClassVar[List[str]] = ["profileId", "displayName", "validityStartTime", "validityEndTime", "capabilities", "additionalCapabilities"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProfileAssignedForLocalTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in capabilities (list) - _items = [] - if self.capabilities: - for _item_capabilities in self.capabilities: - if _item_capabilities: - _items.append(_item_capabilities.to_dict()) - _dict['capabilities'] = _items - # override the default output from pydantic by calling `to_dict()` of additional_capabilities - if self.additional_capabilities: - _dict['additionalCapabilities'] = self.additional_capabilities.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProfileAssignedForLocalTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "profileId": obj.get("profileId"), - "displayName": obj.get("displayName"), - "validityStartTime": obj.get("validityStartTime"), - "validityEndTime": obj.get("validityEndTime"), - "capabilities": [ServicingCapabilitiesDTO.from_dict(_item) for _item in obj["capabilities"]] if obj.get("capabilities") is not None else None, - "additionalCapabilities": ServicingAdditionalCapabilitiesDTO.from_dict(obj["additionalCapabilities"]) if obj.get("additionalCapabilities") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_get_api_response_dto.py deleted file mode 100644 index bb58a547e5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profile_get_api_response_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_capabilities_dto import ServicingCapabilitiesDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProfileGetAPIResponseDTO(BaseModel): - """ - ServicingProfileGetAPIResponseDTO - """ # noqa: E501 - profile_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the profile.", alias="profileId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable profile name to display in Visier. For example, \"Partner Service Manager\".", alias="displayName") - capabilities: Optional[List[ServicingCapabilitiesDTO]] = Field(default=None, description="A list of objects representing the access that this profile has for the capabilities of this profile.") - additional_capabilities: Optional[List[StrictStr]] = Field(default=None, description="A list of the additional capabilities that are assigned to this profile.", alias="additionalCapabilities") - __properties: ClassVar[List[str]] = ["profileId", "displayName", "capabilities", "additionalCapabilities"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProfileGetAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in capabilities (list) - _items = [] - if self.capabilities: - for _item_capabilities in self.capabilities: - if _item_capabilities: - _items.append(_item_capabilities.to_dict()) - _dict['capabilities'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProfileGetAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "profileId": obj.get("profileId"), - "displayName": obj.get("displayName"), - "capabilities": [ServicingCapabilitiesDTO.from_dict(_item) for _item in obj["capabilities"]] if obj.get("capabilities") is not None else None, - "additionalCapabilities": obj.get("additionalCapabilities") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profiles_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profiles_get_api_response_dto.py deleted file mode 100644 index d3fc36f7d3..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_profiles_get_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_profile_get_api_response_dto import ServicingProfileGetAPIResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProfilesGetAPIResponseDTO(BaseModel): - """ - ServicingProfilesGetAPIResponseDTO - """ # noqa: E501 - profiles: Optional[List[ServicingProfileGetAPIResponseDTO]] = Field(default=None, description="A list of objects representing the available profiles.") - __properties: ClassVar[List[str]] = ["profiles"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProfilesGetAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in profiles (list) - _items = [] - if self.profiles: - for _item_profiles in self.profiles: - if _item_profiles: - _items.append(_item_profiles.to_dict()) - _dict['profiles'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProfilesGetAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "profiles": [ServicingProfileGetAPIResponseDTO.from_dict(_item) for _item in obj["profiles"]] if obj.get("profiles") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_commits_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_commits_api_response_dto.py deleted file mode 100644 index 9ae73d5900..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_commits_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_commit_dto import ServicingCommitDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProjectCommitsAPIResponseDTO(BaseModel): - """ - ServicingProjectCommitsAPIResponseDTO - """ # noqa: E501 - commits: Optional[List[ServicingCommitDTO]] = Field(default=None, description="A list of committed changes in the project.") - __properties: ClassVar[List[str]] = ["commits"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProjectCommitsAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in commits (list) - _items = [] - if self.commits: - for _item_commits in self.commits: - if _item_commits: - _items.append(_item_commits.to_dict()) - _dict['commits'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProjectCommitsAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "commits": [ServicingCommitDTO.from_dict(_item) for _item in obj["commits"]] if obj.get("commits") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_dto.py deleted file mode 100644 index e13c587d51..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_dto.py +++ /dev/null @@ -1,111 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProjectDTO(BaseModel): - """ - ServicingProjectDTO - """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the project. Omit when creating a new project.") - name: Optional[StrictStr] = Field(default=None, description="An identifiable project name to display in Visier.") - description: Optional[StrictStr] = Field(default=None, description="A description of the project.") - release_version: Optional[StrictStr] = Field(default=None, description="The release version of the project.", alias="releaseVersion") - ticket_number: Optional[StrictStr] = Field(default=None, description="The change management ticket number of the project.", alias="ticketNumber") - version_number: Optional[StrictInt] = Field(default=None, description="The version number of the project.", alias="versionNumber") - capabilities: Optional[List[StrictStr]] = Field(default=None, description="The current user's capabilities for the project. Users with `canWrite`, `canShare`, or `owner` capabilities can add and commit changes to the project. **canRead**: The project has been shared to the user with `View` access. **canWrite**: The project has been shared to the user with `Edit` access. **canShare**: The project has been shared to the user with `Share` access. **owner**: The user is the owner of the project. Omit when creating a new project.") - __properties: ClassVar[List[str]] = ["id", "name", "description", "releaseVersion", "ticketNumber", "versionNumber", "capabilities"] - - @field_validator('capabilities') - def capabilities_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - for i in value: - if i not in set(['canRead', 'canWrite', 'canShare', 'owner']): - raise ValueError("each list item must be one of ('canRead', 'canWrite', 'canShare', 'owner')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProjectDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProjectDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "id": obj.get("id"), - "name": obj.get("name"), - "description": obj.get("description"), - "releaseVersion": obj.get("releaseVersion"), - "ticketNumber": obj.get("ticketNumber"), - "versionNumber": obj.get("versionNumber"), - "capabilities": obj.get("capabilities") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_operation_request_dto.py deleted file mode 100644 index bd1a2d856f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_operation_request_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProjectOperationRequestDTO(BaseModel): - """ - ServicingProjectOperationRequestDTO - """ # noqa: E501 - operation: Optional[StrictStr] = Field(default=None, description="The operation to perform on a draft project. Valid values: * `commitAndPublish`: Commits the requesting user's changes and publishes the draft project to production.") - __properties: ClassVar[List[str]] = ["operation"] - - @field_validator('operation') - def operation_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['unknown', 'commitAndPublish']): - raise ValueError("must be one of enum values ('unknown', 'commitAndPublish')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProjectOperationRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProjectOperationRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "operation": obj.get("operation") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_operation_response_dto.py deleted file mode 100644 index 65317162b6..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_project_operation_response_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_commit_and_publish_operation_response_dto import ServicingCommitAndPublishOperationResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingProjectOperationResponseDTO(BaseModel): - """ - ServicingProjectOperationResponseDTO - """ # noqa: E501 - commit_and_publish: Optional[ServicingCommitAndPublishOperationResponseDTO] = Field(default=None, description="The result of the `commitAndPublish` operation.", alias="commitAndPublish") - __properties: ClassVar[List[str]] = ["commitAndPublish"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingProjectOperationResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of commit_and_publish - if self.commit_and_publish: - _dict['commitAndPublish'] = self.commit_and_publish.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingProjectOperationResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "commitAndPublish": ServicingCommitAndPublishOperationResponseDTO.from_dict(obj["commitAndPublish"]) if obj.get("commitAndPublish") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_property_access_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_property_access_config_dto.py deleted file mode 100644 index 450ad0f35c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_property_access_config_dto.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPropertyAccessConfigDTO(BaseModel): - """ - ServicingPropertyAccessConfigDTO - """ # noqa: E501 - property_id: Optional[StrictStr] = Field(default=None, description="The property ID associated with the property access configuration.", alias="propertyId") - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The analytic object ID of the property.", alias="analyticObjectId") - analytic_object_reference_paths: Optional[List[StrictStr]] = Field(default=None, description="The path to the analytic object reference. Empty if the configuration is not a reference.", alias="analyticObjectReferencePaths") - access_level: Optional[StrictStr] = Field(default=None, description="The access level of the property. Valid values are: `Aggregate`, `Detailed`. * **Aggregate**: The property can only be accessed as part of an aggregate. * **Detailed**: The property can be accessed at a detailed level.", alias="accessLevel") - property_status: Optional[StrictStr] = Field(default=None, description="The property's validity status. Valid values: `Valid`, `NoData`, `NotFound`. * **Valid**: The object exists and has loaded data. * **NoData**: The object exists but doesn't have loaded data. * **NotFound**: The object doesn't exist.", alias="propertyStatus") - __properties: ClassVar[List[str]] = ["propertyId", "analyticObjectId", "analyticObjectReferencePaths", "accessLevel", "propertyStatus"] - - @field_validator('access_level') - def access_level_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['None', 'Aggregate', 'Detailed']): - raise ValueError("must be one of enum values ('None', 'Aggregate', 'Detailed')") - return value - - @field_validator('property_status') - def property_status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): - raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPropertyAccessConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPropertyAccessConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "propertyId": obj.get("propertyId"), - "analyticObjectId": obj.get("analyticObjectId"), - "analyticObjectReferencePaths": obj.get("analyticObjectReferencePaths"), - "accessLevel": obj.get("accessLevel"), - "propertyStatus": obj.get("propertyStatus") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_property_set_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_property_set_config_dto.py deleted file mode 100644 index e7f9c1df32..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_property_set_config_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_property_access_config_dto import ServicingPropertyAccessConfigDTO -from visier_platform_sdk.models.servicing_shareable_data_access_set import ServicingShareableDataAccessSet -from typing import Optional, Set -from typing_extensions import Self - -class ServicingPropertySetConfigDTO(BaseModel): - """ - ServicingPropertySetConfigDTO - """ # noqa: E501 - property_access_configs: Optional[List[ServicingPropertyAccessConfigDTO]] = Field(default=None, description="The data access for a property.", alias="propertyAccessConfigs") - shareable_data_access_set: Optional[ServicingShareableDataAccessSet] = Field(default=None, description="A shareable data access set. Shareable data access sets may be linked in multiple permissions.", alias="shareableDataAccessSet") - __properties: ClassVar[List[str]] = ["propertyAccessConfigs", "shareableDataAccessSet"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingPropertySetConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in property_access_configs (list) - _items = [] - if self.property_access_configs: - for _item_property_access_configs in self.property_access_configs: - if _item_property_access_configs: - _items.append(_item_property_access_configs.to_dict()) - _dict['propertyAccessConfigs'] = _items - # override the default output from pydantic by calling `to_dict()` of shareable_data_access_set - if self.shareable_data_access_set: - _dict['shareableDataAccessSet'] = self.shareable_data_access_set.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingPropertySetConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "propertyAccessConfigs": [ServicingPropertyAccessConfigDTO.from_dict(_item) for _item in obj["propertyAccessConfigs"]] if obj.get("propertyAccessConfigs") is not None else None, - "shareableDataAccessSet": ServicingShareableDataAccessSet.from_dict(obj["shareableDataAccessSet"]) if obj.get("shareableDataAccessSet") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_question_categories_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_question_categories_api_response_dto.py deleted file mode 100644 index 46488eaa13..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_question_categories_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_question_category_api_response_dto import ServicingQuestionCategoryAPIResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingQuestionCategoriesAPIResponseDTO(BaseModel): - """ - ServicingQuestionCategoriesAPIResponseDTO - """ # noqa: E501 - categories: Optional[List[ServicingQuestionCategoryAPIResponseDTO]] = Field(default=None, description="A list of available categories for Vee sample questions.") - __properties: ClassVar[List[str]] = ["categories"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingQuestionCategoriesAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in categories (list) - _items = [] - if self.categories: - for _item_categories in self.categories: - if _item_categories: - _items.append(_item_categories.to_dict()) - _dict['categories'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingQuestionCategoriesAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "categories": [ServicingQuestionCategoryAPIResponseDTO.from_dict(_item) for _item in obj["categories"]] if obj.get("categories") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_question_category_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_question_category_api_response_dto.py deleted file mode 100644 index c46191524e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_question_category_api_response_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingQuestionCategoryAPIResponseDTO(BaseModel): - """ - ServicingQuestionCategoryAPIResponseDTO - """ # noqa: E501 - category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"About individuals\".", alias="displayName") - __properties: ClassVar[List[str]] = ["categoryId", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingQuestionCategoryAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingQuestionCategoryAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "categoryId": obj.get("categoryId"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_error_dto.py deleted file mode 100644 index bc377890bb..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_error_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingReducedErrorDTO(BaseModel): - """ - ServicingReducedErrorDTO - """ # noqa: E501 - error_message: Optional[StrictStr] = Field(default=None, description="A meaningful message for the end user.", alias="errorMessage") - __properties: ClassVar[List[str]] = ["errorMessage"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingReducedErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingReducedErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "errorMessage": obj.get("errorMessage") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_tenant_code_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_tenant_code_error_dto.py deleted file mode 100644 index dc64c4f124..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_tenant_code_error_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_reduced_error_dto import ServicingReducedErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingReducedTenantCodeErrorDTO(BaseModel): - """ - ServicingReducedTenantCodeErrorDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The bad tenant code.", alias="tenantCode") - for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the assignment is for all the analytic tenants of the specified tenant.", alias="forAllChildren") - error: Optional[ServicingReducedErrorDTO] = Field(default=None, description="The details about the error.") - __properties: ClassVar[List[str]] = ["tenantCode", "forAllChildren", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingReducedTenantCodeErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingReducedTenantCodeErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "forAllChildren": obj.get("forAllChildren"), - "error": ServicingReducedErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_user_id_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_user_id_error_dto.py deleted file mode 100644 index c4ea541261..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_reduced_user_id_error_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_reduced_error_dto import ServicingReducedErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingReducedUserIdErrorDTO(BaseModel): - """ - ServicingReducedUserIdErrorDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The bad user ID.", alias="userId") - error: Optional[ServicingReducedErrorDTO] = Field(default=None, description="The details about the error.") - __properties: ClassVar[List[str]] = ["userId", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingReducedUserIdErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingReducedUserIdErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "error": ServicingReducedErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_related_analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_related_analytic_object_dto.py deleted file mode 100644 index 25d6b87d20..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_related_analytic_object_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingRelatedAnalyticObjectDTO(BaseModel): - """ - ServicingRelatedAnalyticObjectDTO - """ # noqa: E501 - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The analytic object ID.", alias="analyticObjectId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable analytic object name to display in Visier, such as \"Recognition\".", alias="displayName") - __properties: ClassVar[List[str]] = ["analyticObjectId", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingRelatedAnalyticObjectDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingRelatedAnalyticObjectDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjectId": obj.get("analyticObjectId"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_role_modules_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_role_modules_config_dto.py deleted file mode 100644 index a8e3af7cd0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_role_modules_config_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingRoleModulesConfigDTO(BaseModel): - """ - ServicingRoleModulesConfigDTO - """ # noqa: E501 - content_package_ids: Optional[List[StrictStr]] = Field(default=None, description="The unique IDs of the content packages assigned to the permission.", alias="contentPackageIds") - __properties: ClassVar[List[str]] = ["contentPackageIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingRoleModulesConfigDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingRoleModulesConfigDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "contentPackageIds": obj.get("contentPackageIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sample_question_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sample_question_api_response_dto.py deleted file mode 100644 index ba207c4d6b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sample_question_api_response_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_user_group_assignment_dto import ServicingUserGroupAssignmentDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSampleQuestionAPIResponseDTO(BaseModel): - """ - ServicingSampleQuestionAPIResponseDTO - """ # noqa: E501 - question: Optional[StrictStr] = Field(default=None, description="A question in plain language.") - question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question.", alias="questionId") - visible_in_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the sample question is visible in Vee.", alias="visibleInVee") - category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") - user_group_assignment: Optional[ServicingUserGroupAssignmentDTO] = Field(default=None, description="The user group IDs assigned to the sample question.", alias="userGroupAssignment") - __properties: ClassVar[List[str]] = ["question", "questionId", "visibleInVee", "categoryId", "userGroupAssignment"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSampleQuestionAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of user_group_assignment - if self.user_group_assignment: - _dict['userGroupAssignment'] = self.user_group_assignment.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSampleQuestionAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "question": obj.get("question"), - "questionId": obj.get("questionId"), - "visibleInVee": obj.get("visibleInVee"), - "categoryId": obj.get("categoryId"), - "userGroupAssignment": ServicingUserGroupAssignmentDTO.from_dict(obj["userGroupAssignment"]) if obj.get("userGroupAssignment") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sample_questions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sample_questions_api_response_dto.py deleted file mode 100644 index fef133aa14..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sample_questions_api_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_sample_question_api_response_dto import ServicingSampleQuestionAPIResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSampleQuestionsAPIResponseDTO(BaseModel): - """ - ServicingSampleQuestionsAPIResponseDTO - """ # noqa: E501 - questions: Optional[List[ServicingSampleQuestionAPIResponseDTO]] = Field(default=None, description="A list of sample questions to help your users start using Vee.") - __properties: ClassVar[List[str]] = ["questions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSampleQuestionsAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in questions (list) - _items = [] - if self.questions: - for _item_questions in self.questions: - if _item_questions: - _items.append(_item_questions.to_dict()) - _dict['questions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSampleQuestionsAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "questions": [ServicingSampleQuestionAPIResponseDTO.from_dict(_item) for _item in obj["questions"]] if obj.get("questions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_securable_dimension_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_securable_dimension_dto.py deleted file mode 100644 index f10b46095c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_securable_dimension_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_hierarchy_property_dto import ServicingHierarchyPropertyDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSecurableDimensionDTO(BaseModel): - """ - ServicingSecurableDimensionDTO - """ # noqa: E501 - dimension_id: Optional[StrictStr] = Field(default=None, description="The dimension ID.", alias="dimensionId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable dimension name to display in Visier, such as \"Contract Type\".", alias="displayName") - analytic_object_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of analytic object IDs.", alias="analyticObjectIds") - hierarchy_properties: Optional[List[ServicingHierarchyPropertyDTO]] = Field(default=None, description="The list of hierarchies you can map to a user in a permission's dynamic filter.", alias="hierarchyProperties") - __properties: ClassVar[List[str]] = ["dimensionId", "displayName", "analyticObjectIds", "hierarchyProperties"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSecurableDimensionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in hierarchy_properties (list) - _items = [] - if self.hierarchy_properties: - for _item_hierarchy_properties in self.hierarchy_properties: - if _item_hierarchy_properties: - _items.append(_item_hierarchy_properties.to_dict()) - _dict['hierarchyProperties'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSecurableDimensionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionId": obj.get("dimensionId"), - "displayName": obj.get("displayName"), - "analyticObjectIds": obj.get("analyticObjectIds"), - "hierarchyProperties": [ServicingHierarchyPropertyDTO.from_dict(_item) for _item in obj["hierarchyProperties"]] if obj.get("hierarchyProperties") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_securable_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_securable_property_dto.py deleted file mode 100644 index c2666f1990..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_securable_property_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSecurablePropertyDTO(BaseModel): - """ - ServicingSecurablePropertyDTO - """ # noqa: E501 - property_id: Optional[StrictStr] = Field(default=None, description="The property ID.", alias="propertyId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable property name to display in Visier, such as \"Job Pay Level\".", alias="displayName") - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The property's analytic object ID.", alias="analyticObjectId") - is_primary_key: Optional[StrictBool] = Field(default=None, description="If true, this property is the analytic object's primary key.", alias="isPrimaryKey") - reference_symbol_name: Optional[StrictStr] = Field(default=None, description="The reference symbol name.", alias="referenceSymbolName") - __properties: ClassVar[List[str]] = ["propertyId", "displayName", "analyticObjectId", "isPrimaryKey", "referenceSymbolName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSecurablePropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSecurablePropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "propertyId": obj.get("propertyId"), - "displayName": obj.get("displayName"), - "analyticObjectId": obj.get("analyticObjectId"), - "isPrimaryKey": obj.get("isPrimaryKey"), - "referenceSymbolName": obj.get("referenceSymbolName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_servicing_capability_proto_enum_access_lookup_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_servicing_capability_proto_enum_access_lookup_dto.py deleted file mode 100644 index 9bb833e4e5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_servicing_capability_proto_enum_access_lookup_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_capability_group_dto import ServicingCapabilityGroupDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingServicingCapabilityProtoEnumAccessLookupDTO(BaseModel): - """ - ServicingServicingCapabilityProtoEnumAccessLookupDTO - """ # noqa: E501 - capability_groups: Optional[List[ServicingCapabilityGroupDTO]] = Field(default=None, alias="capabilityGroups") - __properties: ClassVar[List[str]] = ["capabilityGroups"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingServicingCapabilityProtoEnumAccessLookupDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in capability_groups (list) - _items = [] - if self.capability_groups: - for _item_capability_groups in self.capability_groups: - if _item_capability_groups: - _items.append(_item_capability_groups.to_dict()) - _dict['capabilityGroups'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingServicingCapabilityProtoEnumAccessLookupDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "capabilityGroups": [ServicingCapabilityGroupDTO.from_dict(_item) for _item in obj["capabilityGroups"]] if obj.get("capabilityGroups") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_shareable_data_access_set.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_shareable_data_access_set.py deleted file mode 100644 index d86d619335..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_shareable_data_access_set.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingShareableDataAccessSet(BaseModel): - """ - ServicingShareableDataAccessSet - """ # noqa: E501 - data_access_set_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the shareable data access set.", alias="dataAccessSetId") - __properties: ClassVar[List[str]] = ["dataAccessSetId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingShareableDataAccessSet from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingShareableDataAccessSet from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataAccessSetId": obj.get("dataAccessSetId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_simple_document_header_search_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_simple_document_header_search_response_dto.py deleted file mode 100644 index 6e45fe4f39..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_simple_document_header_search_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_simple_document_header_search_result_dto import ServicingSimpleDocumentHeaderSearchResultDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSimpleDocumentHeaderSearchResponseDTO(BaseModel): - """ - The response body structure for Simple document header search operations. - """ # noqa: E501 - document_headers: Optional[List[ServicingSimpleDocumentHeaderSearchResultDTO]] = Field(default=None, description="The ordered collection of document header search results. The results are sorted according to their relevance in a descending order.", alias="documentHeaders") - __properties: ClassVar[List[str]] = ["documentHeaders"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSimpleDocumentHeaderSearchResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in document_headers (list) - _items = [] - if self.document_headers: - for _item_document_headers in self.document_headers: - if _item_document_headers: - _items.append(_item_document_headers.to_dict()) - _dict['documentHeaders'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSimpleDocumentHeaderSearchResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "documentHeaders": [ServicingSimpleDocumentHeaderSearchResultDTO.from_dict(_item) for _item in obj["documentHeaders"]] if obj.get("documentHeaders") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_simple_document_header_search_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_simple_document_header_search_result_dto.py deleted file mode 100644 index a9e47427d9..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_simple_document_header_search_result_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr -from typing import Any, ClassVar, Dict, List, Optional, Union -from visier_platform_sdk.models.servicing_document_search_link_dto import ServicingDocumentSearchLinkDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSimpleDocumentHeaderSearchResultDTO(BaseModel): - """ - Structure of a single document header search using the Simple search operation. - """ # noqa: E501 - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the element in the search result.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The `Web Template Framework` representation of the search result element. This commonly displayed alongside the result by search portals.") - relevance: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The relevance of the search result and a number between `0` and `100`.") - view_link: Optional[ServicingDocumentSearchLinkDTO] = Field(default=None, description="Use the `viewLink` to build a web request to view this document.", alias="viewLink") - __properties: ClassVar[List[str]] = ["displayName", "description", "relevance", "viewLink"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSimpleDocumentHeaderSearchResultDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of view_link - if self.view_link: - _dict['viewLink'] = self.view_link.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSimpleDocumentHeaderSearchResultDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "relevance": obj.get("relevance"), - "viewLink": ServicingDocumentSearchLinkDTO.from_dict(obj["viewLink"]) if obj.get("viewLink") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sources_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sources_api_operation_request_dto.py deleted file mode 100644 index 7e933285cd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_sources_api_operation_request_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_clone_files_into_source_parameters_dto import ServicingCloneFilesIntoSourceParametersDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSourcesAPIOperationRequestDTO(BaseModel): - """ - ServicingSourcesAPIOperationRequestDTO - """ # noqa: E501 - operation: Optional[StrictStr] = Field(default=None, description="The operation to perform. Valid values: * `exportSources`: Export all sources from the tenant. If successful, returns a ZIP file containing a compressed JSON file with the sources. * `cloneFilesIntoSource`: Clone a source's files into a different source. If successful, returns a receiving job ID. Use the job ID to monitor the cloning results.") - clone_files_into_source_parameters: Optional[ServicingCloneFilesIntoSourceParametersDTO] = Field(default=None, description="The parameters for the `cloneFilesIntoSource` option, such as the source to clone files from, the source to clone files into, and the date range of the files to clone.", alias="cloneFilesIntoSourceParameters") - __properties: ClassVar[List[str]] = ["operation", "cloneFilesIntoSourceParameters"] - - @field_validator('operation') - def operation_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['unknownSourcesAPIOperation', 'exportSources', 'cloneFilesIntoSource']): - raise ValueError("must be one of enum values ('unknownSourcesAPIOperation', 'exportSources', 'cloneFilesIntoSource')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSourcesAPIOperationRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of clone_files_into_source_parameters - if self.clone_files_into_source_parameters: - _dict['cloneFilesIntoSourceParameters'] = self.clone_files_into_source_parameters.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSourcesAPIOperationRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "operation": obj.get("operation"), - "cloneFilesIntoSourceParameters": ServicingCloneFilesIntoSourceParametersDTO.from_dict(obj["cloneFilesIntoSourceParameters"]) if obj.get("cloneFilesIntoSourceParameters") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_static_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_static_dimension_filter_dto.py deleted file mode 100644 index 5d8a18ab82..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_static_dimension_filter_dto.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_member_selection_dto import ServicingMemberSelectionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingStaticDimensionFilterDTO(BaseModel): - """ - ServicingStaticDimensionFilterDTO - """ # noqa: E501 - dimension_id: Optional[StrictStr] = Field(default=None, description="The dimension ID associated with the filter.", alias="dimensionId") - subject_reference_path: Optional[List[StrictStr]] = Field(default=None, description="The subject reference path.", alias="subjectReferencePath") - member_selections: Optional[List[ServicingMemberSelectionDTO]] = Field(default=None, description="A list of objects representing the dimension members assigned population access in the member filter.", alias="memberSelections") - dimension_status: Optional[StrictStr] = Field(default=None, description="The dimension's validity status. Valid values: Valid, NoData, NotFound. * **Valid**: The object exists and has loaded data. * **NoData**: The object exists but doesn't have loaded data. * **NotFound**: The object doesn't exist.", alias="dimensionStatus") - __properties: ClassVar[List[str]] = ["dimensionId", "subjectReferencePath", "memberSelections", "dimensionStatus"] - - @field_validator('dimension_status') - def dimension_status_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): - raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingStaticDimensionFilterDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in member_selections (list) - _items = [] - if self.member_selections: - for _item_member_selections in self.member_selections: - if _item_member_selections: - _items.append(_item_member_selections.to_dict()) - _dict['memberSelections'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingStaticDimensionFilterDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dimensionId": obj.get("dimensionId"), - "subjectReferencePath": obj.get("subjectReferencePath"), - "memberSelections": [ServicingMemberSelectionDTO.from_dict(_item) for _item in obj["memberSelections"]] if obj.get("memberSelections") is not None else None, - "dimensionStatus": obj.get("dimensionStatus") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_successful_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_successful_accessible_tenant_profile_assignment_dto.py deleted file mode 100644 index 8812efa965..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_successful_accessible_tenant_profile_assignment_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSuccessfulAccessibleTenantProfileAssignmentDTO(BaseModel): - """ - ServicingSuccessfulAccessibleTenantProfileAssignmentDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The user ID.", alias="userId") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") - for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the target assignment is for all analytic tenants.", alias="forAllChildren") - __properties: ClassVar[List[str]] = ["userId", "tenantCode", "forAllChildren"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSuccessfulAccessibleTenantProfileAssignmentDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSuccessfulAccessibleTenantProfileAssignmentDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "tenantCode": obj.get("tenantCode"), - "forAllChildren": obj.get("forAllChildren") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_successful_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_successful_local_tenant_profile_assignment_dto.py deleted file mode 100644 index fab95ac103..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_successful_local_tenant_profile_assignment_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingSuccessfulLocalTenantProfileAssignmentDTO(BaseModel): - """ - ServicingSuccessfulLocalTenantProfileAssignmentDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The user ID.", alias="userId") - __properties: ClassVar[List[str]] = ["userId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingSuccessfulLocalTenantProfileAssignmentDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingSuccessfulLocalTenantProfileAssignmentDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_target_tenant_code_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_target_tenant_code_dto.py deleted file mode 100644 index 770e370bcc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_target_tenant_code_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingTargetTenantCodeDTO(BaseModel): - """ - ServicingTargetTenantCodeDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") - for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the assignment is for all the analytic tenants of the specified tenant.", alias="forAllChildren") - __properties: ClassVar[List[str]] = ["tenantCode", "forAllChildren"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingTargetTenantCodeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingTargetTenantCodeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "forAllChildren": obj.get("forAllChildren") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_code_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_code_error_dto.py deleted file mode 100644 index b7ce8ac104..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_code_error_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_error_dto import ServicingErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingTenantCodeErrorDTO(BaseModel): - """ - ServicingTenantCodeErrorDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The bad tenant code.", alias="tenantCode") - for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the target assignment is for all analytic tenants.", alias="forAllChildren") - error: Optional[ServicingErrorDTO] = Field(default=None, description="The details about the error.") - __properties: ClassVar[List[str]] = ["tenantCode", "forAllChildren", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingTenantCodeErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingTenantCodeErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "forAllChildren": obj.get("forAllChildren"), - "error": ServicingErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_upload_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_upload_status_response_dto.py deleted file mode 100644 index 463119644f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_upload_status_response_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingTenantDataUploadStatusResponseDTO(BaseModel): - """ - ServicingTenantDataUploadStatusResponseDTO - """ # noqa: E501 - upload_time: Optional[StrictStr] = Field(default=None, description="The upload time of the data upload.", alias="uploadTime") - included: Optional[StrictBool] = Field(default=None, description="If \"true\", the data upload is included.") - __properties: ClassVar[List[str]] = ["uploadTime", "included"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadStatusResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadStatusResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uploadTime": obj.get("uploadTime"), - "included": obj.get("included") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_upload_update_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_upload_update_status_response_dto.py deleted file mode 100644 index 6c3b981d37..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_upload_update_status_response_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingTenantDataUploadUpdateStatusResponseDTO(BaseModel): - """ - ServicingTenantDataUploadUpdateStatusResponseDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant that the exclusion operation was conducted for.", alias="tenantCode") - upload_time: Optional[StrictStr] = Field(default=None, description="The upload time of the data upload", alias="uploadTime") - status: Optional[StrictStr] = Field(default=None, description="The outcome of the exclusion operation.") - message: Optional[StrictStr] = Field(default=None, description="If applicable, the message explains why errors were encountered during the exclusion operation.") - __properties: ClassVar[List[str]] = ["tenantCode", "uploadTime", "status", "message"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadUpdateStatusResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadUpdateStatusResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "uploadTime": obj.get("uploadTime"), - "status": obj.get("status"), - "message": obj.get("message") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_list_response_dto.py deleted file mode 100644 index 182bbb5ae2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_list_response_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_tenant_data_uploads_response_dto import ServicingTenantDataUploadsResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingTenantDataUploadsListResponseDTO(BaseModel): - """ - ServicingTenantDataUploadsListResponseDTO - """ # noqa: E501 - tenants: Optional[List[ServicingTenantDataUploadsResponseDTO]] = Field(default=None, description="A list of objects representing analytic tenants and their data uploads.") - limit: Optional[StrictInt] = Field(default=None, description="The number of analytic tenants to retrieve. The maximum number of analytic tenants to retrieve is 1000.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") - __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadsListResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) - _items = [] - if self.tenants: - for _item_tenants in self.tenants: - if _item_tenants: - _items.append(_item_tenants.to_dict()) - _dict['tenants'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadsListResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenants": [ServicingTenantDataUploadsResponseDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, - "limit": obj.get("limit"), - "start": obj.get("start") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_response_dto.py deleted file mode 100644 index a72bb32f3f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_response_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_tenant_data_upload_status_response_dto import ServicingTenantDataUploadStatusResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingTenantDataUploadsResponseDTO(BaseModel): - """ - ServicingTenantDataUploadsResponseDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant owning the data uploads.", alias="tenantCode") - uploads: Optional[List[ServicingTenantDataUploadStatusResponseDTO]] = Field(default=None, description="The data uploads completed for the specified analytic tenant. The list is empty if no previous data uploads are found for the analytic tenant.") - __properties: ClassVar[List[str]] = ["tenantCode", "uploads"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadsResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in uploads (list) - _items = [] - if self.uploads: - for _item_uploads in self.uploads: - if _item_uploads: - _items.append(_item_uploads.to_dict()) - _dict['uploads'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadsResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "uploads": [ServicingTenantDataUploadStatusResponseDTO.from_dict(_item) for _item in obj["uploads"]] if obj.get("uploads") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_update_response_dto.py deleted file mode 100644 index b3d4f55620..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_tenant_data_uploads_update_response_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_tenant_data_upload_update_status_response_dto import ServicingTenantDataUploadUpdateStatusResponseDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingTenantDataUploadsUpdateResponseDTO(BaseModel): - """ - ServicingTenantDataUploadsUpdateResponseDTO - """ # noqa: E501 - total_failures: Optional[StrictInt] = Field(default=None, description="The number of data uploads that failed during the exclusion operation.", alias="totalFailures") - total_success: Optional[StrictInt] = Field(default=None, description="The number of data uploads that were excluded successfully.", alias="totalSuccess") - uploads: Optional[List[ServicingTenantDataUploadUpdateStatusResponseDTO]] = Field(default=None, description="A list of objects representing the results of the data upload exclusion.") - __properties: ClassVar[List[str]] = ["totalFailures", "totalSuccess", "uploads"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadsUpdateResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in uploads (list) - _items = [] - if self.uploads: - for _item_uploads in self.uploads: - if _item_uploads: - _items.append(_item_uploads.to_dict()) - _dict['uploads'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingTenantDataUploadsUpdateResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "totalFailures": obj.get("totalFailures"), - "totalSuccess": obj.get("totalSuccess"), - "uploads": [ServicingTenantDataUploadUpdateStatusResponseDTO.from_dict(_item) for _item in obj["uploads"]] if obj.get("uploads") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_creation_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_creation_api_request_dto.py deleted file mode 100644 index 77a3ddc513..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_creation_api_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUserCreationAPIRequestDTO(BaseModel): - """ - ServicingUserCreationAPIRequestDTO - """ # noqa: E501 - username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") - employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") - account_enabled: Optional[StrictStr] = Field(default=None, description="If false, the user account is disabled.", alias="accountEnabled") - email: Optional[StrictStr] = Field(default=None, description="The user's email. This is used if the user's email is different from their username. For example, \"john.doe@visier.com\".") - __properties: ClassVar[List[str]] = ["username", "displayName", "employeeId", "accountEnabled", "email"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUserCreationAPIRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUserCreationAPIRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "username": obj.get("username"), - "displayName": obj.get("displayName"), - "employeeId": obj.get("employeeId"), - "accountEnabled": obj.get("accountEnabled"), - "email": obj.get("email") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_get_api_response_dto.py deleted file mode 100644 index 21f1e87e14..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_get_api_response_dto.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_all_permissions_assigned_for_local_tenant_dto import ServicingAllPermissionsAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_all_profile_assigned_for_local_tenant_dto import ServicingAllProfileAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_all_user_groups_assigned_for_local_tenant_dto import ServicingAllUserGroupsAssignedForLocalTenantDTO -from visier_platform_sdk.models.servicing_last_login_dto import ServicingLastLoginDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUserGetAPIResponseDTO(BaseModel): - """ - ServicingUserGetAPIResponseDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") - username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com.") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") - employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") - account_enabled: Optional[StrictBool] = Field(default=None, description="If false, the user account is disabled.", alias="accountEnabled") - profiles: Optional[ServicingAllProfileAssignedForLocalTenantDTO] = Field(default=None, description="A list of objects representing the list of available profiles. Not returned if the user has no profiles.") - permissions: Optional[ServicingAllPermissionsAssignedForLocalTenantDTO] = Field(default=None, description="A list of objects representing the user's permissions.") - user_groups: Optional[ServicingAllUserGroupsAssignedForLocalTenantDTO] = Field(default=None, description="A list of objects representing the available user groups.", alias="userGroups") - last_login: Optional[ServicingLastLoginDTO] = Field(default=None, description="An object that represents the time that the user last logged into Visier.", alias="lastLogin") - email: Optional[StrictStr] = Field(default=None, description="The user's email address.") - __properties: ClassVar[List[str]] = ["userId", "username", "displayName", "employeeId", "accountEnabled", "profiles", "permissions", "userGroups", "lastLogin", "email"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUserGetAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of profiles - if self.profiles: - _dict['profiles'] = self.profiles.to_dict() - # override the default output from pydantic by calling `to_dict()` of permissions - if self.permissions: - _dict['permissions'] = self.permissions.to_dict() - # override the default output from pydantic by calling `to_dict()` of user_groups - if self.user_groups: - _dict['userGroups'] = self.user_groups.to_dict() - # override the default output from pydantic by calling `to_dict()` of last_login - if self.last_login: - _dict['lastLogin'] = self.last_login.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUserGetAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "username": obj.get("username"), - "displayName": obj.get("displayName"), - "employeeId": obj.get("employeeId"), - "accountEnabled": obj.get("accountEnabled"), - "profiles": ServicingAllProfileAssignedForLocalTenantDTO.from_dict(obj["profiles"]) if obj.get("profiles") is not None else None, - "permissions": ServicingAllPermissionsAssignedForLocalTenantDTO.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None, - "userGroups": ServicingAllUserGroupsAssignedForLocalTenantDTO.from_dict(obj["userGroups"]) if obj.get("userGroups") is not None else None, - "lastLogin": ServicingLastLoginDTO.from_dict(obj["lastLogin"]) if obj.get("lastLogin") is not None else None, - "email": obj.get("email") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_group_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_group_assigned_for_local_tenant_dto.py deleted file mode 100644 index 9411389697..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_group_assigned_for_local_tenant_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUserGroupAssignedForLocalTenantDTO(BaseModel): - """ - ServicingUserGroupAssignedForLocalTenantDTO - """ # noqa: E501 - user_group_id: Optional[StrictStr] = Field(default=None, description="The user group ID.", alias="userGroupId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable user group name to display in Visier, such as \"Leadership User Group\".", alias="displayName") - __properties: ClassVar[List[str]] = ["userGroupId", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUserGroupAssignedForLocalTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUserGroupAssignedForLocalTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroupId": obj.get("userGroupId"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_group_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_group_assignment_dto.py deleted file mode 100644 index 30625fd7cb..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_group_assignment_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUserGroupAssignmentDTO(BaseModel): - """ - ServicingUserGroupAssignmentDTO - """ # noqa: E501 - user_group_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of user group IDs assigned to the sample question.", alias="userGroupIds") - __properties: ClassVar[List[str]] = ["userGroupIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUserGroupAssignmentDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUserGroupAssignmentDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userGroupIds": obj.get("userGroupIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_id_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_id_error_dto.py deleted file mode 100644 index d9ac1a3894..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_id_error_dto.py +++ /dev/null @@ -1,94 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_error_dto import ServicingErrorDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUserIdErrorDTO(BaseModel): - """ - ServicingUserIdErrorDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The bad user ID.", alias="userId") - error: Optional[ServicingErrorDTO] = Field(default=None, description="The details about the error.") - __properties: ClassVar[List[str]] = ["userId", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUserIdErrorDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUserIdErrorDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "error": ServicingErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_property_dto.py deleted file mode 100644 index 3a0365e8aa..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_property_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUserPropertyDTO(BaseModel): - """ - ServicingUserPropertyDTO - """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The name property to map to in the dynamic filter. Valid values are one of `username`, `email`, `employeeId`.") - __properties: ClassVar[List[str]] = ["name"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUserPropertyDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUserPropertyDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "name": obj.get("name") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_update_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_update_api_request_dto.py deleted file mode 100644 index 4939bd890b..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_user_update_api_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUserUpdateAPIRequestDTO(BaseModel): - """ - ServicingUserUpdateAPIRequestDTO - """ # noqa: E501 - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") - employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") - account_enabled: Optional[StrictStr] = Field(default=None, description="If true, the user account is enabled.", alias="accountEnabled") - email: Optional[StrictStr] = Field(default=None, description="The user's email address.") - username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com. If a user's username changes, they must authenticate using the new username.") - __properties: ClassVar[List[str]] = ["displayName", "employeeId", "accountEnabled", "email", "username"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUserUpdateAPIRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUserUpdateAPIRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "displayName": obj.get("displayName"), - "employeeId": obj.get("employeeId"), - "accountEnabled": obj.get("accountEnabled"), - "email": obj.get("email"), - "username": obj.get("username") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_error_message_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_error_message_dto.py deleted file mode 100644 index 262a7bf85c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_error_message_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUsersAPIErrorMessageDTO(BaseModel): - """ - ServicingUsersAPIErrorMessageDTO - """ # noqa: E501 - message: Optional[StrictStr] = Field(default=None, description="Error message") - rci: Optional[StrictStr] = Field(default=None, description="The unique identifier associated to this error") - __properties: ClassVar[List[str]] = ["message", "rci"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUsersAPIErrorMessageDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUsersAPIErrorMessageDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "message": obj.get("message"), - "rci": obj.get("rci") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_failure_dto.py deleted file mode 100644 index 8b8d8d3cd1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_failure_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_users_api_error_message_dto import ServicingUsersAPIErrorMessageDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUsersAPIFailureDTO(BaseModel): - """ - ServicingUsersAPIFailureDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") - user_name: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com.", alias="userName") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") - error: Optional[ServicingUsersAPIErrorMessageDTO] = Field(default=None, description="The error thrown during creation.") - __properties: ClassVar[List[str]] = ["userId", "userName", "displayName", "error"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUsersAPIFailureDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of error - if self.error: - _dict['error'] = self.error.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUsersAPIFailureDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "userName": obj.get("userName"), - "displayName": obj.get("displayName"), - "error": ServicingUsersAPIErrorMessageDTO.from_dict(obj["error"]) if obj.get("error") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_response_dto.py deleted file mode 100644 index 9b8d724cea..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_users_api_failure_dto import ServicingUsersAPIFailureDTO -from visier_platform_sdk.models.servicing_users_api_success_dto import ServicingUsersAPISuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUsersAPIResponseDTO(BaseModel): - """ - ServicingUsersAPIResponseDTO - """ # noqa: E501 - successes: Optional[List[ServicingUsersAPISuccessDTO]] = Field(default=None, description="The users for which the request succeeded.") - failures: Optional[List[ServicingUsersAPIFailureDTO]] = Field(default=None, description="The users for which the request failed.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUsersAPIResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUsersAPIResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [ServicingUsersAPISuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [ServicingUsersAPIFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_success_dto.py deleted file mode 100644 index 2728b9f116..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_api_success_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUsersAPISuccessDTO(BaseModel): - """ - ServicingUsersAPISuccessDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") - username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com.") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") - employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") - account_enabled: Optional[StrictStr] = Field(default=None, description="If true, the user account is enabled.", alias="accountEnabled") - email: Optional[StrictStr] = Field(default=None, description="The user's email address.") - __properties: ClassVar[List[str]] = ["userId", "username", "displayName", "employeeId", "accountEnabled", "email"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUsersAPISuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUsersAPISuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "username": obj.get("username"), - "displayName": obj.get("displayName"), - "employeeId": obj.get("employeeId"), - "accountEnabled": obj.get("accountEnabled"), - "email": obj.get("email") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_creation_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_creation_api_request_dto.py deleted file mode 100644 index 87b35b9d40..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_creation_api_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_user_creation_api_request_dto import ServicingUserCreationAPIRequestDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUsersCreationAPIRequestDTO(BaseModel): - """ - ServicingUsersCreationAPIRequestDTO - """ # noqa: E501 - users: Optional[List[ServicingUserCreationAPIRequestDTO]] = Field(default=None, description="A list of objects representing users to create. Maximum 100 users can be created in a single request.") - __properties: ClassVar[List[str]] = ["users"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUsersCreationAPIRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item_users in self.users: - if _item_users: - _items.append(_item_users.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUsersCreationAPIRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "users": [ServicingUserCreationAPIRequestDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_delete_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_delete_api_request_dto.py deleted file mode 100644 index d9ec761c9e..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_delete_api_request_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUsersDeleteAPIRequestDTO(BaseModel): - """ - ServicingUsersDeleteAPIRequestDTO - """ # noqa: E501 - user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of objects representing users to delete. Maximum 100 users can be deleted in a single request.", alias="userIds") - __properties: ClassVar[List[str]] = ["userIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUsersDeleteAPIRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUsersDeleteAPIRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userIds": obj.get("userIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_update_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_update_api_request_dto.py deleted file mode 100644 index 9db53d2b35..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_update_api_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_users_update_api_user_dto import ServicingUsersUpdateAPIUserDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUsersUpdateAPIRequestDTO(BaseModel): - """ - ServicingUsersUpdateAPIRequestDTO - """ # noqa: E501 - users: Optional[List[ServicingUsersUpdateAPIUserDTO]] = Field(default=None, description="A list of objects representing users to update. Maximum 100 users can be updated in a single request.") - __properties: ClassVar[List[str]] = ["users"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUsersUpdateAPIRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in users (list) - _items = [] - if self.users: - for _item_users in self.users: - if _item_users: - _items.append(_item_users.to_dict()) - _dict['users'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUsersUpdateAPIRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "users": [ServicingUsersUpdateAPIUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_update_api_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_update_api_user_dto.py deleted file mode 100644 index 5b419787fd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_users_update_api_user_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingUsersUpdateAPIUserDTO(BaseModel): - """ - ServicingUsersUpdateAPIUserDTO - """ # noqa: E501 - user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") - display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") - employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") - account_enabled: Optional[StrictStr] = Field(default=None, description="If true, the user account is enabled.", alias="accountEnabled") - email: Optional[StrictStr] = Field(default=None, description="The user's email address.") - username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com. If a user's username changes, they must authenticate using the new username.") - __properties: ClassVar[List[str]] = ["userId", "displayName", "employeeId", "accountEnabled", "email", "username"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingUsersUpdateAPIUserDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingUsersUpdateAPIUserDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "userId": obj.get("userId"), - "displayName": obj.get("displayName"), - "employeeId": obj.get("employeeId"), - "accountEnabled": obj.get("accountEnabled"), - "email": obj.get("email"), - "username": obj.get("username") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_definition_dto.py deleted file mode 100644 index 5cb027c572..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_definition_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO(BaseModel): - """ - Information about the analytic object, such as its UUID and object name. - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the analytic object.") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the analytic object.", alias="objectName") - update_operation: Optional[StrictStr] = Field(default=None, description="Update the analytic object. Required for `PUT` requests. Valid values: - `unspecified`: Do not update the object. - `revertToBP`: Undo any tenant overrides and revert the object back to its Blueprint state.", alias="updateOperation") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "updateOperation"] - - @field_validator('update_operation') - def update_operation_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['unspecified', 'revertToBP']): - raise ValueError("must be one of enum values ('unspecified', 'revertToBP')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "objectName": obj.get("objectName"), - "updateOperation": obj.get("updateOperation") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_request_dto.py deleted file mode 100644 index a7ec5ea9a4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_with_context_dto import ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationAnalyticObjectRequestDTO(BaseModel): - """ - The analytic objects to create or update. - """ # noqa: E501 - analytic_objects: Optional[List[ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO]] = Field(default=None, description="The analytic objects in the request.", alias="analyticObjects") - __properties: ClassVar[List[str]] = ["analyticObjects"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationAnalyticObjectRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) - _items = [] - if self.analytic_objects: - for _item_analytic_objects in self.analytic_objects: - if _item_analytic_objects: - _items.append(_item_analytic_objects.to_dict()) - _dict['analyticObjects'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationAnalyticObjectRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjects": [ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_with_context_dto.py deleted file mode 100644 index f9a75c8430..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_with_context_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_analytic_object_definition_dto import ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_execution_context_dto import ServicingV2ObjectconfigurationExecutionContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO(BaseModel): - """ - Information about the analytic object and the context of the API request, such as the tenant code and project ID. - """ # noqa: E501 - execution_context: Optional[ServicingV2ObjectconfigurationExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") - analytic_object: Optional[ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO] = Field(default=None, description="Information about the analytic object, such as its UUID and object name.", alias="analyticObject") - __properties: ClassVar[List[str]] = ["executionContext", "analyticObject"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of execution_context - if self.execution_context: - _dict['executionContext'] = self.execution_context.to_dict() - # override the default output from pydantic by calling `to_dict()` of analytic_object - if self.analytic_object: - _dict['analyticObject'] = self.analytic_object.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationAnalyticObjectWithContextDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "executionContext": ServicingV2ObjectconfigurationExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, - "analyticObject": ServicingV2ObjectconfigurationAnalyticObjectDefinitionDTO.from_dict(obj["analyticObject"]) if obj.get("analyticObject") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_basic_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_basic_information_dto.py deleted file mode 100644 index ab1a6838f1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_basic_information_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_synonym_list_dto import ServicingV2ObjectconfigurationSynonymListDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationBasicInformationDTO(BaseModel): - """ - Fields that identify and describe the object, such as its display name, description, and explanation. - """ # noqa: E501 - display_name: Optional[StrictStr] = Field(default=None, description="The user-friendly name for the object.", alias="displayName") - short_display_name: Optional[StrictStr] = Field(default=None, description="A shortened version of the display name. If the object is visible in the solution experience, this name is displayed in visualization titles.", alias="shortDisplayName") - description: Optional[StrictStr] = Field(default=None, description="A short description of the object. Descriptions provide in-context help for your users while working in Visier.") - explanation: Optional[StrictStr] = Field(default=None, description="A longer description of the object that typically includes a definition, calculation details, and other guidance about how to use the object.") - designer_notes: Optional[StrictStr] = Field(default=None, description="An admin-only description of the object that provides design-specific information or considerations.", alias="designerNotes") - synonym_list: Optional[ServicingV2ObjectconfigurationSynonymListDTO] = Field(default=None, description="Alternative words or phrases for the object.", alias="synonymList") - __properties: ClassVar[List[str]] = ["displayName", "shortDisplayName", "description", "explanation", "designerNotes", "synonymList"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationBasicInformationDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of synonym_list - if self.synonym_list: - _dict['synonymList'] = self.synonym_list.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationBasicInformationDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "displayName": obj.get("displayName"), - "shortDisplayName": obj.get("shortDisplayName"), - "description": obj.get("description"), - "explanation": obj.get("explanation"), - "designerNotes": obj.get("designerNotes"), - "synonymList": ServicingV2ObjectconfigurationSynonymListDTO.from_dict(obj["synonymList"]) if obj.get("synonymList") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_bulk_change_response_dto.py deleted file mode 100644 index 87c2c35761..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_bulk_change_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_failed_change_dto import ServicingV2ObjectconfigurationFailedChangeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_successful_change_dto import ServicingV2ObjectconfigurationSuccessfulChangeDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationBulkChangeResponseDTO(BaseModel): - """ - ServicingV2ObjectconfigurationBulkChangeResponseDTO - """ # noqa: E501 - successes: Optional[List[ServicingV2ObjectconfigurationSuccessfulChangeDTO]] = Field(default=None, description="The list of successful changes.") - failures: Optional[List[ServicingV2ObjectconfigurationFailedChangeDTO]] = Field(default=None, description="The list of failed changes.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationBulkChangeResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationBulkChangeResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [ServicingV2ObjectconfigurationSuccessfulChangeDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [ServicingV2ObjectconfigurationFailedChangeDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_calculated_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_calculated_property_type_dto.py deleted file mode 100644 index fe095437c0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_calculated_property_type_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO(BaseModel): - """ - A calculated property that takes a value that comes directly from the data and creates a new value through a formula. - """ # noqa: E501 - data_type: Optional[StrictStr] = Field(default=None, description="The property's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") - primitive_type: Optional[StrictStr] = Field(default=None, description="The primitive data type, such as String, Integer, or Boolean.", alias="primitiveType") - formula: Optional[StrictStr] = Field(default=None, description="The property's formula written in Visier Formula Language (VFL).") - __properties: ClassVar[List[str]] = ["dataType", "primitiveType", "formula"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataType": obj.get("dataType"), - "primitiveType": obj.get("primitiveType"), - "formula": obj.get("formula") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_definition_dto.py deleted file mode 100644 index 7a996ced50..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_definition_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_basic_information_dto import ServicingV2ObjectconfigurationBasicInformationDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_type_details_dto import ServicingV2ObjectconfigurationConceptTypeDetailsDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationConceptDefinitionDTO(BaseModel): - """ - Information about the concept, such as its UUID and concept type. - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the concept.") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the concept.", alias="objectName") - basic_information: Optional[ServicingV2ObjectconfigurationBasicInformationDTO] = Field(default=None, description="Fields that identify and describe the concept, such as its display name, description, and explanation.", alias="basicInformation") - details: Optional[ServicingV2ObjectconfigurationConceptTypeDetailsDTO] = Field(default=None, description="The concept type and its details.") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of basic_information - if self.basic_information: - _dict['basicInformation'] = self.basic_information.to_dict() - # override the default output from pydantic by calling `to_dict()` of details - if self.details: - _dict['details'] = self.details.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "objectName": obj.get("objectName"), - "basicInformation": ServicingV2ObjectconfigurationBasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, - "details": ServicingV2ObjectconfigurationConceptTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_request_dto.py deleted file mode 100644 index 0fdd621786..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_delete_with_context_dto import ServicingV2ObjectconfigurationConceptDeleteWithContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationConceptDeleteRequestDTO(BaseModel): - """ - The concepts to delete. - """ # noqa: E501 - concepts: Optional[List[ServicingV2ObjectconfigurationConceptDeleteWithContextDTO]] = Field(default=None, description="The concepts in the request.") - __properties: ClassVar[List[str]] = ["concepts"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptDeleteRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) - _items = [] - if self.concepts: - for _item_concepts in self.concepts: - if _item_concepts: - _items.append(_item_concepts.to_dict()) - _dict['concepts'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptDeleteRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "concepts": [ServicingV2ObjectconfigurationConceptDeleteWithContextDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_with_context_dto.py deleted file mode 100644 index 36acd4bfb8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_with_context_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_execution_context_dto import ServicingV2ObjectconfigurationExecutionContextDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_object_id_dto import ServicingV2ObjectconfigurationObjectIdDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationConceptDeleteWithContextDTO(BaseModel): - """ - Information about the concept to delete and the context of the API request, such as the tenant code and project ID. - """ # noqa: E501 - execution_context: Optional[ServicingV2ObjectconfigurationExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") - concept: Optional[ServicingV2ObjectconfigurationObjectIdDTO] = Field(default=None, description="Information identifying the concept to delete.") - __properties: ClassVar[List[str]] = ["executionContext", "concept"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptDeleteWithContextDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of execution_context - if self.execution_context: - _dict['executionContext'] = self.execution_context.to_dict() - # override the default output from pydantic by calling `to_dict()` of concept - if self.concept: - _dict['concept'] = self.concept.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptDeleteWithContextDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "executionContext": ServicingV2ObjectconfigurationExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, - "concept": ServicingV2ObjectconfigurationObjectIdDTO.from_dict(obj["concept"]) if obj.get("concept") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_request_dto.py deleted file mode 100644 index 1274d028ed..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_request_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_with_context_dto import ServicingV2ObjectconfigurationConceptWithContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationConceptRequestDTO(BaseModel): - """ - The concepts to create or update. - """ # noqa: E501 - concepts: Optional[List[ServicingV2ObjectconfigurationConceptWithContextDTO]] = Field(default=None, description="The concepts in the request.") - __properties: ClassVar[List[str]] = ["concepts"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptRequestDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) - _items = [] - if self.concepts: - for _item_concepts in self.concepts: - if _item_concepts: - _items.append(_item_concepts.to_dict()) - _dict['concepts'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptRequestDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "concepts": [ServicingV2ObjectconfigurationConceptWithContextDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_response_dto.py deleted file mode 100644 index 991f336d35..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_response_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_with_context_dto import ServicingV2ObjectconfigurationConceptWithContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationConceptResponseDTO(BaseModel): - """ - The response for retrieving concepts. - """ # noqa: E501 - concepts: Optional[List[ServicingV2ObjectconfigurationConceptWithContextDTO]] = Field(default=None, description="The concepts in the response.") - __properties: ClassVar[List[str]] = ["concepts"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) - _items = [] - if self.concepts: - for _item_concepts in self.concepts: - if _item_concepts: - _items.append(_item_concepts.to_dict()) - _dict['concepts'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "concepts": [ServicingV2ObjectconfigurationConceptWithContextDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_type_details_dto.py deleted file mode 100644 index e86ca417c1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_type_details_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_definition_dto import ServicingV2ObjectconfigurationProcessConceptDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationConceptTypeDetailsDTO(BaseModel): - """ - ServicingV2ObjectconfigurationConceptTypeDetailsDTO - """ # noqa: E501 - process: Optional[ServicingV2ObjectconfigurationProcessConceptDefinitionDTO] = Field(default=None, description="The process concept's associated objects, such as its analytic object and status dimension.") - __properties: ClassVar[List[str]] = ["process"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptTypeDetailsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of process - if self.process: - _dict['process'] = self.process.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptTypeDetailsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "process": ServicingV2ObjectconfigurationProcessConceptDefinitionDTO.from_dict(obj["process"]) if obj.get("process") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_with_context_dto.py deleted file mode 100644 index 33c4320de5..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_with_context_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_concept_definition_dto import ServicingV2ObjectconfigurationConceptDefinitionDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_execution_context_dto import ServicingV2ObjectconfigurationExecutionContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationConceptWithContextDTO(BaseModel): - """ - Information about the concept and the context of the API request, such as the tenant code and project ID. - """ # noqa: E501 - execution_context: Optional[ServicingV2ObjectconfigurationExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") - concept: Optional[ServicingV2ObjectconfigurationConceptDefinitionDTO] = Field(default=None, description="Information about the concept, such as its UUID and concept type.") - __properties: ClassVar[List[str]] = ["executionContext", "concept"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptWithContextDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of execution_context - if self.execution_context: - _dict['executionContext'] = self.execution_context.to_dict() - # override the default output from pydantic by calling `to_dict()` of concept - if self.concept: - _dict['concept'] = self.concept.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationConceptWithContextDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "executionContext": ServicingV2ObjectconfigurationExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, - "concept": ServicingV2ObjectconfigurationConceptDefinitionDTO.from_dict(obj["concept"]) if obj.get("concept") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_execution_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_execution_context_dto.py deleted file mode 100644 index 361aa5d140..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_execution_context_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationExecutionContextDTO(BaseModel): - """ - The context of the API request, such as the tenant code and project ID. - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project ID.", alias="projectId") - __properties: ClassVar[List[str]] = ["tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationExecutionContextDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationExecutionContextDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_failed_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_failed_change_dto.py deleted file mode 100644 index 39d0a855e6..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_failed_change_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_execution_context_dto import ServicingV2ObjectconfigurationExecutionContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationFailedChangeDTO(BaseModel): - """ - ServicingV2ObjectconfigurationFailedChangeDTO - """ # noqa: E501 - execution_context: Optional[ServicingV2ObjectconfigurationExecutionContextDTO] = Field(default=None, description="The tenant and, optionally, project that change was attempted on.", alias="executionContext") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the object that was attempted to be changed.", alias="objectName") - uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the object that was attempted to be changed.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the object that was attempted to be changed.", alias="displayName") - messages: Optional[List[StrictStr]] = Field(default=None, description="The error messages.") - __properties: ClassVar[List[str]] = ["executionContext", "objectName", "uuid", "displayName", "messages"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationFailedChangeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of execution_context - if self.execution_context: - _dict['executionContext'] = self.execution_context.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationFailedChangeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "executionContext": ServicingV2ObjectconfigurationExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, - "objectName": obj.get("objectName"), - "uuid": obj.get("uuid"), - "displayName": obj.get("displayName"), - "messages": obj.get("messages") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_definition_dto.py deleted file mode 100644 index 0a90c1381c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_definition_dto.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_basic_information_dto import ServicingV2ObjectconfigurationBasicInformationDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_metric_type_details_dto import ServicingV2ObjectconfigurationMetricTypeDetailsDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationMetricDefinitionDTO(BaseModel): - """ - Information about the metric, such as its object name, basic information, and additive type. - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the metric.") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the metric.", alias="objectName") - basic_information: Optional[ServicingV2ObjectconfigurationBasicInformationDTO] = Field(default=None, description="Fields that identify and describe the metric, such as its display name, description, and explanation.", alias="basicInformation") - details: Optional[ServicingV2ObjectconfigurationMetricTypeDetailsDTO] = Field(default=None, description="The metric type and its details.") - additive_type: Optional[StrictStr] = Field(default=None, description="How to sum the metric's values. Valid values: - `fullyAdditive`: Sums the metric over any dimension, concept, or time period. - `balance`: Sums the metric over any dimension or concept, but not time period. - `nonAdditive`: Metric values are not additive.", alias="additiveType") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "additiveType"] - - @field_validator('additive_type') - def additive_type_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['fullyAdditive', 'balance', 'nonAdditive', 'unknown']): - raise ValueError("must be one of enum values ('fullyAdditive', 'balance', 'nonAdditive', 'unknown')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationMetricDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of basic_information - if self.basic_information: - _dict['basicInformation'] = self.basic_information.to_dict() - # override the default output from pydantic by calling `to_dict()` of details - if self.details: - _dict['details'] = self.details.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationMetricDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "objectName": obj.get("objectName"), - "basicInformation": ServicingV2ObjectconfigurationBasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, - "details": ServicingV2ObjectconfigurationMetricTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, - "additiveType": obj.get("additiveType") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_type_details_dto.py deleted file mode 100644 index 18d7e5cc43..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_type_details_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_metric_definition_dto import ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationMetricTypeDetailsDTO(BaseModel): - """ - ServicingV2ObjectconfigurationMetricTypeDetailsDTO - """ # noqa: E501 - process_concept: Optional[ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO] = Field(default=None, description="Information about the metric, such as its formula and data type.", alias="processConcept") - __properties: ClassVar[List[str]] = ["processConcept"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationMetricTypeDetailsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of process_concept - if self.process_concept: - _dict['processConcept'] = self.process_concept.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationMetricTypeDetailsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "processConcept": ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO.from_dict(obj["processConcept"]) if obj.get("processConcept") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_object_id_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_object_id_dto.py deleted file mode 100644 index 9a8caaa039..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_object_id_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationObjectIdDTO(BaseModel): - """ - The identifier for the object. - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the object.") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the object.", alias="objectName") - __properties: ClassVar[List[str]] = ["uuid", "objectName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationObjectIdDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationObjectIdDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "objectName": obj.get("objectName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_definition_dto.py deleted file mode 100644 index 412618b654..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_definition_dto.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_metric_list_dto import ServicingV2ObjectconfigurationProcessConceptMetricListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_outcome_list_dto import ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_property_list_dto import ServicingV2ObjectconfigurationProcessConceptPropertyListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_stage_list_dto import ServicingV2ObjectconfigurationProcessConceptStageListDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_tag_reference_list_dto import ServicingV2ObjectconfigurationTagReferenceListDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptDefinitionDTO(BaseModel): - """ - The process concept's associated objects, such as its analytic object and status dimension. - """ # noqa: E501 - analytic_object_name: Optional[StrictStr] = Field(default=None, description="The object name of the analytic object for the process concept.", alias="analyticObjectName") - status_dimension_object_name: Optional[StrictStr] = Field(default=None, description="The object name of the status dimension for the process concept.", alias="statusDimensionObjectName") - participation_concept_uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the participation concept for the process concept.", alias="participationConceptUuid") - on_hold_concept_uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the on-hold concept for the process concept.", alias="onHoldConceptUuid") - stage_list: Optional[ServicingV2ObjectconfigurationProcessConceptStageListDTO] = Field(default=None, description="The process concept's stages.", alias="stageList") - outcome_list: Optional[ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO] = Field(default=None, description="The process concept's outcomes.", alias="outcomeList") - metric_list: Optional[ServicingV2ObjectconfigurationProcessConceptMetricListDTO] = Field(default=None, description="The process concept's associated metrics.", alias="metricList") - property_list: Optional[ServicingV2ObjectconfigurationProcessConceptPropertyListDTO] = Field(default=None, description="The process concept's associated properties.", alias="propertyList") - tag_list: Optional[ServicingV2ObjectconfigurationTagReferenceListDTO] = Field(default=None, description="The tags assigned to the object.", alias="tagList") - visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution.", alias="visibleInAnalytics") - include_with_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the object is available in Vee's responses.", alias="includeWithVee") - __properties: ClassVar[List[str]] = ["analyticObjectName", "statusDimensionObjectName", "participationConceptUuid", "onHoldConceptUuid", "stageList", "outcomeList", "metricList", "propertyList", "tagList", "visibleInAnalytics", "includeWithVee"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of stage_list - if self.stage_list: - _dict['stageList'] = self.stage_list.to_dict() - # override the default output from pydantic by calling `to_dict()` of outcome_list - if self.outcome_list: - _dict['outcomeList'] = self.outcome_list.to_dict() - # override the default output from pydantic by calling `to_dict()` of metric_list - if self.metric_list: - _dict['metricList'] = self.metric_list.to_dict() - # override the default output from pydantic by calling `to_dict()` of property_list - if self.property_list: - _dict['propertyList'] = self.property_list.to_dict() - # override the default output from pydantic by calling `to_dict()` of tag_list - if self.tag_list: - _dict['tagList'] = self.tag_list.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "analyticObjectName": obj.get("analyticObjectName"), - "statusDimensionObjectName": obj.get("statusDimensionObjectName"), - "participationConceptUuid": obj.get("participationConceptUuid"), - "onHoldConceptUuid": obj.get("onHoldConceptUuid"), - "stageList": ServicingV2ObjectconfigurationProcessConceptStageListDTO.from_dict(obj["stageList"]) if obj.get("stageList") is not None else None, - "outcomeList": ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO.from_dict(obj["outcomeList"]) if obj.get("outcomeList") is not None else None, - "metricList": ServicingV2ObjectconfigurationProcessConceptMetricListDTO.from_dict(obj["metricList"]) if obj.get("metricList") is not None else None, - "propertyList": ServicingV2ObjectconfigurationProcessConceptPropertyListDTO.from_dict(obj["propertyList"]) if obj.get("propertyList") is not None else None, - "tagList": ServicingV2ObjectconfigurationTagReferenceListDTO.from_dict(obj["tagList"]) if obj.get("tagList") is not None else None, - "visibleInAnalytics": obj.get("visibleInAnalytics"), - "includeWithVee": obj.get("includeWithVee") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_dto.py deleted file mode 100644 index f3cd87f752..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptMemberDTO(BaseModel): - """ - Each member mapped to a stage or outcome in the process concept. - """ # noqa: E501 - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the mapped member.", alias="displayName") - name_path: Optional[List[StrictStr]] = Field(default=None, description="The name path of the mapped member.", alias="namePath") - __properties: ClassVar[List[str]] = ["displayName", "namePath"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptMemberDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptMemberDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "displayName": obj.get("displayName"), - "namePath": obj.get("namePath") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_list_dto.py deleted file mode 100644 index ec204e1f74..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_dto import ServicingV2ObjectconfigurationProcessConceptMemberDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptMemberListDTO(BaseModel): - """ - The members mapped to a stage or outcome in the process concept. - """ # noqa: E501 - members: Optional[List[ServicingV2ObjectconfigurationProcessConceptMemberDTO]] = Field(default=None, description="Each member mapped to a stage or outcome in the process concept.") - __properties: ClassVar[List[str]] = ["members"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptMemberListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in members (list) - _items = [] - if self.members: - for _item_members in self.members: - if _item_members: - _items.append(_item_members.to_dict()) - _dict['members'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptMemberListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "members": [ServicingV2ObjectconfigurationProcessConceptMemberDTO.from_dict(_item) for _item in obj["members"]] if obj.get("members") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py deleted file mode 100644 index 25bdaaeb41..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO(BaseModel): - """ - Information about the metric, such as its formula and data type. - """ # noqa: E501 - formula: Optional[StrictStr] = Field(default=None, description="The metric's formula written in Visier Formula Language (VFL).") - data_type: Optional[StrictStr] = Field(default=None, description="The metric's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") - visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution. Default is `true`.", alias="visibleInAnalytics") - __properties: ClassVar[List[str]] = ["formula", "dataType", "visibleInAnalytics"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptMetricDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "formula": obj.get("formula"), - "dataType": obj.get("dataType"), - "visibleInAnalytics": obj.get("visibleInAnalytics") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_list_dto.py deleted file mode 100644 index f7e0aa75a6..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_metric_definition_dto import ServicingV2ObjectconfigurationMetricDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptMetricListDTO(BaseModel): - """ - The process concept's associated metrics. - """ # noqa: E501 - metrics: Optional[List[ServicingV2ObjectconfigurationMetricDefinitionDTO]] = Field(default=None, description="Each metric in the process concept.") - __properties: ClassVar[List[str]] = ["metrics"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptMetricListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) - _items = [] - if self.metrics: - for _item_metrics in self.metrics: - if _item_metrics: - _items.append(_item_metrics.to_dict()) - _dict['metrics'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptMetricListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "metrics": [ServicingV2ObjectconfigurationMetricDefinitionDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_dto.py deleted file mode 100644 index 7cd98c25bd..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_dto.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_basic_information_dto import ServicingV2ObjectconfigurationBasicInformationDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_list_dto import ServicingV2ObjectconfigurationProcessConceptMemberListDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptOutcomeDTO(BaseModel): - """ - Information about a process concept outcome. - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the process concept outcome.") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the process concept outcome.", alias="objectName") - basic_information: Optional[ServicingV2ObjectconfigurationBasicInformationDTO] = Field(default=None, description="Fields that identify and describe the concept outcome, such as its display name, description, and explanation.", alias="basicInformation") - outcome_semantic: Optional[StrictStr] = Field(default=None, description="The end result of the process. Valid values: - `Success`: The outcome is considered successful; for example, Hired. This is the default. - `Fail`: The outcome is considered a failure; for example, Rejected.", alias="outcomeSemantic") - mapped_member_list: Optional[ServicingV2ObjectconfigurationProcessConceptMemberListDTO] = Field(default=None, description="Each member mapped to the process concept outcome.", alias="mappedMemberList") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "outcomeSemantic", "mappedMemberList"] - - @field_validator('outcome_semantic') - def outcome_semantic_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['Success', 'Fail']): - raise ValueError("must be one of enum values ('Success', 'Fail')") - return value - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptOutcomeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of basic_information - if self.basic_information: - _dict['basicInformation'] = self.basic_information.to_dict() - # override the default output from pydantic by calling `to_dict()` of mapped_member_list - if self.mapped_member_list: - _dict['mappedMemberList'] = self.mapped_member_list.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptOutcomeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "objectName": obj.get("objectName"), - "basicInformation": ServicingV2ObjectconfigurationBasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, - "outcomeSemantic": obj.get("outcomeSemantic"), - "mappedMemberList": ServicingV2ObjectconfigurationProcessConceptMemberListDTO.from_dict(obj["mappedMemberList"]) if obj.get("mappedMemberList") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py deleted file mode 100644 index c6ebdcbf94..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_outcome_dto import ServicingV2ObjectconfigurationProcessConceptOutcomeDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO(BaseModel): - """ - The process concept's outcomes. - """ # noqa: E501 - outcomes: Optional[List[ServicingV2ObjectconfigurationProcessConceptOutcomeDTO]] = Field(default=None, description="Each outcome in the process concept.") - __properties: ClassVar[List[str]] = ["outcomes"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in outcomes (list) - _items = [] - if self.outcomes: - for _item_outcomes in self.outcomes: - if _item_outcomes: - _items.append(_item_outcomes.to_dict()) - _dict['outcomes'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptOutcomeListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "outcomes": [ServicingV2ObjectconfigurationProcessConceptOutcomeDTO.from_dict(_item) for _item in obj["outcomes"]] if obj.get("outcomes") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_list_dto.py deleted file mode 100644 index b3a8fa7e51..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_property_definition_dto import ServicingV2ObjectconfigurationPropertyDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptPropertyListDTO(BaseModel): - """ - The process concept's associated properties. - """ # noqa: E501 - properties: Optional[List[ServicingV2ObjectconfigurationPropertyDefinitionDTO]] = Field(default=None, description="Each property in the process concept.") - __properties: ClassVar[List[str]] = ["properties"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptPropertyListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in properties (list) - _items = [] - if self.properties: - for _item_properties in self.properties: - if _item_properties: - _items.append(_item_properties.to_dict()) - _dict['properties'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptPropertyListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "properties": [ServicingV2ObjectconfigurationPropertyDefinitionDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_type_dto.py deleted file mode 100644 index 26495f26f2..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_type_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO(BaseModel): - """ - A process concept property that takes a value that comes directly from the data and creates a new value through a formula. - """ # noqa: E501 - data_type: Optional[StrictStr] = Field(default=None, description="The property's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") - primitive_type: Optional[StrictStr] = Field(default=None, description="The primitive data type, such as String, Integer, or Boolean.", alias="primitiveType") - formula: Optional[StrictStr] = Field(default=None, description="The property's formula written in Visier Formula Language (VFL).") - __properties: ClassVar[List[str]] = ["dataType", "primitiveType", "formula"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataType": obj.get("dataType"), - "primitiveType": obj.get("primitiveType"), - "formula": obj.get("formula") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_dto.py deleted file mode 100644 index f0f1d72b1f..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_basic_information_dto import ServicingV2ObjectconfigurationBasicInformationDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_member_list_dto import ServicingV2ObjectconfigurationProcessConceptMemberListDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptStageDTO(BaseModel): - """ - Information about a process concept stage. - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the process concept stage.") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the process concept stage.", alias="objectName") - basic_information: Optional[ServicingV2ObjectconfigurationBasicInformationDTO] = Field(default=None, description="Fields that identify and describe the concept stage, such as its display name, description, and explanation.", alias="basicInformation") - mapped_member_list: Optional[ServicingV2ObjectconfigurationProcessConceptMemberListDTO] = Field(default=None, description="The members mapped to the process concept stage.", alias="mappedMemberList") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "mappedMemberList"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptStageDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of basic_information - if self.basic_information: - _dict['basicInformation'] = self.basic_information.to_dict() - # override the default output from pydantic by calling `to_dict()` of mapped_member_list - if self.mapped_member_list: - _dict['mappedMemberList'] = self.mapped_member_list.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptStageDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "objectName": obj.get("objectName"), - "basicInformation": ServicingV2ObjectconfigurationBasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, - "mappedMemberList": ServicingV2ObjectconfigurationProcessConceptMemberListDTO.from_dict(obj["mappedMemberList"]) if obj.get("mappedMemberList") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_list_dto.py deleted file mode 100644 index 523866c5c1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_stage_dto import ServicingV2ObjectconfigurationProcessConceptStageDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationProcessConceptStageListDTO(BaseModel): - """ - The process concept's stages. - """ # noqa: E501 - stages: Optional[List[ServicingV2ObjectconfigurationProcessConceptStageDTO]] = Field(default=None, description="Each stage in the process concept.") - __properties: ClassVar[List[str]] = ["stages"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptStageListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in stages (list) - _items = [] - if self.stages: - for _item_stages in self.stages: - if _item_stages: - _items.append(_item_stages.to_dict()) - _dict['stages'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationProcessConceptStageListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "stages": [ServicingV2ObjectconfigurationProcessConceptStageDTO.from_dict(_item) for _item in obj["stages"]] if obj.get("stages") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_property_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_property_definition_dto.py deleted file mode 100644 index f6bd91f8ae..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_property_definition_dto.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_basic_information_dto import ServicingV2ObjectconfigurationBasicInformationDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_property_type_details_dto import ServicingV2ObjectconfigurationPropertyTypeDetailsDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationPropertyDefinitionDTO(BaseModel): - """ - ServicingV2ObjectconfigurationPropertyDefinitionDTO - """ # noqa: E501 - uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the property.") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the property.", alias="objectName") - basic_information: Optional[ServicingV2ObjectconfigurationBasicInformationDTO] = Field(default=None, description="Fields that identify and describe the property, such as its display name, description, and explanation.", alias="basicInformation") - details: Optional[ServicingV2ObjectconfigurationPropertyTypeDetailsDTO] = Field(default=None, description="The property type and its details.") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationPropertyDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of basic_information - if self.basic_information: - _dict['basicInformation'] = self.basic_information.to_dict() - # override the default output from pydantic by calling `to_dict()` of details - if self.details: - _dict['details'] = self.details.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationPropertyDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "uuid": obj.get("uuid"), - "objectName": obj.get("objectName"), - "basicInformation": ServicingV2ObjectconfigurationBasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, - "details": ServicingV2ObjectconfigurationPropertyTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_property_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_property_type_details_dto.py deleted file mode 100644 index 014ae9485c..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_property_type_details_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_calculated_property_type_dto import ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_process_concept_property_type_dto import ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO -from visier_platform_sdk.models.servicing_v2_objectconfiguration_simple_property_type_dto import ServicingV2ObjectconfigurationSimplePropertyTypeDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationPropertyTypeDetailsDTO(BaseModel): - """ - The property type. - """ # noqa: E501 - simple: Optional[ServicingV2ObjectconfigurationSimplePropertyTypeDTO] = Field(default=None, description="The simple property type, which provides a single value directly from the data.") - calculated: Optional[ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO] = Field(default=None, description="The calculated property type, which derives its value using a formula.") - process_concept: Optional[ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO] = Field(default=None, description="The process concept property type, which describes the relationship between subject member properties and a subject member in the process pipeline.", alias="processConcept") - __properties: ClassVar[List[str]] = ["simple", "calculated", "processConcept"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationPropertyTypeDetailsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of simple - if self.simple: - _dict['simple'] = self.simple.to_dict() - # override the default output from pydantic by calling `to_dict()` of calculated - if self.calculated: - _dict['calculated'] = self.calculated.to_dict() - # override the default output from pydantic by calling `to_dict()` of process_concept - if self.process_concept: - _dict['processConcept'] = self.process_concept.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationPropertyTypeDetailsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "simple": ServicingV2ObjectconfigurationSimplePropertyTypeDTO.from_dict(obj["simple"]) if obj.get("simple") is not None else None, - "calculated": ServicingV2ObjectconfigurationCalculatedPropertyTypeDTO.from_dict(obj["calculated"]) if obj.get("calculated") is not None else None, - "processConcept": ServicingV2ObjectconfigurationProcessConceptPropertyTypeDTO.from_dict(obj["processConcept"]) if obj.get("processConcept") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_simple_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_simple_property_type_dto.py deleted file mode 100644 index feb6df3634..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_simple_property_type_dto.py +++ /dev/null @@ -1,90 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationSimplePropertyTypeDTO(BaseModel): - """ - A simple property that provides single-level detail to an analytic object and contains one value at a time. - """ # noqa: E501 - data_type: Optional[StrictStr] = Field(default=None, description="The property's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") - primitive_type: Optional[StrictStr] = Field(default=None, description="The primitive data type, such as String, Integer, or Boolean.", alias="primitiveType") - __properties: ClassVar[List[str]] = ["dataType", "primitiveType"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationSimplePropertyTypeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationSimplePropertyTypeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "dataType": obj.get("dataType"), - "primitiveType": obj.get("primitiveType") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_successful_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_successful_change_dto.py deleted file mode 100644 index a6931f79a1..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_successful_change_dto.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_execution_context_dto import ServicingV2ObjectconfigurationExecutionContextDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationSuccessfulChangeDTO(BaseModel): - """ - ServicingV2ObjectconfigurationSuccessfulChangeDTO - """ # noqa: E501 - execution_context: Optional[ServicingV2ObjectconfigurationExecutionContextDTO] = Field(default=None, description="The tenant and, optionally, project that change was made on.", alias="executionContext") - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the object that was changed.", alias="objectName") - uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the object that was changed.") - display_name: Optional[StrictStr] = Field(default=None, description="The display name of the object that was changed.", alias="displayName") - __properties: ClassVar[List[str]] = ["executionContext", "objectName", "uuid", "displayName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationSuccessfulChangeDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of execution_context - if self.execution_context: - _dict['executionContext'] = self.execution_context.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationSuccessfulChangeDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "executionContext": ServicingV2ObjectconfigurationExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, - "objectName": obj.get("objectName"), - "uuid": obj.get("uuid"), - "displayName": obj.get("displayName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_synonym_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_synonym_list_dto.py deleted file mode 100644 index 43fab250cc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_synonym_list_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationSynonymListDTO(BaseModel): - """ - The object's synonyms. - """ # noqa: E501 - synonyms: Optional[List[StrictStr]] = Field(default=None, description="Alternative words or phrases for the object.") - __properties: ClassVar[List[str]] = ["synonyms"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationSynonymListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationSynonymListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "synonyms": obj.get("synonyms") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_dto.py deleted file mode 100644 index fc4647cbe0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationTagReferenceDTO(BaseModel): - """ - A reference to a tag. - """ # noqa: E501 - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the tag.", alias="objectName") - __properties: ClassVar[List[str]] = ["objectName"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationTagReferenceDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationTagReferenceDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "objectName": obj.get("objectName") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_list_dto.py deleted file mode 100644 index 72aa1f2154..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_list_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_v2_objectconfiguration_tag_reference_dto import ServicingV2ObjectconfigurationTagReferenceDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingV2ObjectconfigurationTagReferenceListDTO(BaseModel): - """ - The tags assigned to the object. - """ # noqa: E501 - tags: Optional[List[ServicingV2ObjectconfigurationTagReferenceDTO]] = Field(default=None, description="A list of tags assigned to the object.") - __properties: ClassVar[List[str]] = ["tags"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationTagReferenceListDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in tags (list) - _items = [] - if self.tags: - for _item_tags in self.tags: - if _item_tags: - _items.append(_item_tags.to_dict()) - _dict['tags'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingV2ObjectconfigurationTagReferenceListDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tags": [ServicingV2ObjectconfigurationTagReferenceDTO.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_definition_dto.py deleted file mode 100644 index b86faa6ee8..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_definition_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_user_group_assignment_dto import ServicingUserGroupAssignmentDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingVeeQuestionChangeDefinitionDTO(BaseModel): - """ - ServicingVeeQuestionChangeDefinitionDTO - """ # noqa: E501 - question: Optional[StrictStr] = Field(default=None, description="A question in plain language to display in Vee.") - question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question. Omit if creating a new sample question.", alias="questionId") - visible_in_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the question is visible in Vee. Default is `true`.", alias="visibleInVee") - category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") - user_group_assignment: Optional[ServicingUserGroupAssignmentDTO] = Field(default=None, description="The user group IDs assigned to the sample question.", alias="userGroupAssignment") - __properties: ClassVar[List[str]] = ["question", "questionId", "visibleInVee", "categoryId", "userGroupAssignment"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionChangeDefinitionDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of user_group_assignment - if self.user_group_assignment: - _dict['userGroupAssignment'] = self.user_group_assignment.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionChangeDefinitionDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "question": obj.get("question"), - "questionId": obj.get("questionId"), - "visibleInVee": obj.get("visibleInVee"), - "categoryId": obj.get("categoryId"), - "userGroupAssignment": ServicingUserGroupAssignmentDTO.from_dict(obj["userGroupAssignment"]) if obj.get("userGroupAssignment") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_definitions_by_tenant_dto.py deleted file mode 100644 index b95eee6115..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_definitions_by_tenant_dto.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_vee_question_change_definition_dto import ServicingVeeQuestionChangeDefinitionDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingVeeQuestionChangeDefinitionsByTenantDTO(BaseModel): - """ - ServicingVeeQuestionChangeDefinitionsByTenantDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the tenant in which to update sample questions.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="To make changes in a project, specify a project ID.", alias="projectId") - questions: Optional[List[ServicingVeeQuestionChangeDefinitionDTO]] = Field(default=None, description="The list of sample questions to update.") - __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "questions"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionChangeDefinitionsByTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in questions (list) - _items = [] - if self.questions: - for _item_questions in self.questions: - if _item_questions: - _items.append(_item_questions.to_dict()) - _dict['questions'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionChangeDefinitionsByTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId"), - "questions": [ServicingVeeQuestionChangeDefinitionDTO.from_dict(_item) for _item in obj["questions"]] if obj.get("questions") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_failure_dto.py deleted file mode 100644 index f657f7a424..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_failure_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_user_group_assignment_dto import ServicingUserGroupAssignmentDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingVeeQuestionChangeFailureDTO(BaseModel): - """ - ServicingVeeQuestionChangeFailureDTO - """ # noqa: E501 - question: Optional[StrictStr] = Field(default=None, description="The question in plain language that was not successfully changed.") - question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question that was not successfully changed.", alias="questionId") - category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the category of the sample question that was not successfully changed.", alias="categoryId") - user_group_assignment: Optional[ServicingUserGroupAssignmentDTO] = Field(default=None, description="The user group IDs that were not successfully assigned to the sample question.", alias="userGroupAssignment") - message: Optional[StrictStr] = Field(default=None, description="An error message describing the cause of the failure.") - rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the object was not successfully changed in.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project that the object was not successfully changed in.", alias="projectId") - __properties: ClassVar[List[str]] = ["question", "questionId", "categoryId", "userGroupAssignment", "message", "rci", "tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionChangeFailureDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of user_group_assignment - if self.user_group_assignment: - _dict['userGroupAssignment'] = self.user_group_assignment.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionChangeFailureDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "question": obj.get("question"), - "questionId": obj.get("questionId"), - "categoryId": obj.get("categoryId"), - "userGroupAssignment": ServicingUserGroupAssignmentDTO.from_dict(obj["userGroupAssignment"]) if obj.get("userGroupAssignment") is not None else None, - "message": obj.get("message"), - "rci": obj.get("rci"), - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_success_dto.py deleted file mode 100644 index 24db752c01..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_change_success_dto.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_user_group_assignment_dto import ServicingUserGroupAssignmentDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingVeeQuestionChangeSuccessDTO(BaseModel): - """ - ServicingVeeQuestionChangeSuccessDTO - """ # noqa: E501 - question: Optional[StrictStr] = Field(default=None, description="The sample question in plain language that was successfully changed.") - question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question that was successfully changed.", alias="questionId") - visible_in_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the question is visible in Vee.", alias="visibleInVee") - category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the category of the question that was successfully changed.", alias="categoryId") - user_group_assignment: Optional[ServicingUserGroupAssignmentDTO] = Field(default=None, description="The user group IDs that were successfully assigned to the sample question.", alias="userGroupAssignment") - tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the sample question was changed in.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project that the sample question was changed in.", alias="projectId") - __properties: ClassVar[List[str]] = ["question", "questionId", "visibleInVee", "categoryId", "userGroupAssignment", "tenantCode", "projectId"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionChangeSuccessDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of user_group_assignment - if self.user_group_assignment: - _dict['userGroupAssignment'] = self.user_group_assignment.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionChangeSuccessDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "question": obj.get("question"), - "questionId": obj.get("questionId"), - "visibleInVee": obj.get("visibleInVee"), - "categoryId": obj.get("categoryId"), - "userGroupAssignment": ServicingUserGroupAssignmentDTO.from_dict(obj["userGroupAssignment"]) if obj.get("userGroupAssignment") is not None else None, - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_delete_definitions_by_tenant_dto.py deleted file mode 100644 index 4ae1f8af74..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_question_delete_definitions_by_tenant_dto.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class ServicingVeeQuestionDeleteDefinitionsByTenantDTO(BaseModel): - """ - ServicingVeeQuestionDeleteDefinitionsByTenantDTO - """ # noqa: E501 - tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant to delete sample questions from. Default is the current tenant.", alias="tenantCode") - project_id: Optional[StrictStr] = Field(default=None, description="The project in which to delete sample questions. If omitted and the ProjectID request header is not defined, the change is published to production immediately.", alias="projectId") - question_ids: Optional[List[StrictStr]] = Field(default=None, description="The IDs of the sample questions to delete for a specific tenant.", alias="questionIds") - __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "questionIds"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionDeleteDefinitionsByTenantDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionDeleteDefinitionsByTenantDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "tenantCode": obj.get("tenantCode"), - "projectId": obj.get("projectId"), - "questionIds": obj.get("questionIds") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_bulk_change_response_dto.py deleted file mode 100644 index 3455a748bb..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_bulk_change_response_dto.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_vee_question_change_failure_dto import ServicingVeeQuestionChangeFailureDTO -from visier_platform_sdk.models.servicing_vee_question_change_success_dto import ServicingVeeQuestionChangeSuccessDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingVeeQuestionsBulkChangeResponseDTO(BaseModel): - """ - ServicingVeeQuestionsBulkChangeResponseDTO - """ # noqa: E501 - successes: Optional[List[ServicingVeeQuestionChangeSuccessDTO]] = Field(default=None, description="The sample questions that were successfully changed.") - failures: Optional[List[ServicingVeeQuestionChangeFailureDTO]] = Field(default=None, description="The sample questions that were not successfully changed.") - __properties: ClassVar[List[str]] = ["successes", "failures"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionsBulkChangeResponseDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in successes (list) - _items = [] - if self.successes: - for _item_successes in self.successes: - if _item_successes: - _items.append(_item_successes.to_dict()) - _dict['successes'] = _items - # override the default output from pydantic by calling `to_dict()` of each item in failures (list) - _items = [] - if self.failures: - for _item_failures in self.failures: - if _item_failures: - _items.append(_item_failures.to_dict()) - _dict['failures'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionsBulkChangeResponseDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "successes": [ServicingVeeQuestionChangeSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, - "failures": [ServicingVeeQuestionChangeFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_change_definitions_dto.py deleted file mode 100644 index c8e48badce..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_change_definitions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_vee_question_change_definitions_by_tenant_dto import ServicingVeeQuestionChangeDefinitionsByTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingVeeQuestionsChangeDefinitionsDTO(BaseModel): - """ - ServicingVeeQuestionsChangeDefinitionsDTO - """ # noqa: E501 - questions_by_tenant: Optional[List[ServicingVeeQuestionChangeDefinitionsByTenantDTO]] = Field(default=None, description="The Vee sample question updates to make in each tenant.", alias="questionsByTenant") - __properties: ClassVar[List[str]] = ["questionsByTenant"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionsChangeDefinitionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in questions_by_tenant (list) - _items = [] - if self.questions_by_tenant: - for _item_questions_by_tenant in self.questions_by_tenant: - if _item_questions_by_tenant: - _items.append(_item_questions_by_tenant.to_dict()) - _dict['questionsByTenant'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionsChangeDefinitionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "questionsByTenant": [ServicingVeeQuestionChangeDefinitionsByTenantDTO.from_dict(_item) for _item in obj["questionsByTenant"]] if obj.get("questionsByTenant") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_delete_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_delete_definitions_dto.py deleted file mode 100644 index 59187b92c4..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_vee_questions_delete_definitions_dto.py +++ /dev/null @@ -1,96 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.servicing_vee_question_delete_definitions_by_tenant_dto import ServicingVeeQuestionDeleteDefinitionsByTenantDTO -from typing import Optional, Set -from typing_extensions import Self - -class ServicingVeeQuestionsDeleteDefinitionsDTO(BaseModel): - """ - ServicingVeeQuestionsDeleteDefinitionsDTO - """ # noqa: E501 - questions_by_tenant: Optional[List[ServicingVeeQuestionDeleteDefinitionsByTenantDTO]] = Field(default=None, description="The sample questions to delete for each tenant.", alias="questionsByTenant") - __properties: ClassVar[List[str]] = ["questionsByTenant"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionsDeleteDefinitionsDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - # override the default output from pydantic by calling `to_dict()` of each item in questions_by_tenant (list) - _items = [] - if self.questions_by_tenant: - for _item_questions_by_tenant in self.questions_by_tenant: - if _item_questions_by_tenant: - _items.append(_item_questions_by_tenant.to_dict()) - _dict['questionsByTenant'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ServicingVeeQuestionsDeleteDefinitionsDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "questionsByTenant": [ServicingVeeQuestionDeleteDefinitionsByTenantDTO.from_dict(_item) for _item in obj["questionsByTenant"]] if obj.get("questionsByTenant") is not None else None - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_request_dto.py new file mode 100644 index 0000000000..5d032de535 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_request_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_connector_settings_request_dto import TenantConnectorSettingsRequestDTO +from typing import Optional, Set +from typing_extensions import Self + +class SetConnectorSettingRequestDTO(BaseModel): + """ + SetConnectorSettingRequestDTO + """ # noqa: E501 + connector_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the data connector.", alias="connectorId") + tenants: Optional[List[TenantConnectorSettingsRequestDTO]] = Field(default=None, description="The tenant codes and data connector settings to update.") + __properties: ClassVar[List[str]] = ["connectorId", "tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SetConnectorSettingRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SetConnectorSettingRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectorId": obj.get("connectorId"), + "tenants": [TenantConnectorSettingsRequestDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_response_dto.py new file mode 100644 index 0000000000..0b6d47c03b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_response_dto.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.connector_settings_response_dto import ConnectorSettingsResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class SetConnectorSettingResponseDTO(BaseModel): + """ + SetConnectorSettingResponseDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + connectors: Optional[List[ConnectorSettingsResponseDTO]] = Field(default=None, description="A list of objects representing the assigned settings and connectors.") + status: Optional[StrictStr] = Field(default=None, description="The state of the setting assignment. Valid values are Succeed or Failed.") + message: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["tenantCode", "connectors", "status", "message"] + + @field_validator('status') + def status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unknown', 'Succeed', 'Failed']): + raise ValueError("must be one of enum values ('Unknown', 'Succeed', 'Failed')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SetConnectorSettingResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) + _items = [] + if self.connectors: + for _item_connectors in self.connectors: + if _item_connectors: + _items.append(_item_connectors.to_dict()) + _dict['connectors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SetConnectorSettingResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "connectors": [ConnectorSettingsResponseDTO.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None, + "status": obj.get("status"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_request_dto.py new file mode 100644 index 0000000000..e1b13fc87c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.set_connector_setting_request_dto import SetConnectorSettingRequestDTO +from typing import Optional, Set +from typing_extensions import Self + +class SetConnectorSettingsRequestDTO(BaseModel): + """ + SetConnectorSettingsRequestDTO + """ # noqa: E501 + connectors: Optional[List[SetConnectorSettingRequestDTO]] = Field(default=None, description="The settings to define for each data connector and tenant.") + __properties: ClassVar[List[str]] = ["connectors"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SetConnectorSettingsRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in connectors (list) + _items = [] + if self.connectors: + for _item_connectors in self.connectors: + if _item_connectors: + _items.append(_item_connectors.to_dict()) + _dict['connectors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SetConnectorSettingsRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "connectors": [SetConnectorSettingRequestDTO.from_dict(_item) for _item in obj["connectors"]] if obj.get("connectors") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_response_dto.py new file mode 100644 index 0000000000..6ba8676d91 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.set_connector_setting_response_dto import SetConnectorSettingResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class SetConnectorSettingsResponseDTO(BaseModel): + """ + SetConnectorSettingsResponseDTO + """ # noqa: E501 + tenants: Optional[List[SetConnectorSettingResponseDTO]] = Field(default=None, description="The tenants and data connectors that were updated in the API request.") + __properties: ClassVar[List[str]] = ["tenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SetConnectorSettingsResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SetConnectorSettingsResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [SetConnectorSettingResponseDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/shareable_data_access_set.py b/src/visier_platform_sdk/visier_platform_sdk/models/shareable_data_access_set.py new file mode 100644 index 0000000000..a9556df590 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/shareable_data_access_set.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ShareableDataAccessSet(BaseModel): + """ + ShareableDataAccessSet + """ # noqa: E501 + data_access_set_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the shareable data access set.", alias="dataAccessSetId") + __properties: ClassVar[List[str]] = ["dataAccessSetId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ShareableDataAccessSet from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ShareableDataAccessSet from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataAccessSetId": obj.get("dataAccessSetId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_response_dto.py new file mode 100644 index 0000000000..fd12574002 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.simple_document_header_search_result_dto import SimpleDocumentHeaderSearchResultDTO +from typing import Optional, Set +from typing_extensions import Self + +class SimpleDocumentHeaderSearchResponseDTO(BaseModel): + """ + The response body structure for Simple document header search operations. + """ # noqa: E501 + document_headers: Optional[List[SimpleDocumentHeaderSearchResultDTO]] = Field(default=None, description="The ordered collection of document header search results. The results are sorted according to their relevance in a descending order.", alias="documentHeaders") + __properties: ClassVar[List[str]] = ["documentHeaders"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SimpleDocumentHeaderSearchResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in document_headers (list) + _items = [] + if self.document_headers: + for _item_document_headers in self.document_headers: + if _item_document_headers: + _items.append(_item_document_headers.to_dict()) + _dict['documentHeaders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SimpleDocumentHeaderSearchResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "documentHeaders": [SimpleDocumentHeaderSearchResultDTO.from_dict(_item) for _item in obj["documentHeaders"]] if obj.get("documentHeaders") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_result_dto.py new file mode 100644 index 0000000000..1ce097df9f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_result_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from visier_platform_sdk.models.document_search_link_dto import DocumentSearchLinkDTO +from typing import Optional, Set +from typing_extensions import Self + +class SimpleDocumentHeaderSearchResultDTO(BaseModel): + """ + Structure of a single document header search using the Simple search operation. + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the element in the search result.", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="The `Web Template Framework` representation of the search result element. This commonly displayed alongside the result by search portals.") + relevance: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The relevance of the search result and a number between `0` and `100`.") + view_link: Optional[DocumentSearchLinkDTO] = Field(default=None, description="Use the `viewLink` to build a web request to view this document.", alias="viewLink") + __properties: ClassVar[List[str]] = ["displayName", "description", "relevance", "viewLink"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SimpleDocumentHeaderSearchResultDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of view_link + if self.view_link: + _dict['viewLink'] = self.view_link.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SimpleDocumentHeaderSearchResultDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "relevance": obj.get("relevance"), + "viewLink": DocumentSearchLinkDTO.from_dict(obj["viewLink"]) if obj.get("viewLink") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_property_type_dto.py new file mode 100644 index 0000000000..66a3a03abb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_property_type_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SimplePropertyTypeDTO(BaseModel): + """ + SimplePropertyTypeDTO + """ # noqa: E501 + data_type: Optional[StrictStr] = Field(default=None, description="The data type of the property, such as Categorical, HourDuration, or Ratio.", alias="dataType") + __properties: ClassVar[List[str]] = ["dataType"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SimplePropertyTypeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SimplePropertyTypeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataType": obj.get("dataType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_user_dto.py new file mode 100644 index 0000000000..ff0cc6ae78 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_user_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SimpleUserDTO(BaseModel): + """ + SimpleUserDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") + username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.") + __properties: ClassVar[List[str]] = ["userId", "username"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SimpleUserDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SimpleUserDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "username": obj.get("username") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/slack_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/slack_auth_params_dto.py new file mode 100644 index 0000000000..d14c02b690 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/slack_auth_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SlackAuthParamsDTO(BaseModel): + """ + SlackAuthParamsDTO + """ # noqa: E501 + auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + __properties: ClassVar[List[str]] = ["authCode", "clientId", "clientSecret"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SlackAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SlackAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "authCode": obj.get("authCode"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_dto.py new file mode 100644 index 0000000000..72f72e9d33 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_dto.py @@ -0,0 +1,144 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.list_query_source_dto import ListQuerySourceDTO +from visier_platform_sdk.models.property_column_dto import PropertyColumnDTO +from visier_platform_sdk.models.query_filter_dto import QueryFilterDTO +from visier_platform_sdk.models.query_parameter_value_dto import QueryParameterValueDTO +from visier_platform_sdk.models.query_time_intervals_dto import QueryTimeIntervalsDTO +from visier_platform_sdk.models.snapshot_query_execution_options_dto import SnapshotQueryExecutionOptionsDTO +from visier_platform_sdk.models.sort_option_dto import SortOptionDTO +from typing import Optional, Set +from typing_extensions import Self + +class SnapshotQueryExecutionDTO(BaseModel): + """ + SnapshotQueryExecutionDTO + """ # noqa: E501 + source: Optional[ListQuerySourceDTO] = Field(default=None, description="The source data that you want to query.") + columns: Optional[List[PropertyColumnDTO]] = Field(default=None, description="The columns to include in the result. This must contain at least one column.") + sort_options: Optional[List[SortOptionDTO]] = Field(default=None, description="The index and direction to sort a column in the `columns` array.", alias="sortOptions") + filters: Optional[List[QueryFilterDTO]] = Field(default=None, description="The filters of this query. Omit `filters` if no filtering is required.") + time_intervals: Optional[QueryTimeIntervalsDTO] = Field(default=None, description="The time intervals to query.", alias="timeIntervals") + parameter_values: Optional[List[QueryParameterValueDTO]] = Field(default=None, description="The parameter values for either member or numeric parameters.", alias="parameterValues") + options: Optional[SnapshotQueryExecutionOptionsDTO] = Field(default=None, description="Additional instructions for your query, such as a calendar type or conversion information.") + __properties: ClassVar[List[str]] = ["source", "columns", "sortOptions", "filters", "timeIntervals", "parameterValues", "options"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SnapshotQueryExecutionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of source + if self.source: + _dict['source'] = self.source.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in columns (list) + _items = [] + if self.columns: + for _item_columns in self.columns: + if _item_columns: + _items.append(_item_columns.to_dict()) + _dict['columns'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in sort_options (list) + _items = [] + if self.sort_options: + for _item_sort_options in self.sort_options: + if _item_sort_options: + _items.append(_item_sort_options.to_dict()) + _dict['sortOptions'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in filters (list) + _items = [] + if self.filters: + for _item_filters in self.filters: + if _item_filters: + _items.append(_item_filters.to_dict()) + _dict['filters'] = _items + # override the default output from pydantic by calling `to_dict()` of time_intervals + if self.time_intervals: + _dict['timeIntervals'] = self.time_intervals.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in parameter_values (list) + _items = [] + if self.parameter_values: + for _item_parameter_values in self.parameter_values: + if _item_parameter_values: + _items.append(_item_parameter_values.to_dict()) + _dict['parameterValues'] = _items + # override the default output from pydantic by calling `to_dict()` of options + if self.options: + _dict['options'] = self.options.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SnapshotQueryExecutionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "source": ListQuerySourceDTO.from_dict(obj["source"]) if obj.get("source") is not None else None, + "columns": [PropertyColumnDTO.from_dict(_item) for _item in obj["columns"]] if obj.get("columns") is not None else None, + "sortOptions": [SortOptionDTO.from_dict(_item) for _item in obj["sortOptions"]] if obj.get("sortOptions") is not None else None, + "filters": [QueryFilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None, + "timeIntervals": QueryTimeIntervalsDTO.from_dict(obj["timeIntervals"]) if obj.get("timeIntervals") is not None else None, + "parameterValues": [QueryParameterValueDTO.from_dict(_item) for _item in obj["parameterValues"]] if obj.get("parameterValues") is not None else None, + "options": SnapshotQueryExecutionOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_options_dto.py new file mode 100644 index 0000000000..ddb2e02601 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_options_dto.py @@ -0,0 +1,134 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SnapshotQueryExecutionOptionsDTO(BaseModel): + """ + A SnapshotQueryExecutionOptions provides additional instructions to perform a snapshot query. + """ # noqa: E501 + limit: Optional[StrictInt] = Field(default=None, description="The maximum number of entries to return. Default is to return all entries. If `page` is defined but limit is not defined, limit will be set to a default value of 1000.") + query_mode: Optional[StrictStr] = Field(default=None, description="Determines how the query should handle column definitions that the query is unable to resolve. Default is DEFAULT.", alias="queryMode") + omit_header: Optional[StrictBool] = Field(default=None, description="Option to omit the header from the result. If true, queryMode must be either FILL or FAIL. Default is false.", alias="omitHeader") + calendar_type: Optional[StrictStr] = Field(default=None, description="The calendar type to use. This will be used for all time calculations unless explicitly overridden in the calculation itself. Default is TENANT_CALENDAR.", alias="calendarType") + currency_conversion_date: Optional[StrictStr] = Field(default=None, description="The currency conversion date to use. If defined, the currency conversion will use the exchange rates as of this date.", alias="currencyConversionDate") + page: Optional[StrictInt] = Field(default=None, description="A page defines a subset of the overall result set. The number of rows per page is equal to limit with the exception of the last page in the result set which may contain fewer rows. `Page` is an index that begins at 0. The index to start retrieving results is calculated by multiplying `page` by `limit`.") + multiple_tables: Optional[StrictBool] = Field(default=None, description="Option to return multiple table files as zipped archive for derived metrics. Default is false. If false, one table is returned for the drill-through metric.", alias="multipleTables") + currency_conversion_code: Optional[StrictStr] = Field(default=None, description="The optional target currency for all currency conversions. If not specified, the tenant default currency will be used.", alias="currencyConversionCode") + date_time_display_mode: Optional[StrictStr] = Field(default=None, description="Control how date-time values are displayed in the result set. Supported values: * `EPOCH`: The number of elapsed milliseconds since January 1, 1970 in UTC timezone. This is the default. * `DATETIME`: The date-time value displayed in `yyyy-MM-dd HH:mm:ssZZ` format.", alias="dateTimeDisplayMode") + __properties: ClassVar[List[str]] = ["limit", "queryMode", "omitHeader", "calendarType", "currencyConversionDate", "page", "multipleTables", "currencyConversionCode", "dateTimeDisplayMode"] + + @field_validator('query_mode') + def query_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['DEFAULT', 'FILL', 'FAIL']): + raise ValueError("must be one of enum values ('DEFAULT', 'FILL', 'FAIL')") + return value + + @field_validator('calendar_type') + def calendar_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['TENANT_CALENDAR', 'GREGORIAN_CALENDAR']): + raise ValueError("must be one of enum values ('TENANT_CALENDAR', 'GREGORIAN_CALENDAR')") + return value + + @field_validator('date_time_display_mode') + def date_time_display_mode_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['EPOCH', 'DATETIME']): + raise ValueError("must be one of enum values ('EPOCH', 'DATETIME')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SnapshotQueryExecutionOptionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SnapshotQueryExecutionOptionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "limit": obj.get("limit"), + "queryMode": obj.get("queryMode"), + "omitHeader": obj.get("omitHeader"), + "calendarType": obj.get("calendarType"), + "currencyConversionDate": obj.get("currencyConversionDate"), + "page": obj.get("page"), + "multipleTables": obj.get("multipleTables"), + "currencyConversionCode": obj.get("currencyConversionCode"), + "dateTimeDisplayMode": obj.get("dateTimeDisplayMode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/snowflake_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/snowflake_auth_params_dto.py new file mode 100644 index 0000000000..53bb79a768 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/snowflake_auth_params_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SnowflakeAuthParamsDTO(BaseModel): + """ + SnowflakeAuthParamsDTO + """ # noqa: E501 + account_identifier: Optional[StrictStr] = Field(default=None, alias="accountIdentifier") + database: Optional[StrictStr] = None + var_schema: Optional[StrictStr] = Field(default=None, alias="schema") + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + warehouse: Optional[StrictStr] = None + private_key: Optional[StrictStr] = Field(default=None, alias="privateKey") + __properties: ClassVar[List[str]] = ["accountIdentifier", "database", "schema", "username", "password", "warehouse", "privateKey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SnowflakeAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SnowflakeAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "accountIdentifier": obj.get("accountIdentifier"), + "database": obj.get("database"), + "schema": obj.get("schema"), + "username": obj.get("username"), + "password": obj.get("password"), + "warehouse": obj.get("warehouse"), + "privateKey": obj.get("privateKey") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sort_option_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sort_option_dto.py new file mode 100644 index 0000000000..8c74931b3c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sort_option_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SortOptionDTO(BaseModel): + """ + Sort option for a column of a list query. + """ # noqa: E501 + column_index: Optional[StrictInt] = Field(default=None, description="The index of the column of the list query, staring from 0.", alias="columnIndex") + sort_direction: Optional[StrictStr] = Field(default=None, description="The sort direction.", alias="sortDirection") + __properties: ClassVar[List[str]] = ["columnIndex", "sortDirection"] + + @field_validator('sort_direction') + def sort_direction_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['SORT_ASCENDING', 'SORT_DESCENDING']): + raise ValueError("must be one of enum values ('SORT_ASCENDING', 'SORT_DESCENDING')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SortOptionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SortOptionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "columnIndex": obj.get("columnIndex"), + "sortDirection": obj.get("sortDirection") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/source.py b/src/visier_platform_sdk/visier_platform_sdk/models/source.py new file mode 100644 index 0000000000..ff5291e0fe --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/source.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class Source(BaseModel): + """ + Source + """ # noqa: E501 + source_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the source that data was transferred to.", alias="sourceId") + source_name: Optional[StrictStr] = Field(default=None, description="The object name of the source.", alias="sourceName") + data_size: Optional[StrictStr] = Field(default=None, description="The size of the data transfer in bytes.", alias="dataSize") + rows: Optional[StrictStr] = Field(default=None, description="The number of rows in the data transfer.") + status: Optional[StrictStr] = Field(default=None, description="The status of the data transfer for this source.") + message: Optional[StrictStr] = Field(default=None, description="A meaningful message about the data transfer.") + __properties: ClassVar[List[str]] = ["sourceId", "sourceName", "dataSize", "rows", "status", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of Source from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of Source from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sourceId": obj.get("sourceId"), + "sourceName": obj.get("sourceName"), + "dataSize": obj.get("dataSize"), + "rows": obj.get("rows"), + "status": obj.get("status"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_operation_request_dto.py new file mode 100644 index 0000000000..df09378a83 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_operation_request_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.clone_files_into_source_parameters_dto import CloneFilesIntoSourceParametersDTO +from typing import Optional, Set +from typing_extensions import Self + +class SourcesAPIOperationRequestDTO(BaseModel): + """ + SourcesAPIOperationRequestDTO + """ # noqa: E501 + operation: Optional[StrictStr] = Field(default=None, description="The operation to perform. Valid values: * `exportSources`: Export all sources from the tenant. If successful, returns a ZIP file containing a compressed JSON file with the sources. * `cloneFilesIntoSource`: Clone a source's files into a different source. If successful, returns a receiving job ID. Use the job ID to monitor the cloning results.") + clone_files_into_source_parameters: Optional[CloneFilesIntoSourceParametersDTO] = Field(default=None, description="The parameters for the `cloneFilesIntoSource` option, such as the source to clone files from, the source to clone files into, and the date range of the files to clone.", alias="cloneFilesIntoSourceParameters") + __properties: ClassVar[List[str]] = ["operation", "cloneFilesIntoSourceParameters"] + + @field_validator('operation') + def operation_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['unknownSourcesAPIOperation', 'exportSources', 'cloneFilesIntoSource']): + raise ValueError("must be one of enum values ('unknownSourcesAPIOperation', 'exportSources', 'cloneFilesIntoSource')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SourcesAPIOperationRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of clone_files_into_source_parameters + if self.clone_files_into_source_parameters: + _dict['cloneFilesIntoSourceParameters'] = self.clone_files_into_source_parameters.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SourcesAPIOperationRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "operation": obj.get("operation"), + "cloneFilesIntoSourceParameters": CloneFilesIntoSourceParametersDTO.from_dict(obj["cloneFilesIntoSourceParameters"]) if obj.get("cloneFilesIntoSourceParameters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sql_like200_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/sql_like200_response.py index c2ce1abe44..51c5e7fe28 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sql_like200_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sql_like200_response.py @@ -18,13 +18,13 @@ import pprint from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator from typing import Any, List, Optional -from visier_platform_sdk.models.dataservices_query_cell_set_dto import DataservicesQueryCellSetDTO +from visier_platform_sdk.models.cell_set_dto import CellSetDTO from visier_platform_sdk.models.table_response_dto import TableResponseDTO from pydantic import StrictStr, Field from typing import Union, List, Set, Optional, Dict from typing_extensions import Literal, Self -SQLLIKE200RESPONSE_ONE_OF_SCHEMAS = ["DataservicesQueryCellSetDTO", "TableResponseDTO"] +SQLLIKE200RESPONSE_ONE_OF_SCHEMAS = ["CellSetDTO", "TableResponseDTO"] class SqlLike200Response(BaseModel): """ @@ -32,10 +32,10 @@ class SqlLike200Response(BaseModel): """ # data type: TableResponseDTO oneof_schema_1_validator: Optional[TableResponseDTO] = None - # data type: DataservicesQueryCellSetDTO - oneof_schema_2_validator: Optional[DataservicesQueryCellSetDTO] = None - actual_instance: Optional[Union[DataservicesQueryCellSetDTO, TableResponseDTO]] = None - one_of_schemas: Set[str] = { "DataservicesQueryCellSetDTO", "TableResponseDTO" } + # data type: CellSetDTO + oneof_schema_2_validator: Optional[CellSetDTO] = None + actual_instance: Optional[Union[CellSetDTO, TableResponseDTO]] = None + one_of_schemas: Set[str] = { "CellSetDTO", "TableResponseDTO" } model_config = ConfigDict( validate_assignment=True, @@ -63,17 +63,17 @@ def actual_instance_must_validate_oneof(cls, v): error_messages.append(f"Error! Input type `{type(v)}` is not `TableResponseDTO`") else: match += 1 - # validate data type: DataservicesQueryCellSetDTO - if not isinstance(v, DataservicesQueryCellSetDTO): - error_messages.append(f"Error! Input type `{type(v)}` is not `DataservicesQueryCellSetDTO`") + # validate data type: CellSetDTO + if not isinstance(v, CellSetDTO): + error_messages.append(f"Error! Input type `{type(v)}` is not `CellSetDTO`") else: match += 1 if match > 1: # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in SqlLike200Response with oneOf schemas: DataservicesQueryCellSetDTO, TableResponseDTO. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when setting `actual_instance` in SqlLike200Response with oneOf schemas: CellSetDTO, TableResponseDTO. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when setting `actual_instance` in SqlLike200Response with oneOf schemas: DataservicesQueryCellSetDTO, TableResponseDTO. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when setting `actual_instance` in SqlLike200Response with oneOf schemas: CellSetDTO, TableResponseDTO. Details: " + ", ".join(error_messages)) else: return v @@ -94,19 +94,19 @@ def from_json(cls, json_str: str) -> Self: match += 1 except (ValidationError, ValueError) as e: error_messages.append(str(e)) - # deserialize data into DataservicesQueryCellSetDTO + # deserialize data into CellSetDTO try: - instance.actual_instance = DataservicesQueryCellSetDTO.from_json(json_str) + instance.actual_instance = CellSetDTO.from_json(json_str) match += 1 except (ValidationError, ValueError) as e: error_messages.append(str(e)) if match > 1: # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into SqlLike200Response with oneOf schemas: DataservicesQueryCellSetDTO, TableResponseDTO. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when deserializing the JSON string into SqlLike200Response with oneOf schemas: CellSetDTO, TableResponseDTO. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when deserializing the JSON string into SqlLike200Response with oneOf schemas: DataservicesQueryCellSetDTO, TableResponseDTO. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when deserializing the JSON string into SqlLike200Response with oneOf schemas: CellSetDTO, TableResponseDTO. Details: " + ", ".join(error_messages)) else: return instance @@ -120,7 +120,7 @@ def to_json(self) -> str: else: return json.dumps(self.actual_instance) - def to_dict(self) -> Optional[Union[Dict[str, Any], DataservicesQueryCellSetDTO, TableResponseDTO]]: + def to_dict(self) -> Optional[Union[Dict[str, Any], CellSetDTO, TableResponseDTO]]: """Returns the dict representation of the actual instance""" if self.actual_instance is None: return None diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sql_like_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sql_like_query_execution_dto.py new file mode 100644 index 0000000000..6b166c3965 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sql_like_query_execution_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.query_execution_options_dto import QueryExecutionOptionsDTO +from typing import Optional, Set +from typing_extensions import Self + +class SqlLikeQueryExecutionDTO(BaseModel): + """ + * Request body for SQL-like query executions + """ # noqa: E501 + query: Optional[StrictStr] = Field(default=None, description="The SQL-like query string") + options: Optional[QueryExecutionOptionsDTO] = Field(default=None, description="Optional options that currently that cannot be expressed in SQL-like") + __properties: ClassVar[List[str]] = ["query", "options"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SqlLikeQueryExecutionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of options + if self.options: + _dict['options'] = self.options.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SqlLikeQueryExecutionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "query": obj.get("query"), + "options": QueryExecutionOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sql_server_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sql_server_auth_params_dto.py new file mode 100644 index 0000000000..40a279ad2f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sql_server_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SqlServerAuthParamsDTO(BaseModel): + """ + SqlServerAuthParamsDTO + """ # noqa: E501 + host: Optional[StrictStr] = None + port: Optional[StrictStr] = None + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + database: Optional[StrictStr] = None + __properties: ClassVar[List[str]] = ["host", "port", "username", "password", "database"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SqlServerAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SqlServerAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "host": obj.get("host"), + "port": obj.get("port"), + "username": obj.get("username"), + "password": obj.get("password"), + "database": obj.get("database") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/start_extraction_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/start_extraction_response.py new file mode 100644 index 0000000000..ed16b431e0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/start_extraction_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class StartExtractionResponse(BaseModel): + """ + StartExtractionResponse + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="The ID of the dispatching job that generated the extraction jobs.", alias="JobId") + __properties: ClassVar[List[str]] = ["JobId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StartExtractionResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StartExtractionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "JobId": obj.get("JobId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/start_transfer_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/start_transfer_response.py new file mode 100644 index 0000000000..0080c5eba0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/start_transfer_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class StartTransferResponse(BaseModel): + """ + StartTransferResponse + """ # noqa: E501 + transfer_session_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the transfer session.", alias="transferSessionId") + __properties: ClassVar[List[str]] = ["transferSessionId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StartTransferResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StartTransferResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "transferSessionId": obj.get("transferSessionId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/static_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/static_dimension_filter_dto.py new file mode 100644 index 0000000000..0ba32f47a1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/static_dimension_filter_dto.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.member_selection_dto import MemberSelectionDTO +from typing import Optional, Set +from typing_extensions import Self + +class StaticDimensionFilterDTO(BaseModel): + """ + StaticDimensionFilterDTO + """ # noqa: E501 + dimension_id: Optional[StrictStr] = Field(default=None, description="The dimension ID associated with the filter.", alias="dimensionId") + subject_reference_path: Optional[List[StrictStr]] = Field(default=None, description="The subject reference path.", alias="subjectReferencePath") + member_selections: Optional[List[MemberSelectionDTO]] = Field(default=None, description="A list of objects representing the dimension members assigned population access in the member filter.", alias="memberSelections") + dimension_status: Optional[StrictStr] = Field(default=None, description="The dimension's validity status. Valid values: Valid, NoData, NotFound. * **Valid**: The object exists and has loaded data. * **NoData**: The object exists but doesn't have loaded data. * **NotFound**: The object doesn't exist.", alias="dimensionStatus") + __properties: ClassVar[List[str]] = ["dimensionId", "subjectReferencePath", "memberSelections", "dimensionStatus"] + + @field_validator('dimension_status') + def dimension_status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unset', 'Valid', 'NoData', 'NotFound']): + raise ValueError("must be one of enum values ('Unset', 'Valid', 'NoData', 'NotFound')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StaticDimensionFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in member_selections (list) + _items = [] + if self.member_selections: + for _item_member_selections in self.member_selections: + if _item_member_selections: + _items.append(_item_member_selections.to_dict()) + _dict['memberSelections'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StaticDimensionFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionId": obj.get("dimensionId"), + "subjectReferencePath": obj.get("subjectReferencePath"), + "memberSelections": [MemberSelectionDTO.from_dict(_item) for _item in obj["memberSelections"]] if obj.get("memberSelections") is not None else None, + "dimensionStatus": obj.get("dimensionStatus") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/subject_missing_access_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/subject_missing_access_dto.py new file mode 100644 index 0000000000..2781fa52cd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/subject_missing_access_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SubjectMissingAccessDTO(BaseModel): + """ + SubjectMissingAccessDTO + """ # noqa: E501 + subject: Optional[StrictStr] = Field(default=None, description="The subjects that cannot be accessed.") + attributes: Optional[List[StrictStr]] = Field(default=None, description="The attributes that cannot be accessed.") + error_message: Optional[StrictStr] = Field(default=None, description="The error message detailing the access issue.", alias="errorMessage") + __properties: ClassVar[List[str]] = ["subject", "attributes", "errorMessage"] + + @field_validator('subject') + def subject_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Employee', 'Employee_Budgeted_Compensation', 'Employment_Start', 'Employment_Exit', 'Absenteeism', 'Supervisory', 'Organization', 'Compensation_Payout', 'CustomSubject', 'TestConnectionSubject', 'Internal_Placement', 'Pay_Change', 'Hire', 'Applicant', 'Candidate', 'Requisition']): + raise ValueError("must be one of enum values ('Employee', 'Employee_Budgeted_Compensation', 'Employment_Start', 'Employment_Exit', 'Absenteeism', 'Supervisory', 'Organization', 'Compensation_Payout', 'CustomSubject', 'TestConnectionSubject', 'Internal_Placement', 'Pay_Change', 'Hire', 'Applicant', 'Candidate', 'Requisition')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SubjectMissingAccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SubjectMissingAccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "subject": obj.get("subject"), + "attributes": obj.get("attributes"), + "errorMessage": obj.get("errorMessage") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_auth_params_dto.py new file mode 100644 index 0000000000..ae7b75e6fb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_auth_params_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.success_factors_o_auth_params_dto import SuccessFactorsOAuthParamsDTO +from typing import Optional, Set +from typing_extensions import Self + +class SuccessFactorsAuthParamsDTO(BaseModel): + """ + SuccessFactorsAuthParamsDTO + """ # noqa: E501 + host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") + company_id: Optional[StrictStr] = Field(default=None, alias="companyID") + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + o_auth: Optional[SuccessFactorsOAuthParamsDTO] = Field(default=None, alias="oAuth") + __properties: ClassVar[List[str]] = ["hostDomainName", "companyID", "username", "password", "oAuth"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SuccessFactorsAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of o_auth + if self.o_auth: + _dict['oAuth'] = self.o_auth.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SuccessFactorsAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "hostDomainName": obj.get("hostDomainName"), + "companyID": obj.get("companyID"), + "username": obj.get("username"), + "password": obj.get("password"), + "oAuth": SuccessFactorsOAuthParamsDTO.from_dict(obj["oAuth"]) if obj.get("oAuth") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_o_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_o_auth_params_dto.py new file mode 100644 index 0000000000..cff1407f50 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_o_auth_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SuccessFactorsOAuthParamsDTO(BaseModel): + """ + SuccessFactorsOAuthParamsDTO + """ # noqa: E501 + api_key: Optional[StrictStr] = Field(default=None, alias="apiKey") + private_x509_key: Optional[StrictStr] = Field(default=None, alias="privateX509Key") + public_x509_cert: Optional[StrictStr] = Field(default=None, alias="publicX509Cert") + __properties: ClassVar[List[str]] = ["apiKey", "privateX509Key", "publicX509Cert"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SuccessFactorsOAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SuccessFactorsOAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiKey": obj.get("apiKey"), + "privateX509Key": obj.get("privateX509Key"), + "publicX509Cert": obj.get("publicX509Cert") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py new file mode 100644 index 0000000000..be4cc5e16c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SuccessfulAccessibleTenantProfileAssignmentDTO(BaseModel): + """ + SuccessfulAccessibleTenantProfileAssignmentDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The user ID.", alias="userId") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") + for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the target assignment is for all analytic tenants.", alias="forAllChildren") + __properties: ClassVar[List[str]] = ["userId", "tenantCode", "forAllChildren"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SuccessfulAccessibleTenantProfileAssignmentDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SuccessfulAccessibleTenantProfileAssignmentDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "tenantCode": obj.get("tenantCode"), + "forAllChildren": obj.get("forAllChildren") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/successful_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/successful_change_dto.py new file mode 100644 index 0000000000..b0640f7c0b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/successful_change_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class SuccessfulChangeDTO(BaseModel): + """ + SuccessfulChangeDTO + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The tenant and, optionally, project that change was made on.", alias="executionContext") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the object that was changed.", alias="objectName") + uuid: Optional[StrictStr] = Field(default=None, description="The UUID of the object that was changed.") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the object that was changed.", alias="displayName") + __properties: ClassVar[List[str]] = ["executionContext", "objectName", "uuid", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SuccessfulChangeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SuccessfulChangeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "objectName": obj.get("objectName"), + "uuid": obj.get("uuid"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py new file mode 100644 index 0000000000..f234588e66 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SuccessfulLocalTenantProfileAssignmentDTO(BaseModel): + """ + SuccessfulLocalTenantProfileAssignmentDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The user ID.", alias="userId") + __properties: ClassVar[List[str]] = ["userId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SuccessfulLocalTenantProfileAssignmentDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SuccessfulLocalTenantProfileAssignmentDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/synonym_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/synonym_list_dto.py new file mode 100644 index 0000000000..ac2cbf383a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/synonym_list_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SynonymListDTO(BaseModel): + """ + The object's synonyms. + """ # noqa: E501 + synonyms: Optional[List[StrictStr]] = Field(default=None, description="Alternative words or phrases for the object.") + __properties: ClassVar[List[str]] = ["synonyms"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SynonymListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SynonymListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "synonyms": obj.get("synonyms") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/system_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/system_status_dto.py new file mode 100644 index 0000000000..3ff3a0af47 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/system_status_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SystemStatusDTO(BaseModel): + """ + SystemStatusDTO + """ # noqa: E501 + overall: Optional[StrictStr] = Field(default=None, description="The overall status of Visier's platform and services.") + __properties: ClassVar[List[str]] = ["overall"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SystemStatusDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SystemStatusDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "overall": obj.get("overall") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/systemstatus_system_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/systemstatus_system_status_dto.py deleted file mode 100644 index 01450f9c97..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/systemstatus_system_status_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class SystemstatusSystemStatusDTO(BaseModel): - """ - SystemstatusSystemStatusDTO - """ # noqa: E501 - overall: Optional[StrictStr] = Field(default=None, description="The overall status of Visier's platform and services.") - __properties: ClassVar[List[str]] = ["overall"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of SystemstatusSystemStatusDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of SystemstatusSystemStatusDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "overall": obj.get("overall") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/systemstatus_vee_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/systemstatus_vee_status_dto.py deleted file mode 100644 index 23bf3076c0..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/systemstatus_vee_status_dto.py +++ /dev/null @@ -1,88 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.1914 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing import Optional, Set -from typing_extensions import Self - -class SystemstatusVeeStatusDTO(BaseModel): - """ - SystemstatusVeeStatusDTO - """ # noqa: E501 - overall: Optional[StrictStr] = Field(default=None, description="The overall status of Vee.") - __properties: ClassVar[List[str]] = ["overall"] - - model_config = ConfigDict( - populate_by_name=True, - validate_assignment=True, - protected_namespaces=(), - ) - - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.model_dump(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of SystemstatusVeeStatusDTO from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self) -> Dict[str, Any]: - """Return the dictionary representation of the model using alias. - - This has the following differences from calling pydantic's - `self.model_dump(by_alias=True)`: - - * `None` is only added to the output dict for nullable fields that - were set at model initialization. Other fields with value `None` - are ignored. - """ - excluded_fields: Set[str] = set([ - ]) - - _dict = self.model_dump( - by_alias=True, - exclude=excluded_fields, - exclude_none=True, - ) - return _dict - - @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of SystemstatusVeeStatusDTO from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return cls.model_validate(obj) - - _obj = cls.model_validate({ - "overall": obj.get("overall") - }) - return _obj - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tag_map_element_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tag_map_element_dto.py new file mode 100644 index 0000000000..3068aa266f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tag_map_element_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TagMapElementDTO(BaseModel): + """ + Tag identifier and display name pair. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the tag.") + display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the tag.", alias="displayName") + __properties: ClassVar[List[str]] = ["id", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TagMapElementDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TagMapElementDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_dto.py new file mode 100644 index 0000000000..547f4edfe5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TagReferenceDTO(BaseModel): + """ + A reference to a tag. + """ # noqa: E501 + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the tag.", alias="objectName") + __properties: ClassVar[List[str]] = ["objectName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TagReferenceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TagReferenceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objectName": obj.get("objectName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_list_dto.py new file mode 100644 index 0000000000..fc2bad0133 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tag_reference_dto import TagReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class TagReferenceListDTO(BaseModel): + """ + The tags assigned to the object. + """ # noqa: E501 + tags: Optional[List[TagReferenceDTO]] = Field(default=None, description="A list of tags assigned to the object.") + __properties: ClassVar[List[str]] = ["tags"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TagReferenceListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tags (list) + _items = [] + if self.tags: + for _item_tags in self.tags: + if _item_tags: + _items.append(_item_tags.to_dict()) + _dict['tags'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TagReferenceListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tags": [TagReferenceDTO.from_dict(_item) for _item in obj["tags"]] if obj.get("tags") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tags_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tags_dto.py new file mode 100644 index 0000000000..f1df95f6b3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tags_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TagsDTO(BaseModel): + """ + Wrapper to distinguish between an empty list and a null/unset list. + """ # noqa: E501 + ids: Optional[List[StrictStr]] = Field(default=None, description="The tag ids.") + __properties: ClassVar[List[str]] = ["ids"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TagsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TagsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ids": obj.get("ids") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenant_dto.py new file mode 100644 index 0000000000..549a950256 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenant_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TargetProjectForTenantDTO(BaseModel): + """ + TargetProjectForTenantDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project in which to make changes for the tenant.", alias="projectId") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TargetProjectForTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TargetProjectForTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenants_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenants_list_dto.py new file mode 100644 index 0000000000..df53fddec3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenants_list_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.target_project_for_tenant_dto import TargetProjectForTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class TargetProjectForTenantsListDTO(BaseModel): + """ + TargetProjectForTenantsListDTO + """ # noqa: E501 + target_project_for_tenants: Optional[List[TargetProjectForTenantDTO]] = Field(default=None, description="Administrating tenants can specify the tenants and projects in which to make assignments to users. Specify one `projectId` per `tenantCode`. If omitted, the request is immediately published to production or applied to the `ProjectID` in the request header, if available, for the administrating tenant or TargetTenantID, if available.", alias="targetProjectForTenants") + __properties: ClassVar[List[str]] = ["targetProjectForTenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TargetProjectForTenantsListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in target_project_for_tenants (list) + _items = [] + if self.target_project_for_tenants: + for _item_target_project_for_tenants in self.target_project_for_tenants: + if _item_target_project_for_tenants: + _items.append(_item_target_project_for_tenants.to_dict()) + _dict['targetProjectForTenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TargetProjectForTenantsListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetProjectForTenants": [TargetProjectForTenantDTO.from_dict(_item) for _item in obj["targetProjectForTenants"]] if obj.get("targetProjectForTenants") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/target_tenant_code_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/target_tenant_code_dto.py new file mode 100644 index 0000000000..332f74c8c5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/target_tenant_code_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TargetTenantCodeDTO(BaseModel): + """ + TargetTenantCodeDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code.", alias="tenantCode") + for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the assignment is for all the analytic tenants of the specified tenant.", alias="forAllChildren") + __properties: ClassVar[List[str]] = ["tenantCode", "forAllChildren"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TargetTenantCodeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TargetTenantCodeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "forAllChildren": obj.get("forAllChildren") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant.py new file mode 100644 index 0000000000..32293dd2cd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.source import Source +from typing import Optional, Set +from typing_extensions import Self + +class Tenant(BaseModel): + """ + Tenant + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant that data was transferred to. For example, WFF_j1r or WFF_j1r~c7o.", alias="tenantCode") + status: Optional[StrictStr] = Field(default=None, description="The status of the data transfer for this tenant.") + sources: Optional[List[Source]] = Field(default=None, description="A list of objects representing the sources that data was pushed to and their data transfer results.") + __properties: ClassVar[List[str]] = ["tenantCode", "status", "sources"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of Tenant from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in sources (list) + _items = [] + if self.sources: + for _item_sources in self.sources: + if _item_sources: + _items.append(_item_sources.to_dict()) + _dict['sources'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of Tenant from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "status": obj.get("status"), + "sources": [Source.from_dict(_item) for _item in obj["sources"]] if obj.get("sources") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_and_credential.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_and_credential.py new file mode 100644 index 0000000000..0bb35b7e39 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_and_credential.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TenantAndCredential(BaseModel): + """ + TenantAndCredential + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + credential_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the credential.", alias="credentialId") + __properties: ClassVar[List[str]] = ["tenantCode", "credentialId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantAndCredential from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantAndCredential from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "credentialId": obj.get("credentialId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_assignments_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_assignments_dto.py new file mode 100644 index 0000000000..0dc42db584 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_assignments_dto.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_security_assignments_dto import UserSecurityAssignmentsDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantAssignmentsDTO(BaseModel): + """ + TenantAssignmentsDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + status: Optional[StrictStr] = Field(default=None, description="The state of the user group assignment. Valid values are Succeed or Failed.") + message: Optional[StrictStr] = Field(default=None, description="A detailed description of the request outcome, if available.") + assignments: Optional[List[UserSecurityAssignmentsDTO]] = Field(default=None, description="A list of objects representing the user group and user assignments.") + project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project that the change was made in, if applicable.", alias="projectId") + __properties: ClassVar[List[str]] = ["tenantCode", "status", "message", "assignments", "projectId"] + + @field_validator('status') + def status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Unknown', 'Succeed', 'Failed']): + raise ValueError("must be one of enum values ('Unknown', 'Succeed', 'Failed')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantAssignmentsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in assignments (list) + _items = [] + if self.assignments: + for _item_assignments in self.assignments: + if _item_assignments: + _items.append(_item_assignments.to_dict()) + _dict['assignments'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantAssignmentsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "status": obj.get("status"), + "message": obj.get("message"), + "assignments": [UserSecurityAssignmentsDTO.from_dict(_item) for _item in obj["assignments"]] if obj.get("assignments") is not None else None, + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_body.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_body.py new file mode 100644 index 0000000000..db5f87ac8d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_body.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TenantCodeBody(BaseModel): + """ + TenantCodeBody + """ # noqa: E501 + tenant_codes: Optional[List[StrictStr]] = Field(default=None, description="A list of a CA tenant's source tenants codes. The maximum length is 1000.", alias="tenantCodes") + __properties: ClassVar[List[str]] = ["tenantCodes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantCodeBody from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantCodeBody from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCodes": obj.get("tenantCodes") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_error_dto.py new file mode 100644 index 0000000000..6eb698f38b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_error_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.error_dto import ErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantCodeErrorDTO(BaseModel): + """ + TenantCodeErrorDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The bad tenant code.", alias="tenantCode") + for_all_children: Optional[StrictBool] = Field(default=None, description="If true, the target assignment is for all analytic tenants.", alias="forAllChildren") + error: Optional[ErrorDTO] = Field(default=None, description="The details about the error.") + __properties: ClassVar[List[str]] = ["tenantCode", "forAllChildren", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantCodeErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantCodeErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "forAllChildren": obj.get("forAllChildren"), + "error": ErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_connector_settings_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_connector_settings_request_dto.py new file mode 100644 index 0000000000..4f4da49440 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_connector_settings_request_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.connector_setting_request_dto import ConnectorSettingRequestDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantConnectorSettingsRequestDTO(BaseModel): + """ + TenantConnectorSettingsRequestDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + connector_settings: Optional[List[ConnectorSettingRequestDTO]] = Field(default=None, description="The settings to update.", alias="connectorSettings") + __properties: ClassVar[List[str]] = ["tenantCode", "connectorSettings"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantConnectorSettingsRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in connector_settings (list) + _items = [] + if self.connector_settings: + for _item_connector_settings in self.connector_settings: + if _item_connector_settings: + _items.append(_item_connector_settings.to_dict()) + _dict['connectorSettings'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantConnectorSettingsRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "connectorSettings": [ConnectorSettingRequestDTO.from_dict(_item) for _item in obj["connectorSettings"]] if obj.get("connectorSettings") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_status_response_dto.py new file mode 100644 index 0000000000..3924c5cf5a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_status_response_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TenantDataUploadStatusResponseDTO(BaseModel): + """ + TenantDataUploadStatusResponseDTO + """ # noqa: E501 + upload_time: Optional[StrictStr] = Field(default=None, description="The upload time of the data upload.", alias="uploadTime") + included: Optional[StrictBool] = Field(default=None, description="If \"true\", the data upload is included.") + __properties: ClassVar[List[str]] = ["uploadTime", "included"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantDataUploadStatusResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantDataUploadStatusResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uploadTime": obj.get("uploadTime"), + "included": obj.get("included") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py new file mode 100644 index 0000000000..3d619e9bb2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TenantDataUploadUpdateStatusResponseDTO(BaseModel): + """ + TenantDataUploadUpdateStatusResponseDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The analytic tenant that the exclusion operation was conducted for.", alias="tenantCode") + upload_time: Optional[StrictStr] = Field(default=None, description="The upload time of the data upload", alias="uploadTime") + status: Optional[StrictStr] = Field(default=None, description="The outcome of the exclusion operation.") + message: Optional[StrictStr] = Field(default=None, description="If applicable, the message explains why errors were encountered during the exclusion operation.") + __properties: ClassVar[List[str]] = ["tenantCode", "uploadTime", "status", "message"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantDataUploadUpdateStatusResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantDataUploadUpdateStatusResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "uploadTime": obj.get("uploadTime"), + "status": obj.get("status"), + "message": obj.get("message") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py new file mode 100644 index 0000000000..29169d8409 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_data_uploads_response_dto import TenantDataUploadsResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantDataUploadsListResponseDTO(BaseModel): + """ + TenantDataUploadsListResponseDTO + """ # noqa: E501 + tenants: Optional[List[TenantDataUploadsResponseDTO]] = Field(default=None, description="A list of objects representing analytic tenants and their data uploads.") + limit: Optional[StrictInt] = Field(default=None, description="The number of analytic tenants to retrieve. The maximum number of analytic tenants to retrieve is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantDataUploadsListResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantDataUploadsListResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [TenantDataUploadsResponseDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_response_dto.py new file mode 100644 index 0000000000..ee01c1ff12 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_response_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_data_upload_status_response_dto import TenantDataUploadStatusResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantDataUploadsResponseDTO(BaseModel): + """ + TenantDataUploadsResponseDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant owning the data uploads.", alias="tenantCode") + uploads: Optional[List[TenantDataUploadStatusResponseDTO]] = Field(default=None, description="The data uploads completed for the specified analytic tenant. The list is empty if no previous data uploads are found for the analytic tenant.") + __properties: ClassVar[List[str]] = ["tenantCode", "uploads"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantDataUploadsResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in uploads (list) + _items = [] + if self.uploads: + for _item_uploads in self.uploads: + if _item_uploads: + _items.append(_item_uploads.to_dict()) + _dict['uploads'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantDataUploadsResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "uploads": [TenantDataUploadStatusResponseDTO.from_dict(_item) for _item in obj["uploads"]] if obj.get("uploads") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py new file mode 100644 index 0000000000..07d1fc449d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_data_upload_update_status_response_dto import TenantDataUploadUpdateStatusResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantDataUploadsUpdateResponseDTO(BaseModel): + """ + TenantDataUploadsUpdateResponseDTO + """ # noqa: E501 + total_failures: Optional[StrictInt] = Field(default=None, description="The number of data uploads that failed during the exclusion operation.", alias="totalFailures") + total_success: Optional[StrictInt] = Field(default=None, description="The number of data uploads that were excluded successfully.", alias="totalSuccess") + uploads: Optional[List[TenantDataUploadUpdateStatusResponseDTO]] = Field(default=None, description="A list of objects representing the results of the data upload exclusion.") + __properties: ClassVar[List[str]] = ["totalFailures", "totalSuccess", "uploads"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantDataUploadsUpdateResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in uploads (list) + _items = [] + if self.uploads: + for _item_uploads in self.uploads: + if _item_uploads: + _items.append(_item_uploads.to_dict()) + _dict['uploads'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantDataUploadsUpdateResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "totalFailures": obj.get("totalFailures"), + "totalSuccess": obj.get("totalSuccess"), + "uploads": [TenantDataUploadUpdateStatusResponseDTO.from_dict(_item) for _item in obj["uploads"]] if obj.get("uploads") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_detail_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_detail_apidto.py new file mode 100644 index 0000000000..eb0dbc1e29 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_detail_apidto.py @@ -0,0 +1,130 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.custom_tenant_property_dto import CustomTenantPropertyDTO +from visier_platform_sdk.models.tenant_module_dto import TenantModuleDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantDetailAPIDTO(BaseModel): + """ + TenantDetailAPIDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant. For example, \"WFF_j1r~i1o\".", alias="tenantCode") + tenant_display_name: Optional[StrictStr] = Field(default=None, description="An identifiable tenant name that is displayed within Visier. For example, \"Callisto\".", alias="tenantDisplayName") + status: Optional[StrictStr] = Field(default=None, description="Whether the tenant is enabled or disabled.") + provision_date: Optional[StrictStr] = Field(default=None, description="The date that the tenant was created.", alias="provisionDate") + current_data_version: Optional[StrictStr] = Field(default=None, description="The data version ID that the tenant is using.", alias="currentDataVersion") + data_version_date: Optional[StrictStr] = Field(default=None, description="The date that the data version was published to production.", alias="dataVersionDate") + modules: Optional[List[TenantModuleDTO]] = Field(default=None, description="The modules assigned to the analytic tenant.") + industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs.", alias="industryCode") + can_administer_other_tenants: Optional[StrictBool] = Field(default=None, description="If true, the tenant is an administrating tenant.", alias="canAdministerOtherTenants") + embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded.", alias="embeddableDomains") + custom_properties: Optional[List[CustomTenantPropertyDTO]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") + sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") + vanity_url_name: Optional[StrictStr] = Field(default=None, description="The name of the administrating tenant used in Visier URLs.", alias="vanityUrlName") + allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, which can be used as values for the idp_url parameter", alias="allowedOAuthIdpUrlDomains") + __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "status", "provisionDate", "currentDataVersion", "dataVersionDate", "modules", "industryCode", "canAdministerOtherTenants", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "vanityUrlName", "allowedOAuthIdpUrlDomains"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantDetailAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in modules (list) + _items = [] + if self.modules: + for _item_modules in self.modules: + if _item_modules: + _items.append(_item_modules.to_dict()) + _dict['modules'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) + _items = [] + if self.custom_properties: + for _item_custom_properties in self.custom_properties: + if _item_custom_properties: + _items.append(_item_custom_properties.to_dict()) + _dict['customProperties'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantDetailAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "tenantDisplayName": obj.get("tenantDisplayName"), + "status": obj.get("status"), + "provisionDate": obj.get("provisionDate"), + "currentDataVersion": obj.get("currentDataVersion"), + "dataVersionDate": obj.get("dataVersionDate"), + "modules": [TenantModuleDTO.from_dict(_item) for _item in obj["modules"]] if obj.get("modules") is not None else None, + "industryCode": obj.get("industryCode"), + "canAdministerOtherTenants": obj.get("canAdministerOtherTenants"), + "embeddableDomains": obj.get("embeddableDomains"), + "customProperties": [CustomTenantPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, + "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), + "vanityUrlName": obj.get("vanityUrlName"), + "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_details_traits_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_details_traits_dto.py new file mode 100644 index 0000000000..fb550028e8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_details_traits_dto.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TenantDetailsTraitsDTO(BaseModel): + """ + The tenant's traits, including aggregation rights, tenant type, and data profile type. + """ # noqa: E501 + aggregation_rights: Optional[StrictBool] = Field(default=None, description="If `true`, the tenant is opted in to Visier's data aggregation program, such as Visier Benchmarks. Default is `false`. If `false`, `aggregationRights` isn't returned in the response.", alias="aggregationRights") + tenant_type: Optional[StrictStr] = Field(default=None, description="The tenant's type. Valid values: * `ENTERPRISE`: An analytic tenant managed by Visier that represents an enterprise customer's instance of Visier. * `PARTNER`: An administrating tenant that manages one or more analytic tenants. Partner tenants are managed by non-Visier administrators, such as an embedded partner or system integration partner. * `PARTNER_CUSTOMER`: An analytic tenant managed by a partner that represents the partner's customer's instance of Visier.", alias="tenantType") + data_profile_type: Optional[StrictStr] = Field(default=None, description="The tenant's data profile, which designates how the tenant's data is used. Valid values: * `Regular`: An analytic tenant managed by Visier that represents an enterprise customer's instance of Visier. * `Integration`: A partner tenant for development, staging, and testing. * `Demo`: A Visier tenant for demonstrations and training. * `Cat`: A consolidated analytics tenant for aggregating data from multiple analytic tenants in a single tenant. * `Test`: A Visier tenant for development and testing.", alias="dataProfileType") + __properties: ClassVar[List[str]] = ["aggregationRights", "tenantType", "dataProfileType"] + + @field_validator('tenant_type') + def tenant_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['ROOT_ADMIN', 'ROOT', 'BLUEPRINT', 'ENTERPRISE', 'ENTERPRISE_ROOT', 'BENCHMARK', 'PARTNER', 'PARTNER_CUSTOMER', 'SMB_BP', 'SMB_CUSTOMER', 'UNKNOWN']): + raise ValueError("must be one of enum values ('ROOT_ADMIN', 'ROOT', 'BLUEPRINT', 'ENTERPRISE', 'ENTERPRISE_ROOT', 'BENCHMARK', 'PARTNER', 'PARTNER_CUSTOMER', 'SMB_BP', 'SMB_CUSTOMER', 'UNKNOWN')") + return value + + @field_validator('data_profile_type') + def data_profile_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Regular', 'Integration', 'Demo', 'Cat', 'Test']): + raise ValueError("must be one of enum values ('Regular', 'Integration', 'Demo', 'Cat', 'Test')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantDetailsTraitsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantDetailsTraitsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "aggregationRights": obj.get("aggregationRights"), + "tenantType": obj.get("tenantType"), + "dataProfileType": obj.get("dataProfileType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_details_dto.py new file mode 100644 index 0000000000..3cb669a775 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_details_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TenantEncryptionKeyDetailsDTO(BaseModel): + """ + Information about who generated an encryption key, its key name, algorithm, generation date, and expiration date. + """ # noqa: E501 + key_name: Optional[StrictStr] = Field(default=None, description="The encryption key's display name. The name may only contain alphanumeric or dash (-) characters and must be between 6 and 36 characters long.", alias="keyName") + algorithm: Optional[StrictStr] = Field(default=None, description="The hash-based message authentication code and cryptographic hash function associated with the encryption key.") + generated_by: Optional[StrictStr] = Field(default=None, description="The user who generated the key.", alias="generatedBy") + date_generated: Optional[StrictStr] = Field(default=None, description="The UTC date that the key was generated in milliseconds since the Unix epoch.", alias="dateGenerated") + expiry_date: Optional[StrictStr] = Field(default=None, description="The UTC expiration date of the key in milliseconds since the Unix epoch.", alias="expiryDate") + __properties: ClassVar[List[str]] = ["keyName", "algorithm", "generatedBy", "dateGenerated", "expiryDate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantEncryptionKeyDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantEncryptionKeyDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "keyName": obj.get("keyName"), + "algorithm": obj.get("algorithm"), + "generatedBy": obj.get("generatedBy"), + "dateGenerated": obj.get("dateGenerated"), + "expiryDate": obj.get("expiryDate") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_dto.py new file mode 100644 index 0000000000..df78d7835f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_encryption_key_details_dto import TenantEncryptionKeyDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantEncryptionKeyDTO(BaseModel): + """ + The details of an encryption key. + """ # noqa: E501 + detail: Optional[TenantEncryptionKeyDetailsDTO] = Field(default=None, description="Information about an encryption key.") + key: Optional[StrictStr] = Field(default=None, description="The encryption key value.") + __properties: ClassVar[List[str]] = ["detail", "key"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantEncryptionKeyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of detail + if self.detail: + _dict['detail'] = self.detail.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantEncryptionKeyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "detail": TenantEncryptionKeyDetailsDTO.from_dict(obj["detail"]) if obj.get("detail") is not None else None, + "key": obj.get("key") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_get_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_get_response_dto.py new file mode 100644 index 0000000000..073a5170cd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_get_response_dto.py @@ -0,0 +1,156 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.business_location_dto import BusinessLocationDTO +from visier_platform_sdk.models.custom_property_dto import CustomPropertyDTO +from visier_platform_sdk.models.home_analysis_by_user_group_dto import HomeAnalysisByUserGroupDTO +from visier_platform_sdk.models.tenant_details_traits_dto import TenantDetailsTraitsDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantManagementAPIGetResponseDTO(BaseModel): + """ + TenantManagementAPIGetResponseDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant. For example, \"WFF_j1r~i1o\"", alias="tenantCode") + tenant_display_name: Optional[StrictStr] = Field(default=None, description="An identifiable tenant name that is displayed within Visier. For example, \"Callisto\".", alias="tenantDisplayName") + status: Optional[StrictStr] = Field(default=None, description="Whether the tenant is enabled or disabled.") + provision_date: Optional[StrictStr] = Field(default=None, description="The date that the tenant was created.", alias="provisionDate") + current_data_version: Optional[StrictStr] = Field(default=None, description="The data version ID that the tenant is using.", alias="currentDataVersion") + data_version_date: Optional[StrictStr] = Field(default=None, description="The date that the data version was published to production.", alias="dataVersionDate") + purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="The modules assigned to the analytic tenant.", alias="purchasedModules") + industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs.", alias="industryCode") + primary_business_location: Optional[BusinessLocationDTO] = Field(default=None, description="The primary location of operations or where business is performed. If undefined, it is omitted from the response.", alias="primaryBusinessLocation") + can_administer_other_tenants: Optional[StrictBool] = Field(default=None, description="If true, the tenant is an administrating tenant.", alias="canAdministerOtherTenants") + embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded.", alias="embeddableDomains") + custom_properties: Optional[List[CustomPropertyDTO]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") + sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") + vanity_url_name: Optional[StrictStr] = Field(default=None, description="The name of the administrating tenant used in Visier URLs.", alias="vanityUrlName") + home_analysis_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analysis that's displayed for this tenant when a user logs in.", alias="homeAnalysisId") + home_analysis_by_user_group: Optional[List[HomeAnalysisByUserGroupDTO]] = Field(default=None, description="A list of objects representing the analysis displayed to specific user groups when users log in.", alias="homeAnalysisByUserGroup") + click_through_link: Optional[StrictStr] = Field(default=None, description="The custom URL to redirect users into your portal to see the relevant content. This URL is used for links that are shared by and with your users through the sharing capability or email content.", alias="clickThroughLink") + click_through_link_enabled: Optional[StrictStr] = Field(default=None, description="Whether the click-through link is enabled or disabled.", alias="clickThroughLinkEnabled") + default_currency: Optional[StrictStr] = Field(default=None, description="The default currency to show in the application for the tenant.", alias="defaultCurrency") + allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, that are allowed in the idp_url OAuth parameter.", alias="allowedOAuthIdpUrlDomains") + effective_industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs. This is calculated from industry codes in the tenant's data if the tenant has business unit data. Not returned if the effective industry code cannot be calculated.", alias="effectiveIndustryCode") + company_size: Optional[StrictInt] = Field(default=None, description="The latest headcount value for the analytic tenant. Not returned if no headcount data is available.", alias="companySize") + traits: Optional[TenantDetailsTraitsDTO] = Field(default=None, description="The tenant's traits, including aggregation rights, tenant type, and data profile type.") + __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "status", "provisionDate", "currentDataVersion", "dataVersionDate", "purchasedModules", "industryCode", "primaryBusinessLocation", "canAdministerOtherTenants", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "vanityUrlName", "homeAnalysisId", "homeAnalysisByUserGroup", "clickThroughLink", "clickThroughLinkEnabled", "defaultCurrency", "allowedOAuthIdpUrlDomains", "effectiveIndustryCode", "companySize", "traits"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantManagementAPIGetResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of primary_business_location + if self.primary_business_location: + _dict['primaryBusinessLocation'] = self.primary_business_location.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) + _items = [] + if self.custom_properties: + for _item_custom_properties in self.custom_properties: + if _item_custom_properties: + _items.append(_item_custom_properties.to_dict()) + _dict['customProperties'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in home_analysis_by_user_group (list) + _items = [] + if self.home_analysis_by_user_group: + for _item_home_analysis_by_user_group in self.home_analysis_by_user_group: + if _item_home_analysis_by_user_group: + _items.append(_item_home_analysis_by_user_group.to_dict()) + _dict['homeAnalysisByUserGroup'] = _items + # override the default output from pydantic by calling `to_dict()` of traits + if self.traits: + _dict['traits'] = self.traits.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantManagementAPIGetResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "tenantDisplayName": obj.get("tenantDisplayName"), + "status": obj.get("status"), + "provisionDate": obj.get("provisionDate"), + "currentDataVersion": obj.get("currentDataVersion"), + "dataVersionDate": obj.get("dataVersionDate"), + "purchasedModules": obj.get("purchasedModules"), + "industryCode": obj.get("industryCode"), + "primaryBusinessLocation": BusinessLocationDTO.from_dict(obj["primaryBusinessLocation"]) if obj.get("primaryBusinessLocation") is not None else None, + "canAdministerOtherTenants": obj.get("canAdministerOtherTenants"), + "embeddableDomains": obj.get("embeddableDomains"), + "customProperties": [CustomPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, + "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), + "vanityUrlName": obj.get("vanityUrlName"), + "homeAnalysisId": obj.get("homeAnalysisId"), + "homeAnalysisByUserGroup": [HomeAnalysisByUserGroupDTO.from_dict(_item) for _item in obj["homeAnalysisByUserGroup"]] if obj.get("homeAnalysisByUserGroup") is not None else None, + "clickThroughLink": obj.get("clickThroughLink"), + "clickThroughLinkEnabled": obj.get("clickThroughLinkEnabled"), + "defaultCurrency": obj.get("defaultCurrency"), + "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains"), + "effectiveIndustryCode": obj.get("effectiveIndustryCode"), + "companySize": obj.get("companySize"), + "traits": TenantDetailsTraitsDTO.from_dict(obj["traits"]) if obj.get("traits") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_list_response_dto.py new file mode 100644 index 0000000000..b5d9b90ce7 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_list_response_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_management_api_get_response_dto import TenantManagementAPIGetResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantManagementAPIListResponseDTO(BaseModel): + """ + TenantManagementAPIListResponseDTO + """ # noqa: E501 + tenants: Optional[List[TenantManagementAPIGetResponseDTO]] = Field(default=None, description="A list of objects representing all the analytic tenants.") + limit: Optional[StrictInt] = Field(default=None, description="The limit of analytic tenants to return. The maximum value is 1000. The default is 150.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantManagementAPIListResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantManagementAPIListResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [TenantManagementAPIGetResponseDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_request_dto.py new file mode 100644 index 0000000000..5b37378503 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_request_dto.py @@ -0,0 +1,156 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.business_location_dto import BusinessLocationDTO +from visier_platform_sdk.models.custom_property_dto import CustomPropertyDTO +from visier_platform_sdk.models.home_analysis_by_user_group_dto import HomeAnalysisByUserGroupDTO +from visier_platform_sdk.models.tenant_details_traits_dto import TenantDetailsTraitsDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantManagementAPIUpdateRequestDTO(BaseModel): + """ + TenantManagementAPIUpdateRequestDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="A unique identifier for the newly created analytic tenant. Required if creating new tenants.", alias="tenantCode") + tenant_display_name: Optional[StrictStr] = Field(default=None, description="A new display name to assign to the analytic tenant. Required if creating new tenants.", alias="tenantDisplayName") + tenant_short_name: Optional[StrictStr] = Field(default=None, description="A new short name to assign to the tenant. Required for analytic tenants.", alias="tenantShortName") + vanity_url_name: Optional[StrictStr] = Field(default=None, description="A new vanity name to assign to the tenant. Omit for new Embedded analytic tenants.", alias="vanityUrlName") + industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs. If the code is unknown, type 0. For 2-digit codes, add trailing zeros at the end to reach 6 digits, such as 620000. Required if creating new tenants.", alias="industryCode") + primary_business_location: Optional[BusinessLocationDTO] = Field(default=None, description="The primary location of operations or where business is performed. This field is optional.", alias="primaryBusinessLocation") + purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant. Required if creating new tenants. To get the module name: 1. In Visier, open a project and navigate to **Model > Modules**. 2. Select a module. 3. In **Basic Information**, copy the **Object name**. This is the module name.", alias="purchasedModules") + embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant. This is optional.", alias="embeddableDomains") + custom_properties: Optional[List[CustomPropertyDTO]] = Field(default=None, description="A list of objects that represent different customizable properties for the analytic tenant. This is optional.", alias="customProperties") + sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant. This is optional.", alias="ssoInstanceIssuers") + home_analysis_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analysis to display for this tenant when a user logs in. This is optional. Causes the API request to take longer because it must publish a project to production. Retrieve the ID by opening an analysis in the production version of a tenant and copying the string after the last forward slash (/) in the URL. For example: `https://jupiter.visier.com/hr/prod/appcontainer?previewId=-eZPm8xvo3SUMpD4Q5pdE-6mCj9CQ9K699XgqRGwtOxagH5x2IzDFawlWn3hYqFEfU7nP0YK9ASEzmrNfAihGg..&previewType=Production#/analytics/myanalyses/8a4c1d4f-eb61-4da0-9e5b-55bef757c30e`. The `homeAnalysisID` is `8a4c1d4f-eb61-4da0-9e5b-55bef757c30e`. Alternatively, retrieve the ID by copying the `Analysis ID` or `contentId` found by following the `Embed a Visualization` documentation.", alias="homeAnalysisId") + home_analysis_by_user_group: Optional[List[HomeAnalysisByUserGroupDTO]] = Field(default=None, description="A list of objects representing the analysis to display to specific user groups when users log in. This is optional. Causes the API request to take longer because it must publish a project to production.", alias="homeAnalysisByUserGroup") + update_action: Optional[StrictStr] = Field(default=None, description="Specifies the way you want to update values. Default is MERGE. Valid values: - `MERGE`: Combine the existing values with the new values. - `REPLACE`: Remove existing values and let the new values take their place.", alias="updateAction") + enabled: Optional[StrictBool] = Field(default=None, description="If true, the tenant is enabled. Enabled tenants have access to Visier visualizations.") + click_through_link: Optional[StrictStr] = Field(default=None, description="A custom URL to redirect users into your portal to see the relevant content. This URL is used for links that are shared by and with your users through the sharing capability or email content. This is optional. Causes the API request to take longer because it must publish a project to production.", alias="clickThroughLink") + default_currency: Optional[StrictStr] = Field(default=None, description="The default currency to show in the application for the tenant.", alias="defaultCurrency") + allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, that are allowed in the idp_url OAuth parameter. This is optional.", alias="allowedOAuthIdpUrlDomains") + traits: Optional[TenantDetailsTraitsDTO] = Field(default=None, description="The tenant's traits, including aggregation rights, tenant type, and data profile type.") + __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "tenantShortName", "vanityUrlName", "industryCode", "primaryBusinessLocation", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "homeAnalysisId", "homeAnalysisByUserGroup", "updateAction", "enabled", "clickThroughLink", "defaultCurrency", "allowedOAuthIdpUrlDomains", "traits"] + + @field_validator('update_action') + def update_action_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['MERGE', 'REPLACE']): + raise ValueError("must be one of enum values ('MERGE', 'REPLACE')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantManagementAPIUpdateRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of primary_business_location + if self.primary_business_location: + _dict['primaryBusinessLocation'] = self.primary_business_location.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) + _items = [] + if self.custom_properties: + for _item_custom_properties in self.custom_properties: + if _item_custom_properties: + _items.append(_item_custom_properties.to_dict()) + _dict['customProperties'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in home_analysis_by_user_group (list) + _items = [] + if self.home_analysis_by_user_group: + for _item_home_analysis_by_user_group in self.home_analysis_by_user_group: + if _item_home_analysis_by_user_group: + _items.append(_item_home_analysis_by_user_group.to_dict()) + _dict['homeAnalysisByUserGroup'] = _items + # override the default output from pydantic by calling `to_dict()` of traits + if self.traits: + _dict['traits'] = self.traits.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantManagementAPIUpdateRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "tenantDisplayName": obj.get("tenantDisplayName"), + "tenantShortName": obj.get("tenantShortName"), + "vanityUrlName": obj.get("vanityUrlName"), + "industryCode": obj.get("industryCode"), + "primaryBusinessLocation": BusinessLocationDTO.from_dict(obj["primaryBusinessLocation"]) if obj.get("primaryBusinessLocation") is not None else None, + "purchasedModules": obj.get("purchasedModules"), + "embeddableDomains": obj.get("embeddableDomains"), + "customProperties": [CustomPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, + "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), + "homeAnalysisId": obj.get("homeAnalysisId"), + "homeAnalysisByUserGroup": [HomeAnalysisByUserGroupDTO.from_dict(_item) for _item in obj["homeAnalysisByUserGroup"]] if obj.get("homeAnalysisByUserGroup") is not None else None, + "updateAction": obj.get("updateAction"), + "enabled": obj.get("enabled"), + "clickThroughLink": obj.get("clickThroughLink"), + "defaultCurrency": obj.get("defaultCurrency"), + "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains"), + "traits": TenantDetailsTraitsDTO.from_dict(obj["traits"]) if obj.get("traits") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_response_dto.py new file mode 100644 index 0000000000..6ff7a3eaa0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_response_dto.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.business_location_dto import BusinessLocationDTO +from visier_platform_sdk.models.custom_property_dto import CustomPropertyDTO +from visier_platform_sdk.models.home_analysis_by_user_group_dto import HomeAnalysisByUserGroupDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantManagementAPIUpdateResponseDTO(BaseModel): + """ + TenantManagementAPIUpdateResponseDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier of the newly created analytic tenant.", alias="tenantCode") + tenant_display_name: Optional[StrictStr] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant.", alias="tenantDisplayName") + industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs.", alias="industryCode") + primary_business_location: Optional[BusinessLocationDTO] = Field(default=None, description="The primary location of operations or where business is performed. If undefined, it is omitted from the response.", alias="primaryBusinessLocation") + purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant.", alias="purchasedModules") + embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant.", alias="embeddableDomains") + custom_properties: Optional[List[CustomPropertyDTO]] = Field(default=None, description="A list of objects that represent different customizable properties for the analytic tenant.", alias="customProperties") + sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") + home_analysis_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analysis to display for this tenant when a user logs in. This is optional. Retrieve the ID by opening an analysis in the production version of a tenant and copying the string after the last forward slash (/) in the URL. For example: https://jupiter.visier.com/hr/prod/appcontainer?previewId=-eZPm8xvo3SUMpD4Q5pdE-6mCj9CQ9K699XgqRGwtOxagH5x2IzDFawlWn3hYqFEfU7nP0YK9ASEzmrNfAihGg..&previewType=Production#/analytics/myanalyses/`8a4c1d4f-eb61-4da0-9e5b-55bef757c30e`. The `homeAnalysisID` is `8a4c1d4f-eb61-4da0-9e5b-55bef757c30e`. Alternatively, retrieve the ID by copying the `Analysis ID` or `contentId` found by following the `Embed a Visualization` documentation.", alias="homeAnalysisId") + home_analysis_by_user_group: Optional[List[HomeAnalysisByUserGroupDTO]] = Field(default=None, description="A list of objects representing the analysis to display to specific user groups when users log in.", alias="homeAnalysisByUserGroup") + status: Optional[StrictStr] = Field(default=None, description="Whether the tenant is enabled or disabled. Enabled tenants have access to Visier visualizations.") + click_through_link: Optional[StrictStr] = Field(default=None, description="A custom URL to redirect users into your portal to see the relevant content. This URL is used for links that are shared by and with your users through the sharing capability or email content.", alias="clickThroughLink") + vanity_url_name: Optional[StrictStr] = Field(default=None, description="The name of the administrating tenant used in Visier URLs.", alias="vanityUrlName") + default_currency: Optional[StrictStr] = Field(default=None, description="The default currency to show in the application for the tenant.", alias="defaultCurrency") + allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, that are allowed in the idp_url OAuth parameter. This is optional.", alias="allowedOAuthIdpUrlDomains") + __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "industryCode", "primaryBusinessLocation", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "homeAnalysisId", "homeAnalysisByUserGroup", "status", "clickThroughLink", "vanityUrlName", "defaultCurrency", "allowedOAuthIdpUrlDomains"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantManagementAPIUpdateResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of primary_business_location + if self.primary_business_location: + _dict['primaryBusinessLocation'] = self.primary_business_location.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) + _items = [] + if self.custom_properties: + for _item_custom_properties in self.custom_properties: + if _item_custom_properties: + _items.append(_item_custom_properties.to_dict()) + _dict['customProperties'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in home_analysis_by_user_group (list) + _items = [] + if self.home_analysis_by_user_group: + for _item_home_analysis_by_user_group in self.home_analysis_by_user_group: + if _item_home_analysis_by_user_group: + _items.append(_item_home_analysis_by_user_group.to_dict()) + _dict['homeAnalysisByUserGroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantManagementAPIUpdateResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "tenantDisplayName": obj.get("tenantDisplayName"), + "industryCode": obj.get("industryCode"), + "primaryBusinessLocation": BusinessLocationDTO.from_dict(obj["primaryBusinessLocation"]) if obj.get("primaryBusinessLocation") is not None else None, + "purchasedModules": obj.get("purchasedModules"), + "embeddableDomains": obj.get("embeddableDomains"), + "customProperties": [CustomPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, + "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), + "homeAnalysisId": obj.get("homeAnalysisId"), + "homeAnalysisByUserGroup": [HomeAnalysisByUserGroupDTO.from_dict(_item) for _item in obj["homeAnalysisByUserGroup"]] if obj.get("homeAnalysisByUserGroup") is not None else None, + "status": obj.get("status"), + "clickThroughLink": obj.get("clickThroughLink"), + "vanityUrlName": obj.get("vanityUrlName"), + "defaultCurrency": obj.get("defaultCurrency"), + "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_module_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_module_dto.py new file mode 100644 index 0000000000..a28494c373 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_module_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.module_settings_dto import ModuleSettingsDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantModuleDTO(BaseModel): + """ + TenantModuleDTO + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name that is displayed within Visier. For example, \"TALENT\".", alias="displayName") + symbol_name: Optional[StrictStr] = Field(default=None, description="The symbol name of the module. For example, \"Talent_Management\".", alias="symbolName") + module_settings: Optional[ModuleSettingsDTO] = Field(default=None, description="The settings associated with the module.", alias="moduleSettings") + __properties: ClassVar[List[str]] = ["displayName", "symbolName", "moduleSettings"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantModuleDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of module_settings + if self.module_settings: + _dict['moduleSettings'] = self.module_settings.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantModuleDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "symbolName": obj.get("symbolName"), + "moduleSettings": ModuleSettingsDTO.from_dict(obj["moduleSettings"]) if obj.get("moduleSettings") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_dto.py new file mode 100644 index 0000000000..2b38a21b5c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.metric_validation_summary_dto import MetricValidationSummaryDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantPreviewEntriesSummaryDTO(BaseModel): + """ + TenantPreviewEntriesSummaryDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant. For example, \"WFF_j1r~i1o\".", alias="tenantCode") + data_version: Optional[StrictStr] = Field(default=None, description="The data version ID.", alias="dataVersion") + data_version_date: Optional[StrictStr] = Field(default=None, description="The date that the data version was created.", alias="dataVersionDate") + metrics: Optional[List[MetricValidationSummaryDTO]] = Field(default=None, description="A list of metrics and their values.") + __properties: ClassVar[List[str]] = ["tenantCode", "dataVersion", "dataVersionDate", "metrics"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantPreviewEntriesSummaryDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) + _items = [] + if self.metrics: + for _item_metrics in self.metrics: + if _item_metrics: + _items.append(_item_metrics.to_dict()) + _dict['metrics'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantPreviewEntriesSummaryDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "dataVersion": obj.get("dataVersion"), + "dataVersionDate": obj.get("dataVersionDate"), + "metrics": [MetricValidationSummaryDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py new file mode 100644 index 0000000000..4c9c4b2777 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.tenant_preview_entries_summary_dto import TenantPreviewEntriesSummaryDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantPreviewEntriesSummaryListDTO(BaseModel): + """ + TenantPreviewEntriesSummaryListDTO + """ # noqa: E501 + tenants: Optional[List[TenantPreviewEntriesSummaryDTO]] = Field(default=None, description="A list of objects representing all the analytic tenants.") + limit: Optional[StrictInt] = Field(default=None, description="The number of analytic tenants to retrieve. The maximum number to retrieve is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantPreviewEntriesSummaryListDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantPreviewEntriesSummaryListDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [TenantPreviewEntriesSummaryDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_provision_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_provision_apidto.py new file mode 100644 index 0000000000..6d2e099c4c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_provision_apidto.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.custom_tenant_property_dto import CustomTenantPropertyDTO +from typing import Optional, Set +from typing_extensions import Self + +class TenantProvisionAPIDTO(BaseModel): + """ + TenantProvisionAPIDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier of the analytic tenant.", alias="tenantCode") + tenant_display_name: Optional[StrictStr] = Field(default=None, description="The display name that is assigned to the analytic tenant.", alias="tenantDisplayName") + purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the Visier modules assigned to the analytic tenant.", alias="purchasedModules") + industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs. If the code is unknown, type 0. For 2-digit codes, add trailing zeros at the end to reach 6 digits, such as 620000.", alias="industryCode") + embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant.", alias="embeddableDomains") + custom_properties: Optional[List[CustomTenantPropertyDTO]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") + sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") + allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, which can be used as values for the idp_url OAuth parameter.", alias="allowedOAuthIdpUrlDomains") + __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "purchasedModules", "industryCode", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "allowedOAuthIdpUrlDomains"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantProvisionAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in custom_properties (list) + _items = [] + if self.custom_properties: + for _item_custom_properties in self.custom_properties: + if _item_custom_properties: + _items.append(_item_custom_properties.to_dict()) + _dict['customProperties'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantProvisionAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "tenantDisplayName": obj.get("tenantDisplayName"), + "purchasedModules": obj.get("purchasedModules"), + "industryCode": obj.get("industryCode"), + "embeddableDomains": obj.get("embeddableDomains"), + "customProperties": [CustomTenantPropertyDTO.from_dict(_item) for _item in obj["customProperties"]] if obj.get("customProperties") is not None else None, + "ssoInstanceIssuers": obj.get("ssoInstanceIssuers"), + "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_status_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_status_apidto.py new file mode 100644 index 0000000000..5904e97e16 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_status_apidto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TenantStatusAPIDTO(BaseModel): + """ + TenantStatusAPIDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier for the analytic tenant.", alias="tenantCode") + status: Optional[StrictStr] = Field(default=None, description="Whether the tenant is enabled or disabled.") + tenant_display_name: Optional[StrictStr] = Field(default=None, description="The identifiable tenant name that is displayed within Visier. For example, \"Callisto\".", alias="tenantDisplayName") + can_administer_other_tenants: Optional[StrictBool] = Field(default=None, description="If true, the tenant is an administrating tenant.", alias="canAdministerOtherTenants") + __properties: ClassVar[List[str]] = ["tenantCode", "status", "tenantDisplayName", "canAdministerOtherTenants"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TenantStatusAPIDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TenantStatusAPIDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "status": obj.get("status"), + "tenantDisplayName": obj.get("tenantDisplayName"), + "canAdministerOtherTenants": obj.get("canAdministerOtherTenants") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/time_shift_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/time_shift_dto.py new file mode 100644 index 0000000000..052ed183b5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/time_shift_dto.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class TimeShiftDTO(BaseModel): + """ + The amount of time to shift the time interval by, such as backward by one year. + """ # noqa: E501 + period_type: Optional[StrictStr] = Field(default=None, description="The time period type for the shift.", alias="periodType") + period_count: Optional[StrictInt] = Field(default=None, description="The number of intervals. Default is 1.", alias="periodCount") + direction: Optional[StrictStr] = Field(default=None, description="The direction to extend. Default is BACKWARD.") + __properties: ClassVar[List[str]] = ["periodType", "periodCount", "direction"] + + @field_validator('period_type') + def period_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): + raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") + return value + + @field_validator('direction') + def direction_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['BACKWARD', 'FORWARD']): + raise ValueError("must be one of enum values ('BACKWARD', 'FORWARD')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TimeShiftDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TimeShiftDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "periodType": obj.get("periodType"), + "periodCount": obj.get("periodCount"), + "direction": obj.get("direction") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/ultimate_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/ultimate_auth_params_dto.py new file mode 100644 index 0000000000..09c6a2604f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/ultimate_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UltimateAuthParamsDTO(BaseModel): + """ + UltimateAuthParamsDTO + """ # noqa: E501 + host_domain_name: Optional[StrictStr] = Field(default=None, alias="hostDomainName") + api_key: Optional[StrictStr] = Field(default=None, alias="apiKey") + username: Optional[StrictStr] = None + password: Optional[StrictStr] = None + user_access_key: Optional[StrictStr] = Field(default=None, alias="userAccessKey") + __properties: ClassVar[List[str]] = ["hostDomainName", "apiKey", "username", "password", "userAccessKey"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UltimateAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UltimateAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "hostDomainName": obj.get("hostDomainName"), + "apiKey": obj.get("apiKey"), + "username": obj.get("username"), + "password": obj.get("password"), + "userAccessKey": obj.get("userAccessKey") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/update_tenant_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/update_tenant_model.py new file mode 100644 index 0000000000..da9879891a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/update_tenant_model.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UpdateTenantModel(BaseModel): + """ + UpdateTenantModel + """ # noqa: E501 + tenant_display_name: Optional[StrictStr] = Field(default=None, description="A display name that is assigned to the new analytic tenant.", alias="tenantDisplayName") + industry_code: Optional[StrictInt] = Field(default=None, description="The 6-digit NAICS code for the industry to which the analytic tenant belongs. If the code is unknown, type 0. For 2-digit codes, add trailing zeros at the end to reach 6 digits, such as 620000.", alias="industryCode") + purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant.", alias="purchasedModules") + embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant.", alias="embeddableDomains") + custom_properties: Optional[Dict[str, StrictStr]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") + sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") + __properties: ClassVar[List[str]] = ["tenantDisplayName", "industryCode", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UpdateTenantModel from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UpdateTenantModel from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantDisplayName": obj.get("tenantDisplayName"), + "industryCode": obj.get("industryCode"), + "purchasedModules": obj.get("purchasedModules"), + "embeddableDomains": obj.get("embeddableDomains"), + "customProperties": obj.get("customProperties"), + "ssoInstanceIssuers": obj.get("ssoInstanceIssuers") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_exclude.py b/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_exclude.py new file mode 100644 index 0000000000..7a09aa6d69 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_exclude.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UploadToExclude(BaseModel): + """ + UploadToExclude + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant you are excluding a data upload for.", alias="tenantCode") + exclude_all: Optional[StrictBool] = Field(default=None, description="If `true`, all data uploads are excluded for the analytic tenant.", alias="excludeAll") + upload_times: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of ISO 8601 time strings such as `\"2001-10-25T13:45:35.999\"` representing the upload time of each data upload to exclude.", alias="uploadTimes") + min_upload_time: Optional[StrictStr] = Field(default=None, description="An ISO 8601 time for the earliest upload time. If defined, omit `uploadTimes`. If omitted and `maxUploadTime` is defined, excludes files up to earliest time available.", alias="minUploadTime") + max_upload_time: Optional[StrictStr] = Field(default=None, description="An ISO 8601 time for the latest upload time. If defined, omit `uploadTimes`. If omitted and `minUploadTime` is defined, excludes files up to latest time available.", alias="maxUploadTime") + sources: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the object name of each source to exclude. If `uploadTimes` is omitted, excludes files for the given sources for all `uploadTimes`.") + file_name_regex: Optional[StrictStr] = Field(default=None, description="A regular expression to match the file names of the data uploads to exclude.", alias="fileNameRegex") + file_identifiers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the file identifiers of the data uploads to exclude. To get a data upload's file identifier, see `GET /v1/op/data/uploads`.", alias="fileIdentifiers") + __properties: ClassVar[List[str]] = ["tenantCode", "excludeAll", "uploadTimes", "minUploadTime", "maxUploadTime", "sources", "fileNameRegex", "fileIdentifiers"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UploadToExclude from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UploadToExclude from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "excludeAll": obj.get("excludeAll"), + "uploadTimes": obj.get("uploadTimes"), + "minUploadTime": obj.get("minUploadTime"), + "maxUploadTime": obj.get("maxUploadTime"), + "sources": obj.get("sources"), + "fileNameRegex": obj.get("fileNameRegex"), + "fileIdentifiers": obj.get("fileIdentifiers") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_include.py b/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_include.py new file mode 100644 index 0000000000..1594a07ac3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_include.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UploadToInclude(BaseModel): + """ + UploadToInclude + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the analytic tenant you are including a data upload for.", alias="tenantCode") + include_all: Optional[StrictBool] = Field(default=None, description="If `true`, all data uploads are included for the analytic tenant.", alias="includeAll") + upload_times: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of ISO 8601 time strings such as `\"2001-10-25T13:45:35.999\"` representing the upload time of each data upload to include.", alias="uploadTimes") + min_upload_time: Optional[StrictStr] = Field(default=None, description="An ISO 8601 time for the earliest upload time. If defined, omit `uploadTimes`. If omitted and `maxUploadTime` is defined, includes files up to earliest time available.", alias="minUploadTime") + max_upload_time: Optional[StrictStr] = Field(default=None, description="An ISO 8601 time for the latest upload time. If defined, omit `uploadTimes`. If omitted and `minUploadTime` is defined, includes files up to latest time available.", alias="maxUploadTime") + sources: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the object name of each source to include. If `uploadTimes` is omitted, includes files for the given sources for all `uploadTimes`.") + file_name_regex: Optional[StrictStr] = Field(default=None, description="A regular expression to match the file names of the data uploads to include.", alias="fileNameRegex") + file_identifiers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings representing the file identifiers of the data uploads to include. To get a data upload's file identifier, see `GET /v1/op/data/uploads`.", alias="fileIdentifiers") + __properties: ClassVar[List[str]] = ["tenantCode", "includeAll", "uploadTimes", "minUploadTime", "maxUploadTime", "sources", "fileNameRegex", "fileIdentifiers"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UploadToInclude from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UploadToInclude from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "includeAll": obj.get("includeAll"), + "uploadTimes": obj.get("uploadTimes"), + "minUploadTime": obj.get("minUploadTime"), + "maxUploadTime": obj.get("maxUploadTime"), + "sources": obj.get("sources"), + "fileNameRegex": obj.get("fileNameRegex"), + "fileIdentifiers": obj.get("fileIdentifiers") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_request_dto.py new file mode 100644 index 0000000000..4f68e90f1b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserCreationAPIRequestDTO(BaseModel): + """ + UserCreationAPIRequestDTO + """ # noqa: E501 + username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@visier.com.") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") + employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") + account_enabled: Optional[StrictStr] = Field(default=None, description="If false, the user account is disabled.", alias="accountEnabled") + email: Optional[StrictStr] = Field(default=None, description="The user's email. This is used if the user's email is different from their username. For example, \"john.doe@visier.com\".") + __properties: ClassVar[List[str]] = ["username", "displayName", "employeeId", "accountEnabled", "email"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserCreationAPIRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserCreationAPIRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "username": obj.get("username"), + "displayName": obj.get("displayName"), + "employeeId": obj.get("employeeId"), + "accountEnabled": obj.get("accountEnabled"), + "email": obj.get("email") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_get_api_response_dto.py new file mode 100644 index 0000000000..d009797db6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_get_api_response_dto.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.all_permissions_assigned_for_local_tenant_dto import AllPermissionsAssignedForLocalTenantDTO +from visier_platform_sdk.models.all_profile_assigned_for_local_tenant_dto import AllProfileAssignedForLocalTenantDTO +from visier_platform_sdk.models.all_user_groups_assigned_for_local_tenant_dto import AllUserGroupsAssignedForLocalTenantDTO +from visier_platform_sdk.models.last_login_dto import LastLoginDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGetAPIResponseDTO(BaseModel): + """ + UserGetAPIResponseDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") + username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com.") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") + employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") + account_enabled: Optional[StrictBool] = Field(default=None, description="If false, the user account is disabled.", alias="accountEnabled") + profiles: Optional[AllProfileAssignedForLocalTenantDTO] = Field(default=None, description="A list of objects representing the list of available profiles. Not returned if the user has no profiles.") + permissions: Optional[AllPermissionsAssignedForLocalTenantDTO] = Field(default=None, description="A list of objects representing the user's permissions.") + user_groups: Optional[AllUserGroupsAssignedForLocalTenantDTO] = Field(default=None, description="A list of objects representing the available user groups.", alias="userGroups") + last_login: Optional[LastLoginDTO] = Field(default=None, description="An object that represents the time that the user last logged into Visier.", alias="lastLogin") + email: Optional[StrictStr] = Field(default=None, description="The user's email address.") + __properties: ClassVar[List[str]] = ["userId", "username", "displayName", "employeeId", "accountEnabled", "profiles", "permissions", "userGroups", "lastLogin", "email"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGetAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of profiles + if self.profiles: + _dict['profiles'] = self.profiles.to_dict() + # override the default output from pydantic by calling `to_dict()` of permissions + if self.permissions: + _dict['permissions'] = self.permissions.to_dict() + # override the default output from pydantic by calling `to_dict()` of user_groups + if self.user_groups: + _dict['userGroups'] = self.user_groups.to_dict() + # override the default output from pydantic by calling `to_dict()` of last_login + if self.last_login: + _dict['lastLogin'] = self.last_login.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGetAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "username": obj.get("username"), + "displayName": obj.get("displayName"), + "employeeId": obj.get("employeeId"), + "accountEnabled": obj.get("accountEnabled"), + "profiles": AllProfileAssignedForLocalTenantDTO.from_dict(obj["profiles"]) if obj.get("profiles") is not None else None, + "permissions": AllPermissionsAssignedForLocalTenantDTO.from_dict(obj["permissions"]) if obj.get("permissions") is not None else None, + "userGroups": AllUserGroupsAssignedForLocalTenantDTO.from_dict(obj["userGroups"]) if obj.get("userGroups") is not None else None, + "lastLogin": LastLoginDTO.from_dict(obj["lastLogin"]) if obj.get("lastLogin") is not None else None, + "email": obj.get("email") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py new file mode 100644 index 0000000000..ce803e8e6d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupAssignedForLocalTenantDTO(BaseModel): + """ + UserGroupAssignedForLocalTenantDTO + """ # noqa: E501 + user_group_id: Optional[StrictStr] = Field(default=None, description="The user group ID.", alias="userGroupId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable user group name to display in Visier, such as \"Leadership User Group\".", alias="displayName") + __properties: ClassVar[List[str]] = ["userGroupId", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupAssignedForLocalTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupAssignedForLocalTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroupId": obj.get("userGroupId"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assignment_dto.py new file mode 100644 index 0000000000..3f66779626 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assignment_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupAssignmentDTO(BaseModel): + """ + UserGroupAssignmentDTO + """ # noqa: E501 + user_group_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of user group IDs assigned to the sample question.", alias="userGroupIds") + __properties: ClassVar[List[str]] = ["userGroupIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupAssignmentDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupAssignmentDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroupIds": obj.get("userGroupIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_definition_dto.py new file mode 100644 index 0000000000..305a536bd2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_definition_dto.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO +from visier_platform_sdk.models.user_group_change_users_dto import UserGroupChangeUsersDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupChangeDefinitionDTO(BaseModel): + """ + UserGroupChangeDefinitionDTO + """ # noqa: E501 + user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the user group. Omit if creating a new user group.", alias="userGroupId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable user group name to display in Visier, such as \"Leadership User Group\".", alias="displayName") + description: Optional[StrictStr] = Field(default=None, description="A detailed description of the population and purpose of the user group.") + permission_ids: Optional[ElementIDsDTO] = Field(default=None, description="The unique identifiers of permissions assigned to members of this user group.", alias="permissionIds") + users: Optional[UserGroupChangeUsersDTO] = Field(default=None, description="The users assigned to the user group. You can define user group members dynamically with `dynamicFilterDefinition` or manually with `includeAllUsers` or `manuallyIncludedIds`.") + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant to which the user group belongs or should be created in. Omit if creating or updating user groups in the current tenant.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project ID in which to update or create the user group. If omitted and the ProjectID request header is not defined, the change is published to production immediately.", alias="projectId") + __properties: ClassVar[List[str]] = ["userGroupId", "displayName", "description", "permissionIds", "users", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupChangeDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of permission_ids + if self.permission_ids: + _dict['permissionIds'] = self.permission_ids.to_dict() + # override the default output from pydantic by calling `to_dict()` of users + if self.users: + _dict['users'] = self.users.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupChangeDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroupId": obj.get("userGroupId"), + "displayName": obj.get("displayName"), + "description": obj.get("description"), + "permissionIds": ElementIDsDTO.from_dict(obj["permissionIds"]) if obj.get("permissionIds") is not None else None, + "users": UserGroupChangeUsersDTO.from_dict(obj["users"]) if obj.get("users") is not None else None, + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_dimension_filter_dto.py new file mode 100644 index 0000000000..71e5d8c76e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_dimension_filter_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO +from visier_platform_sdk.models.user_group_change_member_selection_dto import UserGroupChangeMemberSelectionDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupChangeDimensionFilterDTO(BaseModel): + """ + UserGroupChangeDimensionFilterDTO + """ # noqa: E501 + dimension_id: Optional[StrictStr] = Field(default=None, description="The object name of the dimension.", alias="dimensionId") + subject_reference_path: Optional[ElementIDsDTO] = Field(default=None, description="A qualifying path if the dimension is from an analytic object that references Employee. For example, use `subjectReferencePath` to create a filter on the `Employment_Start_Type` dimension from the `Employment_Start` object, which references `Employee`: `{ \"ids\": [ \"Employee\", \"Employment_Start\" ] }`.", alias="subjectReferencePath") + member_selections: Optional[List[UserGroupChangeMemberSelectionDTO]] = Field(default=None, description="The dimension members to select in the dynamic filter.", alias="memberSelections") + __properties: ClassVar[List[str]] = ["dimensionId", "subjectReferencePath", "memberSelections"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupChangeDimensionFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of subject_reference_path + if self.subject_reference_path: + _dict['subjectReferencePath'] = self.subject_reference_path.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in member_selections (list) + _items = [] + if self.member_selections: + for _item_member_selections in self.member_selections: + if _item_member_selections: + _items.append(_item_member_selections.to_dict()) + _dict['memberSelections'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupChangeDimensionFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimensionId": obj.get("dimensionId"), + "subjectReferencePath": ElementIDsDTO.from_dict(obj["subjectReferencePath"]) if obj.get("subjectReferencePath") is not None else None, + "memberSelections": [UserGroupChangeMemberSelectionDTO.from_dict(_item) for _item in obj["memberSelections"]] if obj.get("memberSelections") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_failure_dto.py new file mode 100644 index 0000000000..557d0561c3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_failure_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupChangeFailureDTO(BaseModel): + """ + UserGroupChangeFailureDTO + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the user group that couldn't be created.", alias="displayName") + message: Optional[StrictStr] = Field(default=None, description="The error message containing the cause of the failure.") + rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant for which the user group could not be created or updated.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project in which the user group could not be created or updated.", alias="projectId") + __properties: ClassVar[List[str]] = ["displayName", "message", "rci", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupChangeFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupChangeFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "message": obj.get("message"), + "rci": obj.get("rci"), + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_filter_dto.py new file mode 100644 index 0000000000..d359a949e5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_filter_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_change_dimension_filter_dto import UserGroupChangeDimensionFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupChangeFilterDTO(BaseModel): + """ + UserGroupChangeFilterDTO + """ # noqa: E501 + filter_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the filter. Omit if creating a new filter.", alias="filterId") + analytic_object_id: Optional[StrictStr] = Field(default=None, description="The analytic object the filter applies to. Currently, the only supported analytic object is `Employee`. Default is `Employee`.", alias="analyticObjectId") + dimension_filters: Optional[List[UserGroupChangeDimensionFilterDTO]] = Field(default=None, description="The dimensions in the dynamic filter.", alias="dimensionFilters") + __properties: ClassVar[List[str]] = ["filterId", "analyticObjectId", "dimensionFilters"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupChangeFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dimension_filters (list) + _items = [] + if self.dimension_filters: + for _item_dimension_filters in self.dimension_filters: + if _item_dimension_filters: + _items.append(_item_dimension_filters.to_dict()) + _dict['dimensionFilters'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupChangeFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "filterId": obj.get("filterId"), + "analyticObjectId": obj.get("analyticObjectId"), + "dimensionFilters": [UserGroupChangeDimensionFilterDTO.from_dict(_item) for _item in obj["dimensionFilters"]] if obj.get("dimensionFilters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_member_selection_dto.py new file mode 100644 index 0000000000..2eb39a8df4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_member_selection_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupChangeMemberSelectionDTO(BaseModel): + """ + UserGroupChangeMemberSelectionDTO + """ # noqa: E501 + is_excluded: Optional[StrictBool] = Field(default=None, description="If `true`, the specified member must not be defined for members of the user group.", alias="isExcluded") + name_path: Optional[List[StrictStr]] = Field(default=None, description="The name path for dimension members; for example, `[ \"North America\", \"US\", \"CA\" ]`.", alias="namePath") + __properties: ClassVar[List[str]] = ["isExcluded", "namePath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupChangeMemberSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupChangeMemberSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "isExcluded": obj.get("isExcluded"), + "namePath": obj.get("namePath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_response_dto.py new file mode 100644 index 0000000000..6ffbd01393 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_change_failure_dto import UserGroupChangeFailureDTO +from visier_platform_sdk.models.user_group_change_success_dto import UserGroupChangeSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupChangeResponseDTO(BaseModel): + """ + UserGroupChangeResponseDTO + """ # noqa: E501 + successes: Optional[List[UserGroupChangeSuccessDTO]] = Field(default=None, description="The user groups that were created.") + failures: Optional[List[UserGroupChangeFailureDTO]] = Field(default=None, description="The user groups that were not created.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupChangeResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupChangeResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [UserGroupChangeSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [UserGroupChangeFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_success_dto.py new file mode 100644 index 0000000000..3a581c2788 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_success_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupChangeSuccessDTO(BaseModel): + """ + UserGroupChangeSuccessDTO + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the created user group.", alias="displayName") + user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the user group.", alias="userGroupId") + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant the user group was created or updated in.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project the user group was created or updated in.", alias="projectId") + __properties: ClassVar[List[str]] = ["displayName", "userGroupId", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupChangeSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupChangeSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "userGroupId": obj.get("userGroupId"), + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_users_dto.py new file mode 100644 index 0000000000..c8a80402f2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_users_dto.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO +from visier_platform_sdk.models.user_group_filters_dto import UserGroupFiltersDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupChangeUsersDTO(BaseModel): + """ + UserGroupChangeUsersDTO + """ # noqa: E501 + include_all_users: Optional[StrictBool] = Field(default=None, description="If `true`, all users are included in the user group. If `true`: * You can manually exclude users with `manuallyExcludedIds`. * Cannot be combined with `manuallyIncludedIds` or `dynamicFilterDefinition`.", alias="includeAllUsers") + manually_included_ids: Optional[ElementIDsDTO] = Field(default=None, description="Includes specified user IDs in the user group. * May be combined with `dynamicFilterDefinition`. * Omit if `includeAllUsers` is `true`.", alias="manuallyIncludedIds") + manually_excluded_ids: Optional[ElementIDsDTO] = Field(default=None, description="Excludes specified user IDs from the user group. * You can manually exclude users if `includeAllUsers` is `true` or if `dynamicFilterDefinition` is defined. * Excluded IDs must not overlap with user IDs in `manuallyIncludedIds`.", alias="manuallyExcludedIds") + dynamic_filter_definition: Optional[UserGroupFiltersDTO] = Field(default=None, description="The filters that dynamically define a population through dimensions or dimensions accessible through references from the analytic object. * Omit if `includeAllUsers` is `true`. * You can combine dynamic filters with manually-assigned users.", alias="dynamicFilterDefinition") + __properties: ClassVar[List[str]] = ["includeAllUsers", "manuallyIncludedIds", "manuallyExcludedIds", "dynamicFilterDefinition"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupChangeUsersDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of manually_included_ids + if self.manually_included_ids: + _dict['manuallyIncludedIds'] = self.manually_included_ids.to_dict() + # override the default output from pydantic by calling `to_dict()` of manually_excluded_ids + if self.manually_excluded_ids: + _dict['manuallyExcludedIds'] = self.manually_excluded_ids.to_dict() + # override the default output from pydantic by calling `to_dict()` of dynamic_filter_definition + if self.dynamic_filter_definition: + _dict['dynamicFilterDefinition'] = self.dynamic_filter_definition.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupChangeUsersDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "includeAllUsers": obj.get("includeAllUsers"), + "manuallyIncludedIds": ElementIDsDTO.from_dict(obj["manuallyIncludedIds"]) if obj.get("manuallyIncludedIds") is not None else None, + "manuallyExcludedIds": ElementIDsDTO.from_dict(obj["manuallyExcludedIds"]) if obj.get("manuallyExcludedIds") is not None else None, + "dynamicFilterDefinition": UserGroupFiltersDTO.from_dict(obj["dynamicFilterDefinition"]) if obj.get("dynamicFilterDefinition") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_dto.py new file mode 100644 index 0000000000..26da276be5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupDeleteDTO(BaseModel): + """ + UserGroupDeleteDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant from which to delete the user group. Omit if deleting user groups in the current tenant.", alias="tenantCode") + user_group_id: Optional[StrictStr] = Field(default=None, description="Unique identifier for the user group.", alias="userGroupId") + project_id: Optional[StrictStr] = Field(default=None, description="The project ID in which to delete the user group. If omitted and the `ProjectID` request header is not defined, the change is published to production immediately.", alias="projectId") + __properties: ClassVar[List[str]] = ["tenantCode", "userGroupId", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupDeleteDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupDeleteDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "userGroupId": obj.get("userGroupId"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_failure_dto.py new file mode 100644 index 0000000000..af38924ca1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_failure_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupDeleteFailureDTO(BaseModel): + """ + UserGroupDeleteFailureDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant from which the user group could not be deleted.", alias="tenantCode") + user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the user group that could not be deleted.", alias="userGroupId") + message: Optional[StrictStr] = Field(default=None, description="The error message containing the cause of the failure.") + rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") + project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project in which the user group could not be deleted.", alias="projectId") + __properties: ClassVar[List[str]] = ["tenantCode", "userGroupId", "message", "rci", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupDeleteFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupDeleteFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "userGroupId": obj.get("userGroupId"), + "message": obj.get("message"), + "rci": obj.get("rci"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_response_dto.py new file mode 100644 index 0000000000..4edad86fe7 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_delete_failure_dto import UserGroupDeleteFailureDTO +from visier_platform_sdk.models.user_group_delete_success_dto import UserGroupDeleteSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupDeleteResponseDTO(BaseModel): + """ + UserGroupDeleteResponseDTO + """ # noqa: E501 + successes: Optional[List[UserGroupDeleteSuccessDTO]] = Field(default=None, description="The user groups that were successfully deleted.") + failures: Optional[List[UserGroupDeleteFailureDTO]] = Field(default=None, description="The user groups that were not deleted successfully.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupDeleteResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupDeleteResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [UserGroupDeleteSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [UserGroupDeleteFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_success_dto.py new file mode 100644 index 0000000000..2f16f78e29 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_success_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupDeleteSuccessDTO(BaseModel): + """ + UserGroupDeleteSuccessDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant the user group was deleted from.", alias="tenantCode") + user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the user group that was deleted.", alias="userGroupId") + project_id: Optional[StrictStr] = Field(default=None, description="The ID of the project in which user group was deleted.", alias="projectId") + __properties: ClassVar[List[str]] = ["tenantCode", "userGroupId", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupDeleteSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupDeleteSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "userGroupId": obj.get("userGroupId"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_filters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_filters_dto.py new file mode 100644 index 0000000000..c17381cf85 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_filters_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_change_filter_dto import UserGroupChangeFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupFiltersDTO(BaseModel): + """ + UserGroupFiltersDTO + """ # noqa: E501 + filters: Optional[List[UserGroupChangeFilterDTO]] = Field(default=None, description="The filters that define user group membership.") + __properties: ClassVar[List[str]] = ["filters"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupFiltersDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in filters (list) + _items = [] + if self.filters: + for _item_filters in self.filters: + if _item_filters: + _items.append(_item_filters.to_dict()) + _dict['filters'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupFiltersDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "filters": [UserGroupChangeFilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_get_api_response_dto.py new file mode 100644 index 0000000000..8a8fa59383 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_get_api_response_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.permission_response_dto import PermissionResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupGetAPIResponseDTO(BaseModel): + """ + UserGroupGetAPIResponseDTO + """ # noqa: E501 + user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user group.", alias="userGroupId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable user group name to display in Visier, such as \"Leadership User Group\".", alias="displayName") + permissions: Optional[List[PermissionResponseDTO]] = Field(default=None, description="A list of objects representing the user's permissions.") + __properties: ClassVar[List[str]] = ["userGroupId", "displayName", "permissions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupGetAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in permissions (list) + _items = [] + if self.permissions: + for _item_permissions in self.permissions: + if _item_permissions: + _items.append(_item_permissions.to_dict()) + _dict['permissions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupGetAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroupId": obj.get("userGroupId"), + "displayName": obj.get("displayName"), + "permissions": [PermissionResponseDTO.from_dict(_item) for _item in obj["permissions"]] if obj.get("permissions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_single_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_single_delete_response_dto.py new file mode 100644 index 0000000000..adf366eebf --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_single_delete_response_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_delete_failure_dto import UserGroupDeleteFailureDTO +from visier_platform_sdk.models.user_group_delete_success_dto import UserGroupDeleteSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupSingleDeleteResponseDTO(BaseModel): + """ + UserGroupSingleDeleteResponseDTO + """ # noqa: E501 + success: Optional[UserGroupDeleteSuccessDTO] = Field(default=None, description="The user group was successfully deleted.") + failure: Optional[UserGroupDeleteFailureDTO] = Field(default=None, description="The user group was not successfully deleted.") + __properties: ClassVar[List[str]] = ["success", "failure"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupSingleDeleteResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of success + if self.success: + _dict['success'] = self.success.to_dict() + # override the default output from pydantic by calling `to_dict()` of failure + if self.failure: + _dict['failure'] = self.failure.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupSingleDeleteResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "success": UserGroupDeleteSuccessDTO.from_dict(obj["success"]) if obj.get("success") is not None else None, + "failure": UserGroupDeleteFailureDTO.from_dict(obj["failure"]) if obj.get("failure") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_change_dto.py new file mode 100644 index 0000000000..0823cd892d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_change_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_change_definition_dto import UserGroupChangeDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupsChangeDTO(BaseModel): + """ + UserGroupsChangeDTO + """ # noqa: E501 + user_groups: Optional[List[UserGroupChangeDefinitionDTO]] = Field(default=None, description="The user groups and their definitions.", alias="userGroups") + __properties: ClassVar[List[str]] = ["userGroups"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupsChangeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) + _items = [] + if self.user_groups: + for _item_user_groups in self.user_groups: + if _item_user_groups: + _items.append(_item_user_groups.to_dict()) + _dict['userGroups'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupsChangeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroups": [UserGroupChangeDefinitionDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_delete_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_delete_request_dto.py new file mode 100644 index 0000000000..6a018060dd --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_delete_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_delete_dto import UserGroupDeleteDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupsDeleteRequestDTO(BaseModel): + """ + UserGroupsDeleteRequestDTO + """ # noqa: E501 + user_groups: Optional[List[UserGroupDeleteDTO]] = Field(default=None, description="The user groups to delete.", alias="userGroups") + __properties: ClassVar[List[str]] = ["userGroups"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupsDeleteRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) + _items = [] + if self.user_groups: + for _item_user_groups in self.user_groups: + if _item_user_groups: + _items.append(_item_user_groups.to_dict()) + _dict['userGroups'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupsDeleteRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroups": [UserGroupDeleteDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_get_api_response_dto.py new file mode 100644 index 0000000000..02adf1e0ff --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_get_api_response_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_get_api_response_dto import UserGroupGetAPIResponseDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupsGetAPIResponseDTO(BaseModel): + """ + UserGroupsGetAPIResponseDTO + """ # noqa: E501 + user_groups: Optional[List[UserGroupGetAPIResponseDTO]] = Field(default=None, description="A list of user groups.", alias="userGroups") + limit: Optional[StrictInt] = Field(default=None, description="The number of results to return. The maximum number of users to retrieve is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving results from, also known as offset.") + __properties: ClassVar[List[str]] = ["userGroups", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupsGetAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) + _items = [] + if self.user_groups: + for _item_user_groups in self.user_groups: + if _item_user_groups: + _items.append(_item_user_groups.to_dict()) + _dict['userGroups'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupsGetAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroups": [UserGroupGetAPIResponseDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_dto.py new file mode 100644 index 0000000000..3ed2a5820d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_groups_users_for_tenant_dto import UserGroupsUsersForTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupsUsersDTO(BaseModel): + """ + UserGroupsUsersDTO + """ # noqa: E501 + tenants: Optional[List[UserGroupsUsersForTenantDTO]] = Field(default=None, description="A list of objects representing the users that are explicitly assigned to the user group, organized by the tenants the users belong to.") + limit: Optional[StrictInt] = Field(default=None, description="The limit of results to return. The maximum value is 1000.") + start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") + __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupsUsersDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in tenants (list) + _items = [] + if self.tenants: + for _item_tenants in self.tenants: + if _item_tenants: + _items.append(_item_tenants.to_dict()) + _dict['tenants'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupsUsersDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenants": [UserGroupsUsersForTenantDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, + "limit": obj.get("limit"), + "start": obj.get("start") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_for_tenant_dto.py new file mode 100644 index 0000000000..82d1daf62a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_for_tenant_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.simple_user_dto import SimpleUserDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserGroupsUsersForTenantDTO(BaseModel): + """ + UserGroupsUsersForTenantDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the tenant.", alias="tenantCode") + users: Optional[List[SimpleUserDTO]] = Field(default=None, description="A list of objects representing the users in the user group.") + __properties: ClassVar[List[str]] = ["tenantCode", "users"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserGroupsUsersForTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in users (list) + _items = [] + if self.users: + for _item_users in self.users: + if _item_users: + _items.append(_item_users.to_dict()) + _dict['users'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserGroupsUsersForTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "users": [SimpleUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_id_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_id_error_dto.py new file mode 100644 index 0000000000..2fe21783f0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_id_error_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.error_dto import ErrorDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserIdErrorDTO(BaseModel): + """ + UserIdErrorDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The bad user ID.", alias="userId") + error: Optional[ErrorDTO] = Field(default=None, description="The details about the error.") + __properties: ClassVar[List[str]] = ["userId", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserIdErrorDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserIdErrorDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "error": ErrorDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_property_dto.py new file mode 100644 index 0000000000..0b842f2ade --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_property_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserPropertyDTO(BaseModel): + """ + UserPropertyDTO + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The name property to map to in the dynamic filter. Valid values are one of `username`, `email`, `employeeId`.") + __properties: ClassVar[List[str]] = ["name"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserPropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserPropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_security_assignments_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_security_assignments_dto.py new file mode 100644 index 0000000000..acab6c0bef --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_security_assignments_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.simple_user_dto import SimpleUserDTO +from typing import Optional, Set +from typing_extensions import Self + +class UserSecurityAssignmentsDTO(BaseModel): + """ + UserSecurityAssignmentsDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user group.") + name: Optional[StrictStr] = Field(default=None, description="The name of the user group.") + users: Optional[List[SimpleUserDTO]] = Field(default=None, description="A list of objects representing the users assigned to or removed from the user group.") + __properties: ClassVar[List[str]] = ["id", "name", "users"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserSecurityAssignmentsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in users (list) + _items = [] + if self.users: + for _item_users in self.users: + if _item_users: + _items.append(_item_users.to_dict()) + _dict['users'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserSecurityAssignmentsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "users": [SimpleUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_update_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_update_api_request_dto.py new file mode 100644 index 0000000000..fbfbc0fac4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_update_api_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UserUpdateAPIRequestDTO(BaseModel): + """ + UserUpdateAPIRequestDTO + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") + employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") + account_enabled: Optional[StrictStr] = Field(default=None, description="If true, the user account is enabled.", alias="accountEnabled") + email: Optional[StrictStr] = Field(default=None, description="The user's email address.") + username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com. If a user's username changes, they must authenticate using the new username.") + __properties: ClassVar[List[str]] = ["displayName", "employeeId", "accountEnabled", "email", "username"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UserUpdateAPIRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UserUpdateAPIRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "employeeId": obj.get("employeeId"), + "accountEnabled": obj.get("accountEnabled"), + "email": obj.get("email"), + "username": obj.get("username") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_error_message_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_error_message_dto.py new file mode 100644 index 0000000000..c6f45844cc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_error_message_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UsersAPIErrorMessageDTO(BaseModel): + """ + UsersAPIErrorMessageDTO + """ # noqa: E501 + message: Optional[StrictStr] = Field(default=None, description="Error message") + rci: Optional[StrictStr] = Field(default=None, description="The unique identifier associated to this error") + __properties: ClassVar[List[str]] = ["message", "rci"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersAPIErrorMessageDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersAPIErrorMessageDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message"), + "rci": obj.get("rci") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_failure_dto.py new file mode 100644 index 0000000000..231a660130 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_failure_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.users_api_error_message_dto import UsersAPIErrorMessageDTO +from typing import Optional, Set +from typing_extensions import Self + +class UsersAPIFailureDTO(BaseModel): + """ + UsersAPIFailureDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") + user_name: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com.", alias="userName") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") + error: Optional[UsersAPIErrorMessageDTO] = Field(default=None, description="The error thrown during creation.") + __properties: ClassVar[List[str]] = ["userId", "userName", "displayName", "error"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersAPIFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of error + if self.error: + _dict['error'] = self.error.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersAPIFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "userName": obj.get("userName"), + "displayName": obj.get("displayName"), + "error": UsersAPIErrorMessageDTO.from_dict(obj["error"]) if obj.get("error") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_response_dto.py new file mode 100644 index 0000000000..bf80a8bec1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.users_api_failure_dto import UsersAPIFailureDTO +from visier_platform_sdk.models.users_api_success_dto import UsersAPISuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class UsersAPIResponseDTO(BaseModel): + """ + UsersAPIResponseDTO + """ # noqa: E501 + successes: Optional[List[UsersAPISuccessDTO]] = Field(default=None, description="The users for which the request succeeded.") + failures: Optional[List[UsersAPIFailureDTO]] = Field(default=None, description="The users for which the request failed.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersAPIResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersAPIResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [UsersAPISuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [UsersAPIFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_success_dto.py new file mode 100644 index 0000000000..0d9eebc272 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_success_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UsersAPISuccessDTO(BaseModel): + """ + UsersAPISuccessDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") + username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com.") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") + employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") + account_enabled: Optional[StrictStr] = Field(default=None, description="If true, the user account is enabled.", alias="accountEnabled") + email: Optional[StrictStr] = Field(default=None, description="The user's email address.") + __properties: ClassVar[List[str]] = ["userId", "username", "displayName", "employeeId", "accountEnabled", "email"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersAPISuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersAPISuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "username": obj.get("username"), + "displayName": obj.get("displayName"), + "employeeId": obj.get("employeeId"), + "accountEnabled": obj.get("accountEnabled"), + "email": obj.get("email") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_creation_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_creation_api_request_dto.py new file mode 100644 index 0000000000..97f9d020a6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_creation_api_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_creation_api_request_dto import UserCreationAPIRequestDTO +from typing import Optional, Set +from typing_extensions import Self + +class UsersCreationAPIRequestDTO(BaseModel): + """ + UsersCreationAPIRequestDTO + """ # noqa: E501 + users: Optional[List[UserCreationAPIRequestDTO]] = Field(default=None, description="A list of objects representing users to create. Maximum 100 users can be created in a single request.") + __properties: ClassVar[List[str]] = ["users"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersCreationAPIRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in users (list) + _items = [] + if self.users: + for _item_users in self.users: + if _item_users: + _items.append(_item_users.to_dict()) + _dict['users'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersCreationAPIRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "users": [UserCreationAPIRequestDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_delete_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_delete_api_request_dto.py new file mode 100644 index 0000000000..44b5bcf6b9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_delete_api_request_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UsersDeleteAPIRequestDTO(BaseModel): + """ + UsersDeleteAPIRequestDTO + """ # noqa: E501 + user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of objects representing users to delete. Maximum 100 users can be deleted in a single request.", alias="userIds") + __properties: ClassVar[List[str]] = ["userIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersDeleteAPIRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersDeleteAPIRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userIds": obj.get("userIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_group_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_group_request_dto.py new file mode 100644 index 0000000000..e7fd2943a6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_group_request_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UsersToUserGroupRequestDTO(BaseModel): + """ + UsersToUserGroupRequestDTO + """ # noqa: E501 + user_group_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user group.", alias="userGroupId") + user_ids: Optional[List[StrictStr]] = Field(default=None, description="A list of strings representing unique user IDs to assign to or remove from the user group. The maximum number of `userIds` per user group is 100.", alias="userIds") + __properties: ClassVar[List[str]] = ["userGroupId", "userIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersToUserGroupRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersToUserGroupRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroupId": obj.get("userGroupId"), + "userIds": obj.get("userIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_groups_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_groups_request_dto.py new file mode 100644 index 0000000000..27b243a669 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_groups_request_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.target_project_for_tenants_list_dto import TargetProjectForTenantsListDTO +from visier_platform_sdk.models.users_to_user_group_request_dto import UsersToUserGroupRequestDTO +from typing import Optional, Set +from typing_extensions import Self + +class UsersToUserGroupsRequestDTO(BaseModel): + """ + UsersToUserGroupsRequestDTO + """ # noqa: E501 + user_groups: Optional[List[UsersToUserGroupRequestDTO]] = Field(default=None, description="A list of objects representing the user groups and users to assign or remove.", alias="userGroups") + target_project_for_tenants_list: Optional[TargetProjectForTenantsListDTO] = Field(default=None, description="Administrating tenants can specify the tenants and projects in which to assign users to user groups or remove users from user groups. Specify one `projectId` per `tenantCode`. If omitted, the request is immediately published to production or applied to the ProjectID in the request header, if available, for the administrating tenant or TargetTenantID, if available.", alias="targetProjectForTenantsList") + __properties: ClassVar[List[str]] = ["userGroups", "targetProjectForTenantsList"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersToUserGroupsRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in user_groups (list) + _items = [] + if self.user_groups: + for _item_user_groups in self.user_groups: + if _item_user_groups: + _items.append(_item_user_groups.to_dict()) + _dict['userGroups'] = _items + # override the default output from pydantic by calling `to_dict()` of target_project_for_tenants_list + if self.target_project_for_tenants_list: + _dict['targetProjectForTenantsList'] = self.target_project_for_tenants_list.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersToUserGroupsRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userGroups": [UsersToUserGroupRequestDTO.from_dict(_item) for _item in obj["userGroups"]] if obj.get("userGroups") is not None else None, + "targetProjectForTenantsList": TargetProjectForTenantsListDTO.from_dict(obj["targetProjectForTenantsList"]) if obj.get("targetProjectForTenantsList") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_request_dto.py new file mode 100644 index 0000000000..becbd61a92 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.users_update_api_user_dto import UsersUpdateAPIUserDTO +from typing import Optional, Set +from typing_extensions import Self + +class UsersUpdateAPIRequestDTO(BaseModel): + """ + UsersUpdateAPIRequestDTO + """ # noqa: E501 + users: Optional[List[UsersUpdateAPIUserDTO]] = Field(default=None, description="A list of objects representing users to update. Maximum 100 users can be updated in a single request.") + __properties: ClassVar[List[str]] = ["users"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersUpdateAPIRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in users (list) + _items = [] + if self.users: + for _item_users in self.users: + if _item_users: + _items.append(_item_users.to_dict()) + _dict['users'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersUpdateAPIRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "users": [UsersUpdateAPIUserDTO.from_dict(_item) for _item in obj["users"]] if obj.get("users") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_user_dto.py new file mode 100644 index 0000000000..0c09837765 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_user_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class UsersUpdateAPIUserDTO(BaseModel): + """ + UsersUpdateAPIUserDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the user.", alias="userId") + display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"John Smith\".", alias="displayName") + employee_id: Optional[StrictStr] = Field(default=None, description="If applicable, and if available, the user employee ID in the data.", alias="employeeId") + account_enabled: Optional[StrictStr] = Field(default=None, description="If true, the user account is enabled.", alias="accountEnabled") + email: Optional[StrictStr] = Field(default=None, description="The user's email address.") + username: Optional[StrictStr] = Field(default=None, description="The user's username. This is typically the user's email, such as john@jupiter.com. If a user's username changes, they must authenticate using the new username.") + __properties: ClassVar[List[str]] = ["userId", "displayName", "employeeId", "accountEnabled", "email", "username"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of UsersUpdateAPIUserDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of UsersUpdateAPIUserDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "displayName": obj.get("displayName"), + "employeeId": obj.get("employeeId"), + "accountEnabled": obj.get("accountEnabled"), + "email": obj.get("email"), + "username": obj.get("username") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/v2_calculated_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/v2_calculated_property_type_dto.py new file mode 100644 index 0000000000..0898d9cb61 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/v2_calculated_property_type_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class V2CalculatedPropertyTypeDTO(BaseModel): + """ + A calculated property that takes a value that comes directly from the data and creates a new value through a formula. + """ # noqa: E501 + data_type: Optional[StrictStr] = Field(default=None, description="The property's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") + primitive_type: Optional[StrictStr] = Field(default=None, description="The primitive data type, such as String, Integer, or Boolean.", alias="primitiveType") + formula: Optional[StrictStr] = Field(default=None, description="The property's formula written in Visier Formula Language (VFL).") + __properties: ClassVar[List[str]] = ["dataType", "primitiveType", "formula"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2CalculatedPropertyTypeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2CalculatedPropertyTypeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataType": obj.get("dataType"), + "primitiveType": obj.get("primitiveType"), + "formula": obj.get("formula") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/v2_simple_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/v2_simple_property_type_dto.py new file mode 100644 index 0000000000..e72183447b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/v2_simple_property_type_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class V2SimplePropertyTypeDTO(BaseModel): + """ + A simple property that provides single-level detail to an analytic object and contains one value at a time. + """ # noqa: E501 + data_type: Optional[StrictStr] = Field(default=None, description="The property's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") + primitive_type: Optional[StrictStr] = Field(default=None, description="The primitive data type, such as String, Integer, or Boolean.", alias="primitiveType") + __properties: ClassVar[List[str]] = ["dataType", "primitiveType"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2SimplePropertyTypeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2SimplePropertyTypeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataType": obj.get("dataType"), + "primitiveType": obj.get("primitiveType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/validity_range_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/validity_range_dto.py new file mode 100644 index 0000000000..23a99486d4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/validity_range_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ValidityRangeDTO(BaseModel): + """ + A pair of values that represent the time interval to which the data is valid. The validity range is defined in Unix epoch format and UTC timezone. Note: Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers. + """ # noqa: E501 + start: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.") + end: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.") + __properties: ClassVar[List[str]] = ["start", "end"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ValidityRangeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ValidityRangeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "start": obj.get("start"), + "end": obj.get("end") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_clarification_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_clarification_dto.py new file mode 100644 index 0000000000..3fcd039b69 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_clarification_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeClarificationDTO(BaseModel): + """ + VeeClarificationDTO + """ # noqa: E501 + message: Optional[StrictStr] = Field(default=None, description="Returned if Vee needs more context to answer your question.") + questions: Optional[List[StrictStr]] = Field(default=None, description="Additional questions you can ask that are similar or related to your question.") + metrics: Optional[List[StrictStr]] = Field(default=None, description="Suggested metrics to look at that are similar or related to your question.") + dimensions: Optional[List[StrictStr]] = Field(default=None, description="Suggested dimensions to look at that are similar or related to your question.") + filters: Optional[List[StrictStr]] = Field(default=None, description="Suggested filters that could be a better fit for the data.") + attributes: Optional[List[StrictStr]] = Field(default=None, description="Suggested attributes to look at that are similar or related to your question.") + __properties: ClassVar[List[str]] = ["message", "questions", "metrics", "dimensions", "filters", "attributes"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeClarificationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeClarificationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message"), + "questions": obj.get("questions"), + "metrics": obj.get("metrics"), + "dimensions": obj.get("dimensions"), + "filters": obj.get("filters"), + "attributes": obj.get("attributes") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_dto.py new file mode 100644 index 0000000000..60f750594e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeConversationDTO(BaseModel): + """ + VeeConversationDTO + """ # noqa: E501 + conversation_state: Optional[VeeConversationStateDTO] = Field(default=None, description="The conversation's details. To submit feedback about Vee's answer, copy the entire conversation state from the `/question` response into your `/feedback` call.", alias="conversationState") + __properties: ClassVar[List[str]] = ["conversationState"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeConversationDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of conversation_state + if self.conversation_state: + _dict['conversationState'] = self.conversation_state.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeConversationDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "conversationState": VeeConversationStateDTO.from_dict(obj["conversationState"]) if obj.get("conversationState") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_state_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_state_dto.py new file mode 100644 index 0000000000..85af96b674 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_state_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeConversationStateDTO(BaseModel): + """ + VeeConversationStateDTO + """ # noqa: E501 + question_state: Optional[List[StrictStr]] = Field(default=None, description="The unique identifier of the conversation with Vee.", alias="questionState") + __properties: ClassVar[List[str]] = ["questionState"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeConversationStateDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeConversationStateDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "questionState": obj.get("questionState") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_corrections_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_corrections_dto.py new file mode 100644 index 0000000000..04c87de221 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_corrections_dto.py @@ -0,0 +1,109 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_clarification_dto import VeeClarificationDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeCorrectionsDTO(BaseModel): + """ + VeeCorrectionsDTO + """ # noqa: E501 + warning: Optional[List[StrictStr]] = Field(default=None, description="A list of warnings from Vee that accompanies an unsure answer; for example, Vee might return a close match warning if Vee finds multiple employees named Adam that relate to your question.") + clarifications: Optional[List[VeeClarificationDTO]] = Field(default=None, description="A list of clarifying questions if Vee needs more context to answer your question; for example, if asking about someone named Adam, Vee might clarify which Adam by asking for Adam's email address.") + __properties: ClassVar[List[str]] = ["warning", "clarifications"] + + @field_validator('warning') + def warning_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + for i in value: + if i not in set(['VEE_NO_WARNING', 'VEE_WARNING_RESPONSE_NOT_FOUND', 'VEE_WARNING_RESPONSE_LOW_CONFIDENCE', 'VEE_WARNING_RESPONSE_FOUND_CLOSE_MATCH', 'VEE_WARNING_NO_ACCESS', 'VEE_WARNING_TIME_SELECTION_ADJUSTED', 'VEE_WARNING_FILTER_DROPPED']): + raise ValueError("each list item must be one of ('VEE_NO_WARNING', 'VEE_WARNING_RESPONSE_NOT_FOUND', 'VEE_WARNING_RESPONSE_LOW_CONFIDENCE', 'VEE_WARNING_RESPONSE_FOUND_CLOSE_MATCH', 'VEE_WARNING_NO_ACCESS', 'VEE_WARNING_TIME_SELECTION_ADJUSTED', 'VEE_WARNING_FILTER_DROPPED')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeCorrectionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in clarifications (list) + _items = [] + if self.clarifications: + for _item_clarifications in self.clarifications: + if _item_clarifications: + _items.append(_item_clarifications.to_dict()) + _dict['clarifications'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeCorrectionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "warning": obj.get("warning"), + "clarifications": [VeeClarificationDTO.from_dict(_item) for _item in obj["clarifications"]] if obj.get("clarifications") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_data_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_data_dto.py new file mode 100644 index 0000000000..b819bffaf0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_data_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeDataDTO(BaseModel): + """ + VeeDataDTO + """ # noqa: E501 + data_json: Optional[StrictStr] = Field(default=None, description="A JSON string of fields and numerical values representing the data contributing to Vee's answer. For example, the number of employees per gender in Vee's answer.", alias="dataJson") + context: Optional[StrictStr] = Field(default=None, description="The filter applied to the visualization generated by Vee. For example, a time filter of April 2024.") + __properties: ClassVar[List[str]] = ["dataJson", "context"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeDataDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeDataDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dataJson": obj.get("dataJson"), + "context": obj.get("context") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_feedback_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_feedback_dto.py new file mode 100644 index 0000000000..82c69b312e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_feedback_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_conversation_dto import VeeConversationDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeFeedbackDTO(BaseModel): + """ + The request body fields to submit Vee feedback. + """ # noqa: E501 + conversation: Optional[VeeConversationDTO] = Field(default=None, description="Details of the Vee conversation you want to provide feedback about.") + is_approved: Optional[StrictBool] = Field(default=None, description="If `true`, Vee answered the question correctly. If `false`, Vee's answer was incorrect or lacked details.", alias="isApproved") + description: Optional[StrictStr] = Field(default=None, description="A description of how Vee should have answered the question or how Vee can improve the answer; for example, \"Expected Headcount metric, but Vee returned Average Headcount\".") + __properties: ClassVar[List[str]] = ["conversation", "isApproved", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeFeedbackDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of conversation + if self.conversation: + _dict['conversation'] = self.conversation.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeFeedbackDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "conversation": VeeConversationDTO.from_dict(obj["conversation"]) if obj.get("conversation") is not None else None, + "isApproved": obj.get("isApproved"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_options_dto.py new file mode 100644 index 0000000000..c963cad0d8 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_options_dto.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_visual_options_dto import VeeVisualOptionsDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeOptionsDTO(BaseModel): + """ + VeeOptionsDTO + """ # noqa: E501 + include_visual: Optional[StrictBool] = Field(default=None, description="If `true`, returns a base64 string-encoded PNG of a rendered visualization with Vee's answer. Default is `false`.", alias="includeVisual") + visual_options: Optional[VeeVisualOptionsDTO] = Field(default=None, description="Specify how to render the visualization.", alias="visualOptions") + include_data: Optional[StrictBool] = Field(default=None, description="If `true`, returns additional data relevant to the question, including `dataJson` (visualization data) and `context` (filters applied to the visualization). Default is `false`.", alias="includeData") + data_format: Optional[StrictStr] = Field(default=None, description="The format to return visualization data in. Valid values: `json`.", alias="dataFormat") + include_reworded_question: Optional[StrictBool] = Field(default=None, description="If `true`, returns Vee's plain language interpretation of the original question. For example, if you asked \"what is the headcount by gender in each org?\", Vee might reword the question as \"What is the gender breakdown of our workforce by organization this month?\". Default is `false`.", alias="includeRewordedQuestion") + __properties: ClassVar[List[str]] = ["includeVisual", "visualOptions", "includeData", "dataFormat", "includeRewordedQuestion"] + + @field_validator('data_format') + def data_format_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['json']): + raise ValueError("must be one of enum values ('json')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeOptionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of visual_options + if self.visual_options: + _dict['visualOptions'] = self.visual_options.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeOptionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "includeVisual": obj.get("includeVisual"), + "visualOptions": VeeVisualOptionsDTO.from_dict(obj["visualOptions"]) if obj.get("visualOptions") is not None else None, + "includeData": obj.get("includeData"), + "dataFormat": obj.get("dataFormat"), + "includeRewordedQuestion": obj.get("includeRewordedQuestion") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definition_dto.py new file mode 100644 index 0000000000..6deefb3efb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definition_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_assignment_dto import UserGroupAssignmentDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionChangeDefinitionDTO(BaseModel): + """ + VeeQuestionChangeDefinitionDTO + """ # noqa: E501 + question: Optional[StrictStr] = Field(default=None, description="A question in plain language to display in Vee.") + question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question. Omit if creating a new sample question.", alias="questionId") + visible_in_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the question is visible in Vee. Default is `true`.", alias="visibleInVee") + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") + user_group_assignment: Optional[UserGroupAssignmentDTO] = Field(default=None, description="The user group IDs assigned to the sample question.", alias="userGroupAssignment") + __properties: ClassVar[List[str]] = ["question", "questionId", "visibleInVee", "categoryId", "userGroupAssignment"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionChangeDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of user_group_assignment + if self.user_group_assignment: + _dict['userGroupAssignment'] = self.user_group_assignment.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionChangeDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "question": obj.get("question"), + "questionId": obj.get("questionId"), + "visibleInVee": obj.get("visibleInVee"), + "categoryId": obj.get("categoryId"), + "userGroupAssignment": UserGroupAssignmentDTO.from_dict(obj["userGroupAssignment"]) if obj.get("userGroupAssignment") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..d3cf10c73b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_question_change_definition_dto import VeeQuestionChangeDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionChangeDefinitionsByTenantDTO(BaseModel): + """ + VeeQuestionChangeDefinitionsByTenantDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the tenant in which to update sample questions.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="To make changes in a project, specify a project ID.", alias="projectId") + questions: Optional[List[VeeQuestionChangeDefinitionDTO]] = Field(default=None, description="The list of sample questions to update.") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "questions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionChangeDefinitionsByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in questions (list) + _items = [] + if self.questions: + for _item_questions in self.questions: + if _item_questions: + _items.append(_item_questions.to_dict()) + _dict['questions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionChangeDefinitionsByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "questions": [VeeQuestionChangeDefinitionDTO.from_dict(_item) for _item in obj["questions"]] if obj.get("questions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_failure_dto.py new file mode 100644 index 0000000000..64c6679a69 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_failure_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_assignment_dto import UserGroupAssignmentDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionChangeFailureDTO(BaseModel): + """ + VeeQuestionChangeFailureDTO + """ # noqa: E501 + question: Optional[StrictStr] = Field(default=None, description="The question in plain language that was not successfully changed.") + question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question that was not successfully changed.", alias="questionId") + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the category of the sample question that was not successfully changed.", alias="categoryId") + user_group_assignment: Optional[UserGroupAssignmentDTO] = Field(default=None, description="The user group IDs that were not successfully assigned to the sample question.", alias="userGroupAssignment") + message: Optional[StrictStr] = Field(default=None, description="An error message describing the cause of the failure.") + rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the object was not successfully changed in.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project that the object was not successfully changed in.", alias="projectId") + __properties: ClassVar[List[str]] = ["question", "questionId", "categoryId", "userGroupAssignment", "message", "rci", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionChangeFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of user_group_assignment + if self.user_group_assignment: + _dict['userGroupAssignment'] = self.user_group_assignment.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionChangeFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "question": obj.get("question"), + "questionId": obj.get("questionId"), + "categoryId": obj.get("categoryId"), + "userGroupAssignment": UserGroupAssignmentDTO.from_dict(obj["userGroupAssignment"]) if obj.get("userGroupAssignment") is not None else None, + "message": obj.get("message"), + "rci": obj.get("rci"), + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_success_dto.py new file mode 100644 index 0000000000..132fa89588 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_success_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.user_group_assignment_dto import UserGroupAssignmentDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionChangeSuccessDTO(BaseModel): + """ + VeeQuestionChangeSuccessDTO + """ # noqa: E501 + question: Optional[StrictStr] = Field(default=None, description="The sample question in plain language that was successfully changed.") + question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question that was successfully changed.", alias="questionId") + visible_in_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the question is visible in Vee.", alias="visibleInVee") + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the category of the question that was successfully changed.", alias="categoryId") + user_group_assignment: Optional[UserGroupAssignmentDTO] = Field(default=None, description="The user group IDs that were successfully assigned to the sample question.", alias="userGroupAssignment") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the sample question was changed in.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project that the sample question was changed in.", alias="projectId") + __properties: ClassVar[List[str]] = ["question", "questionId", "visibleInVee", "categoryId", "userGroupAssignment", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionChangeSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of user_group_assignment + if self.user_group_assignment: + _dict['userGroupAssignment'] = self.user_group_assignment.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionChangeSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "question": obj.get("question"), + "questionId": obj.get("questionId"), + "visibleInVee": obj.get("visibleInVee"), + "categoryId": obj.get("categoryId"), + "userGroupAssignment": UserGroupAssignmentDTO.from_dict(obj["userGroupAssignment"]) if obj.get("userGroupAssignment") is not None else None, + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..9a1e166a7d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionDeleteDefinitionsByTenantDTO(BaseModel): + """ + VeeQuestionDeleteDefinitionsByTenantDTO + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant to delete sample questions from. Default is the current tenant.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project in which to delete sample questions. If omitted and the ProjectID request header is not defined, the change is published to production immediately.", alias="projectId") + question_ids: Optional[List[StrictStr]] = Field(default=None, description="The IDs of the sample questions to delete for a specific tenant.", alias="questionIds") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "questionIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionDeleteDefinitionsByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionDeleteDefinitionsByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "questionIds": obj.get("questionIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_dto.py new file mode 100644 index 0000000000..6369fde0e0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO +from visier_platform_sdk.models.vee_options_dto import VeeOptionsDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionDTO(BaseModel): + """ + The request body fields to ask Vee a question. + """ # noqa: E501 + question: Optional[StrictStr] = Field(default=None, description="The question to ask Vee. If asking a follow-up question or continuing a conversation with Vee, specify the `conversationState` object from the question's response.") + conversation_state: Optional[VeeConversationStateDTO] = Field(default=None, description="The unique identifier of the conversation with Vee. If empty, starts a new conversation with Vee. If asking a follow-up question or continuing a conversation with Vee, specify the `conversationState` object from the question's response. To submit feedback about Vee's answer, copy the entire response into your `/feedback` call.", alias="conversationState") + options: Optional[VeeOptionsDTO] = Field(default=None, description="Options to specify how Vee should respond to a question.") + max_view_details_members: Optional[StrictInt] = Field(default=None, description="The maximum number of members to return in Detailed View.", alias="maxViewDetailsMembers") + __properties: ClassVar[List[str]] = ["question", "conversationState", "options", "maxViewDetailsMembers"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of conversation_state + if self.conversation_state: + _dict['conversationState'] = self.conversation_state.to_dict() + # override the default output from pydantic by calling `to_dict()` of options + if self.options: + _dict['options'] = self.options.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "question": obj.get("question"), + "conversationState": VeeConversationStateDTO.from_dict(obj["conversationState"]) if obj.get("conversationState") is not None else None, + "options": VeeOptionsDTO.from_dict(obj["options"]) if obj.get("options") is not None else None, + "maxViewDetailsMembers": obj.get("maxViewDetailsMembers") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py new file mode 100644 index 0000000000..a8eeaa6eb3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_question_change_failure_dto import VeeQuestionChangeFailureDTO +from visier_platform_sdk.models.vee_question_change_success_dto import VeeQuestionChangeSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionsBulkChangeResponseDTO(BaseModel): + """ + VeeQuestionsBulkChangeResponseDTO + """ # noqa: E501 + successes: Optional[List[VeeQuestionChangeSuccessDTO]] = Field(default=None, description="The sample questions that were successfully changed.") + failures: Optional[List[VeeQuestionChangeFailureDTO]] = Field(default=None, description="The sample questions that were not successfully changed.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionsBulkChangeResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionsBulkChangeResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [VeeQuestionChangeSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [VeeQuestionChangeFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_change_definitions_dto.py new file mode 100644 index 0000000000..a9211f96d2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_change_definitions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_question_change_definitions_by_tenant_dto import VeeQuestionChangeDefinitionsByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionsChangeDefinitionsDTO(BaseModel): + """ + VeeQuestionsChangeDefinitionsDTO + """ # noqa: E501 + questions_by_tenant: Optional[List[VeeQuestionChangeDefinitionsByTenantDTO]] = Field(default=None, description="The Vee sample question updates to make in each tenant.", alias="questionsByTenant") + __properties: ClassVar[List[str]] = ["questionsByTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionsChangeDefinitionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in questions_by_tenant (list) + _items = [] + if self.questions_by_tenant: + for _item_questions_by_tenant in self.questions_by_tenant: + if _item_questions_by_tenant: + _items.append(_item_questions_by_tenant.to_dict()) + _dict['questionsByTenant'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionsChangeDefinitionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "questionsByTenant": [VeeQuestionChangeDefinitionsByTenantDTO.from_dict(_item) for _item in obj["questionsByTenant"]] if obj.get("questionsByTenant") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_delete_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_delete_definitions_dto.py new file mode 100644 index 0000000000..dc6015a0ba --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_delete_definitions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_question_delete_definitions_by_tenant_dto import VeeQuestionDeleteDefinitionsByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionsDeleteDefinitionsDTO(BaseModel): + """ + VeeQuestionsDeleteDefinitionsDTO + """ # noqa: E501 + questions_by_tenant: Optional[List[VeeQuestionDeleteDefinitionsByTenantDTO]] = Field(default=None, description="The sample questions to delete for each tenant.", alias="questionsByTenant") + __properties: ClassVar[List[str]] = ["questionsByTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionsDeleteDefinitionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in questions_by_tenant (list) + _items = [] + if self.questions_by_tenant: + for _item_questions_by_tenant in self.questions_by_tenant: + if _item_questions_by_tenant: + _items.append(_item_questions_by_tenant.to_dict()) + _dict['questionsByTenant'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionsDeleteDefinitionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "questionsByTenant": [VeeQuestionDeleteDefinitionsByTenantDTO.from_dict(_item) for _item in obj["questionsByTenant"]] if obj.get("questionsByTenant") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_dto.py new file mode 100644 index 0000000000..9bbfa66e28 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_dto.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO +from visier_platform_sdk.models.vee_corrections_dto import VeeCorrectionsDTO +from visier_platform_sdk.models.vee_data_dto import VeeDataDTO +from visier_platform_sdk.models.vee_response_schema_dto import VeeResponseSchemaDTO +from visier_platform_sdk.models.vee_status_code_dto import VeeStatusCodeDTO +from visier_platform_sdk.models.vee_visual_dto import VeeVisualDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeResponseDTO(BaseModel): + """ + The response after asking Vee a question. + """ # noqa: E501 + conversation_state: Optional[VeeConversationStateDTO] = Field(default=None, description="The current conversation's details. To ask a follow-up question or continue the conversation with Vee, include the `conversationState` from the response in your next `/question` call. To submit feedback about Vee's answer, copy the entire response into your `/feedback` call.", alias="conversationState") + status_code: Optional[VeeStatusCodeDTO] = Field(default=None, description="A status code indicating whether or not Vee successfully answered the question.", alias="statusCode") + narrative: Optional[StrictStr] = Field(default=None, description="Vee's answer to the question.") + chart_url: Optional[StrictStr] = Field(default=None, description="A URL to view the visualization in Visier.", alias="chartUrl") + var_schema: Optional[VeeResponseSchemaDTO] = Field(default=None, description="The metrics, dimensions, and concepts that contribute to Vee's answer.", alias="schema") + corrections: Optional[List[VeeCorrectionsDTO]] = Field(default=None, description="A list of corrections and clarifications if the question was ambiguous or Vee was unsure in the answer.") + data: Optional[VeeDataDTO] = Field(default=None, description="Returned if `includeData` is `true`. Provides additional data relevant to the question, such as the visualization data and any filters applied to the visualization.") + visual: Optional[VeeVisualDTO] = Field(default=None, description="A base64 string-encoded PNG of a visualization generated by Vee to answer a question. For example, Vee can return a Breakdown visualization if asked about the headcount in each organization.") + reworded_question: Optional[StrictStr] = Field(default=None, description="Vee's plain language interpretation of the original question. For example, if you asked \"what is the headcount by gender in each org?\", Vee might reword the question as \"What is the gender breakdown of our workforce by organization this month?\".", alias="rewordedQuestion") + __properties: ClassVar[List[str]] = ["conversationState", "statusCode", "narrative", "chartUrl", "schema", "corrections", "data", "visual", "rewordedQuestion"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of conversation_state + if self.conversation_state: + _dict['conversationState'] = self.conversation_state.to_dict() + # override the default output from pydantic by calling `to_dict()` of status_code + if self.status_code: + _dict['statusCode'] = self.status_code.to_dict() + # override the default output from pydantic by calling `to_dict()` of var_schema + if self.var_schema: + _dict['schema'] = self.var_schema.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in corrections (list) + _items = [] + if self.corrections: + for _item_corrections in self.corrections: + if _item_corrections: + _items.append(_item_corrections.to_dict()) + _dict['corrections'] = _items + # override the default output from pydantic by calling `to_dict()` of data + if self.data: + _dict['data'] = self.data.to_dict() + # override the default output from pydantic by calling `to_dict()` of visual + if self.visual: + _dict['visual'] = self.visual.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "conversationState": VeeConversationStateDTO.from_dict(obj["conversationState"]) if obj.get("conversationState") is not None else None, + "statusCode": VeeStatusCodeDTO.from_dict(obj["statusCode"]) if obj.get("statusCode") is not None else None, + "narrative": obj.get("narrative"), + "chartUrl": obj.get("chartUrl"), + "schema": VeeResponseSchemaDTO.from_dict(obj["schema"]) if obj.get("schema") is not None else None, + "corrections": [VeeCorrectionsDTO.from_dict(_item) for _item in obj["corrections"]] if obj.get("corrections") is not None else None, + "data": VeeDataDTO.from_dict(obj["data"]) if obj.get("data") is not None else None, + "visual": VeeVisualDTO.from_dict(obj["visual"]) if obj.get("visual") is not None else None, + "rewordedQuestion": obj.get("rewordedQuestion") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_dto.py new file mode 100644 index 0000000000..f01acceb74 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_dto.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_response_schema_reference_dto import VeeResponseSchemaReferenceDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeResponseSchemaDTO(BaseModel): + """ + VeeResponseSchemaDTO + """ # noqa: E501 + metrics: Optional[List[StrictStr]] = Field(default=None, description="A list of the metrics that contribute to Vee's answer.") + dimensions: Optional[List[VeeResponseSchemaReferenceDTO]] = Field(default=None, description="A list of the dimensions that contribute to Vee's answer.") + concepts: Optional[List[VeeResponseSchemaReferenceDTO]] = Field(default=None, description="A list of the concepts that contribute to Vee's answer.") + __properties: ClassVar[List[str]] = ["metrics", "dimensions", "concepts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeResponseSchemaDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in dimensions (list) + _items = [] + if self.dimensions: + for _item_dimensions in self.dimensions: + if _item_dimensions: + _items.append(_item_dimensions.to_dict()) + _dict['dimensions'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) + _items = [] + if self.concepts: + for _item_concepts in self.concepts: + if _item_concepts: + _items.append(_item_concepts.to_dict()) + _dict['concepts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeResponseSchemaDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "metrics": obj.get("metrics"), + "dimensions": [VeeResponseSchemaReferenceDTO.from_dict(_item) for _item in obj["dimensions"]] if obj.get("dimensions") is not None else None, + "concepts": [VeeResponseSchemaReferenceDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_reference_dto.py new file mode 100644 index 0000000000..8eea8c6a4b --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_reference_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeResponseSchemaReferenceDTO(BaseModel): + """ + VeeResponseSchemaReferenceDTO + """ # noqa: E501 + name: Optional[StrictStr] = Field(default=None, description="The name of an attribute in the visualization; for example, Gender.") + paths: Optional[List[StrictStr]] = Field(default=None, description="The hierarchy path of an attribute in the visualization; for example, Employee.Gender.") + __properties: ClassVar[List[str]] = ["name", "paths"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeResponseSchemaReferenceDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeResponseSchemaReferenceDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "name": obj.get("name"), + "paths": obj.get("paths") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_dto.py new file mode 100644 index 0000000000..f1e0236e58 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeSampleQuestionDTO(BaseModel): + """ + VeeSampleQuestionDTO + """ # noqa: E501 + question: Optional[StrictStr] = Field(default=None, description="A question in plain language.") + question_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the sample question.", alias="questionId") + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") + is_assigned_to_user: Optional[StrictBool] = Field(default=None, description="If `true`, the sample question is assigned to at least one of the user's user groups.", alias="isAssignedToUser") + __properties: ClassVar[List[str]] = ["question", "questionId", "categoryId", "isAssignedToUser"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeSampleQuestionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeSampleQuestionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "question": obj.get("question"), + "questionId": obj.get("questionId"), + "categoryId": obj.get("categoryId"), + "isAssignedToUser": obj.get("isAssignedToUser") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_library_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_library_dto.py new file mode 100644 index 0000000000..f54db7508d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_library_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_sample_question_dto import VeeSampleQuestionDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeSampleQuestionLibraryDTO(BaseModel): + """ + A list of sample questions to ask Vee. + """ # noqa: E501 + questions: Optional[List[VeeSampleQuestionDTO]] = Field(default=None, description="A list of sample questions to help your users start using Vee.") + __properties: ClassVar[List[str]] = ["questions"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeSampleQuestionLibraryDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in questions (list) + _items = [] + if self.questions: + for _item_questions in self.questions: + if _item_questions: + _items.append(_item_questions.to_dict()) + _dict['questions'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeSampleQuestionLibraryDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "questions": [VeeSampleQuestionDTO.from_dict(_item) for _item in obj["questions"]] if obj.get("questions") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_code_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_code_dto.py new file mode 100644 index 0000000000..6aaac41b96 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_code_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeStatusCodeDTO(BaseModel): + """ + VeeStatusCodeDTO + """ # noqa: E501 + status_code: Optional[StrictStr] = Field(default=None, description="A status code indicating whether or not Vee successfully answered the question.", alias="statusCode") + status_msg: Optional[StrictStr] = Field(default=None, description="Additional information about whether or not Vee successfully answered the question.", alias="statusMsg") + __properties: ClassVar[List[str]] = ["statusCode", "statusMsg"] + + @field_validator('status_code') + def status_code_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['UNDEFINED', 'VEE_API_SUCCESS', 'VEE_API_WARNING', 'VEE_API_ERROR']): + raise ValueError("must be one of enum values ('UNDEFINED', 'VEE_API_SUCCESS', 'VEE_API_WARNING', 'VEE_API_ERROR')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeStatusCodeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeStatusCodeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "statusCode": obj.get("statusCode"), + "statusMsg": obj.get("statusMsg") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_dto.py new file mode 100644 index 0000000000..a4366c514e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeStatusDTO(BaseModel): + """ + VeeStatusDTO + """ # noqa: E501 + overall: Optional[StrictStr] = Field(default=None, description="The overall status of Vee.") + __properties: ClassVar[List[str]] = ["overall"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeStatusDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeStatusDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "overall": obj.get("overall") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_dto.py new file mode 100644 index 0000000000..121cdfe2db --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeVisualDTO(BaseModel): + """ + VeeVisualDTO + """ # noqa: E501 + image: Optional[StrictStr] = Field(default=None, description="A PNG visualization encoded in a base64 string.") + title: Optional[StrictStr] = Field(default=None, description="The visualization title.") + context: Optional[StrictStr] = Field(default=None, description="Any filters applied to the visualization. For example, a time filter of April 2024.") + __properties: ClassVar[List[str]] = ["image", "title", "context"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeVisualDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeVisualDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "image": obj.get("image"), + "title": obj.get("title"), + "context": obj.get("context") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_options_dto.py new file mode 100644 index 0000000000..1ffdf8ede9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_options_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeVisualOptionsDTO(BaseModel): + """ + VeeVisualOptionsDTO + """ # noqa: E501 + width: Optional[StrictInt] = Field(default=None, description="The pixel width of the rendered visualization. Default is 600. Valid values are between 160 and 1600.") + height: Optional[StrictInt] = Field(default=None, description="The pixel height of the rendered visualization. Default is 338. Valid values are between 90 and 900.") + __properties: ClassVar[List[str]] = ["width", "height"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeVisualOptionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeVisualOptionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "width": obj.get("width"), + "height": obj.get("height") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_basic_auth_credential_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_basic_auth_credential_dto.py new file mode 100644 index 0000000000..67f3ea87ed --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_basic_auth_credential_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class WebhookBasicAuthCredentialDTO(BaseModel): + """ + The basic authentication credentials for the webhook. + """ # noqa: E501 + username: Optional[StrictStr] = Field(default=None, description="The username for the webhook credential.") + password: Optional[StrictStr] = Field(default=None, description="The password for the webhook credential.") + __properties: ClassVar[List[str]] = ["username", "password"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookBasicAuthCredentialDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookBasicAuthCredentialDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "username": obj.get("username"), + "password": obj.get("password") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_credentials_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_credentials_dto.py new file mode 100644 index 0000000000..8439457c4e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_credentials_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.webhook_basic_auth_credential_dto import WebhookBasicAuthCredentialDTO +from typing import Optional, Set +from typing_extensions import Self + +class WebhookCredentialsDTO(BaseModel): + """ + The credentials to authenticate calls to the webhook endpoint. Must be one of `basicAuth` or `accessToken`. Not required if your endpoint doesn't have authentication. + """ # noqa: E501 + basic_auth: Optional[WebhookBasicAuthCredentialDTO] = Field(default=None, description="Authentication using a username and password.", alias="basicAuth") + access_token: Optional[StrictStr] = Field(default=None, description="Authentication using an access token.", alias="accessToken") + __properties: ClassVar[List[str]] = ["basicAuth", "accessToken"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookCredentialsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of basic_auth + if self.basic_auth: + _dict['basicAuth'] = self.basic_auth.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookCredentialsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "basicAuth": WebhookBasicAuthCredentialDTO.from_dict(obj["basicAuth"]) if obj.get("basicAuth") is not None else None, + "accessToken": obj.get("accessToken") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_details_dto.py new file mode 100644 index 0000000000..b8ffc37519 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_details_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.webhook_event_type_dto import WebhookEventTypeDTO +from typing import Optional, Set +from typing_extensions import Self + +class WebhookDetailsDTO(BaseModel): + """ + Information about the webhook, such as its URL, active status, and event types to listen for. + """ # noqa: E501 + target_url: Optional[StrictStr] = Field(default=None, description="The target URL to call when an event occurs.", alias="targetUrl") + is_active: Optional[StrictBool] = Field(default=None, description="If `true`, the webhook is active. Must be `false` when creating webhooks. Default is `false`.", alias="isActive") + events: Optional[List[WebhookEventTypeDTO]] = Field(default=None, description="The events that the webhook is listening for. Valid values: - `jobResultSuccess`: A job completed successfully. - `jobResultFailure`: A job failed to complete. - `jobReschedule`: A job was rescheduled. - `dvPublish`: A data version published to production.") + key_name: Optional[StrictStr] = Field(default=None, description="The display name of the encryption key for the webhook. Encryption key must use `HmacSHA256` algorithm.", alias="keyName") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the webhook.", alias="displayName") + __properties: ClassVar[List[str]] = ["targetUrl", "isActive", "events", "keyName", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in events (list) + _items = [] + if self.events: + for _item_events in self.events: + if _item_events: + _items.append(_item_events.to_dict()) + _dict['events'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "targetUrl": obj.get("targetUrl"), + "isActive": obj.get("isActive"), + "events": [WebhookEventTypeDTO.from_dict(_item) for _item in obj["events"]] if obj.get("events") is not None else None, + "keyName": obj.get("keyName"), + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_dto.py new file mode 100644 index 0000000000..1c2764c167 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.webhook_details_dto import WebhookDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class WebhookDTO(BaseModel): + """ + The webhook's details, such as its URL, active status, and event types to listen for. + """ # noqa: E501 + webhook_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the webhook.", alias="webhookId") + details: Optional[WebhookDetailsDTO] = Field(default=None, description="The webhook's details, such as its URL, active status, and event types to listen for.") + credential_reference: Optional[StrictStr] = Field(default=None, description="The unique identifier of the configured webhook credentials.", alias="credentialReference") + __properties: ClassVar[List[str]] = ["webhookId", "details", "credentialReference"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of details + if self.details: + _dict['details'] = self.details.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "webhookId": obj.get("webhookId"), + "details": WebhookDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, + "credentialReference": obj.get("credentialReference") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_event_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_event_type_dto.py new file mode 100644 index 0000000000..e1fb78bdfc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_event_type_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class WebhookEventTypeDTO(BaseModel): + """ + The possible event types for Visier webhooks. + """ # noqa: E501 + event_type: Optional[StrictStr] = Field(default=None, description="The possible event types to listen for. Valid values: - `jobResultSuccess`: A job completed successfully. - `jobResultFailure`: A job failed to complete. - `jobReschedule`: A job was rescheduled. - `dvPublish`: A data version published to production.", alias="eventType") + __properties: ClassVar[List[str]] = ["eventType"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookEventTypeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookEventTypeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eventType": obj.get("eventType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_message_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_message_response_dto.py new file mode 100644 index 0000000000..56e33dd171 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_message_response_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class WebhookMessageResponseDTO(BaseModel): + """ + The results of the webhook notification attempt. + """ # noqa: E501 + status_code: Optional[StrictInt] = Field(default=None, description="The standard HTTP response code to inform you of the success or failure of the webhook notification attempt.", alias="statusCode") + message: Optional[StrictStr] = Field(default=None, description="Information about the notification attempt.") + message_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the message.", alias="messageId") + event_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the event that triggered the webhook notification.", alias="eventId") + __properties: ClassVar[List[str]] = ["statusCode", "message", "messageId", "eventId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookMessageResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookMessageResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "statusCode": obj.get("statusCode"), + "message": obj.get("message"), + "messageId": obj.get("messageId"), + "eventId": obj.get("eventId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_request_dto.py new file mode 100644 index 0000000000..400e5d6bc1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_request_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.webhook_credentials_dto import WebhookCredentialsDTO +from visier_platform_sdk.models.webhook_details_dto import WebhookDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class WebhookRequestDTO(BaseModel): + """ + The details and credentials for a webhook. Not required if your endpoint doesn't have authentication. + """ # noqa: E501 + details: Optional[WebhookDetailsDTO] = Field(default=None, description="The webhook's details, such as its URL, active status, and event types to listen for.") + credentials: Optional[WebhookCredentialsDTO] = Field(default=None, description="The webhook's credentials, such as a username and password or access token.") + __properties: ClassVar[List[str]] = ["details", "credentials"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhookRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of details + if self.details: + _dict['details'] = self.details.to_dict() + # override the default output from pydantic by calling `to_dict()` of credentials + if self.credentials: + _dict['credentials'] = self.credentials.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhookRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "details": WebhookDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, + "credentials": WebhookCredentialsDTO.from_dict(obj["credentials"]) if obj.get("credentials") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhooks_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhooks_dto.py new file mode 100644 index 0000000000..81ac6092fe --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhooks_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.webhook_dto import WebhookDTO +from typing import Optional, Set +from typing_extensions import Self + +class WebhooksDTO(BaseModel): + """ + The returned list of webhooks. + """ # noqa: E501 + webhooks: Optional[List[WebhookDTO]] = Field(default=None, description="A list of webhooks.") + __properties: ClassVar[List[str]] = ["webhooks"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WebhooksDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in webhooks (list) + _items = [] + if self.webhooks: + for _item_webhooks in self.webhooks: + if _item_webhooks: + _items.append(_item_webhooks.to_dict()) + _dict['webhooks'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WebhooksDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "webhooks": [WebhookDTO.from_dict(_item) for _item in obj["webhooks"]] if obj.get("webhooks") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/willow_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/willow_auth_params_dto.py new file mode 100644 index 0000000000..e0a39bf3a2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/willow_auth_params_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class WillowAuthParamsDTO(BaseModel): + """ + WillowAuthParamsDTO + """ # noqa: E501 + api_token: Optional[StrictStr] = Field(default=None, alias="apiToken") + host_name: Optional[StrictStr] = Field(default=None, alias="hostName") + __properties: ClassVar[List[str]] = ["apiToken", "hostName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WillowAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WillowAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiToken": obj.get("apiToken"), + "hostName": obj.get("hostName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/workday_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/workday_auth_params_dto.py new file mode 100644 index 0000000000..6a602c5667 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/workday_auth_params_dto.py @@ -0,0 +1,118 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.pair_dto import PairDTO +from visier_platform_sdk.models.workday_o_auth_params_dto import WorkdayOAuthParamsDTO +from visier_platform_sdk.models.workday_refresh_token_params_dto import WorkdayRefreshTokenParamsDTO +from typing import Optional, Set +from typing_extensions import Self + +class WorkdayAuthParamsDTO(BaseModel): + """ + WorkdayAuthParamsDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, alias="userId") + domain_name: Optional[StrictStr] = Field(default=None, alias="domainName") + implementation_name: Optional[StrictStr] = Field(default=None, alias="implementationName") + password: Optional[StrictStr] = None + o_auth: Optional[WorkdayOAuthParamsDTO] = Field(default=None, alias="oAuth") + ref_token: Optional[WorkdayRefreshTokenParamsDTO] = Field(default=None, alias="refToken") + integration_system_id: Optional[StrictStr] = Field(default=None, alias="integrationSystemId") + additional_header_params: Optional[List[PairDTO]] = Field(default=None, alias="additionalHeaderParams") + __properties: ClassVar[List[str]] = ["userId", "domainName", "implementationName", "password", "oAuth", "refToken", "integrationSystemId", "additionalHeaderParams"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WorkdayAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of o_auth + if self.o_auth: + _dict['oAuth'] = self.o_auth.to_dict() + # override the default output from pydantic by calling `to_dict()` of ref_token + if self.ref_token: + _dict['refToken'] = self.ref_token.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in additional_header_params (list) + _items = [] + if self.additional_header_params: + for _item_additional_header_params in self.additional_header_params: + if _item_additional_header_params: + _items.append(_item_additional_header_params.to_dict()) + _dict['additionalHeaderParams'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WorkdayAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "domainName": obj.get("domainName"), + "implementationName": obj.get("implementationName"), + "password": obj.get("password"), + "oAuth": WorkdayOAuthParamsDTO.from_dict(obj["oAuth"]) if obj.get("oAuth") is not None else None, + "refToken": WorkdayRefreshTokenParamsDTO.from_dict(obj["refToken"]) if obj.get("refToken") is not None else None, + "integrationSystemId": obj.get("integrationSystemId"), + "additionalHeaderParams": [PairDTO.from_dict(_item) for _item in obj["additionalHeaderParams"]] if obj.get("additionalHeaderParams") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/workday_o_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/workday_o_auth_params_dto.py new file mode 100644 index 0000000000..bac827ab2a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/workday_o_auth_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class WorkdayOAuthParamsDTO(BaseModel): + """ + WorkdayOAuthParamsDTO + """ # noqa: E501 + api_client_id: Optional[StrictStr] = Field(default=None, alias="apiClientId") + public_x509_cert: Optional[StrictStr] = Field(default=None, alias="publicX509Cert") + private_x509_key: Optional[StrictStr] = Field(default=None, alias="privateX509Key") + __properties: ClassVar[List[str]] = ["apiClientId", "publicX509Cert", "privateX509Key"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WorkdayOAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WorkdayOAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiClientId": obj.get("apiClientId"), + "publicX509Cert": obj.get("publicX509Cert"), + "privateX509Key": obj.get("privateX509Key") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/workday_raas_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/workday_raas_auth_params_dto.py new file mode 100644 index 0000000000..914359c086 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/workday_raas_auth_params_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class WorkdayRaasAuthParamsDTO(BaseModel): + """ + WorkdayRaasAuthParamsDTO + """ # noqa: E501 + user_id: Optional[StrictStr] = Field(default=None, alias="userId") + domain_name: Optional[StrictStr] = Field(default=None, alias="domainName") + implementation_name: Optional[StrictStr] = Field(default=None, alias="implementationName") + password: Optional[StrictStr] = None + test_report_url: Optional[StrictStr] = Field(default=None, alias="testReportUrl") + __properties: ClassVar[List[str]] = ["userId", "domainName", "implementationName", "password", "testReportUrl"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WorkdayRaasAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WorkdayRaasAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "userId": obj.get("userId"), + "domainName": obj.get("domainName"), + "implementationName": obj.get("implementationName"), + "password": obj.get("password"), + "testReportUrl": obj.get("testReportUrl") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/workday_refresh_token_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/workday_refresh_token_params_dto.py new file mode 100644 index 0000000000..2980109daf --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/workday_refresh_token_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class WorkdayRefreshTokenParamsDTO(BaseModel): + """ + WorkdayRefreshTokenParamsDTO + """ # noqa: E501 + api_client_id: Optional[StrictStr] = Field(default=None, alias="apiClientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + refresh_token: Optional[StrictStr] = Field(default=None, alias="refreshToken") + __properties: ClassVar[List[str]] = ["apiClientId", "clientSecret", "refreshToken"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of WorkdayRefreshTokenParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of WorkdayRefreshTokenParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "apiClientId": obj.get("apiClientId"), + "clientSecret": obj.get("clientSecret"), + "refreshToken": obj.get("refreshToken") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/zoom_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/zoom_auth_params_dto.py new file mode 100644 index 0000000000..d2cf685d5f --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/zoom_auth_params_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99201.1914 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ZoomAuthParamsDTO(BaseModel): + """ + ZoomAuthParamsDTO + """ # noqa: E501 + auth_code: Optional[StrictStr] = Field(default=None, alias="authCode") + client_id: Optional[StrictStr] = Field(default=None, alias="clientId") + client_secret: Optional[StrictStr] = Field(default=None, alias="clientSecret") + __properties: ClassVar[List[str]] = ["authCode", "clientId", "clientSecret"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ZoomAuthParamsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ZoomAuthParamsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "authCode": obj.get("authCode"), + "clientId": obj.get("clientId"), + "clientSecret": obj.get("clientSecret") + }) + return _obj + +