@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
43 lines • 2.12 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 { KalturaNullableBoolean } from './KalturaNullableBoolean';
import { KalturaRule } from './KalturaRule';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaAccessControlProfile = (function (_super) {
__extends(KalturaAccessControlProfile, _super);
function KalturaAccessControlProfile(data) {
var _this = _super.call(this, data) || this;
if (typeof _this.rules === 'undefined')
_this.rules = [];
return _this;
}
KalturaAccessControlProfile.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaAccessControlProfile' },
id: { type: 'n', readOnly: true },
partnerId: { type: 'n', readOnly: true },
name: { type: 's' },
systemName: { type: 's' },
description: { type: 's' },
createdAt: { type: 'd', readOnly: true },
updatedAt: { type: 'd', readOnly: true },
isDefault: { type: 'en', subTypeConstructor: KalturaNullableBoolean, subType: 'KalturaNullableBoolean' },
rules: { type: 'a', subTypeConstructor: KalturaRule, subType: 'KalturaRule' }
});
return result;
};
return KalturaAccessControlProfile;
}(KalturaObjectBase));
export { KalturaAccessControlProfile };
KalturaTypesFactory.registerType('KalturaAccessControlProfile', KalturaAccessControlProfile);
//# sourceMappingURL=KalturaAccessControlProfile.js.map