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