public class WebAppRequest extends com.microsoft.graph.http.BaseRequest<WebApp>
Constructor and Description |
---|
WebAppRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the WebApp
|
Modifier and Type | Method and Description |
---|---|
WebApp |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<WebApp> |
deleteAsync()
Delete this item from the service
|
WebAppRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WebApp |
get()
Gets the WebApp from the service
|
java.util.concurrent.CompletableFuture<WebApp> |
getAsync()
Gets the WebApp from the service
|
WebApp |
patch(WebApp sourceWebApp)
Patches this WebApp with a source
|
java.util.concurrent.CompletableFuture<WebApp> |
patchAsync(WebApp sourceWebApp)
Patches this WebApp with a source
|
WebApp |
post(WebApp newWebApp)
Creates a WebApp with a new object
|
java.util.concurrent.CompletableFuture<WebApp> |
postAsync(WebApp newWebApp)
Creates a WebApp with a new object
|
WebApp |
put(WebApp newWebApp)
Creates a WebApp with a new object
|
java.util.concurrent.CompletableFuture<WebApp> |
putAsync(WebApp newWebApp)
Creates a WebApp with a new object
|
WebAppRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public WebAppRequest(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request@Nonnull public java.util.concurrent.CompletableFuture<WebApp> getAsync()
@Nullable public WebApp get() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<WebApp> deleteAsync()
@Nullable public WebApp delete() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- if there was an exception during the delete operation@Nonnull public java.util.concurrent.CompletableFuture<WebApp> patchAsync(@Nonnull WebApp sourceWebApp)
sourceWebApp
- the source object with updates@Nullable public WebApp patch(@Nonnull WebApp sourceWebApp) throws com.microsoft.graph.core.ClientException
sourceWebApp
- the source object with updatescom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<WebApp> postAsync(@Nonnull WebApp newWebApp)
newWebApp
- the new object to create@Nullable public WebApp post(@Nonnull WebApp newWebApp) throws com.microsoft.graph.core.ClientException
newWebApp
- the new object to createcom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<WebApp> putAsync(@Nonnull WebApp newWebApp)
newWebApp
- the object to create/update@Nullable public WebApp put(@Nonnull WebApp newWebApp) throws com.microsoft.graph.core.ClientException
newWebApp
- the object to create/updatecom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public WebAppRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public WebAppRequest expand(@Nonnull java.lang.String value)
value
- the expand clause