Constructs a new AgentAction.
Optional
properties:
IAgentAction
Properties to set
AgentAction deviceID.
AgentAction isDeleted.
AgentAction name.
Static
create
Creates a new AgentAction instance using the specified properties.
Optional
properties:
IAgentAction
Properties to set
AgentAction instance
Static
decode
Decodes an AgentAction message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length:
number
Message length if known beforehand
AgentAction
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes an AgentAction message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
AgentAction
If the payload is not a reader or valid buffer
If required fields are missing
Static
encode
Encodes the specified AgentAction message. Does not implicitly verify messages.
AgentAction message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
encodeEncodes the specified AgentAction message, length delimited. Does not implicitly verify messages.
AgentAction message or plain object to encode
Optional
writer:
Writer
Writer to encode to
Writer
Static
fromCreates an AgentAction message from a plain object. Also converts values to their respective internal types.
Plain object
AgentAction
Static
toCreates a plain object from an AgentAction message. Also converts values to other types if specified.
AgentAction
Optional
options:
IConversionOptions
Conversion options
Plain object
Static
verify
Generated using TypeDoc
Represents an AgentAction.