Class: Rafflesia::FoldCollectionRoutingDecision
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldCollectionRoutingDecision
- Defined in:
- lib/rafflesia/proteins/fold_collection_routing_decision.rb
Constant Summary collapse
- HASH_ATTRS =
{ block_bytes: :block_bytes, block_count: :block_count, geometry_overlap: :geometry_overlap, is_selected: :is_selected, length_similarity: :length_similarity, rank: :rank, reason: :reason, record_count: :record_count, ref: :ref, residue_count_distance: :residue_count_distance, score: :score, segment_id: :segment_id }.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.
-
#geometry_overlap ⇒ Object
Returns the value of attribute geometry_overlap.
-
#is_selected ⇒ Object
Returns the value of attribute is_selected.
-
#length_similarity ⇒ Object
Returns the value of attribute length_similarity.
-
#rank ⇒ Object
Returns the value of attribute rank.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#record_count ⇒ Object
Returns the value of attribute record_count.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#residue_count_distance ⇒ Object
Returns the value of attribute residue_count_distance.
-
#score ⇒ Object
Returns the value of attribute score.
-
#segment_id ⇒ Object
Returns the value of attribute segment_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldCollectionRoutingDecision
constructor
A new instance of FoldCollectionRoutingDecision.
Constructor Details
#initialize(json) ⇒ FoldCollectionRoutingDecision
Returns a new instance of FoldCollectionRoutingDecision.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 37 def initialize(json) super() hash = self.class.normalize(json) @block_bytes = hash[:block_bytes] @block_count = hash[:block_count] @geometry_overlap = hash[:geometry_overlap] @is_selected = hash[:is_selected] @length_similarity = hash[:length_similarity] @rank = hash[:rank] @reason = hash[:reason] @record_count = hash[:record_count] @ref = hash[:ref] @residue_count_distance = hash[:residue_count_distance] @score = hash[:score] @segment_id = hash[:segment_id] end |
Instance Attribute Details
#block_bytes ⇒ Object
Returns the value of attribute block_bytes.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def block_bytes @block_bytes end |
#block_count ⇒ Object
Returns the value of attribute block_count.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def block_count @block_count end |
#geometry_overlap ⇒ Object
Returns the value of attribute geometry_overlap.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def geometry_overlap @geometry_overlap end |
#is_selected ⇒ Object
Returns the value of attribute is_selected.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def is_selected @is_selected end |
#length_similarity ⇒ Object
Returns the value of attribute length_similarity.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def length_similarity @length_similarity end |
#rank ⇒ Object
Returns the value of attribute rank.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def rank @rank end |
#reason ⇒ Object
Returns the value of attribute reason.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def reason @reason end |
#record_count ⇒ Object
Returns the value of attribute record_count.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def record_count @record_count end |
#ref ⇒ Object
Returns the value of attribute ref.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def ref @ref end |
#residue_count_distance ⇒ Object
Returns the value of attribute residue_count_distance.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def residue_count_distance @residue_count_distance end |
#score ⇒ Object
Returns the value of attribute score.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def score @score end |
#segment_id ⇒ Object
Returns the value of attribute segment_id.
23 24 25 |
# File 'lib/rafflesia/proteins/fold_collection_routing_decision.rb', line 23 def segment_id @segment_id end |