/** * @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'; export default class PlayerSessionEvent { /** * Possible values are: ready, play, pause, resume, seek.backward, seek.forward, end */ 'type'?: string; /** * When an event occurred, presented in ATOM UTC format. */ 'emittedAt'?: Date; 'at'?: number; 'from'?: number; 'to'?: number; static readonly discriminator?: string = undefined; static readonly attributeTypeMap: Array = [ { name: 'type', baseName: 'type', type: 'string', format: '', }, { name: 'emittedAt', baseName: 'emittedAt', type: 'Date', format: 'date-time', }, { name: 'at', baseName: 'at', type: 'number', format: '', }, { name: 'from', baseName: 'from', type: 'number', format: '', }, { name: 'to', baseName: 'to', type: 'number', format: '', }, ]; static getAttributeTypeMap(): Array { return PlayerSessionEvent.attributeTypeMap; } }