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