WeatherTrait.HourlyForecastConditions

class WeatherTrait.HourlyForecastConditions : ClusterStruct


The hourly forecasted weather conditions.

Summary

Public constructors

HourlyForecastConditions(
    temperature: Int?,
    humidityPercent: Int?,
    airQualityIndex: Int?,
    precipitationType: WeatherTrait.PrecipitationType?,
    chanceOfPrecipitationType: WeatherTrait.PrecipitationType?,
    precipitationChancePercent: Int?,
    cloudCoverPercent: Int?,
    windSpeedKph: Float?,
    visibilityKm: Float?,
    dewPoint: Int?,
    uvIndex: Int?
)

Public properties

Int?

Air Quality Index, not yet supported in hourly forecasts.

WeatherTrait.PrecipitationType?

The type of precipitation that has a chance of occurring, corresponding to precipitation_chance_percent.

Int?

Hourly forecast cloud cover as a percentage (0-100).

Int?

Hourly forecast dew point in centi-celsius.

Int?

Hourly forecast humidity as a percentage (0-100).

Int?

Chance of precipitation as a percentage (0-100).

WeatherTrait.PrecipitationType?

The forecasted type of precipitation for this hour.

Int?

Temp in centi-celsius (celsius scale with resolution of 0.01C).

Int?

Values range between 0, 11, and higher values mark stronger radiation.

Float?

Current visibility in kilometers.

Float?

Hourly forecast wind speed in kilometers per hour.

Public constructors

HourlyForecastConditions

HourlyForecastConditions(
    temperature: Int? = null,
    humidityPercent: Int? = null,
    airQualityIndex: Int? = null,
    precipitationType: WeatherTrait.PrecipitationType? = null,
    chanceOfPrecipitationType: WeatherTrait.PrecipitationType? = null,
    precipitationChancePercent: Int? = null,
    cloudCoverPercent: Int? = null,
    windSpeedKph: Float? = null,
    visibilityKm: Float? = null,
    dewPoint: Int? = null,
    uvIndex: Int? = null
)

Public properties

airQualityIndex

val airQualityIndexInt?

Air Quality Index, not yet supported in hourly forecasts.

chanceOfPrecipitationType

val chanceOfPrecipitationTypeWeatherTrait.PrecipitationType?

The type of precipitation that has a chance of occurring, corresponding to precipitation_chance_percent.

cloudCoverPercent

val cloudCoverPercentInt?

Hourly forecast cloud cover as a percentage (0-100).

dewPoint

val dewPointInt?

Hourly forecast dew point in centi-celsius. This is the temperature at which air, at a given pressure, becomes saturated with water vapor. For example, use 2570 for 25.7C

humidityPercent

val humidityPercentInt?

Hourly forecast humidity as a percentage (0-100).

precipitationChancePercent

val precipitationChancePercentInt?

Chance of precipitation as a percentage (0-100).

precipitationType

val precipitationTypeWeatherTrait.PrecipitationType?

The forecasted type of precipitation for this hour.

temperature

val temperatureInt?

Temp in centi-celsius (celsius scale with resolution of 0.01C). For example, use 2570 for 25.7C.

uvIndex

val uvIndexInt?

Values range between 0, 11, and higher values mark stronger radiation.

visibilityKm

val visibilityKmFloat?

Current visibility in kilometers.

windSpeedKph

val windSpeedKphFloat?

Hourly forecast wind speed in kilometers per hour.