Class: Rafflesia::FoldIndexMaterializeRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldIndexMaterializeRequest
- Defined in:
- lib/rafflesia/proteins/fold_index_materialize_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, ref: :ref, segment_roles: :segment_roles, shards: :shards, target_dir: :target_dir, verify: :verify }.freeze
Instance Attribute Summary collapse
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#segment_roles ⇒ Object
Returns the value of attribute segment_roles.
-
#shards ⇒ Object
Returns the value of attribute shards.
-
#target_dir ⇒ Object
Returns the value of attribute target_dir.
-
#verify ⇒ Object
Returns the value of attribute verify.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldIndexMaterializeRequest
constructor
A new instance of FoldIndexMaterializeRequest.
Constructor Details
#initialize(json) ⇒ FoldIndexMaterializeRequest
Returns a new instance of FoldIndexMaterializeRequest.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/rafflesia/proteins/fold_index_materialize_request.rb', line 27 def initialize(json) super() hash = self.class.normalize(json) @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @ref = hash[:ref] @segment_roles = (hash[:segment_roles] || []) @shards = (hash[:shards] || []) @target_dir = hash[:target_dir] @verify = hash[:verify] end |
Instance Attribute Details
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
18 19 20 |
# File 'lib/rafflesia/proteins/fold_index_materialize_request.rb', line 18 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
18 19 20 |
# File 'lib/rafflesia/proteins/fold_index_materialize_request.rb', line 18 def manifest_path @manifest_path end |
#ref ⇒ Object
Returns the value of attribute ref.
18 19 20 |
# File 'lib/rafflesia/proteins/fold_index_materialize_request.rb', line 18 def ref @ref end |
#segment_roles ⇒ Object
Returns the value of attribute segment_roles.
18 19 20 |
# File 'lib/rafflesia/proteins/fold_index_materialize_request.rb', line 18 def segment_roles @segment_roles end |
#shards ⇒ Object
Returns the value of attribute shards.
18 19 20 |
# File 'lib/rafflesia/proteins/fold_index_materialize_request.rb', line 18 def shards @shards end |
#target_dir ⇒ Object
Returns the value of attribute target_dir.
18 19 20 |
# File 'lib/rafflesia/proteins/fold_index_materialize_request.rb', line 18 def target_dir @target_dir end |
#verify ⇒ Object
Returns the value of attribute verify.
18 19 20 |
# File 'lib/rafflesia/proteins/fold_index_materialize_request.rb', line 18 def verify @verify end |