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

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

import com.azure.core.annotation.Immutable;
import com.azure.maps.search.models.BatchResultSummary;
import com.fasterxml.jackson.annotation.JsonProperty;

/** This object is returned from a successful Batch service call. Extend with 'batchItems' property. */
@Immutable
public class BatchResult {
    /*
     * Summary of the results for the batch request
     */
    @JsonProperty(value = "summary", access = JsonProperty.Access.WRITE_ONLY)
    private BatchResultSummary batchSummary;

    /** Creates an instance of BatchResult class. */
    public BatchResult() {}

    /**
     * Get the batchSummary property: Summary of the results for the batch request.
     *
     * @return the batchSummary value.
     */
    public BatchResultSummary getBatchSummary() {
        return this.batchSummary;
    }
}
