@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
58 lines • 3.27 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 { KalturaAuditTrailStatus } from './KalturaAuditTrailStatus';
import { KalturaAuditTrailObjectType } from './KalturaAuditTrailObjectType';
import { KalturaAuditTrailAction } from './KalturaAuditTrailAction';
import { KalturaAuditTrailInfo } from './KalturaAuditTrailInfo';
import { KalturaAuditTrailContext } from './KalturaAuditTrailContext';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaAuditTrail = (function (_super) {
__extends(KalturaAuditTrail, _super);
function KalturaAuditTrail(data) {
return _super.call(this, data) || this;
}
KalturaAuditTrail.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaAuditTrail' },
id: { type: 'n', readOnly: true },
createdAt: { type: 'd', readOnly: true },
parsedAt: { type: 'n', readOnly: true },
status: { type: 'en', readOnly: true, subTypeConstructor: KalturaAuditTrailStatus, subType: 'KalturaAuditTrailStatus' },
auditObjectType: { type: 'es', subTypeConstructor: KalturaAuditTrailObjectType, subType: 'KalturaAuditTrailObjectType' },
objectId: { type: 's' },
relatedObjectId: { type: 's' },
relatedObjectType: { type: 'es', subTypeConstructor: KalturaAuditTrailObjectType, subType: 'KalturaAuditTrailObjectType' },
entryId: { type: 's' },
masterPartnerId: { type: 'n', readOnly: true },
partnerId: { type: 'n', readOnly: true },
requestId: { type: 's', readOnly: true },
userId: { type: 's' },
action: { type: 'es', subTypeConstructor: KalturaAuditTrailAction, subType: 'KalturaAuditTrailAction' },
data: { type: 'o', subTypeConstructor: KalturaAuditTrailInfo, subType: 'KalturaAuditTrailInfo' },
ks: { type: 's', readOnly: true },
context: { type: 'en', readOnly: true, subTypeConstructor: KalturaAuditTrailContext, subType: 'KalturaAuditTrailContext' },
entryPoint: { type: 's', readOnly: true },
serverName: { type: 's', readOnly: true },
ipAddress: { type: 's', readOnly: true },
userAgent: { type: 's', readOnly: true },
clientTag: { type: 's' },
description: { type: 's' },
errorDescription: { type: 's', readOnly: true }
});
return result;
};
return KalturaAuditTrail;
}(KalturaObjectBase));
export { KalturaAuditTrail };
KalturaTypesFactory.registerType('KalturaAuditTrail', KalturaAuditTrail);
//# sourceMappingURL=KalturaAuditTrail.js.map