Package com.microsoft.graph.requests
Class SendDtmfTonesOperationRequest
java.lang.Object
com.microsoft.graph.http.BaseRequest<SendDtmfTonesOperation>
com.microsoft.graph.requests.SendDtmfTonesOperationRequest
- All Implemented Interfaces:
com.microsoft.graph.http.IHttpRequest
public class SendDtmfTonesOperationRequest
extends com.microsoft.graph.http.BaseRequest<SendDtmfTonesOperation>
The class for the Send Dtmf Tones Operation Request.
-
Field Summary
Fields inherited from class com.microsoft.graph.http.BaseRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionSendDtmfTonesOperationRequest(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request for the SendDtmfTonesOperation -
Method Summary
Modifier and TypeMethodDescriptiondelete()Delete this item from the serviceDelete this item from the serviceSets the expand clause for the requestget()Gets the SendDtmfTonesOperation from the servicegetAsync()Gets the SendDtmfTonesOperation from the servicepatch(SendDtmfTonesOperation sourceSendDtmfTonesOperation) Patches this SendDtmfTonesOperation with a sourcepatchAsync(SendDtmfTonesOperation sourceSendDtmfTonesOperation) Patches this SendDtmfTonesOperation with a sourcepost(SendDtmfTonesOperation newSendDtmfTonesOperation) Creates a SendDtmfTonesOperation with a new objectpostAsync(SendDtmfTonesOperation newSendDtmfTonesOperation) Creates a SendDtmfTonesOperation with a new objectput(SendDtmfTonesOperation newSendDtmfTonesOperation) Creates a SendDtmfTonesOperation with a new objectputAsync(SendDtmfTonesOperation newSendDtmfTonesOperation) Creates a SendDtmfTonesOperation with a new objectSets the select clause for the requestMethods inherited from class com.microsoft.graph.http.BaseRequest
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, withHttpMethodMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.http.IHttpRequest
getHttpRequest
-
Constructor Details
-
SendDtmfTonesOperationRequest
public SendDtmfTonesOperationRequest(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request for the SendDtmfTonesOperation- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
getAsync
Gets the SendDtmfTonesOperation from the service- Returns:
- a future with the result
-
get
Gets the SendDtmfTonesOperation from the service- Returns:
- the SendDtmfTonesOperation from the request
- Throws:
com.microsoft.graph.core.ClientException- this exception occurs if the request was unable to complete for any reason
-
deleteAsync
Delete this item from the service- Returns:
- a future with the deletion result
-
delete
Delete this item from the service- Returns:
- the resulting response if the service returns anything on deletion
- Throws:
com.microsoft.graph.core.ClientException- if there was an exception during the delete operation
-
patchAsync
@Nonnull public CompletableFuture<SendDtmfTonesOperation> patchAsync(@Nonnull SendDtmfTonesOperation sourceSendDtmfTonesOperation) Patches this SendDtmfTonesOperation with a source- Parameters:
sourceSendDtmfTonesOperation- the source object with updates- Returns:
- a future with the result
-
patch
@Nullable public SendDtmfTonesOperation patch(@Nonnull SendDtmfTonesOperation sourceSendDtmfTonesOperation) throws com.microsoft.graph.core.ClientException Patches this SendDtmfTonesOperation with a source- Parameters:
sourceSendDtmfTonesOperation- the source object with updates- Returns:
- the updated SendDtmfTonesOperation
- Throws:
com.microsoft.graph.core.ClientException- this exception occurs if the request was unable to complete for any reason
-
postAsync
@Nonnull public CompletableFuture<SendDtmfTonesOperation> postAsync(@Nonnull SendDtmfTonesOperation newSendDtmfTonesOperation) Creates a SendDtmfTonesOperation with a new object- Parameters:
newSendDtmfTonesOperation- the new object to create- Returns:
- a future with the result
-
post
@Nullable public SendDtmfTonesOperation post(@Nonnull SendDtmfTonesOperation newSendDtmfTonesOperation) throws com.microsoft.graph.core.ClientException Creates a SendDtmfTonesOperation with a new object- Parameters:
newSendDtmfTonesOperation- the new object to create- Returns:
- the created SendDtmfTonesOperation
- Throws:
com.microsoft.graph.core.ClientException- this exception occurs if the request was unable to complete for any reason
-
putAsync
@Nonnull public CompletableFuture<SendDtmfTonesOperation> putAsync(@Nonnull SendDtmfTonesOperation newSendDtmfTonesOperation) Creates a SendDtmfTonesOperation with a new object- Parameters:
newSendDtmfTonesOperation- the object to create/update- Returns:
- a future with the result
-
put
@Nullable public SendDtmfTonesOperation put(@Nonnull SendDtmfTonesOperation newSendDtmfTonesOperation) throws com.microsoft.graph.core.ClientException Creates a SendDtmfTonesOperation with a new object- Parameters:
newSendDtmfTonesOperation- the object to create/update- Returns:
- the created SendDtmfTonesOperation
- Throws:
com.microsoft.graph.core.ClientException- this exception occurs if the request was unable to complete for any reason
-
select
Sets the select clause for the request- Parameters:
value- the select clause- Returns:
- the updated request
-
expand
Sets the expand clause for the request- Parameters:
value- the expand clause- Returns:
- the updated request
-