@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
37 lines • 2.08 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 { KalturaObjectBase } from '../kaltura-object-base';
import { KalturaTypesFactory } from '../kaltura-types-factory';
var KalturaScheduleEventRecurrenceDay = (function (_super) {
__extends(KalturaScheduleEventRecurrenceDay, _super);
function KalturaScheduleEventRecurrenceDay(value) {
var _this = _super.call(this) || this;
_this._value = value + '';
return _this;
}
KalturaScheduleEventRecurrenceDay.prototype.equals = function (obj) {
return obj && obj.toString() === this._value;
};
KalturaScheduleEventRecurrenceDay.prototype.toString = function () {
return this._value;
};
KalturaScheduleEventRecurrenceDay.friday = new KalturaScheduleEventRecurrenceDay('FR');
KalturaScheduleEventRecurrenceDay.monday = new KalturaScheduleEventRecurrenceDay('MO');
KalturaScheduleEventRecurrenceDay.saturday = new KalturaScheduleEventRecurrenceDay('SA');
KalturaScheduleEventRecurrenceDay.sunday = new KalturaScheduleEventRecurrenceDay('SU');
KalturaScheduleEventRecurrenceDay.thursday = new KalturaScheduleEventRecurrenceDay('TH');
KalturaScheduleEventRecurrenceDay.tuesday = new KalturaScheduleEventRecurrenceDay('TU');
KalturaScheduleEventRecurrenceDay.wednesday = new KalturaScheduleEventRecurrenceDay('WE');
return KalturaScheduleEventRecurrenceDay;
}(KalturaObjectBase));
export { KalturaScheduleEventRecurrenceDay };
KalturaTypesFactory.registerType('KalturaScheduleEventRecurrenceDay', KalturaScheduleEventRecurrenceDay);
//# sourceMappingURL=KalturaScheduleEventRecurrenceDay.js.map