UNPKG

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

Version:

Endevor Bridge for Git Rest client

16 lines (15 loc) 465 B
import { MappingAction } from "./MappingAction"; import { RequestMethod } from "../../AbstractRequest"; export class ChangeMappingOwner extends MappingAction { constructor(context, repository, username) { super(context, repository); this.customPath = "/owner"; this.method = RequestMethod.PUT; this.username = username; this.params = { context, repository, username }; } }