@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
63 lines • 3.52 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 { KalturaDropFolderType } from './KalturaDropFolderType';
import { KalturaDropFolderStatus } from './KalturaDropFolderStatus';
import { KalturaDropFolderFileDeletePolicy } from './KalturaDropFolderFileDeletePolicy';
import { KalturaDropFolderFileHandlerType } from './KalturaDropFolderFileHandlerType';
import { KalturaDropFolderFileHandlerConfig } from './KalturaDropFolderFileHandlerConfig';
import { KalturaDropFolderErrorCode } from './KalturaDropFolderErrorCode';
import { KalturaObjectBase } from '../kaltura-object-base';
var KalturaDropFolder = (function (_super) {
__extends(KalturaDropFolder, _super);
function KalturaDropFolder(data) {
return _super.call(this, data) || this;
}
KalturaDropFolder.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaDropFolder' },
id: { type: 'n', readOnly: true },
partnerId: { type: 'n' },
name: { type: 's' },
description: { type: 's' },
type: { type: 'es', subTypeConstructor: KalturaDropFolderType, subType: 'KalturaDropFolderType' },
status: { type: 'en', subTypeConstructor: KalturaDropFolderStatus, subType: 'KalturaDropFolderStatus' },
conversionProfileId: { type: 'n' },
dc: { type: 'n' },
path: { type: 's' },
fileSizeCheckInterval: { type: 'n' },
fileDeletePolicy: { type: 'en', subTypeConstructor: KalturaDropFolderFileDeletePolicy, subType: 'KalturaDropFolderFileDeletePolicy' },
autoFileDeleteDays: { type: 'n' },
fileHandlerType: { type: 'es', subTypeConstructor: KalturaDropFolderFileHandlerType, subType: 'KalturaDropFolderFileHandlerType' },
fileNamePatterns: { type: 's' },
fileHandlerConfig: { type: 'o', subTypeConstructor: KalturaDropFolderFileHandlerConfig, subType: 'KalturaDropFolderFileHandlerConfig' },
tags: { type: 's' },
errorCode: { type: 'es', subTypeConstructor: KalturaDropFolderErrorCode, subType: 'KalturaDropFolderErrorCode' },
errorDescription: { type: 's' },
ignoreFileNamePatterns: { type: 's' },
createdAt: { type: 'd', readOnly: true },
updatedAt: { type: 'd', readOnly: true },
lastAccessedAt: { type: 'n' },
incremental: { type: 'b' },
lastFileTimestamp: { type: 'n' },
metadataProfileId: { type: 'n' },
categoriesMetadataFieldName: { type: 's' },
enforceEntitlement: { type: 'b' },
shouldValidateKS: { type: 'b' }
});
return result;
};
return KalturaDropFolder;
}(KalturaObjectBase));
export { KalturaDropFolder };
KalturaTypesFactory.registerType('KalturaDropFolder', KalturaDropFolder);
//# sourceMappingURL=KalturaDropFolder.js.map