@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
11 lines (10 loc) • 353 B
JavaScript
import { MappingAction } from "./MappingAction";
import { RequestMethod } from "../../AbstractRequest";
export class UpdateMapping extends MappingAction {
constructor(payload) {
super(payload.context, payload.repository);
this.customPath = "/update";
this.method = RequestMethod.POST;
this.payload = payload;
}
}