Class: ProcessTerminateEvent
- Inherits:
-
Object
- Object
- ProcessTerminateEvent
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/messaging_events_types.rb
Constant Summary collapse
- PROCESSID =
1
- GATEWAYID =
2
- TOKENID =
3
- FIELDS =
{ PROCESSID => {:type => ::Thrift::Types::STRING, :name => 'processId'}, GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayId'}, TOKENID => {:type => ::Thrift::Types::STRING, :name => 'tokenId'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
310 |
# File 'lib/messaging_events_types.rb', line 310 def struct_fields; FIELDS; end |
#validate ⇒ Object
312 313 314 315 316 |
# File 'lib/messaging_events_types.rb', line 312 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 gatewayId is unset!') unless @gatewayId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tokenId is unset!') unless @tokenId end |