DeviceEnergyManagementTrait.ForecastStruct.StructFields

@HomeExperimentalGenericApi
enum DeviceEnergyManagementTrait.ForecastStruct.StructFields : Enum, Field


Descriptor enum for this struct's fields.

Summary

Enum Values

activeSlotNumber

The activeSlotNumber command request field.

earliestStartTime

The earliestStartTime command request field.

endTime

The endTime command request field.

forecastId

The forecastId command request field.

forecastUpdateReason

The forecastUpdateReason command request field.

isPausable

The isPausable command request field.

latestEndTime

The latestEndTime command request field.

slots

The slots command request field.

startTime

The startTime command request field.

Public functions

DeviceEnergyManagementTrait.ForecastStruct.StructFields
valueOf(value: String)

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

Array<DeviceEnergyManagementTrait.ForecastStruct.StructFields>

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

Public properties

open Descriptor
EnumEntries<DeviceEnergyManagementTrait.ForecastStruct.StructFields>

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

open String
open Boolean
Boolean
open UInt
open Type
open String

Enum Values

Public functions

valueOf

fun valueOf(value: String): DeviceEnergyManagementTrait.ForecastStruct.StructFields

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<DeviceEnergyManagementTrait.ForecastStruct.StructFields>

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

descriptor

open val descriptorDescriptor

entries

val entriesEnumEntries<DeviceEnergyManagementTrait.ForecastStruct.StructFields>

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.

fieldName

open val fieldNameString

isList

open val isListBoolean

isNullable

val isNullableBoolean

tag

open val tagUInt

typeEnum

open val typeEnumType

typeName

open val typeNameString