/** * 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 { SearchCollectionsRequestSortOptions } from '../models/SearchCollectionsRequestSortOptions'; import { HttpFile } from '../http/http'; export class SearchCollectionsRequest { /** * A pattern to match case-insensitive name of the Collection object. Use \'%\' for wildcard match. */ 'name_pattern'?: string; /** * The starting record number from where the records should be included. */ 'record_offset'?: number; /** * The number of records that should be included. -1 implies no pagination. */ 'record_size'?: number; /** * Unique GUIDs of collections to search. Note: Collection names cannot be used as identifiers since duplicate names are allowed. */ 'collection_identifiers'?: Array; /** * Filter collections by author. Provide unique IDs or names of users who created the collections. */ 'created_by_user_identifiers'?: Array; /** * Include collection metadata items in the response. */ 'include_metadata'?: boolean | null; 'sort_options'?: SearchCollectionsRequestSortOptions; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "name_pattern", "baseName": "name_pattern", "type": "string", "format": "" }, { "name": "record_offset", "baseName": "record_offset", "type": "number", "format": "int32" }, { "name": "record_size", "baseName": "record_size", "type": "number", "format": "int32" }, { "name": "collection_identifiers", "baseName": "collection_identifiers", "type": "Array", "format": "" }, { "name": "created_by_user_identifiers", "baseName": "created_by_user_identifiers", "type": "Array", "format": "" }, { "name": "include_metadata", "baseName": "include_metadata", "type": "boolean", "format": "" }, { "name": "sort_options", "baseName": "sort_options", "type": "SearchCollectionsRequestSortOptions", "format": "" } ]; static getAttributeTypeMap() { return SearchCollectionsRequest.attributeTypeMap; } public constructor() { } }