Constructs a new AddItemCmd.
Optional properties: IAddItemCmdProperties to set
AddItemCmd eventId.
AddItemCmd items.
AddItemCmd spaceId.
Static createCreates a new AddItemCmd instance using the specified properties.
Optional properties: IAddItemCmdProperties to set
AddItemCmd instance
Static decodeDecodes an AddItemCmd message from the specified reader or buffer.
If the payload is not a reader or valid buffer
If required fields are missing
Reader or buffer to decode from
Optional length: numberMessage length if known beforehand
AddItemCmd
Static decodeDecodes an AddItemCmd message from the specified reader or buffer, length delimited.
If the payload is not a reader or valid buffer
If required fields are missing
Reader or buffer to decode from
AddItemCmd
Static encodeEncodes the specified AddItemCmd message. Does not implicitly verify messages.
AddItemCmd message or plain object to encode
Optional writer: anyWriter to encode to
Writer
Static encodeEncodes the specified AddItemCmd message, length delimited. Does not implicitly verify messages.
AddItemCmd message or plain object to encode
Optional writer: anyWriter to encode to
Writer
Static fromCreates an AddItemCmd message from a plain object. Also converts values to their respective internal types.
Plain object
AddItemCmd
Static toCreates a plain object from an AddItemCmd message. Also converts values to other types if specified.
AddItemCmd
Optional options: anyConversion options
Plain object
Static verifyGenerated using TypeDoc
Represents an AddItemCmd.