Class: Rafflesia::ProfileBuildRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ProfileBuildRequest
- Defined in:
- lib/rafflesia/sequences/profile_build_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ alignment_object_id: :alignment_object_id, alignment_path: :alignment_path, cache_mode: :cache_mode, dry_run: :dry_run, extra_args: :extra_args, name: :name, output_dir: :output_dir }.freeze
Instance Attribute Summary collapse
-
#alignment_object_id ⇒ Object
Returns the value of attribute alignment_object_id.
-
#alignment_path ⇒ Object
Returns the value of attribute alignment_path.
-
#cache_mode ⇒ Object
Returns the value of attribute cache_mode.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#extra_args ⇒ Object
Returns the value of attribute extra_args.
-
#name ⇒ Object
Returns the value of attribute name.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
Instance Method Summary collapse
-
#initialize(json) ⇒ ProfileBuildRequest
constructor
A new instance of ProfileBuildRequest.
Constructor Details
#initialize(json) ⇒ ProfileBuildRequest
Returns a new instance of ProfileBuildRequest.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/rafflesia/sequences/profile_build_request.rb', line 27 def initialize(json) super() hash = self.class.normalize(json) @alignment_object_id = hash[:alignment_object_id] @alignment_path = hash[:alignment_path] @cache_mode = hash[:cache_mode] @dry_run = hash[:dry_run] @extra_args = (hash[:extra_args] || []) @name = hash[:name] @output_dir = hash[:output_dir] end |
Instance Attribute Details
#alignment_object_id ⇒ Object
Returns the value of attribute alignment_object_id.
18 19 20 |
# File 'lib/rafflesia/sequences/profile_build_request.rb', line 18 def alignment_object_id @alignment_object_id end |
#alignment_path ⇒ Object
Returns the value of attribute alignment_path.
18 19 20 |
# File 'lib/rafflesia/sequences/profile_build_request.rb', line 18 def alignment_path @alignment_path end |
#cache_mode ⇒ Object
Returns the value of attribute cache_mode.
18 19 20 |
# File 'lib/rafflesia/sequences/profile_build_request.rb', line 18 def cache_mode @cache_mode end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
18 19 20 |
# File 'lib/rafflesia/sequences/profile_build_request.rb', line 18 def dry_run @dry_run end |
#extra_args ⇒ Object
Returns the value of attribute extra_args.
18 19 20 |
# File 'lib/rafflesia/sequences/profile_build_request.rb', line 18 def extra_args @extra_args end |
#name ⇒ Object
Returns the value of attribute name.
18 19 20 |
# File 'lib/rafflesia/sequences/profile_build_request.rb', line 18 def name @name end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
18 19 20 |
# File 'lib/rafflesia/sequences/profile_build_request.rb', line 18 def output_dir @output_dir end |