Class: Rafflesia::DiamondCatalogBuildRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DiamondCatalogBuildRequest
- Defined in:
- lib/rafflesia/sequences/diamond_catalog_build_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ catalog: :catalog, 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, shard_count: :shard_count, store_root: :store_root, threads: :threads, version: :version }.freeze
Instance Attribute Summary collapse
-
#catalog ⇒ Object
Returns the value of attribute catalog.
-
#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.
-
#shard_count ⇒ Object
Returns the value of attribute shard_count.
-
#store_root ⇒ Object
Returns the value of attribute store_root.
-
#threads ⇒ Object
Returns the value of attribute threads.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ DiamondCatalogBuildRequest
constructor
A new instance of DiamondCatalogBuildRequest.
Constructor Details
#initialize(json) ⇒ DiamondCatalogBuildRequest
Returns a new instance of DiamondCatalogBuildRequest.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 37 def initialize(json) super() hash = self.class.normalize(json) @catalog = hash[:catalog] @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] @shard_count = hash[:shard_count] @store_root = hash[:store_root] @threads = hash[:threads] @version = hash[:version] end |
Instance Attribute Details
#catalog ⇒ Object
Returns the value of attribute catalog.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def catalog @catalog end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def dry_run @dry_run end |
#extra_args ⇒ Object
Returns the value of attribute extra_args.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def extra_args @extra_args end |
#input_file_name ⇒ Object
Returns the value of attribute input_file_name.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def input_file_name @input_file_name end |
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def input_object_id @input_object_id end |
#input_path ⇒ Object
Returns the value of attribute input_path.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def input_path @input_path end |
#name ⇒ Object
Returns the value of attribute name.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def name @name end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def output_dir @output_dir end |
#shard_count ⇒ Object
Returns the value of attribute shard_count.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def shard_count @shard_count end |
#store_root ⇒ Object
Returns the value of attribute store_root.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def store_root @store_root end |
#threads ⇒ Object
Returns the value of attribute threads.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def threads @threads end |
#version ⇒ Object
Returns the value of attribute version.
23 24 25 |
# File 'lib/rafflesia/sequences/diamond_catalog_build_request.rb', line 23 def version @version end |