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

package com.azure.maps.weather.models;

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

/** A rating that indicates how blinding the sun is for the driver. */
@Fluent
public final class SunGlare {
    /*
     * If the vehicle heading value is not provided for a waypoint, then the service will calculate a heading based
     * upon the location of neighboring waypoints if provided.
     */
    @JsonProperty(value = "calculatedVehicleHeading")
    private Integer calculatedVehicleHeading;

    /*
     * An index from 0 to 100 indicating sun glare intensity for a driver. A value of 50 and above can be considered a
     * hazard for some drivers and a value of 100 signifies the driver is driving straight into the sun and atmospheric
     * conditions are clear allowing for the full intensity of the sun to blind the driver.
     */
    @JsonProperty(value = "glareIndex")
    private Integer glareIndex;

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

    /**
     * Get the calculatedVehicleHeading property: If the vehicle heading value is not provided for a waypoint, then the
     * service will calculate a heading based upon the location of neighboring waypoints if provided.
     *
     * @return the calculatedVehicleHeading value.
     */
    public Integer getCalculatedVehicleHeading() {
        return this.calculatedVehicleHeading;
    }

    /**
     * Get the glareIndex property: An index from 0 to 100 indicating sun glare intensity for a driver. A value of 50
     * and above can be considered a hazard for some drivers and a value of 100 signifies the driver is driving straight
     * into the sun and atmospheric conditions are clear allowing for the full intensity of the sun to blind the driver.
     *
     * @return the glareIndex value.
     */
    public Integer getGlareIndex() {
        return this.glareIndex;
    }
}
