@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
57 lines • 3.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 { KalturaHttpNotificationMethod } from './KalturaHttpNotificationMethod';
import { KalturaHttpNotificationData } from './KalturaHttpNotificationData';
import { KalturaHttpNotificationAuthenticationMethod } from './KalturaHttpNotificationAuthenticationMethod';
import { KalturaHttpNotificationSslVersion } from './KalturaHttpNotificationSslVersion';
import { KalturaHttpNotificationCertificateType } from './KalturaHttpNotificationCertificateType';
import { KalturaHttpNotificationSslKeyType } from './KalturaHttpNotificationSslKeyType';
import { KalturaKeyValue } from './KalturaKeyValue';
import { KalturaEventNotificationTemplate } from './KalturaEventNotificationTemplate';
var KalturaHttpNotificationTemplate = (function (_super) {
__extends(KalturaHttpNotificationTemplate, _super);
function KalturaHttpNotificationTemplate(data) {
var _this = _super.call(this, data) || this;
if (typeof _this.customHeaders === 'undefined')
_this.customHeaders = [];
return _this;
}
KalturaHttpNotificationTemplate.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
objectType: { type: 'c', default: 'KalturaHttpNotificationTemplate' },
url: { type: 's' },
method: { type: 'en', subTypeConstructor: KalturaHttpNotificationMethod, subType: 'KalturaHttpNotificationMethod' },
data: { type: 'o', subTypeConstructor: KalturaHttpNotificationData, subType: 'KalturaHttpNotificationData' },
timeout: { type: 'n' },
connectTimeout: { type: 'n' },
username: { type: 's' },
password: { type: 's' },
authenticationMethod: { type: 'en', subTypeConstructor: KalturaHttpNotificationAuthenticationMethod, subType: 'KalturaHttpNotificationAuthenticationMethod' },
sslVersion: { type: 'en', subTypeConstructor: KalturaHttpNotificationSslVersion, subType: 'KalturaHttpNotificationSslVersion' },
sslCertificate: { type: 's' },
sslCertificateType: { type: 'es', subTypeConstructor: KalturaHttpNotificationCertificateType, subType: 'KalturaHttpNotificationCertificateType' },
sslCertificatePassword: { type: 's' },
sslEngine: { type: 's' },
sslEngineDefault: { type: 's' },
sslKeyType: { type: 'es', subTypeConstructor: KalturaHttpNotificationSslKeyType, subType: 'KalturaHttpNotificationSslKeyType' },
sslKey: { type: 's' },
sslKeyPassword: { type: 's' },
customHeaders: { type: 'a', subTypeConstructor: KalturaKeyValue, subType: 'KalturaKeyValue' }
});
return result;
};
return KalturaHttpNotificationTemplate;
}(KalturaEventNotificationTemplate));
export { KalturaHttpNotificationTemplate };
KalturaTypesFactory.registerType('KalturaHttpNotificationTemplate', KalturaHttpNotificationTemplate);
//# sourceMappingURL=KalturaHttpNotificationTemplate.js.map