/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.vision.customvision.training.models;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Batch of image region information to create.
 */
public class ImageRegionCreateBatch {
    /**
     * The regions property.
     */
    @JsonProperty(value = "regions")
    private List<ImageRegionCreateEntry> regions;

    /**
     * Get the regions value.
     *
     * @return the regions value
     */
    public List<ImageRegionCreateEntry> regions() {
        return this.regions;
    }

    /**
     * Set the regions value.
     *
     * @param regions the regions value to set
     * @return the ImageRegionCreateBatch object itself.
     */
    public ImageRegionCreateBatch withRegions(List<ImageRegionCreateEntry> regions) {
        this.regions = regions;
        return this;
    }

}
