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

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Coordinates to the found face.
 */
public class Face {
    /**
     * The bottom coordinate.
     */
    @JsonProperty(value = "Bottom")
    private Integer bottom;

    /**
     * The left coordinate.
     */
    @JsonProperty(value = "Left")
    private Integer left;

    /**
     * The right coordinate.
     */
    @JsonProperty(value = "Right")
    private Integer right;

    /**
     * The top coordinate.
     */
    @JsonProperty(value = "Top")
    private Integer top;

    /**
     * Get the bottom value.
     *
     * @return the bottom value
     */
    public Integer bottom() {
        return this.bottom;
    }

    /**
     * Set the bottom value.
     *
     * @param bottom the bottom value to set
     * @return the Face object itself.
     */
    public Face withBottom(Integer bottom) {
        this.bottom = bottom;
        return this;
    }

    /**
     * Get the left value.
     *
     * @return the left value
     */
    public Integer left() {
        return this.left;
    }

    /**
     * Set the left value.
     *
     * @param left the left value to set
     * @return the Face object itself.
     */
    public Face withLeft(Integer left) {
        this.left = left;
        return this;
    }

    /**
     * Get the right value.
     *
     * @return the right value
     */
    public Integer right() {
        return this.right;
    }

    /**
     * Set the right value.
     *
     * @param right the right value to set
     * @return the Face object itself.
     */
    public Face withRight(Integer right) {
        this.right = right;
        return this;
    }

    /**
     * Get the top value.
     *
     * @return the top value
     */
    public Integer top() {
        return this.top;
    }

    /**
     * Set the top value.
     *
     * @param top the top value to set
     * @return the Face object itself.
     */
    public Face withTop(Integer top) {
        this.top = top;
        return this;
    }

}
