WeatherTrait.DailyForecastConditions

class WeatherTrait.DailyForecastConditions : ClusterStruct


The daily forecasted weather conditions.

Summary

Public constructors

DailyForecastConditions(
    minTemperature: Int?,
    maxTemperature: Int?,
    humidityPercent: Int?,
    airQualityIndex: Int?,
    precipitationType: WeatherTrait.PrecipitationType?,
    chanceOfPrecipitationType: WeatherTrait.PrecipitationType?,
    precipitationChancePercent: Int?,
    cloudCoverPercent: Int?,
    windSpeedKph: Float?,
    uvIndex: Int?
)

Public properties

Int?

Air Quality Index, not yet supported in daily forecasts.

WeatherTrait.PrecipitationType?

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

Int?

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

Int?

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

Int?

The maximum forecasted temperature for the day in centi-celsius (celsius scale with resolution of 0.01C).

Int?

The minimum forecasted temperature for the day in centi-celsius (celsius scale with resolution of 0.01C).

Int?

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

WeatherTrait.PrecipitationType?

The forecasted type of precipitation for this day.

Int?

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

Float?

Daily forecast wind speed in kilometers per hour.

Public constructors

DailyForecastConditions

DailyForecastConditions(
    minTemperature: Int? = null,
    maxTemperature: 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,
    uvIndex: Int? = null
)

Public properties

airQualityIndex

val airQualityIndex: Int?

Air Quality Index, not yet supported in daily forecasts.

chanceOfPrecipitationType

val chanceOfPrecipitationType: WeatherTrait.PrecipitationType?

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

cloudCoverPercent

val cloudCoverPercent: Int?

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

humidityPercent

val humidityPercent: Int?

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

maxTemperature

val maxTemperature: Int?

The maximum forecasted temperature for the day in centi-celsius (celsius scale with resolution of 0.01C). For example, use 2570 for 25.7C.

minTemperature

val minTemperature: Int?

The minimum forecasted temperature for the day in centi-celsius (celsius scale with resolution of 0.01C). For example, use 2570 for 25.7C.

precipitationChancePercent

val precipitationChancePercent: Int?

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

precipitationType

val precipitationType: WeatherTrait.PrecipitationType?

The forecasted type of precipitation for this day.

uvIndex

val uvIndex: Int?

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

windSpeedKph

val windSpeedKph: Float?

Daily forecast wind speed in kilometers per hour.