Class: Rafflesia::OntologyReleaseManifest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyReleaseManifest
- Defined in:
- lib/rafflesia/foundry/ontology_release_manifest.rb
Constant Summary collapse
- HASH_ATTRS =
{ coordinate_system_count: :coordinate_system_count, dataset_binding_kind: :dataset_binding_kind, entity_type_count: :entity_type_count, field_count: :field_count, identifier_namespace_count: :identifier_namespace_count, join_path_policy: :join_path_policy, ontology_digest: :ontology_digest, relation_count: :relation_count, relationship_count: :relationship_count, snapshot_artifact_id: :snapshot_artifact_id, source_digest: :source_digest }.freeze
Instance Attribute Summary collapse
-
#coordinate_system_count ⇒ Object
Returns the value of attribute coordinate_system_count.
-
#dataset_binding_kind ⇒ Object
Returns the value of attribute dataset_binding_kind.
-
#entity_type_count ⇒ Object
Returns the value of attribute entity_type_count.
-
#field_count ⇒ Object
Returns the value of attribute field_count.
-
#identifier_namespace_count ⇒ Object
Returns the value of attribute identifier_namespace_count.
-
#join_path_policy ⇒ Object
Returns the value of attribute join_path_policy.
-
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
-
#relation_count ⇒ Object
Returns the value of attribute relation_count.
-
#relationship_count ⇒ Object
Returns the value of attribute relationship_count.
-
#snapshot_artifact_id ⇒ Object
Returns the value of attribute snapshot_artifact_id.
-
#source_digest ⇒ Object
Returns the value of attribute source_digest.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyReleaseManifest
constructor
A new instance of OntologyReleaseManifest.
Constructor Details
#initialize(json) ⇒ OntologyReleaseManifest
Returns a new instance of OntologyReleaseManifest.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @coordinate_system_count = hash[:coordinate_system_count] @dataset_binding_kind = hash[:dataset_binding_kind] @entity_type_count = hash[:entity_type_count] @field_count = hash[:field_count] @identifier_namespace_count = hash[:identifier_namespace_count] @join_path_policy = hash[:join_path_policy] @ontology_digest = hash[:ontology_digest] @relation_count = hash[:relation_count] @relationship_count = hash[:relationship_count] @snapshot_artifact_id = hash[:snapshot_artifact_id] @source_digest = hash[:source_digest] end |
Instance Attribute Details
#coordinate_system_count ⇒ Object
Returns the value of attribute coordinate_system_count.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def coordinate_system_count @coordinate_system_count end |
#dataset_binding_kind ⇒ Object
Returns the value of attribute dataset_binding_kind.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def dataset_binding_kind @dataset_binding_kind end |
#entity_type_count ⇒ Object
Returns the value of attribute entity_type_count.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def entity_type_count @entity_type_count end |
#field_count ⇒ Object
Returns the value of attribute field_count.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def field_count @field_count end |
#identifier_namespace_count ⇒ Object
Returns the value of attribute identifier_namespace_count.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def identifier_namespace_count @identifier_namespace_count end |
#join_path_policy ⇒ Object
Returns the value of attribute join_path_policy.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def join_path_policy @join_path_policy end |
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def ontology_digest @ontology_digest end |
#relation_count ⇒ Object
Returns the value of attribute relation_count.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def relation_count @relation_count end |
#relationship_count ⇒ Object
Returns the value of attribute relationship_count.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def relationship_count @relationship_count end |
#snapshot_artifact_id ⇒ Object
Returns the value of attribute snapshot_artifact_id.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def snapshot_artifact_id @snapshot_artifact_id end |
#source_digest ⇒ Object
Returns the value of attribute source_digest.
22 23 24 |
# File 'lib/rafflesia/foundry/ontology_release_manifest.rb', line 22 def source_digest @source_digest end |