Data class representing a message for the hook.
The hook to be executed.
The unique identifier of the plan.
Extension function to encode a QueueMessage to a ByteArray using the provided Json instance.
Extension function to encode a QueueMessage to a String using the provided Json instance.