// 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.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The viewport that covers the result represented by the top-left and bottom-right coordinates of the viewport. */
@Fluent
public final class BoundingBoxPrivate {
    /*
     * A location represented as a latitude and longitude using short names 'lat' & 'lon'.
     */
    @JsonProperty(value = "topLeftPoint")
    private LatLongPairAbbreviated topLeft;

    /*
     * A location represented as a latitude and longitude using short names 'lat' & 'lon'.
     */
    @JsonProperty(value = "btmRightPoint")
    private LatLongPairAbbreviated bottomRight;

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

    /**
     * Get the topLeft property: A location represented as a latitude and longitude using short names 'lat' &amp; 'lon'.
     *
     * @return the topLeft value.
     */
    public LatLongPairAbbreviated getTopLeft() {
        return this.topLeft;
    }

    /**
     * Set the topLeft property: A location represented as a latitude and longitude using short names 'lat' &amp; 'lon'.
     *
     * @param topLeft the topLeft value to set.
     * @return the BoundingBoxPrivate object itself.
     */
    public BoundingBoxPrivate setTopLeft(LatLongPairAbbreviated topLeft) {
        this.topLeft = topLeft;
        return this;
    }

    /**
     * Get the bottomRight property: A location represented as a latitude and longitude using short names 'lat' &amp;
     * 'lon'.
     *
     * @return the bottomRight value.
     */
    public LatLongPairAbbreviated getBottomRight() {
        return this.bottomRight;
    }

    /**
     * Set the bottomRight property: A location represented as a latitude and longitude using short names 'lat' &amp;
     * 'lon'.
     *
     * @param bottomRight the bottomRight value to set.
     * @return the BoundingBoxPrivate object itself.
     */
    public BoundingBoxPrivate setBottomRight(LatLongPairAbbreviated bottomRight) {
        this.bottomRight = bottomRight;
        return this;
    }
}
