/** * 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 { StyleFontAssignment } from '../models/StyleFontAssignment'; import { StyleOrgInfo } from '../models/StyleOrgInfo'; import { HttpFile } from '../http/http'; /** * A custom font record in the font library. */ export class StyleFontRecord { /** * Unique UUID identifier of the font. */ 'id': string; /** * Scope indicating whether this font belongs to the cluster or org library. */ 'scope'?: StyleFontRecordScopeEnum | null; 'org'?: StyleOrgInfo; /** * Display name of the font. */ 'name': string; /** * Weight of the font. */ 'weight'?: StyleFontRecordWeightEnum | null; /** * Style of the font. */ 'style'?: StyleFontRecordStyleEnum | null; /** * Color of the font as a 6-digit hex string. */ 'color'?: string | null; /** * Timestamp in milliseconds when the font was uploaded. */ 'creation_time_in_millis'?: number | null; /** * Visualization areas currently assigned to this font. Empty if not assigned to any area. Populated only when include_font_assignments is true. */ 'assignments'?: Array | 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": "id", "baseName": "id", "type": "string", "format": "" }, { "name": "scope", "baseName": "scope", "type": "StyleFontRecordScopeEnum", "format": "" }, { "name": "org", "baseName": "org", "type": "StyleOrgInfo", "format": "" }, { "name": "name", "baseName": "name", "type": "string", "format": "" }, { "name": "weight", "baseName": "weight", "type": "StyleFontRecordWeightEnum", "format": "" }, { "name": "style", "baseName": "style", "type": "StyleFontRecordStyleEnum", "format": "" }, { "name": "color", "baseName": "color", "type": "string", "format": "" }, { "name": "creation_time_in_millis", "baseName": "creation_time_in_millis", "type": "number", "format": "float" }, { "name": "assignments", "baseName": "assignments", "type": "Array", "format": "" } ]; static getAttributeTypeMap() { return StyleFontRecord.attributeTypeMap; } public constructor() { } } export type StyleFontRecordScopeEnum = "CLUSTER" | "ORG" ; export type StyleFontRecordWeightEnum = "NORMAL" | "LIGHT" | "BOLD" ; export type StyleFontRecordStyleEnum = "NORMAL" | "ITALIC" | "OBLIQUE" ;