@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
19 lines (18 loc) • 576 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ForceRefresh = void 0;
const JobsAction_1 = require("./JobsAction");
const AbstractRequest_1 = require("../AbstractRequest");
class ForceRefresh extends JobsAction_1.JobsAction {
constructor(context, repository, branch) {
super();
this.customPath = "/forceRefresh";
this.method = AbstractRequest_1.RequestMethod.POST;
this.payload = {
context,
repository,
branch
};
}
}
exports.ForceRefresh = ForceRefresh;