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,684 @@
|
|
|
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
|
+
# User Model.
|
|
8
|
+
class User < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# Unique identifier of the user.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :id
|
|
15
|
+
|
|
16
|
+
# Name of the user.
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :name
|
|
19
|
+
|
|
20
|
+
# Display name of the user.
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :display_name
|
|
23
|
+
|
|
24
|
+
# Visibility of the users. The `SHARABLE` property makes a user visible to
|
|
25
|
+
# other users and group, who can share objects with the user.
|
|
26
|
+
# @return [Visibility]
|
|
27
|
+
attr_accessor :visibility
|
|
28
|
+
|
|
29
|
+
# Unique identifier of author of the user.
|
|
30
|
+
# @return [String]
|
|
31
|
+
attr_accessor :author_id
|
|
32
|
+
|
|
33
|
+
# Defines whether the user can change their password.
|
|
34
|
+
# @return [TrueClass | FalseClass]
|
|
35
|
+
attr_accessor :can_change_password
|
|
36
|
+
|
|
37
|
+
# Defines whether the response has complete detail of the user.
|
|
38
|
+
# @return [TrueClass | FalseClass]
|
|
39
|
+
attr_accessor :complete_detail
|
|
40
|
+
|
|
41
|
+
# Creation time of the user in milliseconds.
|
|
42
|
+
# @return [Float]
|
|
43
|
+
attr_accessor :creation_time_in_millis
|
|
44
|
+
|
|
45
|
+
# The current Org context of the user.
|
|
46
|
+
# @return [Org]
|
|
47
|
+
attr_accessor :current_org
|
|
48
|
+
|
|
49
|
+
# Indicates whether the user is deleted.
|
|
50
|
+
# @return [TrueClass | FalseClass]
|
|
51
|
+
attr_accessor :deleted
|
|
52
|
+
|
|
53
|
+
# Indicates whether the user is deprecated.
|
|
54
|
+
# @return [TrueClass | FalseClass]
|
|
55
|
+
attr_accessor :deprecated
|
|
56
|
+
|
|
57
|
+
# Type of the user account.
|
|
58
|
+
# @return [AccountType]
|
|
59
|
+
attr_accessor :account_type
|
|
60
|
+
|
|
61
|
+
# Status of the user account.
|
|
62
|
+
# @return [AccountStatus]
|
|
63
|
+
attr_accessor :account_status
|
|
64
|
+
|
|
65
|
+
# Email of the user.
|
|
66
|
+
# @return [String]
|
|
67
|
+
attr_accessor :email
|
|
68
|
+
|
|
69
|
+
# Expiration time of the user in milliseconds.
|
|
70
|
+
# @return [Float]
|
|
71
|
+
attr_accessor :expiration_time_in_millis
|
|
72
|
+
|
|
73
|
+
# Indicates whether the user is external.
|
|
74
|
+
# @return [TrueClass | FalseClass]
|
|
75
|
+
attr_accessor :external
|
|
76
|
+
|
|
77
|
+
# Metadata objects to add to the users' favorites list.
|
|
78
|
+
# @return [Array[FavoriteMetadataItem]]
|
|
79
|
+
attr_accessor :favorite_metadata
|
|
80
|
+
|
|
81
|
+
# Timestamp of the first login session of the user in milliseconds.
|
|
82
|
+
# @return [Float]
|
|
83
|
+
attr_accessor :first_login_time_in_millis
|
|
84
|
+
|
|
85
|
+
# Group mask of the user.
|
|
86
|
+
# @return [Integer]
|
|
87
|
+
attr_accessor :group_mask
|
|
88
|
+
|
|
89
|
+
# Indicates whether the user is hidden.
|
|
90
|
+
# @return [TrueClass | FalseClass]
|
|
91
|
+
attr_accessor :hidden
|
|
92
|
+
|
|
93
|
+
# The object representation with ID and Name.
|
|
94
|
+
# @return [ObjectIdAndName]
|
|
95
|
+
attr_accessor :home_liveboard
|
|
96
|
+
|
|
97
|
+
# Incomplete details of user if any present.
|
|
98
|
+
# @return [Object]
|
|
99
|
+
attr_accessor :incomplete_details
|
|
100
|
+
|
|
101
|
+
# Indicates whether it is first login of the user.
|
|
102
|
+
# @return [TrueClass | FalseClass]
|
|
103
|
+
attr_accessor :is_first_login
|
|
104
|
+
|
|
105
|
+
# Last modified time of the user in milliseconds.
|
|
106
|
+
# @return [Float]
|
|
107
|
+
attr_accessor :modification_time_in_millis
|
|
108
|
+
|
|
109
|
+
# Unique identifier of modifier of the user.
|
|
110
|
+
# @return [String]
|
|
111
|
+
attr_accessor :modifier_id
|
|
112
|
+
|
|
113
|
+
# User preference for receiving email notifications on shared Answers or
|
|
114
|
+
# Liveboard.
|
|
115
|
+
# @return [TrueClass | FalseClass]
|
|
116
|
+
attr_accessor :notify_on_share
|
|
117
|
+
|
|
118
|
+
# The user preference for turning off the onboarding experience.
|
|
119
|
+
# @return [TrueClass | FalseClass]
|
|
120
|
+
attr_accessor :onboarding_experience_completed
|
|
121
|
+
|
|
122
|
+
# Orgs to which the user belongs.
|
|
123
|
+
# @return [Array[Org]]
|
|
124
|
+
attr_accessor :orgs
|
|
125
|
+
|
|
126
|
+
# Unique identifier of owner of the user.
|
|
127
|
+
# @return [String]
|
|
128
|
+
attr_accessor :owner_id
|
|
129
|
+
|
|
130
|
+
# Parent type of the user.
|
|
131
|
+
# @return [ParentType]
|
|
132
|
+
attr_accessor :parent_type
|
|
133
|
+
|
|
134
|
+
# Privileges which are assigned to the user.
|
|
135
|
+
# @return [Array[String]]
|
|
136
|
+
attr_accessor :privileges
|
|
137
|
+
|
|
138
|
+
# User's preference to revisit the new user onboarding experience.
|
|
139
|
+
# @return [TrueClass | FalseClass]
|
|
140
|
+
attr_accessor :show_onboarding_experience
|
|
141
|
+
|
|
142
|
+
# Indicates whether the user is a super user.
|
|
143
|
+
# @return [TrueClass | FalseClass]
|
|
144
|
+
attr_accessor :super_user
|
|
145
|
+
|
|
146
|
+
# Indicates whether the user is a system user.
|
|
147
|
+
# @return [TrueClass | FalseClass]
|
|
148
|
+
attr_accessor :system_user
|
|
149
|
+
|
|
150
|
+
# Tags associated with the user.
|
|
151
|
+
# @return [Array[ObjectIdAndName]]
|
|
152
|
+
attr_accessor :tags
|
|
153
|
+
|
|
154
|
+
# Unique identifier of tenant of the user.
|
|
155
|
+
# @return [String]
|
|
156
|
+
attr_accessor :tenant_id
|
|
157
|
+
|
|
158
|
+
# Groups to which the user is assigned.
|
|
159
|
+
# @return [Array[ObjectIdAndName]]
|
|
160
|
+
attr_accessor :user_groups
|
|
161
|
+
|
|
162
|
+
# Inherited User Groups which the user is part of.
|
|
163
|
+
# @return [Array[ObjectIdAndName]]
|
|
164
|
+
attr_accessor :user_inherited_groups
|
|
165
|
+
|
|
166
|
+
# Indicates whether welcome email is sent for the user.
|
|
167
|
+
# @return [TrueClass | FalseClass]
|
|
168
|
+
attr_accessor :welcome_email_sent
|
|
169
|
+
|
|
170
|
+
# Privileges which are assigned to the user with org.
|
|
171
|
+
# @return [Object]
|
|
172
|
+
attr_accessor :org_privileges
|
|
173
|
+
|
|
174
|
+
# Locale for the user.
|
|
175
|
+
# @return [String]
|
|
176
|
+
attr_accessor :preferred_locale
|
|
177
|
+
|
|
178
|
+
# Flag to indicate whether to use the browser locale for the user in the UI.
|
|
179
|
+
# When set to true, the preferred_locale value is unset and the browser's
|
|
180
|
+
# language setting takes precedence. <br/> <span
|
|
181
|
+
# class="since-beta-tag">Version: 26.3.0.cl or later</span>
|
|
182
|
+
# @return [TrueClass | FalseClass]
|
|
183
|
+
attr_accessor :use_browser_language
|
|
184
|
+
|
|
185
|
+
# Properties for the user
|
|
186
|
+
# @return [Object]
|
|
187
|
+
attr_accessor :extended_properties
|
|
188
|
+
|
|
189
|
+
# Preferences for the user
|
|
190
|
+
# @return [Object]
|
|
191
|
+
attr_accessor :extended_preferences
|
|
192
|
+
|
|
193
|
+
# User Parameters which are specified for the user via JWToken
|
|
194
|
+
# @return [Object]
|
|
195
|
+
attr_accessor :user_parameters
|
|
196
|
+
|
|
197
|
+
# Access Control Properties which are specified for the user via JWToken
|
|
198
|
+
# @return [Object]
|
|
199
|
+
attr_accessor :access_control_properties
|
|
200
|
+
|
|
201
|
+
# Formula Variables which are specified for the user via JWToken
|
|
202
|
+
# @return [Object]
|
|
203
|
+
attr_accessor :variable_values
|
|
204
|
+
|
|
205
|
+
# A mapping from model property names to API property names.
|
|
206
|
+
def self.names
|
|
207
|
+
@_hash = {} if @_hash.nil?
|
|
208
|
+
@_hash['id'] = 'id'
|
|
209
|
+
@_hash['name'] = 'name'
|
|
210
|
+
@_hash['display_name'] = 'display_name'
|
|
211
|
+
@_hash['visibility'] = 'visibility'
|
|
212
|
+
@_hash['author_id'] = 'author_id'
|
|
213
|
+
@_hash['can_change_password'] = 'can_change_password'
|
|
214
|
+
@_hash['complete_detail'] = 'complete_detail'
|
|
215
|
+
@_hash['creation_time_in_millis'] = 'creation_time_in_millis'
|
|
216
|
+
@_hash['current_org'] = 'current_org'
|
|
217
|
+
@_hash['deleted'] = 'deleted'
|
|
218
|
+
@_hash['deprecated'] = 'deprecated'
|
|
219
|
+
@_hash['account_type'] = 'account_type'
|
|
220
|
+
@_hash['account_status'] = 'account_status'
|
|
221
|
+
@_hash['email'] = 'email'
|
|
222
|
+
@_hash['expiration_time_in_millis'] = 'expiration_time_in_millis'
|
|
223
|
+
@_hash['external'] = 'external'
|
|
224
|
+
@_hash['favorite_metadata'] = 'favorite_metadata'
|
|
225
|
+
@_hash['first_login_time_in_millis'] = 'first_login_time_in_millis'
|
|
226
|
+
@_hash['group_mask'] = 'group_mask'
|
|
227
|
+
@_hash['hidden'] = 'hidden'
|
|
228
|
+
@_hash['home_liveboard'] = 'home_liveboard'
|
|
229
|
+
@_hash['incomplete_details'] = 'incomplete_details'
|
|
230
|
+
@_hash['is_first_login'] = 'is_first_login'
|
|
231
|
+
@_hash['modification_time_in_millis'] = 'modification_time_in_millis'
|
|
232
|
+
@_hash['modifier_id'] = 'modifier_id'
|
|
233
|
+
@_hash['notify_on_share'] = 'notify_on_share'
|
|
234
|
+
@_hash['onboarding_experience_completed'] =
|
|
235
|
+
'onboarding_experience_completed'
|
|
236
|
+
@_hash['orgs'] = 'orgs'
|
|
237
|
+
@_hash['owner_id'] = 'owner_id'
|
|
238
|
+
@_hash['parent_type'] = 'parent_type'
|
|
239
|
+
@_hash['privileges'] = 'privileges'
|
|
240
|
+
@_hash['show_onboarding_experience'] = 'show_onboarding_experience'
|
|
241
|
+
@_hash['super_user'] = 'super_user'
|
|
242
|
+
@_hash['system_user'] = 'system_user'
|
|
243
|
+
@_hash['tags'] = 'tags'
|
|
244
|
+
@_hash['tenant_id'] = 'tenant_id'
|
|
245
|
+
@_hash['user_groups'] = 'user_groups'
|
|
246
|
+
@_hash['user_inherited_groups'] = 'user_inherited_groups'
|
|
247
|
+
@_hash['welcome_email_sent'] = 'welcome_email_sent'
|
|
248
|
+
@_hash['org_privileges'] = 'org_privileges'
|
|
249
|
+
@_hash['preferred_locale'] = 'preferred_locale'
|
|
250
|
+
@_hash['use_browser_language'] = 'use_browser_language'
|
|
251
|
+
@_hash['extended_properties'] = 'extended_properties'
|
|
252
|
+
@_hash['extended_preferences'] = 'extended_preferences'
|
|
253
|
+
@_hash['user_parameters'] = 'user_parameters'
|
|
254
|
+
@_hash['access_control_properties'] = 'access_control_properties'
|
|
255
|
+
@_hash['variable_values'] = 'variable_values'
|
|
256
|
+
@_hash
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# An array for optional fields
|
|
260
|
+
def self.optionals
|
|
261
|
+
%w[
|
|
262
|
+
author_id
|
|
263
|
+
can_change_password
|
|
264
|
+
complete_detail
|
|
265
|
+
creation_time_in_millis
|
|
266
|
+
current_org
|
|
267
|
+
deleted
|
|
268
|
+
deprecated
|
|
269
|
+
account_type
|
|
270
|
+
account_status
|
|
271
|
+
email
|
|
272
|
+
expiration_time_in_millis
|
|
273
|
+
external
|
|
274
|
+
favorite_metadata
|
|
275
|
+
first_login_time_in_millis
|
|
276
|
+
group_mask
|
|
277
|
+
hidden
|
|
278
|
+
home_liveboard
|
|
279
|
+
incomplete_details
|
|
280
|
+
is_first_login
|
|
281
|
+
modification_time_in_millis
|
|
282
|
+
modifier_id
|
|
283
|
+
notify_on_share
|
|
284
|
+
onboarding_experience_completed
|
|
285
|
+
orgs
|
|
286
|
+
owner_id
|
|
287
|
+
parent_type
|
|
288
|
+
privileges
|
|
289
|
+
show_onboarding_experience
|
|
290
|
+
super_user
|
|
291
|
+
system_user
|
|
292
|
+
tags
|
|
293
|
+
tenant_id
|
|
294
|
+
user_groups
|
|
295
|
+
user_inherited_groups
|
|
296
|
+
welcome_email_sent
|
|
297
|
+
org_privileges
|
|
298
|
+
preferred_locale
|
|
299
|
+
use_browser_language
|
|
300
|
+
extended_properties
|
|
301
|
+
extended_preferences
|
|
302
|
+
user_parameters
|
|
303
|
+
access_control_properties
|
|
304
|
+
variable_values
|
|
305
|
+
]
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# An array for nullable fields
|
|
309
|
+
def self.nullables
|
|
310
|
+
%w[
|
|
311
|
+
author_id
|
|
312
|
+
can_change_password
|
|
313
|
+
complete_detail
|
|
314
|
+
creation_time_in_millis
|
|
315
|
+
deleted
|
|
316
|
+
deprecated
|
|
317
|
+
account_type
|
|
318
|
+
account_status
|
|
319
|
+
email
|
|
320
|
+
expiration_time_in_millis
|
|
321
|
+
external
|
|
322
|
+
favorite_metadata
|
|
323
|
+
first_login_time_in_millis
|
|
324
|
+
group_mask
|
|
325
|
+
hidden
|
|
326
|
+
incomplete_details
|
|
327
|
+
is_first_login
|
|
328
|
+
modification_time_in_millis
|
|
329
|
+
modifier_id
|
|
330
|
+
notify_on_share
|
|
331
|
+
onboarding_experience_completed
|
|
332
|
+
orgs
|
|
333
|
+
owner_id
|
|
334
|
+
parent_type
|
|
335
|
+
privileges
|
|
336
|
+
show_onboarding_experience
|
|
337
|
+
super_user
|
|
338
|
+
system_user
|
|
339
|
+
tags
|
|
340
|
+
tenant_id
|
|
341
|
+
user_groups
|
|
342
|
+
user_inherited_groups
|
|
343
|
+
welcome_email_sent
|
|
344
|
+
org_privileges
|
|
345
|
+
preferred_locale
|
|
346
|
+
use_browser_language
|
|
347
|
+
extended_properties
|
|
348
|
+
extended_preferences
|
|
349
|
+
user_parameters
|
|
350
|
+
access_control_properties
|
|
351
|
+
variable_values
|
|
352
|
+
]
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
def initialize(id:, name:, display_name:, visibility:, author_id: SKIP,
|
|
356
|
+
can_change_password: SKIP, complete_detail: SKIP,
|
|
357
|
+
creation_time_in_millis: SKIP, current_org: SKIP,
|
|
358
|
+
deleted: SKIP, deprecated: SKIP, account_type: SKIP,
|
|
359
|
+
account_status: SKIP, email: SKIP,
|
|
360
|
+
expiration_time_in_millis: SKIP, external: SKIP,
|
|
361
|
+
favorite_metadata: SKIP, first_login_time_in_millis: SKIP,
|
|
362
|
+
group_mask: SKIP, hidden: SKIP, home_liveboard: SKIP,
|
|
363
|
+
incomplete_details: SKIP, is_first_login: SKIP,
|
|
364
|
+
modification_time_in_millis: SKIP, modifier_id: SKIP,
|
|
365
|
+
notify_on_share: SKIP, onboarding_experience_completed: SKIP,
|
|
366
|
+
orgs: SKIP, owner_id: SKIP, parent_type: SKIP,
|
|
367
|
+
privileges: SKIP, show_onboarding_experience: SKIP,
|
|
368
|
+
super_user: SKIP, system_user: SKIP, tags: SKIP,
|
|
369
|
+
tenant_id: SKIP, user_groups: SKIP,
|
|
370
|
+
user_inherited_groups: SKIP, welcome_email_sent: SKIP,
|
|
371
|
+
org_privileges: SKIP, preferred_locale: SKIP,
|
|
372
|
+
use_browser_language: SKIP, extended_properties: SKIP,
|
|
373
|
+
extended_preferences: SKIP, user_parameters: SKIP,
|
|
374
|
+
access_control_properties: SKIP, variable_values: SKIP,
|
|
375
|
+
additional_properties: nil)
|
|
376
|
+
# Add additional model properties to the instance
|
|
377
|
+
additional_properties = {} if additional_properties.nil?
|
|
378
|
+
|
|
379
|
+
@id = id
|
|
380
|
+
@name = name
|
|
381
|
+
@display_name = display_name
|
|
382
|
+
@visibility = visibility
|
|
383
|
+
@author_id = author_id unless author_id == SKIP
|
|
384
|
+
@can_change_password = can_change_password unless can_change_password == SKIP
|
|
385
|
+
@complete_detail = complete_detail unless complete_detail == SKIP
|
|
386
|
+
@creation_time_in_millis = creation_time_in_millis unless creation_time_in_millis == SKIP
|
|
387
|
+
@current_org = current_org unless current_org == SKIP
|
|
388
|
+
@deleted = deleted unless deleted == SKIP
|
|
389
|
+
@deprecated = deprecated unless deprecated == SKIP
|
|
390
|
+
@account_type = account_type unless account_type == SKIP
|
|
391
|
+
@account_status = account_status unless account_status == SKIP
|
|
392
|
+
@email = email unless email == SKIP
|
|
393
|
+
unless expiration_time_in_millis == SKIP
|
|
394
|
+
@expiration_time_in_millis =
|
|
395
|
+
expiration_time_in_millis
|
|
396
|
+
end
|
|
397
|
+
@external = external unless external == SKIP
|
|
398
|
+
@favorite_metadata = favorite_metadata unless favorite_metadata == SKIP
|
|
399
|
+
unless first_login_time_in_millis == SKIP
|
|
400
|
+
@first_login_time_in_millis =
|
|
401
|
+
first_login_time_in_millis
|
|
402
|
+
end
|
|
403
|
+
@group_mask = group_mask unless group_mask == SKIP
|
|
404
|
+
@hidden = hidden unless hidden == SKIP
|
|
405
|
+
@home_liveboard = home_liveboard unless home_liveboard == SKIP
|
|
406
|
+
@incomplete_details = incomplete_details unless incomplete_details == SKIP
|
|
407
|
+
@is_first_login = is_first_login unless is_first_login == SKIP
|
|
408
|
+
unless modification_time_in_millis == SKIP
|
|
409
|
+
@modification_time_in_millis =
|
|
410
|
+
modification_time_in_millis
|
|
411
|
+
end
|
|
412
|
+
@modifier_id = modifier_id unless modifier_id == SKIP
|
|
413
|
+
@notify_on_share = notify_on_share unless notify_on_share == SKIP
|
|
414
|
+
unless onboarding_experience_completed == SKIP
|
|
415
|
+
@onboarding_experience_completed =
|
|
416
|
+
onboarding_experience_completed
|
|
417
|
+
end
|
|
418
|
+
@orgs = orgs unless orgs == SKIP
|
|
419
|
+
@owner_id = owner_id unless owner_id == SKIP
|
|
420
|
+
@parent_type = parent_type unless parent_type == SKIP
|
|
421
|
+
@privileges = privileges unless privileges == SKIP
|
|
422
|
+
unless show_onboarding_experience == SKIP
|
|
423
|
+
@show_onboarding_experience =
|
|
424
|
+
show_onboarding_experience
|
|
425
|
+
end
|
|
426
|
+
@super_user = super_user unless super_user == SKIP
|
|
427
|
+
@system_user = system_user unless system_user == SKIP
|
|
428
|
+
@tags = tags unless tags == SKIP
|
|
429
|
+
@tenant_id = tenant_id unless tenant_id == SKIP
|
|
430
|
+
@user_groups = user_groups unless user_groups == SKIP
|
|
431
|
+
@user_inherited_groups = user_inherited_groups unless user_inherited_groups == SKIP
|
|
432
|
+
@welcome_email_sent = welcome_email_sent unless welcome_email_sent == SKIP
|
|
433
|
+
@org_privileges = org_privileges unless org_privileges == SKIP
|
|
434
|
+
@preferred_locale = preferred_locale unless preferred_locale == SKIP
|
|
435
|
+
@use_browser_language = use_browser_language unless use_browser_language == SKIP
|
|
436
|
+
@extended_properties = extended_properties unless extended_properties == SKIP
|
|
437
|
+
@extended_preferences = extended_preferences unless extended_preferences == SKIP
|
|
438
|
+
@user_parameters = user_parameters unless user_parameters == SKIP
|
|
439
|
+
unless access_control_properties == SKIP
|
|
440
|
+
@access_control_properties =
|
|
441
|
+
access_control_properties
|
|
442
|
+
end
|
|
443
|
+
@variable_values = variable_values unless variable_values == SKIP
|
|
444
|
+
@additional_properties = additional_properties
|
|
445
|
+
end
|
|
446
|
+
|
|
447
|
+
# Creates an instance of the object from a hash.
|
|
448
|
+
def self.from_hash(hash)
|
|
449
|
+
return nil unless hash
|
|
450
|
+
|
|
451
|
+
# Extract variables from the hash.
|
|
452
|
+
id = hash.key?('id') ? hash['id'] : nil
|
|
453
|
+
name = hash.key?('name') ? hash['name'] : nil
|
|
454
|
+
display_name = hash.key?('display_name') ? hash['display_name'] : nil
|
|
455
|
+
visibility = hash.key?('visibility') ? hash['visibility'] : nil
|
|
456
|
+
author_id = hash.key?('author_id') ? hash['author_id'] : SKIP
|
|
457
|
+
can_change_password =
|
|
458
|
+
hash.key?('can_change_password') ? hash['can_change_password'] : SKIP
|
|
459
|
+
complete_detail =
|
|
460
|
+
hash.key?('complete_detail') ? hash['complete_detail'] : SKIP
|
|
461
|
+
creation_time_in_millis =
|
|
462
|
+
hash.key?('creation_time_in_millis') ? hash['creation_time_in_millis'] : SKIP
|
|
463
|
+
current_org = Org.from_hash(hash['current_org']) if hash['current_org']
|
|
464
|
+
deleted = hash.key?('deleted') ? hash['deleted'] : SKIP
|
|
465
|
+
deprecated = hash.key?('deprecated') ? hash['deprecated'] : SKIP
|
|
466
|
+
account_type = hash.key?('account_type') ? hash['account_type'] : SKIP
|
|
467
|
+
account_status =
|
|
468
|
+
hash.key?('account_status') ? hash['account_status'] : SKIP
|
|
469
|
+
email = hash.key?('email') ? hash['email'] : SKIP
|
|
470
|
+
expiration_time_in_millis =
|
|
471
|
+
hash.key?('expiration_time_in_millis') ? hash['expiration_time_in_millis'] : SKIP
|
|
472
|
+
external = hash.key?('external') ? hash['external'] : SKIP
|
|
473
|
+
# Parameter is an array, so we need to iterate through it
|
|
474
|
+
favorite_metadata = nil
|
|
475
|
+
unless hash['favorite_metadata'].nil?
|
|
476
|
+
favorite_metadata = []
|
|
477
|
+
hash['favorite_metadata'].each do |structure|
|
|
478
|
+
favorite_metadata << (FavoriteMetadataItem.from_hash(structure) if structure)
|
|
479
|
+
end
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
favorite_metadata = SKIP unless hash.key?('favorite_metadata')
|
|
483
|
+
first_login_time_in_millis =
|
|
484
|
+
hash.key?('first_login_time_in_millis') ? hash['first_login_time_in_millis'] : SKIP
|
|
485
|
+
group_mask = hash.key?('group_mask') ? hash['group_mask'] : SKIP
|
|
486
|
+
hidden = hash.key?('hidden') ? hash['hidden'] : SKIP
|
|
487
|
+
home_liveboard = ObjectIdAndName.from_hash(hash['home_liveboard']) if hash['home_liveboard']
|
|
488
|
+
incomplete_details =
|
|
489
|
+
hash.key?('incomplete_details') ? hash['incomplete_details'] : SKIP
|
|
490
|
+
is_first_login =
|
|
491
|
+
hash.key?('is_first_login') ? hash['is_first_login'] : SKIP
|
|
492
|
+
modification_time_in_millis =
|
|
493
|
+
hash.key?('modification_time_in_millis') ? hash['modification_time_in_millis'] : SKIP
|
|
494
|
+
modifier_id = hash.key?('modifier_id') ? hash['modifier_id'] : SKIP
|
|
495
|
+
notify_on_share =
|
|
496
|
+
hash.key?('notify_on_share') ? hash['notify_on_share'] : SKIP
|
|
497
|
+
onboarding_experience_completed =
|
|
498
|
+
hash.key?('onboarding_experience_completed') ? hash['onboarding_experience_completed'] : SKIP
|
|
499
|
+
# Parameter is an array, so we need to iterate through it
|
|
500
|
+
orgs = nil
|
|
501
|
+
unless hash['orgs'].nil?
|
|
502
|
+
orgs = []
|
|
503
|
+
hash['orgs'].each do |structure|
|
|
504
|
+
orgs << (Org.from_hash(structure) if structure)
|
|
505
|
+
end
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
orgs = SKIP unless hash.key?('orgs')
|
|
509
|
+
owner_id = hash.key?('owner_id') ? hash['owner_id'] : SKIP
|
|
510
|
+
parent_type = hash.key?('parent_type') ? hash['parent_type'] : SKIP
|
|
511
|
+
privileges = hash.key?('privileges') ? hash['privileges'] : SKIP
|
|
512
|
+
show_onboarding_experience =
|
|
513
|
+
hash.key?('show_onboarding_experience') ? hash['show_onboarding_experience'] : SKIP
|
|
514
|
+
super_user = hash.key?('super_user') ? hash['super_user'] : SKIP
|
|
515
|
+
system_user = hash.key?('system_user') ? hash['system_user'] : SKIP
|
|
516
|
+
# Parameter is an array, so we need to iterate through it
|
|
517
|
+
tags = nil
|
|
518
|
+
unless hash['tags'].nil?
|
|
519
|
+
tags = []
|
|
520
|
+
hash['tags'].each do |structure|
|
|
521
|
+
tags << (ObjectIdAndName.from_hash(structure) if structure)
|
|
522
|
+
end
|
|
523
|
+
end
|
|
524
|
+
|
|
525
|
+
tags = SKIP unless hash.key?('tags')
|
|
526
|
+
tenant_id = hash.key?('tenant_id') ? hash['tenant_id'] : SKIP
|
|
527
|
+
# Parameter is an array, so we need to iterate through it
|
|
528
|
+
user_groups = nil
|
|
529
|
+
unless hash['user_groups'].nil?
|
|
530
|
+
user_groups = []
|
|
531
|
+
hash['user_groups'].each do |structure|
|
|
532
|
+
user_groups << (ObjectIdAndName.from_hash(structure) if structure)
|
|
533
|
+
end
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
user_groups = SKIP unless hash.key?('user_groups')
|
|
537
|
+
# Parameter is an array, so we need to iterate through it
|
|
538
|
+
user_inherited_groups = nil
|
|
539
|
+
unless hash['user_inherited_groups'].nil?
|
|
540
|
+
user_inherited_groups = []
|
|
541
|
+
hash['user_inherited_groups'].each do |structure|
|
|
542
|
+
user_inherited_groups << (ObjectIdAndName.from_hash(structure) if structure)
|
|
543
|
+
end
|
|
544
|
+
end
|
|
545
|
+
|
|
546
|
+
user_inherited_groups = SKIP unless hash.key?('user_inherited_groups')
|
|
547
|
+
welcome_email_sent =
|
|
548
|
+
hash.key?('welcome_email_sent') ? hash['welcome_email_sent'] : SKIP
|
|
549
|
+
org_privileges =
|
|
550
|
+
hash.key?('org_privileges') ? hash['org_privileges'] : SKIP
|
|
551
|
+
preferred_locale =
|
|
552
|
+
hash.key?('preferred_locale') ? hash['preferred_locale'] : SKIP
|
|
553
|
+
use_browser_language =
|
|
554
|
+
hash.key?('use_browser_language') ? hash['use_browser_language'] : SKIP
|
|
555
|
+
extended_properties =
|
|
556
|
+
hash.key?('extended_properties') ? hash['extended_properties'] : SKIP
|
|
557
|
+
extended_preferences =
|
|
558
|
+
hash.key?('extended_preferences') ? hash['extended_preferences'] : SKIP
|
|
559
|
+
user_parameters =
|
|
560
|
+
hash.key?('user_parameters') ? hash['user_parameters'] : SKIP
|
|
561
|
+
access_control_properties =
|
|
562
|
+
hash.key?('access_control_properties') ? hash['access_control_properties'] : SKIP
|
|
563
|
+
variable_values =
|
|
564
|
+
hash.key?('variable_values') ? hash['variable_values'] : SKIP
|
|
565
|
+
|
|
566
|
+
# Create a new hash for additional properties, removing known properties.
|
|
567
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
568
|
+
|
|
569
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
570
|
+
new_hash, proc { |value| value }
|
|
571
|
+
)
|
|
572
|
+
|
|
573
|
+
# Create object from extracted values.
|
|
574
|
+
User.new(id: id,
|
|
575
|
+
name: name,
|
|
576
|
+
display_name: display_name,
|
|
577
|
+
visibility: visibility,
|
|
578
|
+
author_id: author_id,
|
|
579
|
+
can_change_password: can_change_password,
|
|
580
|
+
complete_detail: complete_detail,
|
|
581
|
+
creation_time_in_millis: creation_time_in_millis,
|
|
582
|
+
current_org: current_org,
|
|
583
|
+
deleted: deleted,
|
|
584
|
+
deprecated: deprecated,
|
|
585
|
+
account_type: account_type,
|
|
586
|
+
account_status: account_status,
|
|
587
|
+
email: email,
|
|
588
|
+
expiration_time_in_millis: expiration_time_in_millis,
|
|
589
|
+
external: external,
|
|
590
|
+
favorite_metadata: favorite_metadata,
|
|
591
|
+
first_login_time_in_millis: first_login_time_in_millis,
|
|
592
|
+
group_mask: group_mask,
|
|
593
|
+
hidden: hidden,
|
|
594
|
+
home_liveboard: home_liveboard,
|
|
595
|
+
incomplete_details: incomplete_details,
|
|
596
|
+
is_first_login: is_first_login,
|
|
597
|
+
modification_time_in_millis: modification_time_in_millis,
|
|
598
|
+
modifier_id: modifier_id,
|
|
599
|
+
notify_on_share: notify_on_share,
|
|
600
|
+
onboarding_experience_completed: onboarding_experience_completed,
|
|
601
|
+
orgs: orgs,
|
|
602
|
+
owner_id: owner_id,
|
|
603
|
+
parent_type: parent_type,
|
|
604
|
+
privileges: privileges,
|
|
605
|
+
show_onboarding_experience: show_onboarding_experience,
|
|
606
|
+
super_user: super_user,
|
|
607
|
+
system_user: system_user,
|
|
608
|
+
tags: tags,
|
|
609
|
+
tenant_id: tenant_id,
|
|
610
|
+
user_groups: user_groups,
|
|
611
|
+
user_inherited_groups: user_inherited_groups,
|
|
612
|
+
welcome_email_sent: welcome_email_sent,
|
|
613
|
+
org_privileges: org_privileges,
|
|
614
|
+
preferred_locale: preferred_locale,
|
|
615
|
+
use_browser_language: use_browser_language,
|
|
616
|
+
extended_properties: extended_properties,
|
|
617
|
+
extended_preferences: extended_preferences,
|
|
618
|
+
user_parameters: user_parameters,
|
|
619
|
+
access_control_properties: access_control_properties,
|
|
620
|
+
variable_values: variable_values,
|
|
621
|
+
additional_properties: additional_properties)
|
|
622
|
+
end
|
|
623
|
+
|
|
624
|
+
# Provides a human-readable string representation of the object.
|
|
625
|
+
def to_s
|
|
626
|
+
class_name = self.class.name.split('::').last
|
|
627
|
+
"<#{class_name} id: #{@id}, name: #{@name}, display_name: #{@display_name}, visibility:"\
|
|
628
|
+
" #{@visibility}, author_id: #{@author_id}, can_change_password: #{@can_change_password},"\
|
|
629
|
+
" complete_detail: #{@complete_detail}, creation_time_in_millis:"\
|
|
630
|
+
" #{@creation_time_in_millis}, current_org: #{@current_org}, deleted: #{@deleted},"\
|
|
631
|
+
" deprecated: #{@deprecated}, account_type: #{@account_type}, account_status:"\
|
|
632
|
+
" #{@account_status}, email: #{@email}, expiration_time_in_millis:"\
|
|
633
|
+
" #{@expiration_time_in_millis}, external: #{@external}, favorite_metadata:"\
|
|
634
|
+
" #{@favorite_metadata}, first_login_time_in_millis: #{@first_login_time_in_millis},"\
|
|
635
|
+
" group_mask: #{@group_mask}, hidden: #{@hidden}, home_liveboard: #{@home_liveboard},"\
|
|
636
|
+
" incomplete_details: #{@incomplete_details}, is_first_login: #{@is_first_login},"\
|
|
637
|
+
" modification_time_in_millis: #{@modification_time_in_millis}, modifier_id:"\
|
|
638
|
+
" #{@modifier_id}, notify_on_share: #{@notify_on_share}, onboarding_experience_completed:"\
|
|
639
|
+
" #{@onboarding_experience_completed}, orgs: #{@orgs}, owner_id: #{@owner_id}, parent_type:"\
|
|
640
|
+
" #{@parent_type}, privileges: #{@privileges}, show_onboarding_experience:"\
|
|
641
|
+
" #{@show_onboarding_experience}, super_user: #{@super_user}, system_user: #{@system_user},"\
|
|
642
|
+
" tags: #{@tags}, tenant_id: #{@tenant_id}, user_groups: #{@user_groups},"\
|
|
643
|
+
" user_inherited_groups: #{@user_inherited_groups}, welcome_email_sent:"\
|
|
644
|
+
" #{@welcome_email_sent}, org_privileges: #{@org_privileges}, preferred_locale:"\
|
|
645
|
+
" #{@preferred_locale}, use_browser_language: #{@use_browser_language}, extended_properties:"\
|
|
646
|
+
" #{@extended_properties}, extended_preferences: #{@extended_preferences}, user_parameters:"\
|
|
647
|
+
" #{@user_parameters}, access_control_properties: #{@access_control_properties},"\
|
|
648
|
+
" variable_values: #{@variable_values}, additional_properties: #{@additional_properties}>"
|
|
649
|
+
end
|
|
650
|
+
|
|
651
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
652
|
+
def inspect
|
|
653
|
+
class_name = self.class.name.split('::').last
|
|
654
|
+
"<#{class_name} id: #{@id.inspect}, name: #{@name.inspect}, display_name:"\
|
|
655
|
+
" #{@display_name.inspect}, visibility: #{@visibility.inspect}, author_id:"\
|
|
656
|
+
" #{@author_id.inspect}, can_change_password: #{@can_change_password.inspect},"\
|
|
657
|
+
" complete_detail: #{@complete_detail.inspect}, creation_time_in_millis:"\
|
|
658
|
+
" #{@creation_time_in_millis.inspect}, current_org: #{@current_org.inspect}, deleted:"\
|
|
659
|
+
" #{@deleted.inspect}, deprecated: #{@deprecated.inspect}, account_type:"\
|
|
660
|
+
" #{@account_type.inspect}, account_status: #{@account_status.inspect}, email:"\
|
|
661
|
+
" #{@email.inspect}, expiration_time_in_millis: #{@expiration_time_in_millis.inspect},"\
|
|
662
|
+
" external: #{@external.inspect}, favorite_metadata: #{@favorite_metadata.inspect},"\
|
|
663
|
+
" first_login_time_in_millis: #{@first_login_time_in_millis.inspect}, group_mask:"\
|
|
664
|
+
" #{@group_mask.inspect}, hidden: #{@hidden.inspect}, home_liveboard:"\
|
|
665
|
+
" #{@home_liveboard.inspect}, incomplete_details: #{@incomplete_details.inspect},"\
|
|
666
|
+
" is_first_login: #{@is_first_login.inspect}, modification_time_in_millis:"\
|
|
667
|
+
" #{@modification_time_in_millis.inspect}, modifier_id: #{@modifier_id.inspect},"\
|
|
668
|
+
" notify_on_share: #{@notify_on_share.inspect}, onboarding_experience_completed:"\
|
|
669
|
+
" #{@onboarding_experience_completed.inspect}, orgs: #{@orgs.inspect}, owner_id:"\
|
|
670
|
+
" #{@owner_id.inspect}, parent_type: #{@parent_type.inspect}, privileges:"\
|
|
671
|
+
" #{@privileges.inspect}, show_onboarding_experience:"\
|
|
672
|
+
" #{@show_onboarding_experience.inspect}, super_user: #{@super_user.inspect}, system_user:"\
|
|
673
|
+
" #{@system_user.inspect}, tags: #{@tags.inspect}, tenant_id: #{@tenant_id.inspect},"\
|
|
674
|
+
" user_groups: #{@user_groups.inspect}, user_inherited_groups:"\
|
|
675
|
+
" #{@user_inherited_groups.inspect}, welcome_email_sent: #{@welcome_email_sent.inspect},"\
|
|
676
|
+
" org_privileges: #{@org_privileges.inspect}, preferred_locale:"\
|
|
677
|
+
" #{@preferred_locale.inspect}, use_browser_language: #{@use_browser_language.inspect},"\
|
|
678
|
+
" extended_properties: #{@extended_properties.inspect}, extended_preferences:"\
|
|
679
|
+
" #{@extended_preferences.inspect}, user_parameters: #{@user_parameters.inspect},"\
|
|
680
|
+
" access_control_properties: #{@access_control_properties.inspect}, variable_values:"\
|
|
681
|
+
" #{@variable_values.inspect}, additional_properties: #{@additional_properties}>"
|
|
682
|
+
end
|
|
683
|
+
end
|
|
684
|
+
end
|