Class: Rafflesia::DatabaseJoinCoverageLedgerRow

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

Instance Method Summary collapse

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_idObject

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_statusObject

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_indexObject

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_nameObject

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_safetyObject

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_kindObject

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_statusObject

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_digestObject

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_referenceObject

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_outcomeObject

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_databaseObject

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_releaseObject

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_selectorObject

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_relationshipObject

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_observedObject

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_joinObject

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_statusObject

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_variantObject

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_idObject

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_statusObject

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_outcomeObject

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_idObject

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_idObject

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_kindObject

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_versionObject

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_idObject

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_kindObject

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_databaseObject

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_releaseObject

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_selectorObject

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_reasonObject

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