/** * ThoughtSpot Public REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ExcludeMetadataListItemInput } from '../models/ExcludeMetadataListItemInput'; import { MetadataListItemInput } from '../models/MetadataListItemInput'; import { PermissionInput } from '../models/PermissionInput'; import { SearchMetadataRequestFavoriteObjectOptions } from '../models/SearchMetadataRequestFavoriteObjectOptions'; import { SearchMetadataRequestSortOptions } from '../models/SearchMetadataRequestSortOptions'; import { HttpFile } from '../http/http'; export class SearchMetadataRequest { /** * Metadata objects such as Liveboards, Answers, and Worksheets. */ 'metadata'?: Array; /** * Object permission details to search by. */ 'permissions'?: Array; /** * GUID or name of user who created the metadata object. */ 'created_by_user_identifiers'?: Array; /** * Version of the dependent table of the metadata objects like Worksheets. */ 'dependent_object_version'?: SearchMetadataRequestDependentObjectVersionEnum; /** * List of metadata objects to exclude from search. */ 'exclude_objects'?: Array; 'favorite_object_options'?: SearchMetadataRequestFavoriteObjectOptions; /** * Includes system-generated metadata objects. */ 'include_auto_created_objects'?: boolean | null; /** * Includes dependents of the metadata object specified in the API request. For example, a worksheet can consist of dependent objects such as Liveboards or Answers. */ 'include_dependent_objects'?: boolean | null; /** * The maximum number of dependents to include per metadata object. */ 'dependent_objects_record_size'?: number; /** * Includes complete details of the metadata objects. */ 'include_details'?: boolean | null; /** * Includes headers of the metadata objects. */ 'include_headers'?: boolean | null; /** * Includes details of the hidden objects, such as a column in a worksheet or a table. */ 'include_hidden_objects'?: boolean | null; /** * Includes objects with incomplete metadata. */ 'include_incomplete_objects'?: boolean | null; /** * Includes visualization headers of the specified Liveboard object. */ 'include_visualization_headers'?: boolean | null; /** * If search assistance lessons are configured on a worksheet, the API returns the search assist data for Worksheet objects. */ 'include_worksheet_search_assist_data'?: boolean | null; /** * Includes ID or names of the users who modified the metadata object. */ 'modified_by_user_identifiers'?: Array; /** * The starting record number from where the records should be included. */ 'record_offset'?: number; /** * The number of records that should be included. It is recommended to use a smaller `record_size` when fetching dependent objects or any of the additional metadata detail options. */ 'record_size'?: number; 'sort_options'?: SearchMetadataRequestSortOptions; /** * Tags to filter metadata objects by */ 'tag_identifiers'?: Array; /** * Indicates whether to include stats of the metadata objects. */ 'include_stats'?: boolean | null; /** *
Version: 10.7.0.cl or later
Boolean to indicate whether to include discoverable metadata objects. */ 'include_discoverable_objects'?: boolean | null; /** *
Version: 10.9.0.cl or later
Indicates whether to show resolved parameterised values. */ 'show_resolved_parameters'?: boolean | null; /** * Indicates the model version of Liveboard to be attached in metadata detail. */ 'liveboard_response_version'?: SearchMetadataRequestLiveboardResponseVersionEnum; /** *
Version: 10.11.0.cl or later
If only published objects should be returned */ 'include_only_published_objects'?: boolean | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "metadata", "baseName": "metadata", "type": "Array", "format": "" }, { "name": "permissions", "baseName": "permissions", "type": "Array", "format": "" }, { "name": "created_by_user_identifiers", "baseName": "created_by_user_identifiers", "type": "Array", "format": "" }, { "name": "dependent_object_version", "baseName": "dependent_object_version", "type": "SearchMetadataRequestDependentObjectVersionEnum", "format": "" }, { "name": "exclude_objects", "baseName": "exclude_objects", "type": "Array", "format": "" }, { "name": "favorite_object_options", "baseName": "favorite_object_options", "type": "SearchMetadataRequestFavoriteObjectOptions", "format": "" }, { "name": "include_auto_created_objects", "baseName": "include_auto_created_objects", "type": "boolean", "format": "" }, { "name": "include_dependent_objects", "baseName": "include_dependent_objects", "type": "boolean", "format": "" }, { "name": "dependent_objects_record_size", "baseName": "dependent_objects_record_size", "type": "number", "format": "int32" }, { "name": "include_details", "baseName": "include_details", "type": "boolean", "format": "" }, { "name": "include_headers", "baseName": "include_headers", "type": "boolean", "format": "" }, { "name": "include_hidden_objects", "baseName": "include_hidden_objects", "type": "boolean", "format": "" }, { "name": "include_incomplete_objects", "baseName": "include_incomplete_objects", "type": "boolean", "format": "" }, { "name": "include_visualization_headers", "baseName": "include_visualization_headers", "type": "boolean", "format": "" }, { "name": "include_worksheet_search_assist_data", "baseName": "include_worksheet_search_assist_data", "type": "boolean", "format": "" }, { "name": "modified_by_user_identifiers", "baseName": "modified_by_user_identifiers", "type": "Array", "format": "" }, { "name": "record_offset", "baseName": "record_offset", "type": "number", "format": "int32" }, { "name": "record_size", "baseName": "record_size", "type": "number", "format": "int32" }, { "name": "sort_options", "baseName": "sort_options", "type": "SearchMetadataRequestSortOptions", "format": "" }, { "name": "tag_identifiers", "baseName": "tag_identifiers", "type": "Array", "format": "" }, { "name": "include_stats", "baseName": "include_stats", "type": "boolean", "format": "" }, { "name": "include_discoverable_objects", "baseName": "include_discoverable_objects", "type": "boolean", "format": "" }, { "name": "show_resolved_parameters", "baseName": "show_resolved_parameters", "type": "boolean", "format": "" }, { "name": "liveboard_response_version", "baseName": "liveboard_response_version", "type": "SearchMetadataRequestLiveboardResponseVersionEnum", "format": "" }, { "name": "include_only_published_objects", "baseName": "include_only_published_objects", "type": "boolean", "format": "" } ]; static getAttributeTypeMap() { return SearchMetadataRequest.attributeTypeMap; } public constructor() { } } export type SearchMetadataRequestDependentObjectVersionEnum = "V1" | "V2" ; export type SearchMetadataRequestLiveboardResponseVersionEnum = "V1" | "V2" ;