Class: Rafflesia::OntologyReleaseCoverageRelationData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyReleaseCoverageRelationData
- Defined in:
- lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ byte_count: :byte_count, domain: :domain, expected_schema_hash: :expected_schema_hash, expected_schema_version: :expected_schema_version, is_published: :is_published, is_queryable: :is_queryable, is_schema_current: :is_schema_current, missing_physical_columns: :missing_physical_columns, object: :object, object_status: :object_status, object_unavailable_reason: :object_unavailable_reason, observed_schema_hash: :observed_schema_hash, observed_schema_version: :observed_schema_version, physical_check_unavailable_reason: :physical_check_unavailable_reason, physical_schema_status: :physical_schema_status, relation: :relation, row_count: :row_count, status: :status, unavailable_reason: :unavailable_reason, undeclared_physical_columns: :undeclared_physical_columns }.freeze
Instance Attribute Summary collapse
-
#byte_count ⇒ Object
Returns the value of attribute byte_count.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#expected_schema_hash ⇒ Object
Returns the value of attribute expected_schema_hash.
-
#expected_schema_version ⇒ Object
Returns the value of attribute expected_schema_version.
-
#is_published ⇒ Object
Returns the value of attribute is_published.
-
#is_queryable ⇒ Object
Returns the value of attribute is_queryable.
-
#is_schema_current ⇒ Object
Returns the value of attribute is_schema_current.
-
#missing_physical_columns ⇒ Object
Returns the value of attribute missing_physical_columns.
-
#object ⇒ Object
Returns the value of attribute object.
-
#object_status ⇒ Object
Returns the value of attribute object_status.
-
#object_unavailable_reason ⇒ Object
Returns the value of attribute object_unavailable_reason.
-
#observed_schema_hash ⇒ Object
Returns the value of attribute observed_schema_hash.
-
#observed_schema_version ⇒ Object
Returns the value of attribute observed_schema_version.
-
#physical_check_unavailable_reason ⇒ Object
Returns the value of attribute physical_check_unavailable_reason.
-
#physical_schema_status ⇒ Object
Returns the value of attribute physical_schema_status.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#row_count ⇒ Object
Returns the value of attribute row_count.
-
#status ⇒ Object
Returns the value of attribute status.
-
#unavailable_reason ⇒ Object
Returns the value of attribute unavailable_reason.
-
#undeclared_physical_columns ⇒ Object
Returns the value of attribute undeclared_physical_columns.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyReleaseCoverageRelationData
constructor
A new instance of OntologyReleaseCoverageRelationData.
Constructor Details
#initialize(json) ⇒ OntologyReleaseCoverageRelationData
Returns a new instance of OntologyReleaseCoverageRelationData.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 53 def initialize(json) super() hash = self.class.normalize(json) @byte_count = hash[:byte_count] @domain = hash[:domain] @expected_schema_hash = hash[:expected_schema_hash] @expected_schema_version = hash[:expected_schema_version] @is_published = hash[:is_published] @is_queryable = hash[:is_queryable] @is_schema_current = hash[:is_schema_current] @missing_physical_columns = (hash[:missing_physical_columns] || []) @object = hash[:object] @object_status = hash[:object_status] @object_unavailable_reason = hash[:object_unavailable_reason] @observed_schema_hash = hash[:observed_schema_hash] @observed_schema_version = hash[:observed_schema_version] @physical_check_unavailable_reason = hash[:physical_check_unavailable_reason] @physical_schema_status = hash[:physical_schema_status] @relation = hash[:relation] @row_count = hash[:row_count] @status = hash[:status] @unavailable_reason = hash[:unavailable_reason] @undeclared_physical_columns = (hash[:undeclared_physical_columns] || []) end |
Instance Attribute Details
#byte_count ⇒ Object
Returns the value of attribute byte_count.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def byte_count @byte_count end |
#domain ⇒ Object
Returns the value of attribute domain.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def domain @domain end |
#expected_schema_hash ⇒ Object
Returns the value of attribute expected_schema_hash.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def expected_schema_hash @expected_schema_hash end |
#expected_schema_version ⇒ Object
Returns the value of attribute expected_schema_version.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def expected_schema_version @expected_schema_version end |
#is_published ⇒ Object
Returns the value of attribute is_published.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def is_published @is_published end |
#is_queryable ⇒ Object
Returns the value of attribute is_queryable.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def is_queryable @is_queryable end |
#is_schema_current ⇒ Object
Returns the value of attribute is_schema_current.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def is_schema_current @is_schema_current end |
#missing_physical_columns ⇒ Object
Returns the value of attribute missing_physical_columns.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def missing_physical_columns @missing_physical_columns end |
#object ⇒ Object
Returns the value of attribute object.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def object @object end |
#object_status ⇒ Object
Returns the value of attribute object_status.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def object_status @object_status end |
#object_unavailable_reason ⇒ Object
Returns the value of attribute object_unavailable_reason.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def object_unavailable_reason @object_unavailable_reason end |
#observed_schema_hash ⇒ Object
Returns the value of attribute observed_schema_hash.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def observed_schema_hash @observed_schema_hash end |
#observed_schema_version ⇒ Object
Returns the value of attribute observed_schema_version.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def observed_schema_version @observed_schema_version end |
#physical_check_unavailable_reason ⇒ Object
Returns the value of attribute physical_check_unavailable_reason.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def physical_check_unavailable_reason @physical_check_unavailable_reason end |
#physical_schema_status ⇒ Object
Returns the value of attribute physical_schema_status.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def physical_schema_status @physical_schema_status end |
#relation ⇒ Object
Returns the value of attribute relation.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def relation @relation end |
#row_count ⇒ Object
Returns the value of attribute row_count.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def row_count @row_count end |
#status ⇒ Object
Returns the value of attribute status.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def status @status end |
#unavailable_reason ⇒ Object
Returns the value of attribute unavailable_reason.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def unavailable_reason @unavailable_reason end |
#undeclared_physical_columns ⇒ Object
Returns the value of attribute undeclared_physical_columns.
31 32 33 |
# File 'lib/rafflesia/ontology/ontology_release_coverage_relation_data.rb', line 31 def undeclared_physical_columns @undeclared_physical_columns end |