@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
48 lines • 2.29 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 { KalturaMailType } from './KalturaMailType';
import { KalturaMailJobStatus } from './KalturaMailJobStatus';
import { KalturaLanguageCode } from './KalturaLanguageCode';
import { KalturaJobData } from './KalturaJobData';
var KalturaMailJobData = (function (_super) {
__extends(KalturaMailJobData, _super);
function KalturaMailJobData(data) {
return _super.call(this, data) || this;
}
KalturaMailJobData.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaMailJobData' },
mailType: { type: 'es', subTypeConstructor: KalturaMailType, subType: 'KalturaMailType' },
mailPriority: { type: 'n' },
status: { type: 'en', subTypeConstructor: KalturaMailJobStatus, subType: 'KalturaMailJobStatus' },
recipientName: { type: 's' },
recipientEmail: { type: 's' },
recipientId: { type: 'n' },
fromName: { type: 's' },
fromEmail: { type: 's' },
bodyParams: { type: 's' },
subjectParams: { type: 's' },
templatePath: { type: 's' },
language: { type: 'es', subTypeConstructor: KalturaLanguageCode, subType: 'KalturaLanguageCode' },
campaignId: { type: 'n' },
minSendDate: { type: 'n' },
isHtml: { type: 'b' },
separator: { type: 's' }
});
return result;
};
return KalturaMailJobData;
}(KalturaJobData));
export { KalturaMailJobData };
KalturaTypesFactory.registerType('KalturaMailJobData', KalturaMailJobData);
//# sourceMappingURL=KalturaMailJobData.js.map