Class: Rafflesia::FoundryVariantEffectUsage
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoundryVariantEffectUsage
- Defined in:
- lib/rafflesia/foundry/foundry_variant_effect_usage.rb
Constant Summary collapse
- HASH_ATTRS =
{ residue_count: :residue_count, sequence_count: :sequence_count, variant_count: :variant_count }.freeze
Instance Attribute Summary collapse
-
#residue_count ⇒ Object
Returns the value of attribute residue_count.
-
#sequence_count ⇒ Object
Returns the value of attribute sequence_count.
-
#variant_count ⇒ Object
Returns the value of attribute variant_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoundryVariantEffectUsage
constructor
A new instance of FoundryVariantEffectUsage.
Constructor Details
#initialize(json) ⇒ FoundryVariantEffectUsage
Returns a new instance of FoundryVariantEffectUsage.
19 20 21 22 23 24 25 |
# File 'lib/rafflesia/foundry/foundry_variant_effect_usage.rb', line 19 def initialize(json) super() hash = self.class.normalize(json) @residue_count = hash[:residue_count] @sequence_count = hash[:sequence_count] @variant_count = hash[:variant_count] end |
Instance Attribute Details
#residue_count ⇒ Object
Returns the value of attribute residue_count.
14 15 16 |
# File 'lib/rafflesia/foundry/foundry_variant_effect_usage.rb', line 14 def residue_count @residue_count end |
#sequence_count ⇒ Object
Returns the value of attribute sequence_count.
14 15 16 |
# File 'lib/rafflesia/foundry/foundry_variant_effect_usage.rb', line 14 def sequence_count @sequence_count end |
#variant_count ⇒ Object
Returns the value of attribute variant_count.
14 15 16 |
# File 'lib/rafflesia/foundry/foundry_variant_effect_usage.rb', line 14 def variant_count @variant_count end |