/** * @api.video/nodejs-client * api.video is an API that encodes on the go to facilitate immediate playback, enhancing viewer streaming experiences across multiple devices and platforms. You can stream live or on-demand online videos within minutes. * * The version of the OpenAPI document: 1 * * * NOTE: This class is auto generated. * Do not edit the class manually. */ import AttributeType from './AttributeType.js'; import PlayerThemeAssets from './PlayerThemeAssets.js'; export default class PlayerTheme { /** * The name of the player theme */ 'name'?: string; /** * RGBA color for timer text. Default: rgba(255, 255, 255, 1) */ 'text'?: string; /** * RGBA color for all controls. Default: rgba(255, 255, 255, 1) */ 'link'?: string; /** * RGBA color for all controls when hovered. Default: rgba(255, 255, 255, 1) */ 'linkHover'?: string; /** * RGBA color for the play button when hovered. */ 'linkActive'?: string; /** * RGBA color playback bar: played content. Default: rgba(88, 131, 255, .95) */ 'trackPlayed'?: string; /** * RGBA color playback bar: downloaded but unplayed (buffered) content. Default: rgba(255, 255, 255, .35) */ 'trackUnplayed'?: string; /** * RGBA color playback bar: background. Default: rgba(255, 255, 255, .2) */ 'trackBackground'?: string; /** * RGBA color: top 50% of background. Default: rgba(0, 0, 0, .7) */ 'backgroundTop'?: string; /** * RGBA color: bottom 50% of background. Default: rgba(0, 0, 0, .7) */ 'backgroundBottom'?: string; /** * RGBA color for title text. Default: rgba(255, 255, 255, 1) */ 'backgroundText'?: string; /** * enable/disable player SDK access. Default: true */ 'enableApi'?: boolean; /** * enable/disable player controls. Default: true */ 'enableControls'?: boolean; /** * enable/disable player autoplay. Default: false */ 'forceAutoplay'?: boolean; /** * enable/disable title. Default: false */ 'hideTitle'?: boolean; /** * enable/disable looping. Default: false */ 'forceLoop'?: boolean; 'playerId': string; /** * When the player was created, presented in ATOM UTC format. */ 'createdAt'?: Date; /** * When the player was last updated, presented in ATOM UTC format. */ 'updatedAt'?: Date; 'assets'?: PlayerThemeAssets; static readonly discriminator?: string = undefined; static readonly attributeTypeMap: Array = [ { name: 'name', baseName: 'name', type: 'string', format: '', }, { name: 'text', baseName: 'text', type: 'string', format: '', }, { name: 'link', baseName: 'link', type: 'string', format: '', }, { name: 'linkHover', baseName: 'linkHover', type: 'string', format: '', }, { name: 'linkActive', baseName: 'linkActive', type: 'string', format: '', }, { name: 'trackPlayed', baseName: 'trackPlayed', type: 'string', format: '', }, { name: 'trackUnplayed', baseName: 'trackUnplayed', type: 'string', format: '', }, { name: 'trackBackground', baseName: 'trackBackground', type: 'string', format: '', }, { name: 'backgroundTop', baseName: 'backgroundTop', type: 'string', format: '', }, { name: 'backgroundBottom', baseName: 'backgroundBottom', type: 'string', format: '', }, { name: 'backgroundText', baseName: 'backgroundText', type: 'string', format: '', }, { name: 'enableApi', baseName: 'enableApi', type: 'boolean', format: '', }, { name: 'enableControls', baseName: 'enableControls', type: 'boolean', format: '', }, { name: 'forceAutoplay', baseName: 'forceAutoplay', type: 'boolean', format: '', }, { name: 'hideTitle', baseName: 'hideTitle', type: 'boolean', format: '', }, { name: 'forceLoop', baseName: 'forceLoop', type: 'boolean', format: '', }, { name: 'playerId', baseName: 'playerId', type: 'string', format: '', }, { name: 'createdAt', baseName: 'createdAt', type: 'Date', format: 'date-time', }, { name: 'updatedAt', baseName: 'updatedAt', type: 'Date', format: 'date-time', }, { name: 'assets', baseName: 'assets', type: 'PlayerThemeAssets', format: '', }, ]; static getAttributeTypeMap(): Array { return PlayerTheme.attributeTypeMap; } }