/** * @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 AnalyticsAggregatedMetricsResponseContextTimeframe from './AnalyticsAggregatedMetricsResponseContextTimeframe.js'; export default class AnalyticsAggregatedMetricsResponseContext { /** * Returns the metric and relevant parameters you selected. */ 'metric'?: AnalyticsAggregatedMetricsResponseContextMetricEnum; /** * Returns the aggregation you selected. */ 'aggregation'?: AnalyticsAggregatedMetricsResponseContextAggregationEnum; 'timeframe'?: AnalyticsAggregatedMetricsResponseContextTimeframe; static readonly discriminator?: string = undefined; static readonly attributeTypeMap: Array = [ { name: 'metric', baseName: 'metric', type: 'AnalyticsAggregatedMetricsResponseContextMetricEnum', format: '', }, { name: 'aggregation', baseName: 'aggregation', type: 'AnalyticsAggregatedMetricsResponseContextAggregationEnum', format: '', }, { name: 'timeframe', baseName: 'timeframe', type: 'AnalyticsAggregatedMetricsResponseContextTimeframe', format: '', }, ]; static getAttributeTypeMap(): Array { return AnalyticsAggregatedMetricsResponseContext.attributeTypeMap; } } export type AnalyticsAggregatedMetricsResponseContextMetricEnum = | 'play' | 'start' | 'end' | 'impression' | 'impression-time' | 'watch-time' | 'ccv' | 'unique-ccv' | 'view-3' | 'view-5' | 'view-10' | 'view-30' | 'unique-view' | 'unique-view-3' | 'unique-view-5' | 'unique-view-10' | 'unique-view-30'; export type AnalyticsAggregatedMetricsResponseContextAggregationEnum = | 'count' | 'rate' | 'total' | 'average' | 'sum';