UNPKG

@microsoft/mgt

Version:
21 lines 745 B
/** * ------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. * See License in the project root for license information. * ------------------------------------------------------------------------------------------- */ /** * Method to reduce repetitive requests to the Graph utilized in Batch * * @class BatchRequest */ export class BatchRequest { constructor(resource, method) { if (resource.charAt(0) !== '/') { resource = '/' + resource; } this.resource = resource; this.method = method; } } //# sourceMappingURL=BatchRequest.js.map