Class: Airavata::GetParser_args
- Inherits:
-
Object
- Object
- Airavata::GetParser_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- PARSERID =
2
- GATEWAYID =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, PARSERID => {:type => ::Thrift::Types::STRING, :name => 'parserId'}, GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayId'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
15374 |
# File 'lib/airavata.rb', line 15374 def struct_fields; FIELDS; end |
#validate ⇒ Object
15376 15377 15378 15379 15380 |
# File 'lib/airavata.rb', line 15376 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 parserId is unset!') unless @parserId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field gatewayId is unset!') unless @gatewayId end |