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

com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBuilder Maven / Gradle / Ivy

The newest version!
/* 
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

package com.styra.opa.openapi.models.operations;

import com.styra.opa.openapi.utils.Utils;

public class ExecuteBatchPolicyWithInputRequestBuilder {

    private ExecuteBatchPolicyWithInputRequest request;
    private final SDKMethodInterfaces.MethodCallExecuteBatchPolicyWithInput sdk;

    public ExecuteBatchPolicyWithInputRequestBuilder(SDKMethodInterfaces.MethodCallExecuteBatchPolicyWithInput sdk) {
        this.sdk = sdk;
    }

    public ExecuteBatchPolicyWithInputRequestBuilder request(ExecuteBatchPolicyWithInputRequest request) {
        Utils.checkNotNull(request, "request");
        this.request = request;
        return this;
    }

    public ExecuteBatchPolicyWithInputResponse call() throws Exception {

        return sdk.executeBatchPolicyWithInput(
            request);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy