ThermostatTrait.AtomicRequestCommand.Request

class ThermostatTrait.AtomicRequestCommand.Request


The request payload for the AtomicRequest command.

Summary

Public constructors

Request(
    requestType: ThermostatTrait.AtomicRequestTypeEnum,
    attributeRequests: List<UInt>,
    timeout: OptionalValue<UShort>
)

Creates a request payload for the AtomicRequest command.

Public constructors

Request

Request(
    requestType: ThermostatTrait.AtomicRequestTypeEnum = AtomicRequestTypeEnum.BeginWrite,
    attributeRequests: List<UInt> = emptyList(),
    timeout: OptionalValue<UShort> = OptionalValue.absent()
)

Creates a request payload for the AtomicRequest command.

Public properties

attributeRequests

val attributeRequestsList<UInt>

timeout

val timeoutOptionalValue<UShort>