@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
84 lines • 4.59 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 { KalturaEntryStatus } from './KalturaEntryStatus';
import { KalturaEntryModerationStatus } from './KalturaEntryModerationStatus';
import { KalturaEntryType } from './KalturaEntryType';
import { KalturaLicenseType } from './KalturaLicenseType';
import { KalturaEntryReplacementStatus } from './KalturaEntryReplacementStatus';
import { KalturaOperationAttributes } from './KalturaOperationAttributes';
import { KalturaEntryDisplayInSearchType } from './KalturaEntryDisplayInSearchType';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaBaseEntry = (function (_super) {
__extends(KalturaBaseEntry, _super);
function KalturaBaseEntry(data) {
var _this = _super.call(this, data) || this;
if (typeof _this.operationAttributes === 'undefined')
_this.operationAttributes = [];
return _this;
}
KalturaBaseEntry.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaBaseEntry' },
id: { type: 's', readOnly: true },
name: { type: 's' },
description: { type: 's' },
partnerId: { type: 'n', readOnly: true },
userId: { type: 's' },
creatorId: { type: 's' },
tags: { type: 's' },
adminTags: { type: 's' },
categories: { type: 's' },
categoriesIds: { type: 's' },
status: { type: 'es', readOnly: true, subTypeConstructor: KalturaEntryStatus, subType: 'KalturaEntryStatus' },
moderationStatus: { type: 'en', readOnly: true, subTypeConstructor: KalturaEntryModerationStatus, subType: 'KalturaEntryModerationStatus' },
moderationCount: { type: 'n', readOnly: true },
type: { type: 'es', subTypeConstructor: KalturaEntryType, subType: 'KalturaEntryType' },
createdAt: { type: 'd', readOnly: true },
updatedAt: { type: 'd', readOnly: true },
rank: { type: 'n', readOnly: true },
totalRank: { type: 'n', readOnly: true },
votes: { type: 'n', readOnly: true },
groupId: { type: 'n' },
partnerData: { type: 's' },
downloadUrl: { type: 's', readOnly: true },
searchText: { type: 's', readOnly: true },
licenseType: { type: 'en', subTypeConstructor: KalturaLicenseType, subType: 'KalturaLicenseType' },
version: { type: 'n', readOnly: true },
thumbnailUrl: { type: 's', readOnly: true },
accessControlId: { type: 'n' },
startDate: { type: 'd' },
endDate: { type: 'd' },
referenceId: { type: 's' },
replacingEntryId: { type: 's', readOnly: true },
replacedEntryId: { type: 's', readOnly: true },
replacementStatus: { type: 'es', readOnly: true, subTypeConstructor: KalturaEntryReplacementStatus, subType: 'KalturaEntryReplacementStatus' },
partnerSortValue: { type: 'n' },
conversionProfileId: { type: 'n' },
redirectEntryId: { type: 's' },
rootEntryId: { type: 's', readOnly: true },
parentEntryId: { type: 's' },
operationAttributes: { type: 'a', subTypeConstructor: KalturaOperationAttributes, subType: 'KalturaOperationAttributes' },
entitledUsersEdit: { type: 's' },
entitledUsersPublish: { type: 's' },
entitledUsersView: { type: 's' },
capabilities: { type: 's', readOnly: true },
templateEntryId: { type: 's' },
displayInSearch: { type: 'en', subTypeConstructor: KalturaEntryDisplayInSearchType, subType: 'KalturaEntryDisplayInSearchType' }
});
return result;
};
return KalturaBaseEntry;
}(KalturaObjectBase));
export { KalturaBaseEntry };
KalturaTypesFactory.registerType('KalturaBaseEntry', KalturaBaseEntry);
//# sourceMappingURL=KalturaBaseEntry.js.map