UNPKG

@broadcom/endevor-bridge-for-git-rest-api

Version:

Endevor Bridge for Git Rest client

18 lines (17 loc) 600 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetGlobalWebhooks = void 0; const GlobalAction_1 = require("../GlobalAction"); const AbstractRequest_1 = require("../../AbstractRequest"); class GetGlobalWebhooks extends GlobalAction_1.GlobalAction { constructor(webhookId) { super(); this.customPath = "/webhook"; this.method = AbstractRequest_1.RequestMethod.GET; this.webhookId = webhookId; if (webhookId) { this.params = { id: webhookId }; } } } exports.GetGlobalWebhooks = GetGlobalWebhooks;