Class: Airavata::UpdateStorageResource_args

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/airavata.rb

Constant Summary collapse

AUTHZTOKEN =
1
STORAGERESOURCEID =
2
STORAGERESOURCEDESCRIPTION =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  STORAGERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'storageResourceId'},
  STORAGERESOURCEDESCRIPTION => {:type => ::Thrift::Types::STRUCT, :name => 'storageResourceDescription', :class => ::StorageResourceDescription}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



10554
# File 'lib/airavata.rb', line 10554

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


10556
10557
10558
10559
10560
# File 'lib/airavata.rb', line 10556

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
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field storageResourceDescription is unset!') unless @storageResourceDescription
end