Class: Airavata::GetStorageResource_args
- Inherits:
-
Object
- Object
- Airavata::GetStorageResource_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- STORAGERESOURCEID =
2
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, STORAGERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'storageResourceId'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
10467 |
# File 'lib/airavata.rb', line 10467 def struct_fields; FIELDS; end |
#validate ⇒ Object
10469 10470 10471 10472 |
# File 'lib/airavata.rb', line 10469 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 storageResourceId is unset!') unless @storageResourceId end |