@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
66 lines • 4.38 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 { KalturaEntryDistributionStatus } from './KalturaEntryDistributionStatus';
import { KalturaEntryDistributionSunStatus } from './KalturaEntryDistributionSunStatus';
import { KalturaEntryDistributionFlag } from './KalturaEntryDistributionFlag';
import { KalturaDistributionValidationError } from './KalturaDistributionValidationError';
import { KalturaBatchJobErrorTypes } from './KalturaBatchJobErrorTypes';
import { KalturaNullableBoolean } from './KalturaNullableBoolean';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaEntryDistribution = (function (_super) {
__extends(KalturaEntryDistribution, _super);
function KalturaEntryDistribution(data) {
var _this = _super.call(this, data) || this;
if (typeof _this.validationErrors === 'undefined')
_this.validationErrors = [];
return _this;
}
KalturaEntryDistribution.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaEntryDistribution' },
id: { type: 'n', readOnly: true },
createdAt: { type: 'd', readOnly: true },
updatedAt: { type: 'd', readOnly: true },
submittedAt: { type: 'd', readOnly: true },
entryId: { type: 's' },
partnerId: { type: 'n', readOnly: true },
distributionProfileId: { type: 'n' },
status: { type: 'en', readOnly: true, subTypeConstructor: KalturaEntryDistributionStatus, subType: 'KalturaEntryDistributionStatus' },
sunStatus: { type: 'en', readOnly: true, subTypeConstructor: KalturaEntryDistributionSunStatus, subType: 'KalturaEntryDistributionSunStatus' },
dirtyStatus: { type: 'en', readOnly: true, subTypeConstructor: KalturaEntryDistributionFlag, subType: 'KalturaEntryDistributionFlag' },
thumbAssetIds: { type: 's' },
flavorAssetIds: { type: 's' },
assetIds: { type: 's' },
sunrise: { type: 'd' },
sunset: { type: 'd' },
remoteId: { type: 's', readOnly: true },
plays: { type: 'n', readOnly: true },
views: { type: 'n', readOnly: true },
validationErrors: { type: 'a', subTypeConstructor: KalturaDistributionValidationError, subType: 'KalturaDistributionValidationError' },
errorType: { type: 'en', readOnly: true, subTypeConstructor: KalturaBatchJobErrorTypes, subType: 'KalturaBatchJobErrorTypes' },
errorNumber: { type: 'n', readOnly: true },
errorDescription: { type: 's', readOnly: true },
hasSubmitResultsLog: { type: 'en', readOnly: true, subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' },
hasSubmitSentDataLog: { type: 'en', readOnly: true, subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' },
hasUpdateResultsLog: { type: 'en', readOnly: true, subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' },
hasUpdateSentDataLog: { type: 'en', readOnly: true, subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' },
hasDeleteResultsLog: { type: 'en', readOnly: true, subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' },
hasDeleteSentDataLog: { type: 'en', readOnly: true, subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' }
});
return result;
};
return KalturaEntryDistribution;
}(KalturaObjectBase));
export { KalturaEntryDistribution };
KalturaTypesFactory.registerType('KalturaEntryDistribution', KalturaEntryDistribution);
//# sourceMappingURL=KalturaEntryDistribution.js.map