Class: Rafflesia::BlastDbBuildRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/sequences/blast_db_build_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  allow_unbenchmarked_publish: :allow_unbenchmarked_publish,
  blastdb_version: :blastdb_version,
  dry_run: :dry_run,
  extra_args: :extra_args,
  index_format: :index_format,
  input_file_name: :input_file_name,
  input_object_id: :input_object_id,
  input_path: :input_path,
  molecule: :molecule,
  name: :name,
  output_dir: :output_dir,
  parse_seqids: :parse_seqids,
  register_manifest: :register_manifest,
  store_artifacts: :store_artifacts,
  title: :title,
  version: :version
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ BlastDbBuildRequest

Returns a new instance of BlastDbBuildRequest.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 45

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @allow_unbenchmarked_publish = hash[:allow_unbenchmarked_publish]
  @blastdb_version = hash[:blastdb_version]
  @dry_run = hash[:dry_run]
  @extra_args = (hash[:extra_args] || [])
  @index_format = hash[:index_format]
  @input_file_name = hash[:input_file_name]
  @input_object_id = hash[:input_object_id]
  @input_path = hash[:input_path]
  @molecule = hash[:molecule]
  @name = hash[:name]
  @output_dir = hash[:output_dir]
  @parse_seqids = hash[:parse_seqids]
  @register_manifest = hash[:register_manifest]
  @store_artifacts = hash[:store_artifacts]
  @title = hash[:title]
  @version = hash[:version]
end

Instance Attribute Details

#allow_unbenchmarked_publishObject

Returns the value of attribute allow_unbenchmarked_publish.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def allow_unbenchmarked_publish
  @allow_unbenchmarked_publish
end

#blastdb_versionObject

Returns the value of attribute blastdb_version.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def blastdb_version
  @blastdb_version
end

#dry_runObject

Returns the value of attribute dry_run.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def dry_run
  @dry_run
end

#extra_argsObject

Returns the value of attribute extra_args.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def extra_args
  @extra_args
end

#index_formatObject

Returns the value of attribute index_format.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def index_format
  @index_format
end

#input_file_nameObject

Returns the value of attribute input_file_name.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def input_file_name
  @input_file_name
end

#input_object_idObject

Returns the value of attribute input_object_id.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def input_object_id
  @input_object_id
end

#input_pathObject

Returns the value of attribute input_path.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def input_path
  @input_path
end

#moleculeObject

Returns the value of attribute molecule.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def molecule
  @molecule
end

#nameObject

Returns the value of attribute name.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def name
  @name
end

#output_dirObject

Returns the value of attribute output_dir.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def output_dir
  @output_dir
end

#parse_seqidsObject

Returns the value of attribute parse_seqids.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def parse_seqids
  @parse_seqids
end

#register_manifestObject

Returns the value of attribute register_manifest.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def register_manifest
  @register_manifest
end

#store_artifactsObject

Returns the value of attribute store_artifacts.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def store_artifacts
  @store_artifacts
end

#titleObject

Returns the value of attribute title.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def title
  @title
end

#versionObject

Returns the value of attribute version.



27
28
29
# File 'lib/rafflesia/sequences/blast_db_build_request.rb', line 27

def version
  @version
end