Class: Rafflesia::DatabaseJoinCoverageLedgerRow
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatabaseJoinCoverageLedgerRow
- Defined in:
- lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb
Constant Summary collapse
- HASH_ATTRS =
{ candidate_id: :candidate_id, cardinality_status: :cardinality_status, cell_index: :cell_index, control_name: :control_name, control_safety: :control_safety, drift_kind: :drift_kind, drift_status: :drift_status, evidence_digest: :evidence_digest, evidence_reference: :evidence_reference, expected_control_outcome: :expected_control_outcome, from_database: :from_database, from_release: :from_release, from_selector: :from_selector, is_declared_relationship: :is_declared_relationship, is_expected_outcome_observed: :is_expected_outcome_observed, is_safe_join: :is_safe_join, key_overlap_status: :key_overlap_status, key_variant: :key_variant, measurement_id: :measurement_id, observation_status: :observation_status, observed_control_outcome: :observed_control_outcome, parent_evidence_id: :parent_evidence_id, participant_id: :participant_id, participant_kind: :participant_kind, protocol_version: :protocol_version, relationship_id: :relationship_id, row_kind: :row_kind, to_database: :to_database, to_release: :to_release, to_selector: :to_selector, unavailable_reason: :unavailable_reason }.freeze
Instance Attribute Summary collapse
-
#candidate_id ⇒ Object
Returns the value of attribute candidate_id.
-
#cardinality_status ⇒ Object
Returns the value of attribute cardinality_status.
-
#cell_index ⇒ Object
Returns the value of attribute cell_index.
-
#control_name ⇒ Object
Returns the value of attribute control_name.
-
#control_safety ⇒ Object
Returns the value of attribute control_safety.
-
#drift_kind ⇒ Object
Returns the value of attribute drift_kind.
-
#drift_status ⇒ Object
Returns the value of attribute drift_status.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#evidence_reference ⇒ Object
Returns the value of attribute evidence_reference.
-
#expected_control_outcome ⇒ Object
Returns the value of attribute expected_control_outcome.
-
#from_database ⇒ Object
Returns the value of attribute from_database.
-
#from_release ⇒ Object
Returns the value of attribute from_release.
-
#from_selector ⇒ Object
Returns the value of attribute from_selector.
-
#is_declared_relationship ⇒ Object
Returns the value of attribute is_declared_relationship.
-
#is_expected_outcome_observed ⇒ Object
Returns the value of attribute is_expected_outcome_observed.
-
#is_safe_join ⇒ Object
Returns the value of attribute is_safe_join.
-
#key_overlap_status ⇒ Object
Returns the value of attribute key_overlap_status.
-
#key_variant ⇒ Object
Returns the value of attribute key_variant.
-
#measurement_id ⇒ Object
Returns the value of attribute measurement_id.
-
#observation_status ⇒ Object
Returns the value of attribute observation_status.
-
#observed_control_outcome ⇒ Object
Returns the value of attribute observed_control_outcome.
-
#parent_evidence_id ⇒ Object
Returns the value of attribute parent_evidence_id.
-
#participant_id ⇒ Object
Returns the value of attribute participant_id.
-
#participant_kind ⇒ Object
Returns the value of attribute participant_kind.
-
#protocol_version ⇒ Object
Returns the value of attribute protocol_version.
-
#relationship_id ⇒ Object
Returns the value of attribute relationship_id.
-
#row_kind ⇒ Object
Returns the value of attribute row_kind.
-
#to_database ⇒ Object
Returns the value of attribute to_database.
-
#to_release ⇒ Object
Returns the value of attribute to_release.
-
#to_selector ⇒ Object
Returns the value of attribute to_selector.
-
#unavailable_reason ⇒ Object
Returns the value of attribute unavailable_reason.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatabaseJoinCoverageLedgerRow
constructor
A new instance of DatabaseJoinCoverageLedgerRow.
Constructor Details
#initialize(json) ⇒ DatabaseJoinCoverageLedgerRow
Returns a new instance of DatabaseJoinCoverageLedgerRow.
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 75 def initialize(json) super() hash = self.class.normalize(json) @candidate_id = hash[:candidate_id] @cardinality_status = hash[:cardinality_status] @cell_index = hash[:cell_index] @control_name = hash[:control_name] @control_safety = hash[:control_safety] @drift_kind = hash[:drift_kind] @drift_status = hash[:drift_status] @evidence_digest = hash[:evidence_digest] @evidence_reference = hash[:evidence_reference] @expected_control_outcome = hash[:expected_control_outcome] @from_database = hash[:from_database] @from_release = hash[:from_release] @from_selector = hash[:from_selector] @is_declared_relationship = hash[:is_declared_relationship] @is_expected_outcome_observed = hash[:is_expected_outcome_observed] @is_safe_join = hash[:is_safe_join] @key_overlap_status = hash[:key_overlap_status] @key_variant = hash[:key_variant] @measurement_id = hash[:measurement_id] @observation_status = hash[:observation_status] @observed_control_outcome = hash[:observed_control_outcome] @parent_evidence_id = hash[:parent_evidence_id] @participant_id = hash[:participant_id] @participant_kind = hash[:participant_kind] @protocol_version = hash[:protocol_version] @relationship_id = hash[:relationship_id] @row_kind = hash[:row_kind] @to_database = hash[:to_database] @to_release = hash[:to_release] @to_selector = hash[:to_selector] @unavailable_reason = hash[:unavailable_reason] end |
Instance Attribute Details
#candidate_id ⇒ Object
Returns the value of attribute candidate_id.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def candidate_id @candidate_id end |
#cardinality_status ⇒ Object
Returns the value of attribute cardinality_status.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def cardinality_status @cardinality_status end |
#cell_index ⇒ Object
Returns the value of attribute cell_index.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def cell_index @cell_index end |
#control_name ⇒ Object
Returns the value of attribute control_name.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def control_name @control_name end |
#control_safety ⇒ Object
Returns the value of attribute control_safety.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def control_safety @control_safety end |
#drift_kind ⇒ Object
Returns the value of attribute drift_kind.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def drift_kind @drift_kind end |
#drift_status ⇒ Object
Returns the value of attribute drift_status.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def drift_status @drift_status end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def evidence_digest @evidence_digest end |
#evidence_reference ⇒ Object
Returns the value of attribute evidence_reference.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def evidence_reference @evidence_reference end |
#expected_control_outcome ⇒ Object
Returns the value of attribute expected_control_outcome.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def expected_control_outcome @expected_control_outcome end |
#from_database ⇒ Object
Returns the value of attribute from_database.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def from_database @from_database end |
#from_release ⇒ Object
Returns the value of attribute from_release.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def from_release @from_release end |
#from_selector ⇒ Object
Returns the value of attribute from_selector.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def from_selector @from_selector end |
#is_declared_relationship ⇒ Object
Returns the value of attribute is_declared_relationship.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def is_declared_relationship @is_declared_relationship end |
#is_expected_outcome_observed ⇒ Object
Returns the value of attribute is_expected_outcome_observed.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def is_expected_outcome_observed @is_expected_outcome_observed end |
#is_safe_join ⇒ Object
Returns the value of attribute is_safe_join.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def is_safe_join @is_safe_join end |
#key_overlap_status ⇒ Object
Returns the value of attribute key_overlap_status.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def key_overlap_status @key_overlap_status end |
#key_variant ⇒ Object
Returns the value of attribute key_variant.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def key_variant @key_variant end |
#measurement_id ⇒ Object
Returns the value of attribute measurement_id.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def measurement_id @measurement_id end |
#observation_status ⇒ Object
Returns the value of attribute observation_status.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def observation_status @observation_status end |
#observed_control_outcome ⇒ Object
Returns the value of attribute observed_control_outcome.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def observed_control_outcome @observed_control_outcome end |
#parent_evidence_id ⇒ Object
Returns the value of attribute parent_evidence_id.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def parent_evidence_id @parent_evidence_id end |
#participant_id ⇒ Object
Returns the value of attribute participant_id.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def participant_id @participant_id end |
#participant_kind ⇒ Object
Returns the value of attribute participant_kind.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def participant_kind @participant_kind end |
#protocol_version ⇒ Object
Returns the value of attribute protocol_version.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def protocol_version @protocol_version end |
#relationship_id ⇒ Object
Returns the value of attribute relationship_id.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def relationship_id @relationship_id end |
#row_kind ⇒ Object
Returns the value of attribute row_kind.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def row_kind @row_kind end |
#to_database ⇒ Object
Returns the value of attribute to_database.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def to_database @to_database end |
#to_release ⇒ Object
Returns the value of attribute to_release.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def to_release @to_release end |
#to_selector ⇒ Object
Returns the value of attribute to_selector.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def to_selector @to_selector end |
#unavailable_reason ⇒ Object
Returns the value of attribute unavailable_reason.
42 43 44 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_row.rb', line 42 def unavailable_reason @unavailable_reason end |