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