Class: Rafflesia::HomologyDatabaseRelease
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::HomologyDatabaseRelease
- Defined in:
- lib/rafflesia/homology_database_releases/homology_database_release.rb
Constant Summary collapse
- HASH_ATTRS =
{ aliases: :aliases, compiler_version: :compiler_version, created_at: :created_at, database_id: :database_id, explanation_calibration_count: :explanation_calibration_count, id: :id, is_explanation_calibration_available: :is_explanation_calibration_available, is_query_context_profile_available: :is_query_context_profile_available, manifest_sha256: :manifest_sha_256, object: :object, query_context_profile_artifact_sha256: :query_context_profile_artifact_sha_256, query_context_profile_artifact_uri: :query_context_profile_artifact_uri, query_context_profile_kind: :query_context_profile_kind, record_count: :record_count, residue_count: :residue_count, searchable_sequence_channel_ids: :searchable_sequence_channel_ids, status: :status, verifier_model_ids: :verifier_model_ids }.freeze
Instance Attribute Summary collapse
-
#aliases ⇒ Object
Returns the value of attribute aliases.
-
#compiler_version ⇒ Object
Returns the value of attribute compiler_version.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#database_id ⇒ Object
Returns the value of attribute database_id.
-
#explanation_calibration_count ⇒ Object
Returns the value of attribute explanation_calibration_count.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_explanation_calibration_available ⇒ Object
Returns the value of attribute is_explanation_calibration_available.
-
#is_query_context_profile_available ⇒ Object
Returns the value of attribute is_query_context_profile_available.
-
#manifest_sha_256 ⇒ Object
Returns the value of attribute manifest_sha_256.
-
#object ⇒ Object
Returns the value of attribute object.
-
#query_context_profile_artifact_sha_256 ⇒ Object
Returns the value of attribute query_context_profile_artifact_sha_256.
-
#query_context_profile_artifact_uri ⇒ Object
Returns the value of attribute query_context_profile_artifact_uri.
-
#query_context_profile_kind ⇒ Object
Returns the value of attribute query_context_profile_kind.
-
#record_count ⇒ Object
Returns the value of attribute record_count.
-
#residue_count ⇒ Object
Returns the value of attribute residue_count.
-
#searchable_sequence_channel_ids ⇒ Object
Returns the value of attribute searchable_sequence_channel_ids.
-
#status ⇒ Object
Returns the value of attribute status.
-
#verifier_model_ids ⇒ Object
Returns the value of attribute verifier_model_ids.
Instance Method Summary collapse
-
#initialize(json) ⇒ HomologyDatabaseRelease
constructor
A new instance of HomologyDatabaseRelease.
Constructor Details
#initialize(json) ⇒ HomologyDatabaseRelease
Returns a new instance of HomologyDatabaseRelease.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 49 def initialize(json) super() hash = self.class.normalize(json) @aliases = (hash[:aliases] || []) @compiler_version = hash[:compiler_version] @created_at = hash[:created_at] @database_id = hash[:database_id] @explanation_calibration_count = hash[:explanation_calibration_count] @id = hash[:id] @is_explanation_calibration_available = hash[:is_explanation_calibration_available] @is_query_context_profile_available = hash[:is_query_context_profile_available] @manifest_sha_256 = hash[:manifest_sha256] @object = hash[:object] @query_context_profile_artifact_sha_256 = hash[:query_context_profile_artifact_sha256] @query_context_profile_artifact_uri = hash[:query_context_profile_artifact_uri] @query_context_profile_kind = hash[:query_context_profile_kind] @record_count = hash[:record_count] @residue_count = hash[:residue_count] @searchable_sequence_channel_ids = (hash[:searchable_sequence_channel_ids] || []) @status = hash[:status] @verifier_model_ids = (hash[:verifier_model_ids] || []) end |
Instance Attribute Details
#aliases ⇒ Object
Returns the value of attribute aliases.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def aliases @aliases end |
#compiler_version ⇒ Object
Returns the value of attribute compiler_version.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def compiler_version @compiler_version end |
#created_at ⇒ Object
Returns the value of attribute created_at.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def created_at @created_at end |
#database_id ⇒ Object
Returns the value of attribute database_id.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def database_id @database_id end |
#explanation_calibration_count ⇒ Object
Returns the value of attribute explanation_calibration_count.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def explanation_calibration_count @explanation_calibration_count end |
#id ⇒ Object
Returns the value of attribute id.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def id @id end |
#is_explanation_calibration_available ⇒ Object
Returns the value of attribute is_explanation_calibration_available.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def is_explanation_calibration_available @is_explanation_calibration_available end |
#is_query_context_profile_available ⇒ Object
Returns the value of attribute is_query_context_profile_available.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def is_query_context_profile_available @is_query_context_profile_available end |
#manifest_sha_256 ⇒ Object
Returns the value of attribute manifest_sha_256.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def manifest_sha_256 @manifest_sha_256 end |
#object ⇒ Object
Returns the value of attribute object.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def object @object end |
#query_context_profile_artifact_sha_256 ⇒ Object
Returns the value of attribute query_context_profile_artifact_sha_256.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def query_context_profile_artifact_sha_256 @query_context_profile_artifact_sha_256 end |
#query_context_profile_artifact_uri ⇒ Object
Returns the value of attribute query_context_profile_artifact_uri.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def query_context_profile_artifact_uri @query_context_profile_artifact_uri end |
#query_context_profile_kind ⇒ Object
Returns the value of attribute query_context_profile_kind.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def query_context_profile_kind @query_context_profile_kind end |
#record_count ⇒ Object
Returns the value of attribute record_count.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def record_count @record_count end |
#residue_count ⇒ Object
Returns the value of attribute residue_count.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def residue_count @residue_count end |
#searchable_sequence_channel_ids ⇒ Object
Returns the value of attribute searchable_sequence_channel_ids.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def searchable_sequence_channel_ids @searchable_sequence_channel_ids end |
#status ⇒ Object
Returns the value of attribute status.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def status @status end |
#verifier_model_ids ⇒ Object
Returns the value of attribute verifier_model_ids.
29 30 31 |
# File 'lib/rafflesia/homology_database_releases/homology_database_release.rb', line 29 def verifier_model_ids @verifier_model_ids end |