Class: Airavata::SaveParser_args
- Inherits:
-
Object
- Object
- Airavata::SaveParser_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- PARSER =
2
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, PARSER => {:type => ::Thrift::Types::STRUCT, :name => 'parser', :class => ::Parser} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
15419 |
# File 'lib/airavata.rb', line 15419 def struct_fields; FIELDS; end |
#validate ⇒ Object
15421 15422 15423 15424 |
# File 'lib/airavata.rb', line 15421 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 parser is unset!') unless @parser end |