Class: Airavata::ChangeJobSubmissionPriorities_args
- Inherits:
-
Object
- Object
- Airavata::ChangeJobSubmissionPriorities_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- JOBSUBMISSIONPRIORITYMAP =
2
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, JOBSUBMISSIONPRIORITYMAP => {:type => ::Thrift::Types::MAP, :name => 'jobSubmissionPriorityMap', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11939 |
# File 'lib/airavata.rb', line 11939 def struct_fields; FIELDS; end |
#validate ⇒ Object
11941 11942 11943 11944 |
# File 'lib/airavata.rb', line 11941 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 jobSubmissionPriorityMap is unset!') unless @jobSubmissionPriorityMap end |