/** * 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 { ObjectPrivilegesMetadataInput } from '../models/ObjectPrivilegesMetadataInput'; import { PrincipalsInput } from '../models/PrincipalsInput'; import { HttpFile } from '../http/http'; export class FetchObjectPrivilegesRequest { /** * Metadata objects for which you want to fetch object privileges. For now only LOGICAL_TABLE is supported. It may be extended to other metadata types in the future. */ 'metadata': Array; /** * User or group objects for which you want to fetch object privileges. If not specified, the API returns all users and groups that have object privileges on the specified metadata objects. */ 'principals'?: Array; /** * The starting record number from where the records should be included for each metadata type. */ 'record_offset'?: number; /** * The number of records that should be included for each metadata type. */ 'record_size'?: number; 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": "principals", "baseName": "principals", "type": "Array", "format": "" }, { "name": "record_offset", "baseName": "record_offset", "type": "number", "format": "int32" }, { "name": "record_size", "baseName": "record_size", "type": "number", "format": "int32" } ]; static getAttributeTypeMap() { return FetchObjectPrivilegesRequest.attributeTypeMap; } public constructor() { } }