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