class Messagebus::Thrift::MessageInternal
Constants
- FIELDS
- MESSAGEID
- PAYLOAD
- PROPERTIES
Public Instance Methods
struct_fields()
click to toggle source
# File lib/messagebus/messagebus_types.rb, line 96 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/messagebus/messagebus_types.rb, line 98 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field messageId is unset!') unless @messageId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field payload is unset!') unless @payload end