@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
47 lines • 2.55 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 { KalturaMetadataObjectType } from './KalturaMetadataObjectType';
import { KalturaMetadataProfileStatus } from './KalturaMetadataProfileStatus';
import { KalturaMetadataProfileCreateMode } from './KalturaMetadataProfileCreateMode';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaMetadataProfile = (function (_super) {
__extends(KalturaMetadataProfile, _super);
function KalturaMetadataProfile(data) {
return _super.call(this, data) || this;
}
KalturaMetadataProfile.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaMetadataProfile' },
id: { type: 'n', readOnly: true },
partnerId: { type: 'n', readOnly: true },
metadataObjectType: { type: 'es', subTypeConstructor: KalturaMetadataObjectType, subType: 'KalturaMetadataObjectType' },
version: { type: 'n', readOnly: true },
name: { type: 's' },
systemName: { type: 's' },
description: { type: 's' },
createdAt: { type: 'd', readOnly: true },
updatedAt: { type: 'd', readOnly: true },
status: { type: 'en', readOnly: true, subTypeConstructor: KalturaMetadataProfileStatus, subType: 'KalturaMetadataProfileStatus' },
xsd: { type: 's', readOnly: true },
views: { type: 's', readOnly: true },
xslt: { type: 's', readOnly: true },
createMode: { type: 'en', subTypeConstructor: KalturaMetadataProfileCreateMode, subType: 'KalturaMetadataProfileCreateMode' },
disableReIndexing: { type: 'b' }
});
return result;
};
return KalturaMetadataProfile;
}(KalturaObjectBase));
export { KalturaMetadataProfile };
KalturaTypesFactory.registerType('KalturaMetadataProfile', KalturaMetadataProfile);
//# sourceMappingURL=KalturaMetadataProfile.js.map