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 airQualityIndexInt?

Air Quality Index, not yet supported in daily forecasts.

chanceOfPrecipitationType

val chanceOfPrecipitationTypeWeatherTrait.PrecipitationType?

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

cloudCoverPercent

val cloudCoverPercentInt?

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

humidityPercent

val humidityPercentInt?

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

maxTemperature

val maxTemperatureInt?

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 minTemperatureInt?

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 precipitationChancePercentInt?

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

precipitationType

val precipitationTypeWeatherTrait.PrecipitationType?

The forecasted type of precipitation for this day.

uvIndex

val uvIndexInt?

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

windSpeedKph

val windSpeedKphFloat?

Daily forecast wind speed in kilometers per hour.