com.microsoft.graph.requests.WorkbookRangeUnmergeRequest Maven / Gradle / Ivy
// Template Source: BaseMethodRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.requests;
import com.microsoft.graph.models.WorkbookRange;
import com.microsoft.graph.requests.WorkbookRangeUnmergeRequest;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.microsoft.graph.http.BaseRequest;
import com.microsoft.graph.http.HttpMethod;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.core.IBaseClient;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Workbook Range Unmerge Request.
*/
public class WorkbookRangeUnmergeRequest extends BaseRequest {
/**
* The request for this WorkbookRangeUnmerge
*
* @param requestUrl the request URL
* @param client the service client
* @param requestOptions the options for this request
*/
public WorkbookRangeUnmergeRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient> client, @Nullable final java.util.List extends com.microsoft.graph.options.Option> requestOptions) {
super(requestUrl, client, requestOptions, Void.class);
}
/**
* Creates the WorkbookRangeUnmerge
*
* @return a future for the operation
*/
@Nonnull
public java.util.concurrent.CompletableFuture postAsync() {
return this.sendAsync(HttpMethod.POST, null);
}
/**
* Creates the WorkbookRangeUnmerge
*
* @throws ClientException an exception occurs if there was an error while the request was sent
*/
public void post() throws ClientException {
this.send(HttpMethod.POST, null);
}
}