Class: Airavata::CloneExperiment_args

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

Constant Summary collapse

AUTHZTOKEN =
1
EXISTINGEXPERIMENTID =
2
NEWEXPERIMENTNAME =
3
NEWEXPERIMENTPROJECTID =
4
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  EXISTINGEXPERIMENTID => {:type => ::Thrift::Types::STRING, :name => 'existingExperimentID'},
  NEWEXPERIMENTNAME => {:type => ::Thrift::Types::STRING, :name => 'newExperimentName'},
  NEWEXPERIMENTPROJECTID => {:type => ::Thrift::Types::STRING, :name => 'newExperimentProjectId'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


8976
8977
8978
# File 'lib/airavata.rb', line 8976

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