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