UNPKG

@kaltura-ng/kaltura-client

Version:
47 lines 2.55 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { KalturaTypesFactory } from '../kaltura-types-factory'; import { KalturaLiveChannelSegmentType } from './KalturaLiveChannelSegmentType'; import { KalturaLiveChannelSegmentStatus } from './KalturaLiveChannelSegmentStatus'; import { KalturaLiveChannelSegmentTriggerType } from './KalturaLiveChannelSegmentTriggerType'; import { KalturaObjectBase } from '../kaltura-object-base'; var KalturaLiveChannelSegment = (function (_super) { __extends(KalturaLiveChannelSegment, _super); function KalturaLiveChannelSegment(data) { return _super.call(this, data) || this; } KalturaLiveChannelSegment.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaLiveChannelSegment' }, id: { type: 'n', readOnly: true }, partnerId: { type: 'n', readOnly: true }, createdAt: { type: 'n', readOnly: true }, updatedAt: { type: 'n', readOnly: true }, name: { type: 's' }, description: { type: 's' }, tags: { type: 's' }, type: { type: 'es', subTypeConstructor: KalturaLiveChannelSegmentType, subType: 'KalturaLiveChannelSegmentType' }, status: { type: 'es', readOnly: true, subTypeConstructor: KalturaLiveChannelSegmentStatus, subType: 'KalturaLiveChannelSegmentStatus' }, channelId: { type: 's' }, entryId: { type: 's' }, triggerType: { type: 'es', subTypeConstructor: KalturaLiveChannelSegmentTriggerType, subType: 'KalturaLiveChannelSegmentTriggerType' }, triggerSegmentId: { type: 'n' }, startTime: { type: 'n' }, duration: { type: 'n' } }); return result; }; return KalturaLiveChannelSegment; }(KalturaObjectBase)); export { KalturaLiveChannelSegment }; KalturaTypesFactory.registerType('KalturaLiveChannelSegment', KalturaLiveChannelSegment); //# sourceMappingURL=KalturaLiveChannelSegment.js.map