@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
12 lines (11 loc) • 459 B
JavaScript
import { OperationAction } from './OperationAction';
import { RequestMethod } from "../AbstractRequest";
export class CountActionsForOperation extends OperationAction {
constructor(operationId, filter) {
super();
this.method = RequestMethod.GET;
this.customPath = `/${operationId}/actions/count`;
this.params = Object.assign({}, this.convertActionsFilterToParams(filter));
this.removeUndefinedParameters();
}
}