Class: ProcessIdentifier
- Inherits:
-
Object
- Object
- ProcessIdentifier
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/messaging_events_types.rb
Constant Summary collapse
- PROCESSID =
1
- EXPERIMENTID =
2
- GATEWAYID =
3
- FIELDS =
{ PROCESSID => {:type => ::Thrift::Types::STRING, :name => 'processId'}, EXPERIMENTID => {:type => ::Thrift::Types::STRING, :name => 'experimentId'}, GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayId'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
74 |
# File 'lib/messaging_events_types.rb', line 74 def struct_fields; FIELDS; end |
#validate ⇒ Object
76 77 78 79 80 |
# File 'lib/messaging_events_types.rb', line 76 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field processId is unset!') unless @processId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field experimentId is unset!') unless @experimentId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field gatewayId is unset!') unless @gatewayId end |