/** * 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 UpdateFeatureValueRequest { /** * Determines the scope at which the value is set. Use CLUSTER to set the cluster-level value; use ORG to set a per-Org value override. */ 'scope': UpdateFeatureValueRequestScopeEnum; /** * Numeric ID of the Org for which to set the value. Required when scope is ORG; ignored when scope is CLUSTER. */ 'org_identifier'?: number; /** * User-friendly feature name (feature_name) or the underlying feature ID (feature_id) of the feature whose value should be set. */ 'feature_identifier': string; /** * New value to set for the feature. */ 'feature_value': string; /** * Applicable only when `scope` is `CLUSTER`. When `true`, any existing per-Org value overrides for this feature are removed so that all Orgs inherit the new cluster-level value. Required when `scope` is `CLUSTER` for an org-aware feature. Must be omitted when `scope` is `ORG`; passing it at `ORG` scope returns a 400 error. */ 'reset_org_overrides'?: boolean | null; 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": "scope", "baseName": "scope", "type": "UpdateFeatureValueRequestScopeEnum", "format": "" }, { "name": "org_identifier", "baseName": "org_identifier", "type": "number", "format": "int32" }, { "name": "feature_identifier", "baseName": "feature_identifier", "type": "string", "format": "" }, { "name": "feature_value", "baseName": "feature_value", "type": "string", "format": "" }, { "name": "reset_org_overrides", "baseName": "reset_org_overrides", "type": "boolean", "format": "" } ]; static getAttributeTypeMap() { return UpdateFeatureValueRequest.attributeTypeMap; } public constructor() { } } export type UpdateFeatureValueRequestScopeEnum = "CLUSTER" | "ORG" ;