Class: Rafflesia::StructurePredictionCapability

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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_typesObject

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_backendObject

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_typeObject

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

#idObject

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_supportedObject

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_availableObject

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_supportedObject

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

#licenseObject

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_residuesObject

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

#modelObject

Returns the value of attribute model.



23
24
25
# File 'lib/rafflesia/proteins/structure_prediction_capability.rb', line 23

def model
  @model
end

#objectObject

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_statusObject

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