@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
58 lines • 3.09 kB
JavaScript
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 { KalturaScheduleEventStatus } from './KalturaScheduleEventStatus';
import { KalturaScheduleEventClassificationType } from './KalturaScheduleEventClassificationType';
import { KalturaScheduleEventRecurrenceType } from './KalturaScheduleEventRecurrenceType';
import { KalturaScheduleEventRecurrence } from './KalturaScheduleEventRecurrence';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaScheduleEvent = (function (_super) {
__extends(KalturaScheduleEvent, _super);
function KalturaScheduleEvent(data) {
return _super.call(this, data) || this;
}
KalturaScheduleEvent.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaScheduleEvent' },
id: { type: 'n', readOnly: true },
partnerId: { type: 'n', readOnly: true },
parentId: { type: 'n', readOnly: true },
summary: { type: 's' },
description: { type: 's' },
status: { type: 'en', readOnly: true, subTypeConstructor: KalturaScheduleEventStatus, subType: 'KalturaScheduleEventStatus' },
startDate: { type: 'd' },
endDate: { type: 'd' },
referenceId: { type: 's' },
classificationType: { type: 'en', subTypeConstructor: KalturaScheduleEventClassificationType, subType: 'KalturaScheduleEventClassificationType' },
geoLatitude: { type: 'n' },
geoLongitude: { type: 'n' },
location: { type: 's' },
organizer: { type: 's' },
ownerId: { type: 's' },
priority: { type: 'n' },
sequence: { type: 'n' },
recurrenceType: { type: 'en', subTypeConstructor: KalturaScheduleEventRecurrenceType, subType: 'KalturaScheduleEventRecurrenceType' },
duration: { type: 'n' },
contact: { type: 's' },
comment: { type: 's' },
tags: { type: 's' },
createdAt: { type: 'd', readOnly: true },
updatedAt: { type: 'd', readOnly: true },
recurrence: { type: 'o', subTypeConstructor: KalturaScheduleEventRecurrence, subType: 'KalturaScheduleEventRecurrence' }
});
return result;
};
return KalturaScheduleEvent;
}(KalturaObjectBase));
export { KalturaScheduleEvent };
KalturaTypesFactory.registerType('KalturaScheduleEvent', KalturaScheduleEvent);
//# sourceMappingURL=KalturaScheduleEvent.js.map