@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
66 lines • 4 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 { KalturaStringValue } from './KalturaStringValue';
import { KalturaKeyValue } from './KalturaKeyValue';
import { KalturaConfigurableDistributionProfile } from './KalturaConfigurableDistributionProfile';
var KalturaCrossKalturaDistributionProfile = (function (_super) {
__extends(KalturaCrossKalturaDistributionProfile, _super);
function KalturaCrossKalturaDistributionProfile(data) {
var _this = _super.call(this, data) || this;
if (typeof _this.metadataXpathsTriggerUpdate === 'undefined')
_this.metadataXpathsTriggerUpdate = [];
if (typeof _this.mapAccessControlProfileIds === 'undefined')
_this.mapAccessControlProfileIds = [];
if (typeof _this.mapConversionProfileIds === 'undefined')
_this.mapConversionProfileIds = [];
if (typeof _this.mapMetadataProfileIds === 'undefined')
_this.mapMetadataProfileIds = [];
if (typeof _this.mapStorageProfileIds === 'undefined')
_this.mapStorageProfileIds = [];
if (typeof _this.mapFlavorParamsIds === 'undefined')
_this.mapFlavorParamsIds = [];
if (typeof _this.mapThumbParamsIds === 'undefined')
_this.mapThumbParamsIds = [];
if (typeof _this.mapCaptionParamsIds === 'undefined')
_this.mapCaptionParamsIds = [];
return _this;
}
KalturaCrossKalturaDistributionProfile.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaCrossKalturaDistributionProfile' },
targetServiceUrl: { type: 's' },
targetAccountId: { type: 'n' },
targetLoginId: { type: 's' },
targetLoginPassword: { type: 's' },
metadataXslt: { type: 's' },
metadataXpathsTriggerUpdate: { type: 'a', subTypeConstructor: KalturaStringValue, subType: 'KalturaStringValue' },
distributeCaptions: { type: 'b' },
distributeCuePoints: { type: 'b' },
distributeRemoteFlavorAssetContent: { type: 'b' },
distributeRemoteThumbAssetContent: { type: 'b' },
distributeRemoteCaptionAssetContent: { type: 'b' },
mapAccessControlProfileIds: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' },
mapConversionProfileIds: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' },
mapMetadataProfileIds: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' },
mapStorageProfileIds: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' },
mapFlavorParamsIds: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' },
mapThumbParamsIds: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' },
mapCaptionParamsIds: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' }
});
return result;
};
return KalturaCrossKalturaDistributionProfile;
}(KalturaConfigurableDistributionProfile));
export { KalturaCrossKalturaDistributionProfile };
KalturaTypesFactory.registerType('KalturaCrossKalturaDistributionProfile', KalturaCrossKalturaDistributionProfile);
//# sourceMappingURL=KalturaCrossKalturaDistributionProfile.js.map