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