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