UNPKG

@kaltura-ng/kaltura-client

Version:
39 lines 1.91 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 { KalturaNullableBoolean } from './KalturaNullableBoolean'; import { KalturaCuePoint } from './KalturaCuePoint'; var KalturaAnnotation = (function (_super) { __extends(KalturaAnnotation, _super); function KalturaAnnotation(data) { return _super.call(this, data) || this; } KalturaAnnotation.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaAnnotation' }, parentId: { type: 's' }, text: { type: 's' }, endTime: { type: 'n' }, duration: { type: 'n', readOnly: true }, depth: { type: 'n', readOnly: true }, childrenCount: { type: 'n', readOnly: true }, directChildrenCount: { type: 'n', readOnly: true }, isPublic: { type: 'en', subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' }, searchableOnEntry: { type: 'en', subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' } }); return result; }; return KalturaAnnotation; }(KalturaCuePoint)); export { KalturaAnnotation }; KalturaTypesFactory.registerType('KalturaAnnotation', KalturaAnnotation); //# sourceMappingURL=KalturaAnnotation.js.map