/** * 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 UpdateFeatureAssignmentsRequest { /** * User-friendly feature name (feature_name) or the underlying feature ID (feature_id) of the feature whose Org assignments should be updated. */ 'feature_identifier': string; /** * Numeric IDs of the Orgs to assign to the feature. Send an empty array with operation REPLACE to clear all Org assignments for this feature. */ 'org_identifiers': Array; /** * Type of update to apply to the Org assignments. ADD assigns the given Orgs in addition to existing ones; REMOVE unassigns the given Orgs; REPLACE sets the assignment to exactly the given Orgs. Defaults to REPLACE. */ 'operation'?: UpdateFeatureAssignmentsRequestOperationEnum; static readonly discriminator: string | undefined = undefined; static readonly mapping: {[index: string]: string} | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "feature_identifier", "baseName": "feature_identifier", "type": "string", "format": "" }, { "name": "org_identifiers", "baseName": "org_identifiers", "type": "Array", "format": "int32" }, { "name": "operation", "baseName": "operation", "type": "UpdateFeatureAssignmentsRequestOperationEnum", "format": "" } ]; static getAttributeTypeMap() { return UpdateFeatureAssignmentsRequest.attributeTypeMap; } public constructor() { } } export type UpdateFeatureAssignmentsRequestOperationEnum = "ADD" | "REMOVE" | "REPLACE" ;