Class: Rafflesia::QueryAdmissionBlocker
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::QueryAdmissionBlocker
- Defined in:
- lib/rafflesia/query/query_admission_blocker.rb
Constant Summary collapse
- HASH_ATTRS =
{ cli_arguments: :cli_arguments, decision_reason: :decision_reason, key_variant: :key_variant, left_selector: :left_selector, left_source: :left_source, proof_digest: :proof_digest, relationship_id: :relationship_id, repair: :repair, repair_detail: :repair_detail, right_selector: :right_selector, right_source: :right_source, safety_basis: :safety_basis }.freeze
Instance Attribute Summary collapse
-
#cli_arguments ⇒ Object
Returns the value of attribute cli_arguments.
-
#decision_reason ⇒ Object
Returns the value of attribute decision_reason.
-
#key_variant ⇒ Object
Returns the value of attribute key_variant.
-
#left_selector ⇒ Object
Returns the value of attribute left_selector.
-
#left_source ⇒ Object
Returns the value of attribute left_source.
-
#proof_digest ⇒ Object
Returns the value of attribute proof_digest.
-
#relationship_id ⇒ Object
Returns the value of attribute relationship_id.
-
#repair ⇒ Object
Returns the value of attribute repair.
-
#repair_detail ⇒ Object
Returns the value of attribute repair_detail.
-
#right_selector ⇒ Object
Returns the value of attribute right_selector.
-
#right_source ⇒ Object
Returns the value of attribute right_source.
-
#safety_basis ⇒ Object
Returns the value of attribute safety_basis.
Instance Method Summary collapse
-
#initialize(json) ⇒ QueryAdmissionBlocker
constructor
A new instance of QueryAdmissionBlocker.
Constructor Details
#initialize(json) ⇒ QueryAdmissionBlocker
Returns a new instance of QueryAdmissionBlocker.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 37 def initialize(json) super() hash = self.class.normalize(json) @cli_arguments = (hash[:cli_arguments] || []) @decision_reason = hash[:decision_reason] @key_variant = hash[:key_variant] @left_selector = hash[:left_selector] @left_source = hash[:left_source] @proof_digest = hash[:proof_digest] @relationship_id = hash[:relationship_id] @repair = hash[:repair] @repair_detail = hash[:repair_detail] @right_selector = hash[:right_selector] @right_source = hash[:right_source] @safety_basis = hash[:safety_basis] end |
Instance Attribute Details
#cli_arguments ⇒ Object
Returns the value of attribute cli_arguments.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def cli_arguments @cli_arguments end |
#decision_reason ⇒ Object
Returns the value of attribute decision_reason.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def decision_reason @decision_reason end |
#key_variant ⇒ Object
Returns the value of attribute key_variant.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def key_variant @key_variant end |
#left_selector ⇒ Object
Returns the value of attribute left_selector.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def left_selector @left_selector end |
#left_source ⇒ Object
Returns the value of attribute left_source.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def left_source @left_source end |
#proof_digest ⇒ Object
Returns the value of attribute proof_digest.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def proof_digest @proof_digest end |
#relationship_id ⇒ Object
Returns the value of attribute relationship_id.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def relationship_id @relationship_id end |
#repair ⇒ Object
Returns the value of attribute repair.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def repair @repair end |
#repair_detail ⇒ Object
Returns the value of attribute repair_detail.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def repair_detail @repair_detail end |
#right_selector ⇒ Object
Returns the value of attribute right_selector.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def right_selector @right_selector end |
#right_source ⇒ Object
Returns the value of attribute right_source.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def right_source @right_source end |
#safety_basis ⇒ Object
Returns the value of attribute safety_basis.
23 24 25 |
# File 'lib/rafflesia/query/query_admission_blocker.rb', line 23 def safety_basis @safety_basis end |