Class: Rafflesia::FoldSegmentCompactRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSegmentCompactRequest
- Defined in:
- lib/rafflesia/proteins/fold_segment_compact_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ block_size_bytes: :block_size_bytes, dataset_name: :dataset_name, dataset_version: :dataset_version, name: :name, publish: :publish, ref: :ref, source_manifest_object_ids: :source_manifest_object_ids, source_manifest_paths: :source_manifest_paths, source_refs: :source_refs, store_feature_object: :store_feature_object, version: :version }.freeze
Instance Attribute Summary collapse
-
#block_size_bytes ⇒ Object
Returns the value of attribute block_size_bytes.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#name ⇒ Object
Returns the value of attribute name.
-
#publish ⇒ Object
Returns the value of attribute publish.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#source_manifest_object_ids ⇒ Object
Returns the value of attribute source_manifest_object_ids.
-
#source_manifest_paths ⇒ Object
Returns the value of attribute source_manifest_paths.
-
#source_refs ⇒ Object
Returns the value of attribute source_refs.
-
#store_feature_object ⇒ Object
Returns the value of attribute store_feature_object.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSegmentCompactRequest
constructor
A new instance of FoldSegmentCompactRequest.
Constructor Details
#initialize(json) ⇒ FoldSegmentCompactRequest
Returns a new instance of FoldSegmentCompactRequest.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @block_size_bytes = hash[:block_size_bytes] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @name = hash[:name] @publish = hash[:publish] @ref = hash[:ref] @source_manifest_object_ids = (hash[:source_manifest_object_ids] || []) @source_manifest_paths = (hash[:source_manifest_paths] || []) @source_refs = (hash[:source_refs] || []) @store_feature_object = hash[:store_feature_object] @version = hash[:version] end |
Instance Attribute Details
#block_size_bytes ⇒ Object
Returns the value of attribute block_size_bytes.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def block_size_bytes @block_size_bytes end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def dataset_version @dataset_version end |
#name ⇒ Object
Returns the value of attribute name.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def name @name end |
#publish ⇒ Object
Returns the value of attribute publish.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def publish @publish end |
#ref ⇒ Object
Returns the value of attribute ref.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def ref @ref end |
#source_manifest_object_ids ⇒ Object
Returns the value of attribute source_manifest_object_ids.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def source_manifest_object_ids @source_manifest_object_ids end |
#source_manifest_paths ⇒ Object
Returns the value of attribute source_manifest_paths.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def source_manifest_paths @source_manifest_paths end |
#source_refs ⇒ Object
Returns the value of attribute source_refs.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def source_refs @source_refs end |
#store_feature_object ⇒ Object
Returns the value of attribute store_feature_object.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def store_feature_object @store_feature_object end |
#version ⇒ Object
Returns the value of attribute version.
22 23 24 |
# File 'lib/rafflesia/proteins/fold_segment_compact_request.rb', line 22 def version @version end |