Class: Airavata::CloneExperimentByAdmin_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



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


9027
9028
9029
# File 'lib/airavata.rb', line 9027

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