ths-apimatic-sdk-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +28 -0
- data/README.md +181 -0
- data/bin/console +15 -0
- data/lib/thought_spot_public_rest_api/api_helper.rb +10 -0
- data/lib/thought_spot_public_rest_api/client.rb +218 -0
- data/lib/thought_spot_public_rest_api/configuration.rb +177 -0
- data/lib/thought_spot_public_rest_api/controllers/ai_controller.rb +550 -0
- data/lib/thought_spot_public_rest_api/controllers/authentication_controller.rb +498 -0
- data/lib/thought_spot_public_rest_api/controllers/base_controller.rb +65 -0
- data/lib/thought_spot_public_rest_api/controllers/collections_controller.rb +214 -0
- data/lib/thought_spot_public_rest_api/controllers/connection_configurations_controller.rb +227 -0
- data/lib/thought_spot_public_rest_api/controllers/connections_controller.rb +845 -0
- data/lib/thought_spot_public_rest_api/controllers/custom_action_controller.rb +205 -0
- data/lib/thought_spot_public_rest_api/controllers/custom_calendars_controller.rb +373 -0
- data/lib/thought_spot_public_rest_api/controllers/data_controller.rb +161 -0
- data/lib/thought_spot_public_rest_api/controllers/dbt_controller.rb +381 -0
- data/lib/thought_spot_public_rest_api/controllers/email_customization_controller.rb +354 -0
- data/lib/thought_spot_public_rest_api/controllers/groups_controller.rb +257 -0
- data/lib/thought_spot_public_rest_api/controllers/jobs_controller.rb +62 -0
- data/lib/thought_spot_public_rest_api/controllers/log_controller.rb +67 -0
- data/lib/thought_spot_public_rest_api/controllers/metadata_controller.rb +1074 -0
- data/lib/thought_spot_public_rest_api/controllers/orgs_controller.rb +183 -0
- data/lib/thought_spot_public_rest_api/controllers/reports_controller.rb +126 -0
- data/lib/thought_spot_public_rest_api/controllers/roles_controller.rb +176 -0
- data/lib/thought_spot_public_rest_api/controllers/schedules_controller.rb +213 -0
- data/lib/thought_spot_public_rest_api/controllers/security_controller.rb +749 -0
- data/lib/thought_spot_public_rest_api/controllers/system_controller.rb +401 -0
- data/lib/thought_spot_public_rest_api/controllers/tags_controller.rb +246 -0
- data/lib/thought_spot_public_rest_api/controllers/users_controller.rb +467 -0
- data/lib/thought_spot_public_rest_api/controllers/variable_controller.rb +338 -0
- data/lib/thought_spot_public_rest_api/controllers/version_control_controller.rb +418 -0
- data/lib/thought_spot_public_rest_api/controllers/webhooks_controller.rb +238 -0
- data/lib/thought_spot_public_rest_api/exceptions/api_exception.rb +21 -0
- data/lib/thought_spot_public_rest_api/exceptions/error_response_exception.rb +46 -0
- data/lib/thought_spot_public_rest_api/http/api_response.rb +19 -0
- data/lib/thought_spot_public_rest_api/http/auth/oauth_2.rb +53 -0
- data/lib/thought_spot_public_rest_api/http/http_call_back.rb +10 -0
- data/lib/thought_spot_public_rest_api/http/http_method_enum.rb +10 -0
- data/lib/thought_spot_public_rest_api/http/http_request.rb +10 -0
- data/lib/thought_spot_public_rest_api/http/http_response.rb +10 -0
- data/lib/thought_spot_public_rest_api/http/proxy_settings.rb +22 -0
- data/lib/thought_spot_public_rest_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/thought_spot_public_rest_api/logging/sdk_logger.rb +17 -0
- data/lib/thought_spot_public_rest_api/models/access_token.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/account_status.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/account_status2.rb +53 -0
- data/lib/thought_spot_public_rest_api/models/account_status3.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/account_type.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/account_type2.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/account_type3.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/action_config.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/action_config_input.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/action_config_input_create.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/action_details.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/action_details_input.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/action_details_input_create.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/activate_user_request.rb +104 -0
- data/lib/thought_spot_public_rest_api/models/agent_conversation.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/ai_context.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/answer_content.rb +135 -0
- data/lib/thought_spot_public_rest_api/models/answer_context_input.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/answer_data_response.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/api_key.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/api_key_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/assign_change_author_request.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/assign_tag_request.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/associate_metadata_input.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/associate_metadata_input_create.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/authentication.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/authentication_input.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/authentication_type.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/authentication_type1.rb +64 -0
- data/lib/thought_spot_public_rest_api/models/authentication_type2.rb +74 -0
- data/lib/thought_spot_public_rest_api/models/author.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/author_metadata_type_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/author_type.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/aws_assume_role_setup.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/aws_s3_config.rb +115 -0
- data/lib/thought_spot_public_rest_api/models/aws_s3_config_input.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/base_model.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/basic_auth.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/basic_auth_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/calendar_response.rb +153 -0
- data/lib/thought_spot_public_rest_api/models/calendar_type.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/callback.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/callback_input.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/callback_input_mandatory.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/change_user_password_request.rb +94 -0
- data/lib/thought_spot_public_rest_api/models/channel.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/channel_history_event_input.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/channel_history_job.rb +116 -0
- data/lib/thought_spot_public_rest_api/models/channel_status.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/channel_validation_aws_s3_info.rb +99 -0
- data/lib/thought_spot_public_rest_api/models/channel_validation_detail.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/cluster_non_embed_access.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/cluster_non_embed_access_input.rb +100 -0
- data/lib/thought_spot_public_rest_api/models/cluster_preference.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/cluster_type.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/collection.rb +169 -0
- data/lib/thought_spot_public_rest_api/models/collection_delete_response.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/collection_delete_type_identifiers.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/collection_entity_identifier.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/collection_metadata_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/collection_metadata_item.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/collection_search_response.rb +129 -0
- data/lib/thought_spot_public_rest_api/models/column.rb +130 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule.rb +108 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_column.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_group.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_group_operation.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_response.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_source_table.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_table_input.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_update.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/commit_branch_request.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/commit_file_type.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/commit_history_response.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/commit_response.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/commiter_type.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/communication_channel_preferences_response.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/communication_channel_validate_response.rb +138 -0
- data/lib/thought_spot_public_rest_api/models/configure_communication_channel_preferences_request.rb +104 -0
- data/lib/thought_spot_public_rest_api/models/configure_security_settings_request.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/connection_configuration_response.rb +206 -0
- data/lib/thought_spot_public_rest_api/models/connection_configuration_search_request.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/connection_input.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/context_payload_v2_input.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/conversation.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/conversation_settings_input.rb +113 -0
- data/lib/thought_spot_public_rest_api/models/convert_worksheet_to_model_request.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/copy_object_request.rb +104 -0
- data/lib/thought_spot_public_rest_api/models/create_agent_conversation_request.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/create_calendar_request.rb +180 -0
- data/lib/thought_spot_public_rest_api/models/create_collection_request.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/create_config_request.rb +171 -0
- data/lib/thought_spot_public_rest_api/models/create_connection_configuration_request.rb +187 -0
- data/lib/thought_spot_public_rest_api/models/create_connection_request.rb +121 -0
- data/lib/thought_spot_public_rest_api/models/create_connection_response.rb +105 -0
- data/lib/thought_spot_public_rest_api/models/create_conversation_request.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/create_custom_action_request.rb +133 -0
- data/lib/thought_spot_public_rest_api/models/create_email_customization_request.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/create_email_customization_response.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/create_org_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/create_role_request.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/create_schedule_request.rb +178 -0
- data/lib/thought_spot_public_rest_api/models/create_tag_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/create_user_group_request.rb +179 -0
- data/lib/thought_spot_public_rest_api/models/create_user_request.rb +330 -0
- data/lib/thought_spot_public_rest_api/models/create_variable_request.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/create_webhook_configuration_request.rb +175 -0
- data/lib/thought_spot_public_rest_api/models/creation_method.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/cron_expression.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/cron_expression_input.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/csp_settings.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/csp_settings_input.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/currency_format.rb +964 -0
- data/lib/thought_spot_public_rest_api/models/custom_action_metadata_type_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/data_format.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/data_source.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/data_source_context_input.rb +72 -0
- data/lib/thought_spot_public_rest_api/models/data_type.rb +53 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_object_input.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_object_type.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_objects.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_type.rb +160 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_type1.rb +160 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_type3.rb +160 -0
- data/lib/thought_spot_public_rest_api/models/database.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/date_format_locale.rb +136 -0
- data/lib/thought_spot_public_rest_api/models/dbt_search_response.rb +151 -0
- data/lib/thought_spot_public_rest_api/models/deactivate_user_request.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/default_action_config.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/default_action_config_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/default_action_config_input_create.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/default_action_config_search_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/default_metadata_type.rb +53 -0
- data/lib/thought_spot_public_rest_api/models/delete_collection_request.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/delete_config_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/delete_connection_configuration_request.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/delete_connection_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/delete_metadata_request.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/delete_metadata_type_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/delete_org_email_customization_request.rb +77 -0
- data/lib/thought_spot_public_rest_api/models/delete_variables_request.rb +74 -0
- data/lib/thought_spot_public_rest_api/models/delete_webhook_configurations_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/dependent_object_version.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/deploy_commit_request.rb +115 -0
- data/lib/thought_spot_public_rest_api/models/deploy_policy.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/deploy_response.rb +124 -0
- data/lib/thought_spot_public_rest_api/models/deploy_type.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/edoc_format.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/edoc_format1.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/entity_header.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/eureka_data_source_suggestion_response.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/eureka_decompose_query_response.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/eureka_get_nl_instructions_response.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/eureka_get_relevant_questions_response.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/eureka_llm_decompose_query_response.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/eureka_llm_suggested_query.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/eureka_relevant_question.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/eureka_set_nl_instructions_response.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/event.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/event_channel_config.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/event_channel_config_input.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/event_type.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/event_type1.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/exclude_metadata_list_item_input.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/export_answer_report_request.rb +159 -0
- data/lib/thought_spot_public_rest_api/models/export_liveboard_report_request.rb +273 -0
- data/lib/thought_spot_public_rest_api/models/export_metadata_tml_batched_request.rb +133 -0
- data/lib/thought_spot_public_rest_api/models/export_metadata_tml_request.rb +196 -0
- data/lib/thought_spot_public_rest_api/models/export_metadata_type_input.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/export_options.rb +168 -0
- data/lib/thought_spot_public_rest_api/models/export_schema_version.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/external_table_input.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/favorite_metadata_input.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/favorite_metadata_item.rb +93 -0
- data/lib/thought_spot_public_rest_api/models/favorite_object_options_input.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/fetch_answer_data_request.rb +157 -0
- data/lib/thought_spot_public_rest_api/models/fetch_answer_sql_query_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/fetch_async_import_task_status_request.rb +134 -0
- data/lib/thought_spot_public_rest_api/models/fetch_column_security_rules_request.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/fetch_connection_diff_status_response.rb +77 -0
- data/lib/thought_spot_public_rest_api/models/fetch_liveboard_data_request.rb +185 -0
- data/lib/thought_spot_public_rest_api/models/fetch_liveboard_sql_query_request.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/fetch_logs_request.rb +112 -0
- data/lib/thought_spot_public_rest_api/models/fetch_object_privileges_request.rb +128 -0
- data/lib/thought_spot_public_rest_api/models/fetch_permissions_of_principals_request.rb +139 -0
- data/lib/thought_spot_public_rest_api/models/fetch_permissions_on_metadata_request.rb +159 -0
- data/lib/thought_spot_public_rest_api/models/field_name.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/field_name1.rb +60 -0
- data/lib/thought_spot_public_rest_api/models/field_name2.rb +68 -0
- data/lib/thought_spot_public_rest_api/models/field_name3.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/field_name4.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/field_type.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/field_type1.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/file_format.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/file_format2.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/filter_rules.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/force_logout_users_request.rb +77 -0
- data/lib/thought_spot_public_rest_api/models/frequency.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/frequency_input.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/gcp_web_identity_setup.rb +144 -0
- data/lib/thought_spot_public_rest_api/models/generate_csv_request.rb +140 -0
- data/lib/thought_spot_public_rest_api/models/generic_info.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/get_async_import_status_response.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/get_custom_access_token_request.rb +280 -0
- data/lib/thought_spot_public_rest_api/models/get_data_source_suggestions_request.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/get_full_access_token_request.rb +170 -0
- data/lib/thought_spot_public_rest_api/models/get_nl_instructions_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/get_object_access_token_request.rb +183 -0
- data/lib/thought_spot_public_rest_api/models/get_relevant_questions_request.rb +122 -0
- data/lib/thought_spot_public_rest_api/models/get_token_response.rb +117 -0
- data/lib/thought_spot_public_rest_api/models/group_info.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/group_object.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/groups_import_list_input.rb +176 -0
- data/lib/thought_spot_public_rest_api/models/header_attribute_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/header_update_input.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/import_e_pack_async_task_status.rb +241 -0
- data/lib/thought_spot_public_rest_api/models/import_metadata_tml_async_request.rb +143 -0
- data/lib/thought_spot_public_rest_api/models/import_metadata_tml_request.rb +146 -0
- data/lib/thought_spot_public_rest_api/models/import_policy.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/import_policy1.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/import_policy2.rb +46 -0
- data/lib/thought_spot_public_rest_api/models/import_type.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/import_user.rb +282 -0
- data/lib/thought_spot_public_rest_api/models/import_user_groups_request.rb +113 -0
- data/lib/thought_spot_public_rest_api/models/import_user_groups_response.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/import_user_type.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/import_users_request.rb +121 -0
- data/lib/thought_spot_public_rest_api/models/import_users_response.rb +127 -0
- data/lib/thought_spot_public_rest_api/models/import_worksheets.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/input_eureka_nls_request.rb +113 -0
- data/lib/thought_spot_public_rest_api/models/jwt_metadata_object.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/jwt_parameter.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/jwt_user_options.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/jwt_user_options_full.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/lb_context_input.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_content.rb +162 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_data_response.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_options.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_options_input.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_response_version.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/log_response.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/login_request.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/manage_object_privilege_request.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/metadata_association_item.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/metadata_context.rb +121 -0
- data/lib/thought_spot_public_rest_api/models/metadata_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/metadata_list_item_input.rb +146 -0
- data/lib/thought_spot_public_rest_api/models/metadata_object.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/metadata_response.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/metadata_search_response.rb +186 -0
- data/lib/thought_spot_public_rest_api/models/metadata_search_sort_options.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type.rb +68 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type1.rb +64 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type2.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type3.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type4.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type5.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type6.rb +50 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type7.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/model_table_list.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/month_offset.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/month_offset1.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/nl_instructions_info.rb +80 -0
- data/lib/thought_spot_public_rest_api/models/nl_instructions_info_input.rb +80 -0
- data/lib/thought_spot_public_rest_api/models/number_format_locale.rb +136 -0
- data/lib/thought_spot_public_rest_api/models/object_id_and_name.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/object_privilege_type.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/object_privileges_metadata_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/object_privileges_of_metadata_response.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/operation.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/operation1.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/operation2.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/operation3.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/operation4.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/operation5.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/operation6.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/operation7.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/operator.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/operator1.rb +93 -0
- data/lib/thought_spot_public_rest_api/models/order.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/order4.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/order5.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/org.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/org_channel_config_input.rb +124 -0
- data/lib/thought_spot_public_rest_api/models/org_channel_config_response.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/org_details.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/org_info.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/org_non_embed_access.rb +100 -0
- data/lib/thought_spot_public_rest_api/models/org_non_embed_access_input.rb +99 -0
- data/lib/thought_spot_public_rest_api/models/org_preference_search_criteria_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/org_response.rb +121 -0
- data/lib/thought_spot_public_rest_api/models/org_type.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/page_orientation.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/page_size.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/parameter_values.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/parameterize_metadata_request.rb +116 -0
- data/lib/thought_spot_public_rest_api/models/parameters_list_item.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/parameters_list_item_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/parent_type.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/parent_type1.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/pdf_options.rb +179 -0
- data/lib/thought_spot_public_rest_api/models/pdf_options_input.rb +151 -0
- data/lib/thought_spot_public_rest_api/models/permission.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/permission2.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/permission_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/permission_of_metadata_response.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/permission_of_principals_response.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/permissions_metadata_type_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/persist_option.rb +45 -0
- data/lib/thought_spot_public_rest_api/models/png_options_input.rb +144 -0
- data/lib/thought_spot_public_rest_api/models/policy_process.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/policy_process_options.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/policy_process_options_input.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/policy_type.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/policy_type1.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/position.rb +41 -0
- data/lib/thought_spot_public_rest_api/models/preferred_locale.rb +138 -0
- data/lib/thought_spot_public_rest_api/models/preferred_locale1.rb +138 -0
- data/lib/thought_spot_public_rest_api/models/principal_type.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/principal_type1.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/principal_type2.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/principal_type3.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/principals_input.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/principals_list_item.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/principals_list_item_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/privilege.rb +236 -0
- data/lib/thought_spot_public_rest_api/models/privilege1.rb +160 -0
- data/lib/thought_spot_public_rest_api/models/privilege2.rb +188 -0
- data/lib/thought_spot_public_rest_api/models/privilege4.rb +200 -0
- data/lib/thought_spot_public_rest_api/models/privilege8.rb +180 -0
- data/lib/thought_spot_public_rest_api/models/publish_metadata_list_item.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/publish_metadata_request.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/put_variable_values_request.rb +94 -0
- data/lib/thought_spot_public_rest_api/models/query_get_decomposed_query_request.rb +145 -0
- data/lib/thought_spot_public_rest_api/models/recipient_details.rb +99 -0
- data/lib/thought_spot_public_rest_api/models/recipient_details_input.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/regional_settings_input.rb +116 -0
- data/lib/thought_spot_public_rest_api/models/repo_config_object.rb +154 -0
- data/lib/thought_spot_public_rest_api/models/reset_event.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/reset_user_password_request.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/response_activation_url.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/response_content.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/response_copy_object.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/response_custom_action.rb +148 -0
- data/lib/thought_spot_public_rest_api/models/response_failed_entities.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_failed_entity.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/response_incomplete_entities.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_incomplete_entity.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/response_message.rb +134 -0
- data/lib/thought_spot_public_rest_api/models/response_post_upgrade_failed_entities.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_post_upgrade_failed_entity.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/response_schedule.rb +227 -0
- data/lib/thought_spot_public_rest_api/models/response_schedule_run.rb +115 -0
- data/lib/thought_spot_public_rest_api/models/response_successful_entities.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_successful_entity.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_worksheet_to_model_conversion.rb +174 -0
- data/lib/thought_spot_public_rest_api/models/result_code.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/revert_commit_request.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/revert_policy.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/revert_response.rb +172 -0
- data/lib/thought_spot_public_rest_api/models/reverted_metadata.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/revoke_refresh_tokens_request.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/revoke_refresh_tokens_response.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/revoke_token_request.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/rise_gql_arg_wrapper.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/rise_setter.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/role.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/role_response.rb +274 -0
- data/lib/thought_spot_public_rest_api/models/runtime_filter.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/runtime_filters.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/runtime_param_override.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/runtime_parameters.rb +116 -0
- data/lib/thought_spot_public_rest_api/models/runtime_sort.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/runtime_sorts.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/schedule_history_runs_options_input.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/schedules_pdf_options_input.rb +179 -0
- data/lib/thought_spot_public_rest_api/models/schema_object.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/scope.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/scope1.rb +38 -0
- data/lib/thought_spot_public_rest_api/models/script_src_urls.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/script_src_urls_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/search_calendars_request.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/search_channel_history_request.rb +139 -0
- data/lib/thought_spot_public_rest_api/models/search_channel_history_response.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/search_collections_request.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/search_commits_request.rb +127 -0
- data/lib/thought_spot_public_rest_api/models/search_communication_channel_preferences_request.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/search_config_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/search_connection_request.rb +209 -0
- data/lib/thought_spot_public_rest_api/models/search_connection_response.rb +129 -0
- data/lib/thought_spot_public_rest_api/models/search_custom_actions_request.rb +166 -0
- data/lib/thought_spot_public_rest_api/models/search_data_request.rb +173 -0
- data/lib/thought_spot_public_rest_api/models/search_data_response.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/search_email_customization_request.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/search_metadata_request.rb +446 -0
- data/lib/thought_spot_public_rest_api/models/search_orgs_request.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/search_role_response.rb +274 -0
- data/lib/thought_spot_public_rest_api/models/search_roles_request.rb +158 -0
- data/lib/thought_spot_public_rest_api/models/search_schedules_request.rb +139 -0
- data/lib/thought_spot_public_rest_api/models/search_security_settings_request.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/search_tags_request.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/search_user_groups_request.rb +265 -0
- data/lib/thought_spot_public_rest_api/models/search_users_request.rb +327 -0
- data/lib/thought_spot_public_rest_api/models/search_variables_request.rb +135 -0
- data/lib/thought_spot_public_rest_api/models/search_webhook_configurations_request.rb +132 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_cluster_preferences.rb +131 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_cluster_preferences_input.rb +131 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_org_details.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_org_preferences.rb +100 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_org_preferences_input.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_response.rb +99 -0
- data/lib/thought_spot_public_rest_api/models/send_agent_message_request.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/send_agent_message_response.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/send_agent_message_streaming_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/send_message_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/set_nl_instructions_request.rb +94 -0
- data/lib/thought_spot_public_rest_api/models/share_metadata_request.rb +207 -0
- data/lib/thought_spot_public_rest_api/models/share_metadata_type_input.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/share_mode.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/share_mode1.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/share_permissions_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/single_answer_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/sort_option.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/sort_option_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/sort_options.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/sorting_options.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/sql_query.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/sql_query_response.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/start_day_of_week.rb +56 -0
- data/lib/thought_spot_public_rest_api/models/start_day_of_week2.rb +56 -0
- data/lib/thought_spot_public_rest_api/models/status.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/status1.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/status2.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/status3.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/status4.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/storage_config.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/storage_config_input.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/storage_destination.rb +80 -0
- data/lib/thought_spot_public_rest_api/models/storage_destination_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/storage_setup_info.rb +175 -0
- data/lib/thought_spot_public_rest_api/models/subtype.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/system_config.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/system_info.rb +344 -0
- data/lib/thought_spot_public_rest_api/models/system_override_info.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/table.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/tag.rb +202 -0
- data/lib/thought_spot_public_rest_api/models/tag_metadata_type_input.rb +94 -0
- data/lib/thought_spot_public_rest_api/models/task_status.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/task_status1.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/template_properties_input_create.rb +440 -0
- data/lib/thought_spot_public_rest_api/models/time_zone.rb +2548 -0
- data/lib/thought_spot_public_rest_api/models/token.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/token_access_scope_object.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/token_validation_response.rb +114 -0
- data/lib/thought_spot_public_rest_api/models/type.rb +66 -0
- data/lib/thought_spot_public_rest_api/models/type1.rb +38 -0
- data/lib/thought_spot_public_rest_api/models/type10.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/type11.rb +28 -0
- data/lib/thought_spot_public_rest_api/models/type13.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/type15.rb +60 -0
- data/lib/thought_spot_public_rest_api/models/type16.rb +60 -0
- data/lib/thought_spot_public_rest_api/models/type17.rb +66 -0
- data/lib/thought_spot_public_rest_api/models/type18.rb +50 -0
- data/lib/thought_spot_public_rest_api/models/type19.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/type2.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/type20.rb +46 -0
- data/lib/thought_spot_public_rest_api/models/type21.rb +50 -0
- data/lib/thought_spot_public_rest_api/models/type22.rb +46 -0
- data/lib/thought_spot_public_rest_api/models/type23.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/type24.rb +42 -0
- data/lib/thought_spot_public_rest_api/models/type26.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/type27.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/type28.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/type29.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/type3.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/type31.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/type32.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/type4.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/type5.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/type6.rb +28 -0
- data/lib/thought_spot_public_rest_api/models/type7.rb +50 -0
- data/lib/thought_spot_public_rest_api/models/type8.rb +42 -0
- data/lib/thought_spot_public_rest_api/models/type9.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/unassign_tag_request.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/unparameterize_metadata_request.rb +113 -0
- data/lib/thought_spot_public_rest_api/models/unpublish_metadata_request.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/update_calendar_request.rb +173 -0
- data/lib/thought_spot_public_rest_api/models/update_collection_request.rb +114 -0
- data/lib/thought_spot_public_rest_api/models/update_column_security_rules_request.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/update_config_request.rb +161 -0
- data/lib/thought_spot_public_rest_api/models/update_connection_configuration_request.rb +200 -0
- data/lib/thought_spot_public_rest_api/models/update_connection_request.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/update_connection_v2_request.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/update_custom_action_request.rb +144 -0
- data/lib/thought_spot_public_rest_api/models/update_email_customization_request.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/update_metadata_header_request.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/update_metadata_obj_id_request.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/update_method.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/update_obj_id_input.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/update_org_request.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/update_role_request.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/update_schedule_request.rb +194 -0
- data/lib/thought_spot_public_rest_api/models/update_system_config_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/update_tag_request.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/update_user_group_request.rb +191 -0
- data/lib/thought_spot_public_rest_api/models/update_user_request.rb +305 -0
- data/lib/thought_spot_public_rest_api/models/update_variable_request.rb +72 -0
- data/lib/thought_spot_public_rest_api/models/update_variable_values_request.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/update_webhook_configuration_request.rb +178 -0
- data/lib/thought_spot_public_rest_api/models/url.rb +117 -0
- data/lib/thought_spot_public_rest_api/models/url_input.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/url_input_mandatory.rb +117 -0
- data/lib/thought_spot_public_rest_api/models/user.rb +684 -0
- data/lib/thought_spot_public_rest_api/models/user_group.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/user_group_response.rb +455 -0
- data/lib/thought_spot_public_rest_api/models/user_info.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/user_locale.rb +136 -0
- data/lib/thought_spot_public_rest_api/models/user_object.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/user_parameter_options.rb +163 -0
- data/lib/thought_spot_public_rest_api/models/user_principal.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/validate_communication_channel_request.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/validate_merge_request.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/validate_token_request.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/validation_step.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/value_scope_input.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/variable.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/variable_detail_input.rb +100 -0
- data/lib/thought_spot_public_rest_api/models/variable_put_assignment_input.rb +138 -0
- data/lib/thought_spot_public_rest_api/models/variable_type.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/variable_update_assignment_input.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/variable_update_scope_input.rb +130 -0
- data/lib/thought_spot_public_rest_api/models/variable_value.rb +151 -0
- data/lib/thought_spot_public_rest_api/models/variable_values.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/visibility.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility1.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/visibility10.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/visibility2.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility3.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility5.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility7.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility8.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/visibility9.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visualization_type.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_api_key.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_api_key_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_basic_auth.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_basic_auth_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_oauth_2.rb +93 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_oauth_2_input.rb +93 -0
- data/lib/thought_spot_public_rest_api/models/webhook_authentication.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/webhook_authentication_input.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/webhook_delete_failure.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/webhook_delete_response.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/webhook_key_value_pair.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_key_value_pair_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_org.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_pagination.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/webhook_response.rb +234 -0
- data/lib/thought_spot_public_rest_api/models/webhook_search_response.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/webhook_signature_verification.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/webhook_signature_verification_input.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/webhook_sort_options_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/webhook_user.rb +82 -0
- data/lib/thought_spot_public_rest_api/utilities/date_time_helper.rb +11 -0
- data/lib/thought_spot_public_rest_api/utilities/file_wrapper.rb +28 -0
- data/lib/thought_spot_public_rest_api/utilities/union_type_lookup.rb +67 -0
- data/lib/thought_spot_public_rest_api.rb +801 -0
- metadata +695 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# thought_spot_public_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ThoughtSpotPublicRestApi
|
|
7
|
+
# UpdateCalendarRequest Model.
|
|
8
|
+
class UpdateCalendarRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Type of update operation.
|
|
13
|
+
# @return [UpdateMethod]
|
|
14
|
+
attr_accessor :update_method
|
|
15
|
+
|
|
16
|
+
# Table reference containing connection identifier and table details in this
|
|
17
|
+
# format: `{"connection_identifier":"conn1", "database_name":"db1",
|
|
18
|
+
# "schema_name":"sc1", "table_name":"tb1"}`.
|
|
19
|
+
# @return [ExternalTableInput]
|
|
20
|
+
attr_accessor :table_reference
|
|
21
|
+
|
|
22
|
+
# Start date for the calendar in `MM/dd/yyyy` format. This parameter is
|
|
23
|
+
# mandatory if `update_method` is set as `FROM_INPUT_PARAMS`.
|
|
24
|
+
# @return [String]
|
|
25
|
+
attr_accessor :start_date
|
|
26
|
+
|
|
27
|
+
# End date for the calendar in `MM/dd/yyyy` format. This parameter is
|
|
28
|
+
# mandatory if `update_method` is set as `FROM_INPUT_PARAMS`.
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :end_date
|
|
31
|
+
|
|
32
|
+
# Type of the calendar.
|
|
33
|
+
# @return [CalendarType]
|
|
34
|
+
attr_accessor :calendar_type
|
|
35
|
+
|
|
36
|
+
# Specify the month in which the fiscal or custom calendar year should
|
|
37
|
+
# start. For example, if you set `month_offset` to "April", the custom
|
|
38
|
+
# calendar will treat "April" as the first month of the year, and the
|
|
39
|
+
# related attributes such as quarters and start date will be based on this
|
|
40
|
+
# offset. The default value is `January`, which represents the standard
|
|
41
|
+
# calendar year (January to December).
|
|
42
|
+
# @return [MonthOffset]
|
|
43
|
+
attr_accessor :month_offset
|
|
44
|
+
|
|
45
|
+
# Specify the starting day of the week
|
|
46
|
+
# @return [StartDayOfWeek2]
|
|
47
|
+
attr_accessor :start_day_of_week
|
|
48
|
+
|
|
49
|
+
# Prefix to add before the quarter.
|
|
50
|
+
# @return [String]
|
|
51
|
+
attr_accessor :quarter_name_prefix
|
|
52
|
+
|
|
53
|
+
# Prefix to add before the year.
|
|
54
|
+
# @return [String]
|
|
55
|
+
attr_accessor :year_name_prefix
|
|
56
|
+
|
|
57
|
+
# A mapping from model property names to API property names.
|
|
58
|
+
def self.names
|
|
59
|
+
@_hash = {} if @_hash.nil?
|
|
60
|
+
@_hash['update_method'] = 'update_method'
|
|
61
|
+
@_hash['table_reference'] = 'table_reference'
|
|
62
|
+
@_hash['start_date'] = 'start_date'
|
|
63
|
+
@_hash['end_date'] = 'end_date'
|
|
64
|
+
@_hash['calendar_type'] = 'calendar_type'
|
|
65
|
+
@_hash['month_offset'] = 'month_offset'
|
|
66
|
+
@_hash['start_day_of_week'] = 'start_day_of_week'
|
|
67
|
+
@_hash['quarter_name_prefix'] = 'quarter_name_prefix'
|
|
68
|
+
@_hash['year_name_prefix'] = 'year_name_prefix'
|
|
69
|
+
@_hash
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# An array for optional fields
|
|
73
|
+
def self.optionals
|
|
74
|
+
%w[
|
|
75
|
+
update_method
|
|
76
|
+
start_date
|
|
77
|
+
end_date
|
|
78
|
+
calendar_type
|
|
79
|
+
month_offset
|
|
80
|
+
start_day_of_week
|
|
81
|
+
quarter_name_prefix
|
|
82
|
+
year_name_prefix
|
|
83
|
+
]
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# An array for nullable fields
|
|
87
|
+
def self.nullables
|
|
88
|
+
[]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
def initialize(table_reference:,
|
|
92
|
+
update_method: UpdateMethod::FROM_INPUT_PARAMS,
|
|
93
|
+
start_date: SKIP, end_date: SKIP,
|
|
94
|
+
calendar_type: CalendarType::MONTH_OFFSET,
|
|
95
|
+
month_offset: MonthOffset::JANUARY,
|
|
96
|
+
start_day_of_week: StartDayOfWeek2::SUNDAY,
|
|
97
|
+
quarter_name_prefix: SKIP, year_name_prefix: SKIP,
|
|
98
|
+
additional_properties: nil)
|
|
99
|
+
# Add additional model properties to the instance
|
|
100
|
+
additional_properties = {} if additional_properties.nil?
|
|
101
|
+
|
|
102
|
+
@update_method = update_method unless update_method == SKIP
|
|
103
|
+
@table_reference = table_reference
|
|
104
|
+
@start_date = start_date unless start_date == SKIP
|
|
105
|
+
@end_date = end_date unless end_date == SKIP
|
|
106
|
+
@calendar_type = calendar_type unless calendar_type == SKIP
|
|
107
|
+
@month_offset = month_offset unless month_offset == SKIP
|
|
108
|
+
@start_day_of_week = start_day_of_week unless start_day_of_week == SKIP
|
|
109
|
+
@quarter_name_prefix = quarter_name_prefix unless quarter_name_prefix == SKIP
|
|
110
|
+
@year_name_prefix = year_name_prefix unless year_name_prefix == SKIP
|
|
111
|
+
@additional_properties = additional_properties
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Creates an instance of the object from a hash.
|
|
115
|
+
def self.from_hash(hash)
|
|
116
|
+
return nil unless hash
|
|
117
|
+
|
|
118
|
+
# Extract variables from the hash.
|
|
119
|
+
table_reference = ExternalTableInput.from_hash(hash['table_reference']) if
|
|
120
|
+
hash['table_reference']
|
|
121
|
+
update_method = hash['update_method'] ||= UpdateMethod::FROM_INPUT_PARAMS
|
|
122
|
+
start_date = hash.key?('start_date') ? hash['start_date'] : SKIP
|
|
123
|
+
end_date = hash.key?('end_date') ? hash['end_date'] : SKIP
|
|
124
|
+
calendar_type = hash['calendar_type'] ||= CalendarType::MONTH_OFFSET
|
|
125
|
+
month_offset = hash['month_offset'] ||= MonthOffset::JANUARY
|
|
126
|
+
start_day_of_week = hash['start_day_of_week'] ||= StartDayOfWeek2::SUNDAY
|
|
127
|
+
quarter_name_prefix =
|
|
128
|
+
hash.key?('quarter_name_prefix') ? hash['quarter_name_prefix'] : SKIP
|
|
129
|
+
year_name_prefix =
|
|
130
|
+
hash.key?('year_name_prefix') ? hash['year_name_prefix'] : SKIP
|
|
131
|
+
|
|
132
|
+
# Create a new hash for additional properties, removing known properties.
|
|
133
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
134
|
+
|
|
135
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
136
|
+
new_hash, proc { |value| value }
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
# Create object from extracted values.
|
|
140
|
+
UpdateCalendarRequest.new(table_reference: table_reference,
|
|
141
|
+
update_method: update_method,
|
|
142
|
+
start_date: start_date,
|
|
143
|
+
end_date: end_date,
|
|
144
|
+
calendar_type: calendar_type,
|
|
145
|
+
month_offset: month_offset,
|
|
146
|
+
start_day_of_week: start_day_of_week,
|
|
147
|
+
quarter_name_prefix: quarter_name_prefix,
|
|
148
|
+
year_name_prefix: year_name_prefix,
|
|
149
|
+
additional_properties: additional_properties)
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Provides a human-readable string representation of the object.
|
|
153
|
+
def to_s
|
|
154
|
+
class_name = self.class.name.split('::').last
|
|
155
|
+
"<#{class_name} update_method: #{@update_method}, table_reference: #{@table_reference},"\
|
|
156
|
+
" start_date: #{@start_date}, end_date: #{@end_date}, calendar_type: #{@calendar_type},"\
|
|
157
|
+
" month_offset: #{@month_offset}, start_day_of_week: #{@start_day_of_week},"\
|
|
158
|
+
" quarter_name_prefix: #{@quarter_name_prefix}, year_name_prefix: #{@year_name_prefix},"\
|
|
159
|
+
" additional_properties: #{@additional_properties}>"
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
163
|
+
def inspect
|
|
164
|
+
class_name = self.class.name.split('::').last
|
|
165
|
+
"<#{class_name} update_method: #{@update_method.inspect}, table_reference:"\
|
|
166
|
+
" #{@table_reference.inspect}, start_date: #{@start_date.inspect}, end_date:"\
|
|
167
|
+
" #{@end_date.inspect}, calendar_type: #{@calendar_type.inspect}, month_offset:"\
|
|
168
|
+
" #{@month_offset.inspect}, start_day_of_week: #{@start_day_of_week.inspect},"\
|
|
169
|
+
" quarter_name_prefix: #{@quarter_name_prefix.inspect}, year_name_prefix:"\
|
|
170
|
+
" #{@year_name_prefix.inspect}, additional_properties: #{@additional_properties}>"
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
end
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# thought_spot_public_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ThoughtSpotPublicRestApi
|
|
7
|
+
# UpdateCollectionRequest Model.
|
|
8
|
+
class UpdateCollectionRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Name of the collection.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :name
|
|
15
|
+
|
|
16
|
+
# Description of the collection.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :description
|
|
19
|
+
|
|
20
|
+
# Metadata objects to add, remove, or replace in the collection.
|
|
21
|
+
# @return [Array[CollectionMetadataInput]]
|
|
22
|
+
attr_accessor :metadata
|
|
23
|
+
|
|
24
|
+
# Type of update operation. Default operation type is REPLACE.
|
|
25
|
+
# @return [Operation3]
|
|
26
|
+
attr_accessor :operation
|
|
27
|
+
|
|
28
|
+
# A mapping from model property names to API property names.
|
|
29
|
+
def self.names
|
|
30
|
+
@_hash = {} if @_hash.nil?
|
|
31
|
+
@_hash['name'] = 'name'
|
|
32
|
+
@_hash['description'] = 'description'
|
|
33
|
+
@_hash['metadata'] = 'metadata'
|
|
34
|
+
@_hash['operation'] = 'operation'
|
|
35
|
+
@_hash
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# An array for optional fields
|
|
39
|
+
def self.optionals
|
|
40
|
+
%w[
|
|
41
|
+
name
|
|
42
|
+
description
|
|
43
|
+
metadata
|
|
44
|
+
operation
|
|
45
|
+
]
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# An array for nullable fields
|
|
49
|
+
def self.nullables
|
|
50
|
+
[]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def initialize(name: SKIP, description: SKIP, metadata: SKIP,
|
|
54
|
+
operation: Operation3::REPLACE, additional_properties: nil)
|
|
55
|
+
# Add additional model properties to the instance
|
|
56
|
+
additional_properties = {} if additional_properties.nil?
|
|
57
|
+
|
|
58
|
+
@name = name unless name == SKIP
|
|
59
|
+
@description = description unless description == SKIP
|
|
60
|
+
@metadata = metadata unless metadata == SKIP
|
|
61
|
+
@operation = operation unless operation == SKIP
|
|
62
|
+
@additional_properties = additional_properties
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Creates an instance of the object from a hash.
|
|
66
|
+
def self.from_hash(hash)
|
|
67
|
+
return nil unless hash
|
|
68
|
+
|
|
69
|
+
# Extract variables from the hash.
|
|
70
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
71
|
+
description = hash.key?('description') ? hash['description'] : SKIP
|
|
72
|
+
# Parameter is an array, so we need to iterate through it
|
|
73
|
+
metadata = nil
|
|
74
|
+
unless hash['metadata'].nil?
|
|
75
|
+
metadata = []
|
|
76
|
+
hash['metadata'].each do |structure|
|
|
77
|
+
metadata << (CollectionMetadataInput.from_hash(structure) if structure)
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
metadata = SKIP unless hash.key?('metadata')
|
|
82
|
+
operation = hash['operation'] ||= Operation3::REPLACE
|
|
83
|
+
|
|
84
|
+
# Create a new hash for additional properties, removing known properties.
|
|
85
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
86
|
+
|
|
87
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
88
|
+
new_hash, proc { |value| value }
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
# Create object from extracted values.
|
|
92
|
+
UpdateCollectionRequest.new(name: name,
|
|
93
|
+
description: description,
|
|
94
|
+
metadata: metadata,
|
|
95
|
+
operation: operation,
|
|
96
|
+
additional_properties: additional_properties)
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Provides a human-readable string representation of the object.
|
|
100
|
+
def to_s
|
|
101
|
+
class_name = self.class.name.split('::').last
|
|
102
|
+
"<#{class_name} name: #{@name}, description: #{@description}, metadata: #{@metadata},"\
|
|
103
|
+
" operation: #{@operation}, additional_properties: #{@additional_properties}>"
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
107
|
+
def inspect
|
|
108
|
+
class_name = self.class.name.split('::').last
|
|
109
|
+
"<#{class_name} name: #{@name.inspect}, description: #{@description.inspect}, metadata:"\
|
|
110
|
+
" #{@metadata.inspect}, operation: #{@operation.inspect}, additional_properties:"\
|
|
111
|
+
" #{@additional_properties}>"
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# thought_spot_public_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ThoughtSpotPublicRestApi
|
|
7
|
+
# UpdateColumnSecurityRulesRequest Model.
|
|
8
|
+
class UpdateColumnSecurityRulesRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# GUID or name of the table for which we want to create column security
|
|
13
|
+
# rules
|
|
14
|
+
# @return [String]
|
|
15
|
+
attr_accessor :identifier
|
|
16
|
+
|
|
17
|
+
# The object ID of the table
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :obj_identifier
|
|
20
|
+
|
|
21
|
+
# If true, then all the secured columns will be marked as unprotected, and
|
|
22
|
+
# all the group associations will be removed
|
|
23
|
+
# @return [TrueClass | FalseClass]
|
|
24
|
+
attr_accessor :clear_csr
|
|
25
|
+
|
|
26
|
+
# Array where each object defines the security rule for a specific column
|
|
27
|
+
# @return [Array[ColumnSecurityRuleUpdate]]
|
|
28
|
+
attr_accessor :column_security_rules
|
|
29
|
+
|
|
30
|
+
# A mapping from model property names to API property names.
|
|
31
|
+
def self.names
|
|
32
|
+
@_hash = {} if @_hash.nil?
|
|
33
|
+
@_hash['identifier'] = 'identifier'
|
|
34
|
+
@_hash['obj_identifier'] = 'obj_identifier'
|
|
35
|
+
@_hash['clear_csr'] = 'clear_csr'
|
|
36
|
+
@_hash['column_security_rules'] = 'column_security_rules'
|
|
37
|
+
@_hash
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# An array for optional fields
|
|
41
|
+
def self.optionals
|
|
42
|
+
%w[
|
|
43
|
+
identifier
|
|
44
|
+
obj_identifier
|
|
45
|
+
clear_csr
|
|
46
|
+
]
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# An array for nullable fields
|
|
50
|
+
def self.nullables
|
|
51
|
+
%w[
|
|
52
|
+
clear_csr
|
|
53
|
+
]
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
def initialize(column_security_rules:, identifier: SKIP,
|
|
57
|
+
obj_identifier: SKIP, clear_csr: SKIP,
|
|
58
|
+
additional_properties: nil)
|
|
59
|
+
# Add additional model properties to the instance
|
|
60
|
+
additional_properties = {} if additional_properties.nil?
|
|
61
|
+
|
|
62
|
+
@identifier = identifier unless identifier == SKIP
|
|
63
|
+
@obj_identifier = obj_identifier unless obj_identifier == SKIP
|
|
64
|
+
@clear_csr = clear_csr unless clear_csr == SKIP
|
|
65
|
+
@column_security_rules = column_security_rules
|
|
66
|
+
@additional_properties = additional_properties
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Creates an instance of the object from a hash.
|
|
70
|
+
def self.from_hash(hash)
|
|
71
|
+
return nil unless hash
|
|
72
|
+
|
|
73
|
+
# Extract variables from the hash.
|
|
74
|
+
# Parameter is an array, so we need to iterate through it
|
|
75
|
+
column_security_rules = nil
|
|
76
|
+
unless hash['column_security_rules'].nil?
|
|
77
|
+
column_security_rules = []
|
|
78
|
+
hash['column_security_rules'].each do |structure|
|
|
79
|
+
column_security_rules << (ColumnSecurityRuleUpdate.from_hash(structure) if structure)
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
column_security_rules = nil unless hash.key?('column_security_rules')
|
|
84
|
+
identifier = hash.key?('identifier') ? hash['identifier'] : SKIP
|
|
85
|
+
obj_identifier =
|
|
86
|
+
hash.key?('obj_identifier') ? hash['obj_identifier'] : SKIP
|
|
87
|
+
clear_csr = hash.key?('clear_csr') ? hash['clear_csr'] : SKIP
|
|
88
|
+
|
|
89
|
+
# Create a new hash for additional properties, removing known properties.
|
|
90
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
91
|
+
|
|
92
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
93
|
+
new_hash, proc { |value| value }
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
# Create object from extracted values.
|
|
97
|
+
UpdateColumnSecurityRulesRequest.new(column_security_rules: column_security_rules,
|
|
98
|
+
identifier: identifier,
|
|
99
|
+
obj_identifier: obj_identifier,
|
|
100
|
+
clear_csr: clear_csr,
|
|
101
|
+
additional_properties: additional_properties)
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
# Provides a human-readable string representation of the object.
|
|
105
|
+
def to_s
|
|
106
|
+
class_name = self.class.name.split('::').last
|
|
107
|
+
"<#{class_name} identifier: #{@identifier}, obj_identifier: #{@obj_identifier}, clear_csr:"\
|
|
108
|
+
" #{@clear_csr}, column_security_rules: #{@column_security_rules}, additional_properties:"\
|
|
109
|
+
" #{@additional_properties}>"
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
113
|
+
def inspect
|
|
114
|
+
class_name = self.class.name.split('::').last
|
|
115
|
+
"<#{class_name} identifier: #{@identifier.inspect}, obj_identifier:"\
|
|
116
|
+
" #{@obj_identifier.inspect}, clear_csr: #{@clear_csr.inspect}, column_security_rules:"\
|
|
117
|
+
" #{@column_security_rules.inspect}, additional_properties: #{@additional_properties}>"
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# thought_spot_public_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ThoughtSpotPublicRestApi
|
|
7
|
+
# UpdateConfigRequest Model.
|
|
8
|
+
class UpdateConfigRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Username to authenticate connection to version control system
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :username
|
|
15
|
+
|
|
16
|
+
# Access token corresponding to the user to authenticate connection to
|
|
17
|
+
# version control system
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :access_token
|
|
20
|
+
|
|
21
|
+
# Applicable when Orgs is enabled in the cluster
|
|
22
|
+
#
|
|
23
|
+
# List of Org ids or name. Provide value -1 for cluster level. Example :
|
|
24
|
+
# ["OrgID1-or-Name1", "OrgID2-or-Name2"]
|
|
25
|
+
#
|
|
26
|
+
# Note: If no value is specified, then the configurations will be returned
|
|
27
|
+
# for all orgs the user has access to <br/> <span
|
|
28
|
+
# class="since-beta-tag">Version: 9.5.0.cl or later</span>
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :org_identifier
|
|
31
|
+
|
|
32
|
+
# List the remote branches to configure. Example:[development, production]
|
|
33
|
+
# @return [Array[String]]
|
|
34
|
+
attr_accessor :branch_names
|
|
35
|
+
|
|
36
|
+
# Name of the remote branch where objects from this Thoughtspot instance
|
|
37
|
+
# will be versioned. <br/> <span class="since-beta-tag">Version: 9.7.0.cl
|
|
38
|
+
# or later</span>
|
|
39
|
+
# @return [String]
|
|
40
|
+
attr_accessor :commit_branch_name
|
|
41
|
+
|
|
42
|
+
# Maintain mapping of guid for the deployment to an instance <br/> <span
|
|
43
|
+
# class="since-beta-tag">Version: 9.4.0.cl or later</span>
|
|
44
|
+
# @return [TrueClass | FalseClass]
|
|
45
|
+
attr_accessor :enable_guid_mapping
|
|
46
|
+
|
|
47
|
+
# Name of the branch where the configuration files related to operations
|
|
48
|
+
# between Thoughtspot and version control repo should be maintained. <br/>
|
|
49
|
+
# <span class="since-beta-tag">Version: 9.7.0.cl or later</span>
|
|
50
|
+
# @return [String]
|
|
51
|
+
attr_accessor :configuration_branch_name
|
|
52
|
+
|
|
53
|
+
# A mapping from model property names to API property names.
|
|
54
|
+
def self.names
|
|
55
|
+
@_hash = {} if @_hash.nil?
|
|
56
|
+
@_hash['username'] = 'username'
|
|
57
|
+
@_hash['access_token'] = 'access_token'
|
|
58
|
+
@_hash['org_identifier'] = 'org_identifier'
|
|
59
|
+
@_hash['branch_names'] = 'branch_names'
|
|
60
|
+
@_hash['commit_branch_name'] = 'commit_branch_name'
|
|
61
|
+
@_hash['enable_guid_mapping'] = 'enable_guid_mapping'
|
|
62
|
+
@_hash['configuration_branch_name'] = 'configuration_branch_name'
|
|
63
|
+
@_hash
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# An array for optional fields
|
|
67
|
+
def self.optionals
|
|
68
|
+
%w[
|
|
69
|
+
username
|
|
70
|
+
access_token
|
|
71
|
+
org_identifier
|
|
72
|
+
branch_names
|
|
73
|
+
commit_branch_name
|
|
74
|
+
enable_guid_mapping
|
|
75
|
+
configuration_branch_name
|
|
76
|
+
]
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# An array for nullable fields
|
|
80
|
+
def self.nullables
|
|
81
|
+
%w[
|
|
82
|
+
enable_guid_mapping
|
|
83
|
+
]
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def initialize(username: SKIP, access_token: SKIP, org_identifier: SKIP,
|
|
87
|
+
branch_names: SKIP, commit_branch_name: SKIP,
|
|
88
|
+
enable_guid_mapping: SKIP, configuration_branch_name: SKIP,
|
|
89
|
+
additional_properties: nil)
|
|
90
|
+
# Add additional model properties to the instance
|
|
91
|
+
additional_properties = {} if additional_properties.nil?
|
|
92
|
+
|
|
93
|
+
@username = username unless username == SKIP
|
|
94
|
+
@access_token = access_token unless access_token == SKIP
|
|
95
|
+
@org_identifier = org_identifier unless org_identifier == SKIP
|
|
96
|
+
@branch_names = branch_names unless branch_names == SKIP
|
|
97
|
+
@commit_branch_name = commit_branch_name unless commit_branch_name == SKIP
|
|
98
|
+
@enable_guid_mapping = enable_guid_mapping unless enable_guid_mapping == SKIP
|
|
99
|
+
unless configuration_branch_name == SKIP
|
|
100
|
+
@configuration_branch_name =
|
|
101
|
+
configuration_branch_name
|
|
102
|
+
end
|
|
103
|
+
@additional_properties = additional_properties
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# Creates an instance of the object from a hash.
|
|
107
|
+
def self.from_hash(hash)
|
|
108
|
+
return nil unless hash
|
|
109
|
+
|
|
110
|
+
# Extract variables from the hash.
|
|
111
|
+
username = hash.key?('username') ? hash['username'] : SKIP
|
|
112
|
+
access_token = hash.key?('access_token') ? hash['access_token'] : SKIP
|
|
113
|
+
org_identifier =
|
|
114
|
+
hash.key?('org_identifier') ? hash['org_identifier'] : SKIP
|
|
115
|
+
branch_names = hash.key?('branch_names') ? hash['branch_names'] : SKIP
|
|
116
|
+
commit_branch_name =
|
|
117
|
+
hash.key?('commit_branch_name') ? hash['commit_branch_name'] : SKIP
|
|
118
|
+
enable_guid_mapping =
|
|
119
|
+
hash.key?('enable_guid_mapping') ? hash['enable_guid_mapping'] : SKIP
|
|
120
|
+
configuration_branch_name =
|
|
121
|
+
hash.key?('configuration_branch_name') ? hash['configuration_branch_name'] : SKIP
|
|
122
|
+
|
|
123
|
+
# Create a new hash for additional properties, removing known properties.
|
|
124
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
125
|
+
|
|
126
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
127
|
+
new_hash, proc { |value| value }
|
|
128
|
+
)
|
|
129
|
+
|
|
130
|
+
# Create object from extracted values.
|
|
131
|
+
UpdateConfigRequest.new(username: username,
|
|
132
|
+
access_token: access_token,
|
|
133
|
+
org_identifier: org_identifier,
|
|
134
|
+
branch_names: branch_names,
|
|
135
|
+
commit_branch_name: commit_branch_name,
|
|
136
|
+
enable_guid_mapping: enable_guid_mapping,
|
|
137
|
+
configuration_branch_name: configuration_branch_name,
|
|
138
|
+
additional_properties: additional_properties)
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Provides a human-readable string representation of the object.
|
|
142
|
+
def to_s
|
|
143
|
+
class_name = self.class.name.split('::').last
|
|
144
|
+
"<#{class_name} username: #{@username}, access_token: #{@access_token}, org_identifier:"\
|
|
145
|
+
" #{@org_identifier}, branch_names: #{@branch_names}, commit_branch_name:"\
|
|
146
|
+
" #{@commit_branch_name}, enable_guid_mapping: #{@enable_guid_mapping},"\
|
|
147
|
+
" configuration_branch_name: #{@configuration_branch_name}, additional_properties:"\
|
|
148
|
+
" #{@additional_properties}>"
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
152
|
+
def inspect
|
|
153
|
+
class_name = self.class.name.split('::').last
|
|
154
|
+
"<#{class_name} username: #{@username.inspect}, access_token: #{@access_token.inspect},"\
|
|
155
|
+
" org_identifier: #{@org_identifier.inspect}, branch_names: #{@branch_names.inspect},"\
|
|
156
|
+
" commit_branch_name: #{@commit_branch_name.inspect}, enable_guid_mapping:"\
|
|
157
|
+
" #{@enable_guid_mapping.inspect}, configuration_branch_name:"\
|
|
158
|
+
" #{@configuration_branch_name.inspect}, additional_properties: #{@additional_properties}>"
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
end
|