Class: Rafflesia::StructurePredictionCapability
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::StructurePredictionCapability
- Defined in:
- lib/rafflesia/proteins/structure_prediction_capability.rb
Constant Summary collapse
- HASH_ATTRS =
{ entity_types: :entity_types, execution_backend: :execution_backend, gpu_type: :gpu_type, id: :id, is_affinity_supported: :is_affinity_supported, is_available: :is_available, is_msa_supported: :is_msa_supported, license: :license, max_total_polymer_residues: :max_total_polymer_residues, model: :model, object: :object, runtime_verification_status: :runtime_verification_status }.freeze
Instance Attribute Summary collapse
-
#entity_types ⇒ Object
Returns the value of attribute entity_types.
-
#execution_backend ⇒ Object
Returns the value of attribute execution_backend.
-
#gpu_type ⇒ Object
Returns the value of attribute gpu_type.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_affinity_supported ⇒ Object
Returns the value of attribute is_affinity_supported.
-
#is_available ⇒ Object
Returns the value of attribute is_available.
-
#is_msa_supported ⇒ Object
Returns the value of attribute is_msa_supported.
-
#license ⇒ Object
Returns the value of attribute license.
-
#max_total_polymer_residues ⇒ Object
Returns the value of attribute max_total_polymer_residues.
-
#model ⇒ Object
Returns the value of attribute model.
-
#object ⇒ Object
Returns the value of attribute object.
-
#runtime_verification_status ⇒ Object
Returns the value of attribute runtime_verification_status.
Instance Method Summary collapse
-
#initialize(json) ⇒ StructurePredictionCapability
constructor
A new instance of StructurePredictionCapability.
Constructor Details
#initialize(json) ⇒ StructurePredictionCapability
Returns a new instance of StructurePredictionCapability.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 37 def initialize(json) super() hash = self.class.normalize(json) @entity_types = (hash[:entity_types] || []) @execution_backend = hash[:execution_backend] @gpu_type = hash[:gpu_type] @id = hash[:id] @is_affinity_supported = hash[:is_affinity_supported] @is_available = hash[:is_available] @is_msa_supported = hash[:is_msa_supported] @license = hash[:license] @max_total_polymer_residues = hash[:max_total_polymer_residues] @model = hash[:model] @object = hash[:object] @runtime_verification_status = hash[:runtime_verification_status] end |
Instance Attribute Details
#entity_types ⇒ Object
Returns the value of attribute entity_types.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def entity_types @entity_types end |
#execution_backend ⇒ Object
Returns the value of attribute execution_backend.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def execution_backend @execution_backend end |
#gpu_type ⇒ Object
Returns the value of attribute gpu_type.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def gpu_type @gpu_type end |
#id ⇒ Object
Returns the value of attribute id.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def id @id end |
#is_affinity_supported ⇒ Object
Returns the value of attribute is_affinity_supported.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def is_affinity_supported @is_affinity_supported end |
#is_available ⇒ Object
Returns the value of attribute is_available.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def is_available @is_available end |
#is_msa_supported ⇒ Object
Returns the value of attribute is_msa_supported.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def is_msa_supported @is_msa_supported end |
#license ⇒ Object
Returns the value of attribute license.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def license @license end |
#max_total_polymer_residues ⇒ Object
Returns the value of attribute max_total_polymer_residues.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def max_total_polymer_residues @max_total_polymer_residues end |
#model ⇒ Object
Returns the value of attribute model.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def model @model end |
#object ⇒ Object
Returns the value of attribute object.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def object @object end |
#runtime_verification_status ⇒ Object
Returns the value of attribute runtime_verification_status.
23 24 25 |
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23 def runtime_verification_status @runtime_verification_status end |