Class: Rafflesia::StructurePredictionMsaInput
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::StructurePredictionMsaInput
- Defined in:
- lib/rafflesia/foundry/structure_prediction_msa_input.rb
Constant Summary collapse
- HASH_ATTRS =
{ chain_id: :chain_id, database_id: :database_id, database_release_id: :database_release_id, manifest_object_id: :manifest_object_id, object_id: :object_id }.freeze
Instance Attribute Summary collapse
-
#chain_id ⇒ Object
Returns the value of attribute chain_id.
-
#database_id ⇒ Object
Returns the value of attribute database_id.
-
#database_release_id ⇒ Object
Returns the value of attribute database_release_id.
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#object_id ⇒ Object
Returns the value of attribute object_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ StructurePredictionMsaInput
constructor
A new instance of StructurePredictionMsaInput.
Constructor Details
#initialize(json) ⇒ StructurePredictionMsaInput
Returns a new instance of StructurePredictionMsaInput.
23 24 25 26 27 28 29 30 31 |
# File 'lib/rafflesia/foundry/structure_prediction_msa_input.rb', line 23 def initialize(json) super() hash = self.class.normalize(json) @chain_id = hash[:chain_id] @database_id = hash[:database_id] @database_release_id = hash[:database_release_id] @manifest_object_id = hash[:manifest_object_id] @object_id = hash[:object_id] end |
Instance Attribute Details
#chain_id ⇒ Object
Returns the value of attribute chain_id.
16 17 18 |
# File 'lib/rafflesia/foundry/structure_prediction_msa_input.rb', line 16 def chain_id @chain_id end |
#database_id ⇒ Object
Returns the value of attribute database_id.
16 17 18 |
# File 'lib/rafflesia/foundry/structure_prediction_msa_input.rb', line 16 def database_id @database_id end |
#database_release_id ⇒ Object
Returns the value of attribute database_release_id.
16 17 18 |
# File 'lib/rafflesia/foundry/structure_prediction_msa_input.rb', line 16 def database_release_id @database_release_id end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
16 17 18 |
# File 'lib/rafflesia/foundry/structure_prediction_msa_input.rb', line 16 def manifest_object_id @manifest_object_id end |
#object_id ⇒ Object
Returns the value of attribute object_id.
16 17 18 |
# File 'lib/rafflesia/foundry/structure_prediction_msa_input.rb', line 16 def object_id @object_id end |