Class: Airavata::DeleteStorageResource_args
- Inherits:
-
Object
- Object
- Airavata::DeleteStorageResource_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
10599 |
# File 'lib/airavata.rb', line 10599 def struct_fields; FIELDS; end |
#validate ⇒ Object
10601 10602 10603 10604 |
# File 'lib/airavata.rb', line 10601 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 |