D253RequestValue

Compiled and validated value which can be used as an argument in a D253Request object.

This class and its builder perform value range validation and data type conversions on the data before it gets inserted into a D253Request object.

Not all requests require this step, so D253RequestValue objects aren't always needed.

All D253RequestValue objects are compiled by using the internal Builder class.

Parameters

command

The command to be inserted into the data packet

hex

The encoded hex string to be inserted into the data packet as part of the payload

Types

Link copied to clipboard
class Builder

Builder class for D253RequestValue objects.

Properties

Link copied to clipboard
Link copied to clipboard
val hex: String