UNPKG

@kaltura-ng/kaltura-client

Version:
57 lines 2.98 kB
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 { KalturaFileSyncObjectType } from './KalturaFileSyncObjectType'; import { KalturaFileSyncStatus } from './KalturaFileSyncStatus'; import { KalturaFileSyncType } from './KalturaFileSyncType'; import { KalturaObjectBase } from '../kaltura-object-base'; var KalturaFileSync = (function (_super) { __extends(KalturaFileSync, _super); function KalturaFileSync(data) { return _super.call(this, data) || this; } KalturaFileSync.prototype._getMetadata = function () { var result = _super.prototype._getMetadata.call(this); Object.assign(result.properties, { objectType: { type: 'c', default: 'KalturaFileSync' }, id: { type: 'n', readOnly: true }, partnerId: { type: 'n', readOnly: true }, fileObjectType: { type: 'es', readOnly: true, subTypeConstructor: KalturaFileSyncObjectType, subType: 'KalturaFileSyncObjectType' }, objectId: { type: 's', readOnly: true }, version: { type: 's', readOnly: true }, objectSubType: { type: 'n', readOnly: true }, dc: { type: 's', readOnly: true }, original: { type: 'n', readOnly: true }, createdAt: { type: 'd', readOnly: true }, updatedAt: { type: 'd', readOnly: true }, readyAt: { type: 'n', readOnly: true }, syncTime: { type: 'n', readOnly: true }, status: { type: 'en', subTypeConstructor: KalturaFileSyncStatus, subType: 'KalturaFileSyncStatus' }, fileType: { type: 'en', readOnly: true, subTypeConstructor: KalturaFileSyncType, subType: 'KalturaFileSyncType' }, linkedId: { type: 'n', readOnly: true }, linkCount: { type: 'n', readOnly: true }, fileRoot: { type: 's' }, filePath: { type: 's' }, fileSize: { type: 'n', readOnly: true }, fileUrl: { type: 's', readOnly: true }, fileContent: { type: 's', readOnly: true }, fileDiscSize: { type: 'n', readOnly: true }, isCurrentDc: { type: 'b', readOnly: true }, isDir: { type: 'b', readOnly: true }, originalId: { type: 'n', readOnly: true } }); return result; }; return KalturaFileSync; }(KalturaObjectBase)); export { KalturaFileSync }; KalturaTypesFactory.registerType('KalturaFileSync', KalturaFileSync); //# sourceMappingURL=KalturaFileSync.js.map