public class ExternalRequest extends com.microsoft.graph.http.BaseRequest<External>
| Constructor and Description |
|---|
ExternalRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the External
|
| Modifier and Type | Method and Description |
|---|---|
External |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<External> |
deleteAsync()
Delete this item from the service
|
ExternalRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
External |
get()
Gets the External from the service
|
java.util.concurrent.CompletableFuture<External> |
getAsync()
Gets the External from the service
|
External |
patch(External sourceExternal)
Patches this External with a source
|
java.util.concurrent.CompletableFuture<External> |
patchAsync(External sourceExternal)
Patches this External with a source
|
External |
post(External newExternal)
Creates a External with a new object
|
java.util.concurrent.CompletableFuture<External> |
postAsync(External newExternal)
Creates a External with a new object
|
External |
put(External newExternal)
Creates a External with a new object
|
java.util.concurrent.CompletableFuture<External> |
putAsync(External newExternal)
Creates a External with a new object
|
ExternalRequest |
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, withHttpMethodpublic ExternalRequest(@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<External> getAsync()
@Nullable public External 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<External> deleteAsync()
@Nullable public External 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<External> patchAsync(@Nonnull External sourceExternal)
sourceExternal - the source object with updates@Nullable public External patch(@Nonnull External sourceExternal) throws com.microsoft.graph.core.ClientException
sourceExternal - 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<External> postAsync(@Nonnull External newExternal)
newExternal - the new object to create@Nullable public External post(@Nonnull External newExternal) throws com.microsoft.graph.core.ClientException
newExternal - 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<External> putAsync(@Nonnull External newExternal)
newExternal - the object to create/update@Nullable public External put(@Nonnull External newExternal) throws com.microsoft.graph.core.ClientException
newExternal - the object to create/updatecom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public ExternalRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public ExternalRequest expand(@Nonnull java.lang.String value)
value - the expand clause