Class: Airavata::RegisterResourceJobManager_args
- Inherits:
-
Object
- Object
- Airavata::RegisterResourceJobManager_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- RESOURCEJOBMANAGER =
2
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, RESOURCEJOBMANAGER => {:type => ::Thrift::Types::STRUCT, :name => 'resourceJobManager', :class => ::ResourceJobManager} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
12127 |
# File 'lib/airavata.rb', line 12127 def struct_fields; FIELDS; end |
#validate ⇒ Object
12129 12130 12131 12132 |
# File 'lib/airavata.rb', line 12129 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 resourceJobManager is unset!') unless @resourceJobManager end |