Class: ProcessWorkflow
- Inherits:
-
Object
- Object
- ProcessWorkflow
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/process_model_types.rb
Constant Summary collapse
- PROCESSID =
1
- WORKFLOWID =
2
- CREATIONTIME =
3
- TYPE =
4
- FIELDS =
{ PROCESSID => {:type => ::Thrift::Types::STRING, :name => 'processId'}, WORKFLOWID => {:type => ::Thrift::Types::STRING, :name => 'workflowId'}, CREATIONTIME => {:type => ::Thrift::Types::I64, :name => 'creationTime', :optional => true}, TYPE => {:type => ::Thrift::Types::STRING, :name => 'type', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
29 |
# File 'lib/process_model_types.rb', line 29 def struct_fields; FIELDS; end |
#validate ⇒ Object
31 32 33 34 |
# File 'lib/process_model_types.rb', line 31 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 workflowId is unset!') unless @workflowId end |