All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.securitynamespace.requests.EdiscoveryNoncustodialDataSourceRemoveHoldRequest 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.security.requests;
import com.microsoft.graph.security.models.EdiscoveryNoncustodialDataSource;
import com.microsoft.graph.security.requests.EdiscoveryNoncustodialDataSourceRemoveHoldRequest;

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;
import com.microsoft.graph.security.models.EdiscoveryNoncustodialDataSourceRemoveHoldParameterSet;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
 * The class for the Ediscovery Noncustodial Data Source Remove Hold Request.
 */
public class EdiscoveryNoncustodialDataSourceRemoveHoldRequest extends BaseRequest {
    /**
     * The request for this EdiscoveryNoncustodialDataSourceRemoveHold
     *
     * @param requestUrl     the request URL
     * @param client         the service client
     * @param requestOptions the options for this request
     */
    public EdiscoveryNoncustodialDataSourceRemoveHoldRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List requestOptions) {
        super(requestUrl, client, requestOptions, Void.class);
    }

	/** The body for the method */
    @Nullable
    public EdiscoveryNoncustodialDataSourceRemoveHoldParameterSet body;
    /**
     * Creates the EdiscoveryNoncustodialDataSourceRemoveHold
     *
     * @return a future for the operation
     */
    @Nonnull
    public java.util.concurrent.CompletableFuture postAsync() {
        return this.sendAsync(HttpMethod.POST, body);
    }

    /**
     * Creates the EdiscoveryNoncustodialDataSourceRemoveHold
     *
     * @throws ClientException an exception occurs if there was an error while the request was sent
     */
    public void post() throws ClientException {
        this.send(HttpMethod.POST, body);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy