Class: Rafflesia::FoldCollectionRoutingDirectorySummary
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldCollectionRoutingDirectorySummary
- Defined in:
- lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb
Constant Summary collapse
- HASH_ATTRS =
{ block_bytes: :block_bytes, block_count: :block_count, created_at: :created_at, directory_id: :directory_id, directory_object_id: :directory_object_id, record_count: :record_count, segment_count: :segment_count, strategy: :strategy }.freeze
Instance Attribute Summary collapse
-
#block_bytes ⇒ Object
Returns the value of attribute block_bytes.
-
#block_count ⇒ Object
Returns the value of attribute block_count.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#directory_id ⇒ Object
Returns the value of attribute directory_id.
-
#directory_object_id ⇒ Object
Returns the value of attribute directory_object_id.
-
#record_count ⇒ Object
Returns the value of attribute record_count.
-
#segment_count ⇒ Object
Returns the value of attribute segment_count.
-
#strategy ⇒ Object
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldCollectionRoutingDirectorySummary
constructor
A new instance of FoldCollectionRoutingDirectorySummary.
Constructor Details
#initialize(json) ⇒ FoldCollectionRoutingDirectorySummary
Returns a new instance of FoldCollectionRoutingDirectorySummary.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @block_bytes = hash[:block_bytes] @block_count = hash[:block_count] @created_at = hash[:created_at] @directory_id = hash[:directory_id] @directory_object_id = hash[:directory_object_id] @record_count = hash[:record_count] @segment_count = hash[:segment_count] @strategy = hash[:strategy] end |
Instance Attribute Details
#block_bytes ⇒ Object
Returns the value of attribute block_bytes.
19 20 21 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 19 def block_bytes @block_bytes end |
#block_count ⇒ Object
Returns the value of attribute block_count.
19 20 21 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 19 def block_count @block_count end |
#created_at ⇒ Object
Returns the value of attribute created_at.
19 20 21 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 19 def created_at @created_at end |
#directory_id ⇒ Object
Returns the value of attribute directory_id.
19 20 21 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 19 def directory_id @directory_id end |
#directory_object_id ⇒ Object
Returns the value of attribute directory_object_id.
19 20 21 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 19 def directory_object_id @directory_object_id end |
#record_count ⇒ Object
Returns the value of attribute record_count.
19 20 21 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 19 def record_count @record_count end |
#segment_count ⇒ Object
Returns the value of attribute segment_count.
19 20 21 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 19 def segment_count @segment_count end |
#strategy ⇒ Object
Returns the value of attribute strategy.
19 20 21 |
# File 'lib/rafflesia/proteins/fold_collection_routing_directory_summary.rb', line 19 def strategy @strategy end |