Class: Airavata::GenerateAndRegisterSSHKeys_args

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

Constant Summary collapse

AUTHZTOKEN =
1
DESCRIPTION =
4
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  DESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'description'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


7519
7520
7521
# File 'lib/airavata.rb', line 7519

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field authzToken is unset!') unless @authzToken
end