Class: Rafflesia::DiamondDbBuildRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DiamondDbBuildRequest
- Defined in:
- lib/rafflesia/sequences/diamond_db_build_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ dry_run: :dry_run, extra_args: :extra_args, input_file_name: :input_file_name, input_object_id: :input_object_id, input_path: :input_path, name: :name, output_dir: :output_dir, register_manifest: :register_manifest, store_artifacts: :store_artifacts, threads: :threads, version: :version }.freeze
Instance Attribute Summary collapse
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#extra_args ⇒ Object
Returns the value of attribute extra_args.
-
#input_file_name ⇒ Object
Returns the value of attribute input_file_name.
-
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
-
#input_path ⇒ Object
Returns the value of attribute input_path.
-
#name ⇒ Object
Returns the value of attribute name.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#register_manifest ⇒ Object
Returns the value of attribute register_manifest.
-
#store_artifacts ⇒ Object
Returns the value of attribute store_artifacts.
-
#threads ⇒ Object
Returns the value of attribute threads.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ DiamondDbBuildRequest
constructor
A new instance of DiamondDbBuildRequest.
Constructor Details
#initialize(json) ⇒ DiamondDbBuildRequest
Returns a new instance of DiamondDbBuildRequest.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @dry_run = hash[:dry_run] @extra_args = (hash[:extra_args] || []) @input_file_name = hash[:input_file_name] @input_object_id = hash[:input_object_id] @input_path = hash[:input_path] @name = hash[:name] @output_dir = hash[:output_dir] @register_manifest = hash[:register_manifest] @store_artifacts = hash[:store_artifacts] @threads = hash[:threads] @version = hash[:version] end |
Instance Attribute Details
#dry_run ⇒ Object
Returns the value of attribute dry_run.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def dry_run @dry_run end |
#extra_args ⇒ Object
Returns the value of attribute extra_args.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def extra_args @extra_args end |
#input_file_name ⇒ Object
Returns the value of attribute input_file_name.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def input_file_name @input_file_name end |
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def input_object_id @input_object_id end |
#input_path ⇒ Object
Returns the value of attribute input_path.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def input_path @input_path end |
#name ⇒ Object
Returns the value of attribute name.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def name @name end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def output_dir @output_dir end |
#register_manifest ⇒ Object
Returns the value of attribute register_manifest.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def register_manifest @register_manifest end |
#store_artifacts ⇒ Object
Returns the value of attribute store_artifacts.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def store_artifacts @store_artifacts end |
#threads ⇒ Object
Returns the value of attribute threads.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def threads @threads end |
#version ⇒ Object
Returns the value of attribute version.
22 23 24 |
# File 'lib/rafflesia/sequences/diamond_db_build_request.rb', line 22 def version @version end |