@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
17 lines (16 loc) • 621 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeleteMFWebhookServerSettings = void 0;
const MfWebhookAction_1 = require("./MfWebhookAction");
const AbstractRequest_1 = require("../AbstractRequest");
class DeleteMFWebhookServerSettings extends MfWebhookAction_1.MfWebhookAction {
constructor(webhookId) {
super();
this.webhookId = webhookId;
this.method = AbstractRequest_1.RequestMethod.DELETE;
if (webhookId) {
this.params = { id: webhookId };
}
}
}
exports.DeleteMFWebhookServerSettings = DeleteMFWebhookServerSettings;