/**
 * 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.search.visualsearch.models;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The ImageTagRegion model.
 */
public class ImageTagRegion {
    /**
     * A rectangle that outlines the area of interest for this tag.
     */
    @JsonProperty(value = "queryRectangle", required = true)
    private NormalizedQuadrilateral queryRectangle;

    /**
     * A recommended rectangle to show to the user.
     */
    @JsonProperty(value = "displayRectangle", required = true)
    private NormalizedQuadrilateral displayRectangle;

    /**
     * Get the queryRectangle value.
     *
     * @return the queryRectangle value
     */
    public NormalizedQuadrilateral queryRectangle() {
        return this.queryRectangle;
    }

    /**
     * Set the queryRectangle value.
     *
     * @param queryRectangle the queryRectangle value to set
     * @return the ImageTagRegion object itself.
     */
    public ImageTagRegion withQueryRectangle(NormalizedQuadrilateral queryRectangle) {
        this.queryRectangle = queryRectangle;
        return this;
    }

    /**
     * Get the displayRectangle value.
     *
     * @return the displayRectangle value
     */
    public NormalizedQuadrilateral displayRectangle() {
        return this.displayRectangle;
    }

    /**
     * Set the displayRectangle value.
     *
     * @param displayRectangle the displayRectangle value to set
     * @return the ImageTagRegion object itself.
     */
    public ImageTagRegion withDisplayRectangle(NormalizedQuadrilateral displayRectangle) {
        this.displayRectangle = displayRectangle;
        return this;
    }

}
