Class: Airavata::AddCloudJobSubmissionDetails_args
- Inherits:
-
Object
- Object
- Airavata::AddCloudJobSubmissionDetails_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- COMPUTERESOURCEID =
2
- PRIORITYORDER =
3
- CLOUDSUBMISSION =
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'}, CLOUDSUBMISSION => {:type => ::Thrift::Types::STRUCT, :name => 'cloudSubmission', :class => ::CloudJobSubmission} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11026 |
# File 'lib/airavata.rb', line 11026 def struct_fields; FIELDS; end |
#validate ⇒ Object
11028 11029 11030 11031 11032 11033 |
# File 'lib/airavata.rb', line 11028 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 cloudSubmission is unset!') unless @cloudSubmission end |