/** * 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 { HttpFile } from '../http/http'; export class MetadataListItemInput { /** * Unique ID or name of the metadata. */ 'identifier'?: string | null; /** * CustomObjectId of the metadata. */ 'obj_identifier'?: string | null; /** * A pattern to match the case-insensitive name of the metadata object. User % for a wildcard match. */ 'name_pattern'?: string | null; /** * Type of metadata. Required if the name of the object is set as identifier. This attribute is optional when the object GUID is specified as identifier. 1. Liveboard 2. Answers 3. LOGICAL_TABLE for any data object such as table, worksheet or view. 4. LOGICAL_COLUMN for a column of any data object such as table, worksheet or view. 5. CONNECTION for creating or modify data connections. 6. TAG for tag objects. 7. USER for user objects. 8. USER_GROUP for group objects. 9. LOGICAL_RELATIONSHIP for table or worksheet joins. A join combines from one or several data object by using matching values 10. INSIGHT_SPEC for SpotIQ objects */ 'type'?: MetadataListItemInputTypeEnum | null; /** * List of subtype of metadata. Applies for LOGICAL_TABLE type with the following valid values. 1. ONE_TO_ONE_LOGICAL 2. WORKSHEET 3. PRIVATE_WORKSHEET. 4. USER_DEFINED. 5. AGGR_WORKSHEET. 6. SQL_VIEW Version: 10.11.0.cl or later */ 'subtypes'?: Array | null; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "identifier", "baseName": "identifier", "type": "string", "format": "" }, { "name": "obj_identifier", "baseName": "obj_identifier", "type": "string", "format": "" }, { "name": "name_pattern", "baseName": "name_pattern", "type": "string", "format": "" }, { "name": "type", "baseName": "type", "type": "MetadataListItemInputTypeEnum", "format": "" }, { "name": "subtypes", "baseName": "subtypes", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return MetadataListItemInput.attributeTypeMap; } public constructor() { } } export type MetadataListItemInputTypeEnum = "LIVEBOARD" | "ANSWER" | "LOGICAL_TABLE" | "LOGICAL_COLUMN" | "CONNECTION" | "TAG" | "USER" | "USER_GROUP" | "LOGICAL_RELATIONSHIP" | "INSIGHT_SPEC" ; export type MetadataListItemInputSubtypesEnum = "ONE_TO_ONE_LOGICAL" | "WORKSHEET" | "PRIVATE_WORKSHEET" | "USER_DEFINED" | "AGGR_WORKSHEET" | "SQL_VIEW" ;