Class: Rafflesia::CorpuReleaseEvidenceChannel
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseEvidenceChannel
- Defined in:
- lib/rafflesia/datasets/corpu_release_evidence_channel.rb
Constant Summary collapse
- HASH_ATTRS =
{ channel_id: :channel_id, channel_kind: :channel_kind, evalue_model_id: :evalue_model_id, index_family: :index_family, is_verified: :is_verified, measurement_role: :measurement_role, verified_channel_id: :verified_channel_id, verifier_model_id: :verifier_model_id }.freeze
Instance Attribute Summary collapse
-
#channel_id ⇒ Object
Returns the value of attribute channel_id.
-
#channel_kind ⇒ Object
Returns the value of attribute channel_kind.
-
#evalue_model_id ⇒ Object
Returns the value of attribute evalue_model_id.
-
#index_family ⇒ Object
Returns the value of attribute index_family.
-
#is_verified ⇒ Object
Returns the value of attribute is_verified.
-
#measurement_role ⇒ Object
Returns the value of attribute measurement_role.
-
#verified_channel_id ⇒ Object
Returns the value of attribute verified_channel_id.
-
#verifier_model_id ⇒ Object
Returns the value of attribute verifier_model_id.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseEvidenceChannel
constructor
A new instance of CorpuReleaseEvidenceChannel.
Constructor Details
#initialize(json) ⇒ CorpuReleaseEvidenceChannel
Returns a new instance of CorpuReleaseEvidenceChannel.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @channel_id = hash[:channel_id] @channel_kind = hash[:channel_kind] @evalue_model_id = hash[:evalue_model_id] @index_family = hash[:index_family] @is_verified = hash[:is_verified] @measurement_role = hash[:measurement_role] @verified_channel_id = hash[:verified_channel_id] @verifier_model_id = hash[:verifier_model_id] end |
Instance Attribute Details
#channel_id ⇒ Object
Returns the value of attribute channel_id.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 19 def channel_id @channel_id end |
#channel_kind ⇒ Object
Returns the value of attribute channel_kind.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 19 def channel_kind @channel_kind end |
#evalue_model_id ⇒ Object
Returns the value of attribute evalue_model_id.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 19 def evalue_model_id @evalue_model_id end |
#index_family ⇒ Object
Returns the value of attribute index_family.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 19 def index_family @index_family end |
#is_verified ⇒ Object
Returns the value of attribute is_verified.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 19 def is_verified @is_verified end |
#measurement_role ⇒ Object
Returns the value of attribute measurement_role.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 19 def measurement_role @measurement_role end |
#verified_channel_id ⇒ Object
Returns the value of attribute verified_channel_id.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 19 def verified_channel_id @verified_channel_id end |
#verifier_model_id ⇒ Object
Returns the value of attribute verifier_model_id.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_evidence_channel.rb', line 19 def verifier_model_id @verifier_model_id end |