// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.maps.route.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** This type represents the request body for the Batch service. */
@Fluent
public final class BatchRequest {
    /*
     * The list of queries to process.
     */
    @JsonProperty(value = "batchItems")
    private List<BatchRequestItem> batchItems;

    /**
     * Get the batchItems property: The list of queries to process.
     *
     * @return the batchItems value.
     */
    public List<BatchRequestItem> getBatchItems() {
        return this.batchItems;
    }

    /**
     * Set the batchItems property: The list of queries to process.
     *
     * @param batchItems the batchItems value to set.
     * @return the BatchRequest object itself.
     */
    public BatchRequest setBatchItems(List<BatchRequestItem> batchItems) {
        this.batchItems = batchItems;
        return this;
    }
}
