@kaltura-ng/kaltura-client
Version:
Kaltura Typescript client
43 lines • 2.23 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 { KalturaPushNotificationParams } from './KalturaPushNotificationParams';
import { KalturaPushNotificationCommandType } from './KalturaPushNotificationCommandType';
import { KalturaRequest } from '../kaltura-request';
/**
* Build request payload for service 'eventNotificationTemplate' action 'sendCommand'.
*
* Usage: Clear queue messages
*
* Server response type: void
* Server failure response type: KalturaAPIException
* @class
* @extends KalturaRequest
*/
var EventNotificationTemplateSendCommandAction = (function (_super) {
__extends(EventNotificationTemplateSendCommandAction, _super);
function EventNotificationTemplateSendCommandAction(data) {
return _super.call(this, data, { responseType: 'v', responseSubType: '', responseConstructor: null }) || this;
}
EventNotificationTemplateSendCommandAction.prototype._getMetadata = function () {
var result = _super.prototype._getMetadata.call(this);
Object.assign(result.properties, {
service: { type: 'c', default: 'eventnotification_eventnotificationtemplate' },
action: { type: 'c', default: 'sendCommand' },
notificationTemplateSystemName: { type: 's' },
pushNotificationParams: { type: 'o', subTypeConstructor: KalturaPushNotificationParams, subType: 'KalturaPushNotificationParams' },
command: { type: 'es', subTypeConstructor: KalturaPushNotificationCommandType, subType: 'KalturaPushNotificationCommandType' }
});
return result;
};
return EventNotificationTemplateSendCommandAction;
}(KalturaRequest));
export { EventNotificationTemplateSendCommandAction };
//# sourceMappingURL=EventNotificationTemplateSendCommandAction.js.map