Class: Rafflesia::BiosearchQueryProfileAuditGate
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BiosearchQueryProfileAuditGate
- Defined in:
- lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb
Constant Summary collapse
- HASH_ATTRS =
{ is_evaluated: :is_evaluated, is_passed: :is_passed, message: :message, metric: :metric, name: :name, observed: :observed, operator: :operator, threshold: :threshold }.freeze
Instance Attribute Summary collapse
-
#is_evaluated ⇒ Object
Returns the value of attribute is_evaluated.
-
#is_passed ⇒ Object
Returns the value of attribute is_passed.
-
#message ⇒ Object
Returns the value of attribute message.
-
#metric ⇒ Object
Returns the value of attribute metric.
-
#name ⇒ Object
Returns the value of attribute name.
-
#observed ⇒ Object
Returns the value of attribute observed.
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#threshold ⇒ Object
Returns the value of attribute threshold.
Instance Method Summary collapse
-
#initialize(json) ⇒ BiosearchQueryProfileAuditGate
constructor
A new instance of BiosearchQueryProfileAuditGate.
Constructor Details
#initialize(json) ⇒ BiosearchQueryProfileAuditGate
Returns a new instance of BiosearchQueryProfileAuditGate.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @is_evaluated = hash[:is_evaluated] @is_passed = hash[:is_passed] @message = hash[:message] @metric = hash[:metric] @name = hash[:name] @observed = hash[:observed] @operator = hash[:operator] @threshold = hash[:threshold] end |
Instance Attribute Details
#is_evaluated ⇒ Object
Returns the value of attribute is_evaluated.
19 20 21 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 19 def is_evaluated @is_evaluated end |
#is_passed ⇒ Object
Returns the value of attribute is_passed.
19 20 21 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 19 def is_passed @is_passed end |
#message ⇒ Object
Returns the value of attribute message.
19 20 21 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 19 def @message end |
#metric ⇒ Object
Returns the value of attribute metric.
19 20 21 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 19 def metric @metric end |
#name ⇒ Object
Returns the value of attribute name.
19 20 21 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 19 def name @name end |
#observed ⇒ Object
Returns the value of attribute observed.
19 20 21 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 19 def observed @observed end |
#operator ⇒ Object
Returns the value of attribute operator.
19 20 21 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 19 def operator @operator end |
#threshold ⇒ Object
Returns the value of attribute threshold.
19 20 21 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_audit_gate.rb', line 19 def threshold @threshold end |