WeatherTrait.PrecipitationType

enum WeatherTrait.PrecipitationType : Enum, PlatformEnum


The type of precipitation that has a chance of occurring.

Summary

Enum Values

PrecipitationTypeNone

No precipitation.

PrecipitationTypeRain

Rain.

PrecipitationTypeRainAndSnow

Rain and snow.

PrecipitationTypeSnow

Snow.

PrecipitationTypeUnspecified

Unspecified precipitation type.

UnknownValue

When encountering fields that are out of range (e.g due to newer schema), this value is emitted.

Public functions

WeatherTrait.PrecipitationType
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<WeatherTrait.PrecipitationType>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<WeatherTrait.PrecipitationType>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

open ULong
open String
open String
open String

Enum Values

PrecipitationTypeUnspecified

val WeatherTrait.PrecipitationType.PrecipitationTypeUnspecifiedWeatherTrait.PrecipitationType

Unspecified precipitation type.

UnknownValue

val WeatherTrait.PrecipitationType.UnknownValueWeatherTrait.PrecipitationType

When encountering fields that are out of range (e.g due to newer schema), this value is emitted.

Public companion properties

Public functions

valueOf

fun valueOf(value: String): WeatherTrait.PrecipitationType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<WeatherTrait.PrecipitationType>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

entries

val entriesEnumEntries<WeatherTrait.PrecipitationType>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.

id

open val idULong

traitId

open val traitIdString

typeName

open val typeNameString

value

open val valueString