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

package com.azure.maps.traffic.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Generic representation of a point with coordinates (x, y) in the Cartesian plane. */
@Immutable
public final class MapsPoint {
    /*
     * x coordinate
     */
    @JsonProperty(value = "x", access = JsonProperty.Access.WRITE_ONLY)
    private Float x;

    /*
     * y coordinate
     */
    @JsonProperty(value = "y", access = JsonProperty.Access.WRITE_ONLY)
    private Float y;

    /** Set default constructor to private */
    private MapsPoint() {}

    /**
     * Get the x property: x coordinate.
     *
     * @return the x value.
     */
    public Float getX() {
        return this.x;
    }

    /**
     * Get the y property: y coordinate.
     *
     * @return the y value.
     */
    public Float getY() {
        return this.y;
    }
}
