DeviceEnergyManagementTrait.SlotStruct.StructFields

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


Descriptor enum for this struct's fields.

Summary

Enum Values

costs

The costs command request field.

defaultDuration

The defaultDuration command request field.

elapsedSlotTime

The elapsedSlotTime command request field.

manufacturerEsaState

The manufacturerEsaState command request field.

maxDuration

The maxDuration command request field.

maxDurationAdjustment

The maxDurationAdjustment command request field.

maxPauseDuration

The maxPauseDuration command request field.

maxPower

The maxPower command request field.

maxPowerAdjustment

The maxPowerAdjustment command request field.

minDuration

The minDuration command request field.

minDurationAdjustment

The minDurationAdjustment command request field.

minPauseDuration

The minPauseDuration command request field.

minPower

The minPower command request field.

minPowerAdjustment

The minPowerAdjustment command request field.

nominalEnergy

The nominalEnergy command request field.

nominalPower

The nominalPower command request field.

remainingSlotTime

The remainingSlotTime command request field.

slotIsPausable

The slotIsPausable command request field.

Public functions

DeviceEnergyManagementTrait.SlotStruct.StructFields
valueOf(value: String)

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

Array<DeviceEnergyManagementTrait.SlotStruct.StructFields>

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

Public properties

open Descriptor
EnumEntries<DeviceEnergyManagementTrait.SlotStruct.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.SlotStruct.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.SlotStruct.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 descriptor: Descriptor

entries

val entries: EnumEntries<DeviceEnergyManagementTrait.SlotStruct.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 fieldName: String

isList

open val isList: Boolean

isNullable

val isNullable: Boolean

tag

open val tag: UInt

typeEnum

open val typeEnum: Type

typeName

open val typeName: String