// 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;

/** Precipitation forecast of the weather along the route. */
@Fluent
public final class WeatherAlongRoutePrecipitation {
    /*
     * The forecasted precipitation intensity in dBZ (decibels relative to Z) from 0.0 to 100.0.
     */
    @JsonProperty(value = "dbz")
    private Double dbz;

    /*
     * Precipitation type. If precipitation should occur, the type that it will be: "RAIN," "HAIL," "SNOW," "ICE," or
     * "MIX."
     */
    @JsonProperty(value = "type")
    private String type;

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

    /**
     * Get the dbz property: The forecasted precipitation intensity in dBZ (decibels relative to Z) from 0.0 to 100.0.
     *
     * @return the dbz value.
     */
    public Double getDeciblesRelativeToZ() {
        return this.dbz;
    }

    /**
     * Get the type property: Precipitation type. If precipitation should occur, the type that it will be: "RAIN,"
     * "HAIL," "SNOW," "ICE," or "MIX.".
     *
     * @return the type value.
     */
    public String getType() {
        return this.type;
    }
}
