@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
39 lines • 2 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 { KalturaDistributionProviderType } from './KalturaDistributionProviderType';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaDistributionProvider = (function (_super) {
__extends(KalturaDistributionProvider, _super);
function KalturaDistributionProvider(data) {
return _super.call(this, data) || this;
}
KalturaDistributionProvider.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaDistributionProvider' },
type: { type: 'es', readOnly: true, subTypeConstructor: KalturaDistributionProviderType, subType: 'KalturaDistributionProviderType' },
name: { type: 's' },
scheduleUpdateEnabled: { type: 'b' },
availabilityUpdateEnabled: { type: 'b' },
deleteInsteadUpdate: { type: 'b' },
intervalBeforeSunrise: { type: 'n' },
intervalBeforeSunset: { type: 'n' },
updateRequiredEntryFields: { type: 's' },
updateRequiredMetadataXPaths: { type: 's' }
});
return result;
};
return KalturaDistributionProvider;
}(KalturaObjectBase));
export { KalturaDistributionProvider };
KalturaTypesFactory.registerType('KalturaDistributionProvider', KalturaDistributionProvider);
//# sourceMappingURL=KalturaDistributionProvider.js.map