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