/** * 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 { StyleChartColorPalette } from '../models/StyleChartColorPalette'; import { StyleEmbeddedFooterText } from '../models/StyleEmbeddedFooterText'; import { StyleLogoStatus } from '../models/StyleLogoStatus'; import { StyleNavigationPanel } from '../models/StyleNavigationPanel'; import { StyleOrgInfo } from '../models/StyleOrgInfo'; import { StyleVisualizationFonts } from '../models/StyleVisualizationFonts'; import { HttpFile } from '../http/http'; /** * Style preferences for a single scope entry. */ export class StylePreference { /** * Scope at which these style preferences apply. */ 'scope'?: StylePreferenceScopeEnum | null; 'org'?: StyleOrgInfo; 'navigation_panel'?: StyleNavigationPanel; 'chart_color_palette'?: StyleChartColorPalette; 'embedded_footer_text'?: StyleEmbeddedFooterText; 'logo'?: StyleLogoStatus; 'visualization_fonts'?: StyleVisualizationFonts; 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": "StylePreferenceScopeEnum", "format": "" }, { "name": "org", "baseName": "org", "type": "StyleOrgInfo", "format": "" }, { "name": "navigation_panel", "baseName": "navigation_panel", "type": "StyleNavigationPanel", "format": "" }, { "name": "chart_color_palette", "baseName": "chart_color_palette", "type": "StyleChartColorPalette", "format": "" }, { "name": "embedded_footer_text", "baseName": "embedded_footer_text", "type": "StyleEmbeddedFooterText", "format": "" }, { "name": "logo", "baseName": "logo", "type": "StyleLogoStatus", "format": "" }, { "name": "visualization_fonts", "baseName": "visualization_fonts", "type": "StyleVisualizationFonts", "format": "" } ]; static getAttributeTypeMap() { return StylePreference.attributeTypeMap; } public constructor() { } } export type StylePreferenceScopeEnum = "CLUSTER" | "ORG" ;