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,84 @@
|
|
|
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
|
+
# CreateTagRequest Model.
|
|
8
|
+
class CreateTagRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Name of the tag.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :name
|
|
15
|
+
|
|
16
|
+
# Hex color code to be assigned to the tag. For example, #ff78a9.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :color
|
|
19
|
+
|
|
20
|
+
# A mapping from model property names to API property names.
|
|
21
|
+
def self.names
|
|
22
|
+
@_hash = {} if @_hash.nil?
|
|
23
|
+
@_hash['name'] = 'name'
|
|
24
|
+
@_hash['color'] = 'color'
|
|
25
|
+
@_hash
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# An array for optional fields
|
|
29
|
+
def self.optionals
|
|
30
|
+
%w[
|
|
31
|
+
color
|
|
32
|
+
]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# An array for nullable fields
|
|
36
|
+
def self.nullables
|
|
37
|
+
[]
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def initialize(name:, color: SKIP, additional_properties: nil)
|
|
41
|
+
# Add additional model properties to the instance
|
|
42
|
+
additional_properties = {} if additional_properties.nil?
|
|
43
|
+
|
|
44
|
+
@name = name
|
|
45
|
+
@color = color unless color == SKIP
|
|
46
|
+
@additional_properties = additional_properties
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Creates an instance of the object from a hash.
|
|
50
|
+
def self.from_hash(hash)
|
|
51
|
+
return nil unless hash
|
|
52
|
+
|
|
53
|
+
# Extract variables from the hash.
|
|
54
|
+
name = hash.key?('name') ? hash['name'] : nil
|
|
55
|
+
color = hash.key?('color') ? hash['color'] : SKIP
|
|
56
|
+
|
|
57
|
+
# Create a new hash for additional properties, removing known properties.
|
|
58
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
59
|
+
|
|
60
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
61
|
+
new_hash, proc { |value| value }
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
# Create object from extracted values.
|
|
65
|
+
CreateTagRequest.new(name: name,
|
|
66
|
+
color: color,
|
|
67
|
+
additional_properties: additional_properties)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Provides a human-readable string representation of the object.
|
|
71
|
+
def to_s
|
|
72
|
+
class_name = self.class.name.split('::').last
|
|
73
|
+
"<#{class_name} name: #{@name}, color: #{@color}, additional_properties:"\
|
|
74
|
+
" #{@additional_properties}>"
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
78
|
+
def inspect
|
|
79
|
+
class_name = self.class.name.split('::').last
|
|
80
|
+
"<#{class_name} name: #{@name.inspect}, color: #{@color.inspect}, additional_properties:"\
|
|
81
|
+
" #{@additional_properties}>"
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
@@ -0,0 +1,179 @@
|
|
|
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
|
+
# CreateUserGroupRequest Model.
|
|
8
|
+
class CreateUserGroupRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Name of the group. The group name must be unique.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :name
|
|
15
|
+
|
|
16
|
+
# Display name for the group.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :display_name
|
|
19
|
+
|
|
20
|
+
# GUID of the Liveboards to assign as default Liveboards to the users in the
|
|
21
|
+
# group.
|
|
22
|
+
# @return [Array[String]]
|
|
23
|
+
attr_accessor :default_liveboard_identifiers
|
|
24
|
+
|
|
25
|
+
# Description of the group
|
|
26
|
+
# @return [String]
|
|
27
|
+
attr_accessor :description
|
|
28
|
+
|
|
29
|
+
# Privileges to assign to the group
|
|
30
|
+
# @return [Array[Privilege1]]
|
|
31
|
+
attr_accessor :privileges
|
|
32
|
+
|
|
33
|
+
# GUID or name of the sub groups. A subgroup is a group assigned to a parent
|
|
34
|
+
# group.
|
|
35
|
+
# @return [Array[String]]
|
|
36
|
+
attr_accessor :sub_group_identifiers
|
|
37
|
+
|
|
38
|
+
# Group type.
|
|
39
|
+
# @return [Type29]
|
|
40
|
+
attr_accessor :type
|
|
41
|
+
|
|
42
|
+
# GUID or name of the users to assign to the group.
|
|
43
|
+
# @return [Array[String]]
|
|
44
|
+
attr_accessor :user_identifiers
|
|
45
|
+
|
|
46
|
+
# Visibility of the group. To make a group visible to other users and
|
|
47
|
+
# groups,
|
|
48
|
+
# set the visibility to SHAREABLE.
|
|
49
|
+
# @return [Visibility5]
|
|
50
|
+
attr_accessor :visibility
|
|
51
|
+
|
|
52
|
+
# Role identifiers of the roles that should be assigned to the group.
|
|
53
|
+
# @return [Array[String]]
|
|
54
|
+
attr_accessor :role_identifiers
|
|
55
|
+
|
|
56
|
+
# A mapping from model property names to API property names.
|
|
57
|
+
def self.names
|
|
58
|
+
@_hash = {} if @_hash.nil?
|
|
59
|
+
@_hash['name'] = 'name'
|
|
60
|
+
@_hash['display_name'] = 'display_name'
|
|
61
|
+
@_hash['default_liveboard_identifiers'] =
|
|
62
|
+
'default_liveboard_identifiers'
|
|
63
|
+
@_hash['description'] = 'description'
|
|
64
|
+
@_hash['privileges'] = 'privileges'
|
|
65
|
+
@_hash['sub_group_identifiers'] = 'sub_group_identifiers'
|
|
66
|
+
@_hash['type'] = 'type'
|
|
67
|
+
@_hash['user_identifiers'] = 'user_identifiers'
|
|
68
|
+
@_hash['visibility'] = 'visibility'
|
|
69
|
+
@_hash['role_identifiers'] = 'role_identifiers'
|
|
70
|
+
@_hash
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# An array for optional fields
|
|
74
|
+
def self.optionals
|
|
75
|
+
%w[
|
|
76
|
+
default_liveboard_identifiers
|
|
77
|
+
description
|
|
78
|
+
privileges
|
|
79
|
+
sub_group_identifiers
|
|
80
|
+
type
|
|
81
|
+
user_identifiers
|
|
82
|
+
visibility
|
|
83
|
+
role_identifiers
|
|
84
|
+
]
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# An array for nullable fields
|
|
88
|
+
def self.nullables
|
|
89
|
+
[]
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
def initialize(name:, display_name:, default_liveboard_identifiers: SKIP,
|
|
93
|
+
description: SKIP, privileges: SKIP,
|
|
94
|
+
sub_group_identifiers: SKIP, type: Type29::LOCAL_GROUP,
|
|
95
|
+
user_identifiers: SKIP, visibility: Visibility5::SHARABLE,
|
|
96
|
+
role_identifiers: SKIP, additional_properties: nil)
|
|
97
|
+
# Add additional model properties to the instance
|
|
98
|
+
additional_properties = {} if additional_properties.nil?
|
|
99
|
+
|
|
100
|
+
@name = name
|
|
101
|
+
@display_name = display_name
|
|
102
|
+
unless default_liveboard_identifiers == SKIP
|
|
103
|
+
@default_liveboard_identifiers =
|
|
104
|
+
default_liveboard_identifiers
|
|
105
|
+
end
|
|
106
|
+
@description = description unless description == SKIP
|
|
107
|
+
@privileges = privileges unless privileges == SKIP
|
|
108
|
+
@sub_group_identifiers = sub_group_identifiers unless sub_group_identifiers == SKIP
|
|
109
|
+
@type = type unless type == SKIP
|
|
110
|
+
@user_identifiers = user_identifiers unless user_identifiers == SKIP
|
|
111
|
+
@visibility = visibility unless visibility == SKIP
|
|
112
|
+
@role_identifiers = role_identifiers unless role_identifiers == SKIP
|
|
113
|
+
@additional_properties = additional_properties
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Creates an instance of the object from a hash.
|
|
117
|
+
def self.from_hash(hash)
|
|
118
|
+
return nil unless hash
|
|
119
|
+
|
|
120
|
+
# Extract variables from the hash.
|
|
121
|
+
name = hash.key?('name') ? hash['name'] : nil
|
|
122
|
+
display_name = hash.key?('display_name') ? hash['display_name'] : nil
|
|
123
|
+
default_liveboard_identifiers =
|
|
124
|
+
hash.key?('default_liveboard_identifiers') ? hash['default_liveboard_identifiers'] : SKIP
|
|
125
|
+
description = hash.key?('description') ? hash['description'] : SKIP
|
|
126
|
+
privileges = hash.key?('privileges') ? hash['privileges'] : SKIP
|
|
127
|
+
sub_group_identifiers =
|
|
128
|
+
hash.key?('sub_group_identifiers') ? hash['sub_group_identifiers'] : SKIP
|
|
129
|
+
type = hash['type'] ||= Type29::LOCAL_GROUP
|
|
130
|
+
user_identifiers =
|
|
131
|
+
hash.key?('user_identifiers') ? hash['user_identifiers'] : SKIP
|
|
132
|
+
visibility = hash['visibility'] ||= Visibility5::SHARABLE
|
|
133
|
+
role_identifiers =
|
|
134
|
+
hash.key?('role_identifiers') ? hash['role_identifiers'] : SKIP
|
|
135
|
+
|
|
136
|
+
# Create a new hash for additional properties, removing known properties.
|
|
137
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
138
|
+
|
|
139
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
140
|
+
new_hash, proc { |value| value }
|
|
141
|
+
)
|
|
142
|
+
|
|
143
|
+
# Create object from extracted values.
|
|
144
|
+
CreateUserGroupRequest.new(name: name,
|
|
145
|
+
display_name: display_name,
|
|
146
|
+
default_liveboard_identifiers: default_liveboard_identifiers,
|
|
147
|
+
description: description,
|
|
148
|
+
privileges: privileges,
|
|
149
|
+
sub_group_identifiers: sub_group_identifiers,
|
|
150
|
+
type: type,
|
|
151
|
+
user_identifiers: user_identifiers,
|
|
152
|
+
visibility: visibility,
|
|
153
|
+
role_identifiers: role_identifiers,
|
|
154
|
+
additional_properties: additional_properties)
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Provides a human-readable string representation of the object.
|
|
158
|
+
def to_s
|
|
159
|
+
class_name = self.class.name.split('::').last
|
|
160
|
+
"<#{class_name} name: #{@name}, display_name: #{@display_name},"\
|
|
161
|
+
" default_liveboard_identifiers: #{@default_liveboard_identifiers}, description:"\
|
|
162
|
+
" #{@description}, privileges: #{@privileges}, sub_group_identifiers:"\
|
|
163
|
+
" #{@sub_group_identifiers}, type: #{@type}, user_identifiers: #{@user_identifiers},"\
|
|
164
|
+
" visibility: #{@visibility}, role_identifiers: #{@role_identifiers}, additional_properties:"\
|
|
165
|
+
" #{@additional_properties}>"
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
169
|
+
def inspect
|
|
170
|
+
class_name = self.class.name.split('::').last
|
|
171
|
+
"<#{class_name} name: #{@name.inspect}, display_name: #{@display_name.inspect},"\
|
|
172
|
+
" default_liveboard_identifiers: #{@default_liveboard_identifiers.inspect}, description:"\
|
|
173
|
+
" #{@description.inspect}, privileges: #{@privileges.inspect}, sub_group_identifiers:"\
|
|
174
|
+
" #{@sub_group_identifiers.inspect}, type: #{@type.inspect}, user_identifiers:"\
|
|
175
|
+
" #{@user_identifiers.inspect}, visibility: #{@visibility.inspect}, role_identifiers:"\
|
|
176
|
+
" #{@role_identifiers.inspect}, additional_properties: #{@additional_properties}>"
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
end
|
|
@@ -0,0 +1,330 @@
|
|
|
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
|
+
# CreateUserRequest Model.
|
|
8
|
+
class CreateUserRequest < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Name of the user. The username string must be unique.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :name
|
|
15
|
+
|
|
16
|
+
# A unique display name string for the user account, usually their first and
|
|
17
|
+
# last name
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :display_name
|
|
20
|
+
|
|
21
|
+
# Password for the user account. For IAMv2 users, you must set this password
|
|
22
|
+
# if you do not want to trigger an activation email.
|
|
23
|
+
# @return [String]
|
|
24
|
+
attr_accessor :password
|
|
25
|
+
|
|
26
|
+
# Email of the user account
|
|
27
|
+
# @return [String]
|
|
28
|
+
attr_accessor :email
|
|
29
|
+
|
|
30
|
+
# Type of the account.
|
|
31
|
+
# @return [AccountType2]
|
|
32
|
+
attr_accessor :account_type
|
|
33
|
+
|
|
34
|
+
# Current status of the user account. The `SUSPENDED` user state indicates a
|
|
35
|
+
# transitional state applicable to IAMv2 users only.
|
|
36
|
+
# @return [AccountStatus2]
|
|
37
|
+
attr_accessor :account_status
|
|
38
|
+
|
|
39
|
+
# List of Org IDs to which the user belongs.
|
|
40
|
+
# @return [Array[String]]
|
|
41
|
+
attr_accessor :org_identifiers
|
|
42
|
+
|
|
43
|
+
# GUIDs or names of the groups to which the newly created user belongs.
|
|
44
|
+
# @return [Array[String]]
|
|
45
|
+
attr_accessor :group_identifiers
|
|
46
|
+
|
|
47
|
+
# Visibility of the users. When set to SHARABLE, the user is visible to
|
|
48
|
+
# other users and groups when they try to share an object.
|
|
49
|
+
# @return [Visibility9]
|
|
50
|
+
attr_accessor :visibility
|
|
51
|
+
|
|
52
|
+
# User preference for receiving email notifications when another ThoughtSpot
|
|
53
|
+
# user shares a metadata object such as Answer, Liveboard, or Worksheet.
|
|
54
|
+
# @return [TrueClass | FalseClass]
|
|
55
|
+
attr_accessor :notify_on_share
|
|
56
|
+
|
|
57
|
+
# The user preference for revisiting the onboarding experience.
|
|
58
|
+
# @return [TrueClass | FalseClass]
|
|
59
|
+
attr_accessor :show_onboarding_experience
|
|
60
|
+
|
|
61
|
+
# flag to get the on-boarding experience is completed or not.
|
|
62
|
+
# @return [TrueClass | FalseClass]
|
|
63
|
+
attr_accessor :onboarding_experience_completed
|
|
64
|
+
|
|
65
|
+
# GUID of the Liveboard to set a default Liveboard for the user.
|
|
66
|
+
# ThoughtSpot displays this Liveboard on the Home page when the user logs
|
|
67
|
+
# in.
|
|
68
|
+
# @return [String]
|
|
69
|
+
attr_accessor :home_liveboard_identifier
|
|
70
|
+
|
|
71
|
+
# Metadata objects to add to the user's favorites list.
|
|
72
|
+
# @return [Array[FavoriteMetadataInput]]
|
|
73
|
+
attr_accessor :favorite_metadata
|
|
74
|
+
|
|
75
|
+
# Locale for the user. When setting this value, do not set
|
|
76
|
+
# use_browser_language
|
|
77
|
+
# to true, otherwise the browser's language setting will take precedence and
|
|
78
|
+
# the
|
|
79
|
+
# preferred_locale value will be ignored.
|
|
80
|
+
# @return [PreferredLocale1]
|
|
81
|
+
attr_accessor :preferred_locale
|
|
82
|
+
|
|
83
|
+
# Flag to indicate whether to use the browser locale for the user in the UI.
|
|
84
|
+
# When set to true, the preferred_locale value is unset and the browser's
|
|
85
|
+
# language setting takes precedence. <br/> <span
|
|
86
|
+
# class="since-beta-tag">Version: 26.3.0.cl or later</span>
|
|
87
|
+
# @return [TrueClass | FalseClass]
|
|
88
|
+
attr_accessor :use_browser_language
|
|
89
|
+
|
|
90
|
+
# Properties for the user
|
|
91
|
+
# @return [Object]
|
|
92
|
+
attr_accessor :extended_properties
|
|
93
|
+
|
|
94
|
+
# Preferences for the user
|
|
95
|
+
# @return [Object]
|
|
96
|
+
attr_accessor :extended_preferences
|
|
97
|
+
|
|
98
|
+
# Flag to indicate whether welcome email should be sent to user. This
|
|
99
|
+
# parameter is applied only on clusters on which IAM is disabled.
|
|
100
|
+
# @return [TrueClass | FalseClass]
|
|
101
|
+
attr_accessor :trigger_welcome_email
|
|
102
|
+
|
|
103
|
+
# Flag to indicate whether activation email should be sent to the user.
|
|
104
|
+
# Default value for IAMv2 users is set to true. Users must either set this
|
|
105
|
+
# to false, or enter a valid
|
|
106
|
+
# password if they do not want to trigger an activation email.
|
|
107
|
+
# @return [TrueClass | FalseClass]
|
|
108
|
+
attr_accessor :trigger_activation_email
|
|
109
|
+
|
|
110
|
+
# A mapping from model property names to API property names.
|
|
111
|
+
def self.names
|
|
112
|
+
@_hash = {} if @_hash.nil?
|
|
113
|
+
@_hash['name'] = 'name'
|
|
114
|
+
@_hash['display_name'] = 'display_name'
|
|
115
|
+
@_hash['password'] = 'password'
|
|
116
|
+
@_hash['email'] = 'email'
|
|
117
|
+
@_hash['account_type'] = 'account_type'
|
|
118
|
+
@_hash['account_status'] = 'account_status'
|
|
119
|
+
@_hash['org_identifiers'] = 'org_identifiers'
|
|
120
|
+
@_hash['group_identifiers'] = 'group_identifiers'
|
|
121
|
+
@_hash['visibility'] = 'visibility'
|
|
122
|
+
@_hash['notify_on_share'] = 'notify_on_share'
|
|
123
|
+
@_hash['show_onboarding_experience'] = 'show_onboarding_experience'
|
|
124
|
+
@_hash['onboarding_experience_completed'] =
|
|
125
|
+
'onboarding_experience_completed'
|
|
126
|
+
@_hash['home_liveboard_identifier'] = 'home_liveboard_identifier'
|
|
127
|
+
@_hash['favorite_metadata'] = 'favorite_metadata'
|
|
128
|
+
@_hash['preferred_locale'] = 'preferred_locale'
|
|
129
|
+
@_hash['use_browser_language'] = 'use_browser_language'
|
|
130
|
+
@_hash['extended_properties'] = 'extended_properties'
|
|
131
|
+
@_hash['extended_preferences'] = 'extended_preferences'
|
|
132
|
+
@_hash['trigger_welcome_email'] = 'trigger_welcome_email'
|
|
133
|
+
@_hash['trigger_activation_email'] = 'trigger_activation_email'
|
|
134
|
+
@_hash
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# An array for optional fields
|
|
138
|
+
def self.optionals
|
|
139
|
+
%w[
|
|
140
|
+
password
|
|
141
|
+
account_type
|
|
142
|
+
account_status
|
|
143
|
+
org_identifiers
|
|
144
|
+
group_identifiers
|
|
145
|
+
visibility
|
|
146
|
+
notify_on_share
|
|
147
|
+
show_onboarding_experience
|
|
148
|
+
onboarding_experience_completed
|
|
149
|
+
home_liveboard_identifier
|
|
150
|
+
favorite_metadata
|
|
151
|
+
preferred_locale
|
|
152
|
+
use_browser_language
|
|
153
|
+
extended_properties
|
|
154
|
+
extended_preferences
|
|
155
|
+
trigger_welcome_email
|
|
156
|
+
trigger_activation_email
|
|
157
|
+
]
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# An array for nullable fields
|
|
161
|
+
def self.nullables
|
|
162
|
+
%w[
|
|
163
|
+
notify_on_share
|
|
164
|
+
show_onboarding_experience
|
|
165
|
+
onboarding_experience_completed
|
|
166
|
+
use_browser_language
|
|
167
|
+
trigger_welcome_email
|
|
168
|
+
trigger_activation_email
|
|
169
|
+
]
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
def initialize(name:, display_name:, email:, password: SKIP,
|
|
173
|
+
account_type: AccountType2::LOCAL_USER,
|
|
174
|
+
account_status: AccountStatus2::ACTIVE,
|
|
175
|
+
org_identifiers: SKIP, group_identifiers: SKIP,
|
|
176
|
+
visibility: Visibility9::SHARABLE, notify_on_share: true,
|
|
177
|
+
show_onboarding_experience: true,
|
|
178
|
+
onboarding_experience_completed: false,
|
|
179
|
+
home_liveboard_identifier: SKIP, favorite_metadata: SKIP,
|
|
180
|
+
preferred_locale: SKIP, use_browser_language: SKIP,
|
|
181
|
+
extended_properties: SKIP, extended_preferences: SKIP,
|
|
182
|
+
trigger_welcome_email: SKIP, trigger_activation_email: SKIP,
|
|
183
|
+
additional_properties: nil)
|
|
184
|
+
# Add additional model properties to the instance
|
|
185
|
+
additional_properties = {} if additional_properties.nil?
|
|
186
|
+
|
|
187
|
+
@name = name
|
|
188
|
+
@display_name = display_name
|
|
189
|
+
@password = password unless password == SKIP
|
|
190
|
+
@email = email
|
|
191
|
+
@account_type = account_type unless account_type == SKIP
|
|
192
|
+
@account_status = account_status unless account_status == SKIP
|
|
193
|
+
@org_identifiers = org_identifiers unless org_identifiers == SKIP
|
|
194
|
+
@group_identifiers = group_identifiers unless group_identifiers == SKIP
|
|
195
|
+
@visibility = visibility unless visibility == SKIP
|
|
196
|
+
@notify_on_share = notify_on_share unless notify_on_share == SKIP
|
|
197
|
+
unless show_onboarding_experience == SKIP
|
|
198
|
+
@show_onboarding_experience =
|
|
199
|
+
show_onboarding_experience
|
|
200
|
+
end
|
|
201
|
+
unless onboarding_experience_completed == SKIP
|
|
202
|
+
@onboarding_experience_completed =
|
|
203
|
+
onboarding_experience_completed
|
|
204
|
+
end
|
|
205
|
+
unless home_liveboard_identifier == SKIP
|
|
206
|
+
@home_liveboard_identifier =
|
|
207
|
+
home_liveboard_identifier
|
|
208
|
+
end
|
|
209
|
+
@favorite_metadata = favorite_metadata unless favorite_metadata == SKIP
|
|
210
|
+
@preferred_locale = preferred_locale unless preferred_locale == SKIP
|
|
211
|
+
@use_browser_language = use_browser_language unless use_browser_language == SKIP
|
|
212
|
+
@extended_properties = extended_properties unless extended_properties == SKIP
|
|
213
|
+
@extended_preferences = extended_preferences unless extended_preferences == SKIP
|
|
214
|
+
@trigger_welcome_email = trigger_welcome_email unless trigger_welcome_email == SKIP
|
|
215
|
+
@trigger_activation_email = trigger_activation_email unless trigger_activation_email == SKIP
|
|
216
|
+
@additional_properties = additional_properties
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
# Creates an instance of the object from a hash.
|
|
220
|
+
def self.from_hash(hash)
|
|
221
|
+
return nil unless hash
|
|
222
|
+
|
|
223
|
+
# Extract variables from the hash.
|
|
224
|
+
name = hash.key?('name') ? hash['name'] : nil
|
|
225
|
+
display_name = hash.key?('display_name') ? hash['display_name'] : nil
|
|
226
|
+
email = hash.key?('email') ? hash['email'] : nil
|
|
227
|
+
password = hash.key?('password') ? hash['password'] : SKIP
|
|
228
|
+
account_type = hash['account_type'] ||= AccountType2::LOCAL_USER
|
|
229
|
+
account_status = hash['account_status'] ||= AccountStatus2::ACTIVE
|
|
230
|
+
org_identifiers =
|
|
231
|
+
hash.key?('org_identifiers') ? hash['org_identifiers'] : SKIP
|
|
232
|
+
group_identifiers =
|
|
233
|
+
hash.key?('group_identifiers') ? hash['group_identifiers'] : SKIP
|
|
234
|
+
visibility = hash['visibility'] ||= Visibility9::SHARABLE
|
|
235
|
+
notify_on_share = hash['notify_on_share'] ||= true
|
|
236
|
+
show_onboarding_experience = hash['show_onboarding_experience'] ||= true
|
|
237
|
+
onboarding_experience_completed =
|
|
238
|
+
hash['onboarding_experience_completed'] ||= false
|
|
239
|
+
home_liveboard_identifier =
|
|
240
|
+
hash.key?('home_liveboard_identifier') ? hash['home_liveboard_identifier'] : SKIP
|
|
241
|
+
# Parameter is an array, so we need to iterate through it
|
|
242
|
+
favorite_metadata = nil
|
|
243
|
+
unless hash['favorite_metadata'].nil?
|
|
244
|
+
favorite_metadata = []
|
|
245
|
+
hash['favorite_metadata'].each do |structure|
|
|
246
|
+
favorite_metadata << (FavoriteMetadataInput.from_hash(structure) if structure)
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
favorite_metadata = SKIP unless hash.key?('favorite_metadata')
|
|
251
|
+
preferred_locale =
|
|
252
|
+
hash.key?('preferred_locale') ? hash['preferred_locale'] : SKIP
|
|
253
|
+
use_browser_language =
|
|
254
|
+
hash.key?('use_browser_language') ? hash['use_browser_language'] : SKIP
|
|
255
|
+
extended_properties =
|
|
256
|
+
hash.key?('extended_properties') ? hash['extended_properties'] : SKIP
|
|
257
|
+
extended_preferences =
|
|
258
|
+
hash.key?('extended_preferences') ? hash['extended_preferences'] : SKIP
|
|
259
|
+
trigger_welcome_email =
|
|
260
|
+
hash.key?('trigger_welcome_email') ? hash['trigger_welcome_email'] : SKIP
|
|
261
|
+
trigger_activation_email =
|
|
262
|
+
hash.key?('trigger_activation_email') ? hash['trigger_activation_email'] : SKIP
|
|
263
|
+
|
|
264
|
+
# Create a new hash for additional properties, removing known properties.
|
|
265
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
266
|
+
|
|
267
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
268
|
+
new_hash, proc { |value| value }
|
|
269
|
+
)
|
|
270
|
+
|
|
271
|
+
# Create object from extracted values.
|
|
272
|
+
CreateUserRequest.new(name: name,
|
|
273
|
+
display_name: display_name,
|
|
274
|
+
email: email,
|
|
275
|
+
password: password,
|
|
276
|
+
account_type: account_type,
|
|
277
|
+
account_status: account_status,
|
|
278
|
+
org_identifiers: org_identifiers,
|
|
279
|
+
group_identifiers: group_identifiers,
|
|
280
|
+
visibility: visibility,
|
|
281
|
+
notify_on_share: notify_on_share,
|
|
282
|
+
show_onboarding_experience: show_onboarding_experience,
|
|
283
|
+
onboarding_experience_completed: onboarding_experience_completed,
|
|
284
|
+
home_liveboard_identifier: home_liveboard_identifier,
|
|
285
|
+
favorite_metadata: favorite_metadata,
|
|
286
|
+
preferred_locale: preferred_locale,
|
|
287
|
+
use_browser_language: use_browser_language,
|
|
288
|
+
extended_properties: extended_properties,
|
|
289
|
+
extended_preferences: extended_preferences,
|
|
290
|
+
trigger_welcome_email: trigger_welcome_email,
|
|
291
|
+
trigger_activation_email: trigger_activation_email,
|
|
292
|
+
additional_properties: additional_properties)
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
# Provides a human-readable string representation of the object.
|
|
296
|
+
def to_s
|
|
297
|
+
class_name = self.class.name.split('::').last
|
|
298
|
+
"<#{class_name} name: #{@name}, display_name: #{@display_name}, password: #{@password},"\
|
|
299
|
+
" email: #{@email}, account_type: #{@account_type}, account_status: #{@account_status},"\
|
|
300
|
+
" org_identifiers: #{@org_identifiers}, group_identifiers: #{@group_identifiers},"\
|
|
301
|
+
" visibility: #{@visibility}, notify_on_share: #{@notify_on_share},"\
|
|
302
|
+
" show_onboarding_experience: #{@show_onboarding_experience},"\
|
|
303
|
+
" onboarding_experience_completed: #{@onboarding_experience_completed},"\
|
|
304
|
+
" home_liveboard_identifier: #{@home_liveboard_identifier}, favorite_metadata:"\
|
|
305
|
+
" #{@favorite_metadata}, preferred_locale: #{@preferred_locale}, use_browser_language:"\
|
|
306
|
+
" #{@use_browser_language}, extended_properties: #{@extended_properties},"\
|
|
307
|
+
" extended_preferences: #{@extended_preferences}, trigger_welcome_email:"\
|
|
308
|
+
" #{@trigger_welcome_email}, trigger_activation_email: #{@trigger_activation_email},"\
|
|
309
|
+
" additional_properties: #{@additional_properties}>"
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
313
|
+
def inspect
|
|
314
|
+
class_name = self.class.name.split('::').last
|
|
315
|
+
"<#{class_name} name: #{@name.inspect}, display_name: #{@display_name.inspect}, password:"\
|
|
316
|
+
" #{@password.inspect}, email: #{@email.inspect}, account_type: #{@account_type.inspect},"\
|
|
317
|
+
" account_status: #{@account_status.inspect}, org_identifiers: #{@org_identifiers.inspect},"\
|
|
318
|
+
" group_identifiers: #{@group_identifiers.inspect}, visibility: #{@visibility.inspect},"\
|
|
319
|
+
" notify_on_share: #{@notify_on_share.inspect}, show_onboarding_experience:"\
|
|
320
|
+
" #{@show_onboarding_experience.inspect}, onboarding_experience_completed:"\
|
|
321
|
+
" #{@onboarding_experience_completed.inspect}, home_liveboard_identifier:"\
|
|
322
|
+
" #{@home_liveboard_identifier.inspect}, favorite_metadata: #{@favorite_metadata.inspect},"\
|
|
323
|
+
" preferred_locale: #{@preferred_locale.inspect}, use_browser_language:"\
|
|
324
|
+
" #{@use_browser_language.inspect}, extended_properties: #{@extended_properties.inspect},"\
|
|
325
|
+
" extended_preferences: #{@extended_preferences.inspect}, trigger_welcome_email:"\
|
|
326
|
+
" #{@trigger_welcome_email.inspect}, trigger_activation_email:"\
|
|
327
|
+
" #{@trigger_activation_email.inspect}, additional_properties: #{@additional_properties}>"
|
|
328
|
+
end
|
|
329
|
+
end
|
|
330
|
+
end
|