FillTrait.FillCommand.Request

class FillTrait.FillCommand.Request


The request payload for the Fill command.

Summary

Public constructors

Request(fill: Boolean, fillLevel: String, fillPercent: Float)

Creates a request payload for the Fill command.

Public properties

Boolean

Set to true to fill, false to drain.

String

The levelName from the availableFillLevels attribute to set.

Float

The requested level percentage.

Public constructors

Request

Request(fill: Boolean = false, fillLevel: String = "", fillPercent: Float = 0.0f)

Creates a request payload for the Fill command.

Public properties

fill

val fillBoolean

Set to true to fill, false to drain.

fillLevel

val fillLevelString

The levelName from the availableFillLevels attribute to set. If unspecified, fill to the default level.

fillPercent

val fillPercentFloat

The requested level percentage.