Class: Airavata::GetDataProduct_args
- Inherits:
-
Object
- Object
- Airavata::GetDataProduct_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- DATAPRODUCTURI =
2
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, DATAPRODUCTURI => {:type => ::Thrift::Types::STRING, :name => 'dataProductUri'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
14101 |
# File 'lib/airavata.rb', line 14101 def struct_fields; FIELDS; end |
#validate ⇒ Object
14103 14104 14105 14106 |
# File 'lib/airavata.rb', line 14103 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 dataProductUri is unset!') unless @dataProductUri end |