Class: Airavata::AddUNICOREJobSubmissionDetails_args
- Inherits:
-
Object
- Object
- Airavata::AddUNICOREJobSubmissionDetails_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- COMPUTERESOURCEID =
2
- PRIORITYORDER =
3
- UNICOREJOBSUBMISSION =
4
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, COMPUTERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'computeResourceId'}, PRIORITYORDER => {:type => ::Thrift::Types::I32, :name => 'priorityOrder'}, UNICOREJOBSUBMISSION => {:type => ::Thrift::Types::STRUCT, :name => 'unicoreJobSubmission', :class => ::UnicoreJobSubmission} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
10932 |
# File 'lib/airavata.rb', line 10932 def struct_fields; FIELDS; end |
#validate ⇒ Object
10934 10935 10936 10937 10938 10939 |
# File 'lib/airavata.rb', line 10934 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field authzToken is unset!') unless @authzToken raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field computeResourceId is unset!') unless @computeResourceId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field priorityOrder is unset!') unless @priorityOrder raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field unicoreJobSubmission is unset!') unless @unicoreJobSubmission end |