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

/** The PrecipitationSummary model. */
@Fluent
public final class PrecipitationSummary {
    /*
     * The amount of precipitation (liquid equivalent) that has fallen in the past hour.
     */
    @JsonProperty(value = "pastHour")
    private WeatherUnitDetails pastHour;

    /*
     * The amount of precipitation (liquid equivalent) that has fallen in the past three hours.
     */
    @JsonProperty(value = "pastThreeHours")
    private WeatherUnitDetails pastThreeHours;

    /*
     * The amount of precipitation (liquid equivalent) that has fallen in the past six hours. Contains Metric and
     * Imperial Values.
     */
    @JsonProperty(value = "pastSixHours")
    private WeatherUnitDetails pastSixHours;

    /*
     * The amount of precipitation (liquid equivalent) that has fallen in the past nine hours.
     */
    @JsonProperty(value = "pastNineHours")
    private WeatherUnitDetails pastNineHours;

    /*
     * The amount of precipitation (liquid equivalent) that has fallen in the past 12 hours.
     */
    @JsonProperty(value = "pastTwelveHours")
    private WeatherUnitDetails pastTwelveHours;

    /*
     * The amount of precipitation (liquid equivalent) that has fallen in the past 18 hours.
     */
    @JsonProperty(value = "pastEighteenHours")
    private WeatherUnitDetails pastEighteenHours;

    /*
     * The amount of precipitation (liquid equivalent) that has fallen in the past 24 hours.
     */
    @JsonProperty(value = "pastTwentyFourHours")
    private WeatherUnitDetails pastTwentyFourHours;

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

    /**
     * Get the pastHour property: The amount of precipitation (liquid equivalent) that has fallen in the past hour.
     *
     * @return the pastHour value.
     */
    public WeatherUnitDetails getPastHour() {
        return this.pastHour;
    }

    /**
     * Get the pastThreeHours property: The amount of precipitation (liquid equivalent) that has fallen in the past
     * three hours.
     *
     * @return the pastThreeHours value.
     */
    public WeatherUnitDetails getPastThreeHours() {
        return this.pastThreeHours;
    }

    /**
     * Get the pastSixHours property: The amount of precipitation (liquid equivalent) that has fallen in the past six
     * hours. Contains Metric and Imperial Values.
     *
     * @return the pastSixHours value.
     */
    public WeatherUnitDetails getPastSixHours() {
        return this.pastSixHours;
    }

    /**
     * Get the pastNineHours property: The amount of precipitation (liquid equivalent) that has fallen in the past nine
     * hours.
     *
     * @return the pastNineHours value.
     */
    public WeatherUnitDetails getPastNineHours() {
        return this.pastNineHours;
    }

    /**
     * Get the pastTwelveHours property: The amount of precipitation (liquid equivalent) that has fallen in the past 12
     * hours.
     *
     * @return the pastTwelveHours value.
     */
    public WeatherUnitDetails getPastTwelveHours() {
        return this.pastTwelveHours;
    }

    /**
     * Get the pastEighteenHours property: The amount of precipitation (liquid equivalent) that has fallen in the past
     * 18 hours.
     *
     * @return the pastEighteenHours value.
     */
    public WeatherUnitDetails getPastEighteenHours() {
        return this.pastEighteenHours;
    }

    /**
     * Get the pastTwentyFourHours property: The amount of precipitation (liquid equivalent) that has fallen in the past
     * 24 hours.
     *
     * @return the pastTwentyFourHours value.
     */
    public WeatherUnitDetails getPastTwentyFourHours() {
        return this.pastTwentyFourHours;
    }
}
