Skip to content

Commit 91b3890

Browse files
committed
- fixes access modifiers for batch request methods
1 parent 75bc313 commit 91b3890

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main/java/com/microsoft/graph/content/BatchRequest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public BatchRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient
5555
* @throws ClientException an exception occurs if there was an error while the request was sent
5656
*/
5757
@Nullable
58-
protected BatchResponseContent post(@Nonnull final BatchRequestContent content) throws ClientException {
58+
public BatchResponseContent post(@Nonnull final BatchRequestContent content) throws ClientException {
5959
this.setHttpMethod(HttpMethod.POST);
6060
return this.getClient().getHttpProvider().send(this, BatchResponseContent.class, content);
6161
}
@@ -67,7 +67,7 @@ protected BatchResponseContent post(@Nonnull final BatchRequestContent content)
6767
* @throws ClientException an exception occurs if there was an error while the request was sent
6868
*/
6969
@Nullable
70-
protected java.util.concurrent.CompletableFuture<BatchResponseContent> postAsync(@Nonnull final BatchRequestContent content) throws ClientException {
70+
public java.util.concurrent.CompletableFuture<BatchResponseContent> postAsync(@Nonnull final BatchRequestContent content) throws ClientException {
7171
this.setHttpMethod(HttpMethod.POST);
7272
return this.getClient().getHttpProvider().sendAsync(this, BatchResponseContent.class, content);
7373
}

0 commit comments

Comments
 (0)