forked from microsoftgraph/msgraph-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccessPackageAssignmentRequestReprocessRequest.java
More file actions
52 lines (46 loc) · 2.09 KB
/
Copy pathAccessPackageAssignmentRequestReprocessRequest.java
File metadata and controls
52 lines (46 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Template Source: BaseMethodRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.requests;
import com.microsoft.graph.models.AccessPackageAssignmentRequest;
import com.microsoft.graph.requests.AccessPackageAssignmentRequestReprocessRequest;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.microsoft.graph.http.BaseRequest;
import com.microsoft.graph.http.HttpMethod;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.core.IBaseClient;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Access Package Assignment Request Reprocess Request.
*/
public class AccessPackageAssignmentRequestReprocessRequest extends BaseRequest<Void> {
/**
* The request for this AccessPackageAssignmentRequestReprocess
*
* @param requestUrl the request URL
* @param client the service client
* @param requestOptions the options for this request
*/
public AccessPackageAssignmentRequestReprocessRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
super(requestUrl, client, requestOptions, Void.class);
}
/**
* Creates the AccessPackageAssignmentRequestReprocess
*
* @return a future for the operation
*/
@Nonnull
public java.util.concurrent.CompletableFuture<Void> postAsync() {
return this.sendAsync(HttpMethod.POST, null);
}
/**
* Creates the AccessPackageAssignmentRequestReprocess
*
* @throws ClientException an exception occurs if there was an error while the request was sent
*/
public void post() throws ClientException {
this.send(HttpMethod.POST, null);
}
}