Class: Airavata::ChangeJobSubmissionPriority_args
- Inherits:
-
Object
- Object
- Airavata::ChangeJobSubmissionPriority_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- JOBSUBMISSIONINTERFACEID =
2
- NEWPRIORITYORDER =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, JOBSUBMISSIONINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'jobSubmissionInterfaceId'}, NEWPRIORITYORDER => {:type => ::Thrift::Types::I32, :name => 'newPriorityOrder'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11847 |
# File 'lib/airavata.rb', line 11847 def struct_fields; FIELDS; end |
#validate ⇒ Object
11849 11850 11851 11852 11853 |
# File 'lib/airavata.rb', line 11849 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 jobSubmissionInterfaceId is unset!') unless @jobSubmissionInterfaceId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field newPriorityOrder is unset!') unless @newPriorityOrder end |