Class: JobIdentifier
- Inherits:
-
Object
- Object
- JobIdentifier
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/messaging_events_types.rb
Constant Summary collapse
- JOBID =
1
- TASKID =
2
- PROCESSID =
3
- EXPERIMENTID =
4
- GATEWAYID =
5
- FIELDS =
{ JOBID => {:type => ::Thrift::Types::STRING, :name => 'jobId'}, TASKID => {:type => ::Thrift::Types::STRING, :name => 'taskId'}, 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
239 |
# File 'lib/messaging_events_types.rb', line 239 def struct_fields; FIELDS; end |
#validate ⇒ Object
241 242 243 244 245 246 247 |
# File 'lib/messaging_events_types.rb', line 241 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field jobId is unset!') unless @jobId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field taskId is unset!') unless @taskId 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 |