Class: Rafflesia::CorpuReleaseBackfillEntry
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseBackfillEntry
- Defined in:
- lib/rafflesia/datasets/corpu_release_backfill_entry.rb
Constant Summary collapse
- HASH_ATTRS =
{ alias_published: :alias_published, corpus: :corpus, error: :error, is_current: :is_current, ref: :ref, registered: :registered, release_id: :release_id, release_object: :release_object, skip_reason: :skip_reason, skipped: :skipped }.freeze
Instance Attribute Summary collapse
-
#alias_published ⇒ Object
Returns the value of attribute alias_published.
-
#corpus ⇒ Object
Returns the value of attribute corpus.
-
#error ⇒ Object
Returns the value of attribute error.
-
#is_current ⇒ Object
Returns the value of attribute is_current.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#registered ⇒ Object
Returns the value of attribute registered.
-
#release_id ⇒ Object
Returns the value of attribute release_id.
-
#release_object ⇒ Object
Returns the value of attribute release_object.
-
#skip_reason ⇒ Object
Returns the value of attribute skip_reason.
-
#skipped ⇒ Object
Returns the value of attribute skipped.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseBackfillEntry
constructor
A new instance of CorpuReleaseBackfillEntry.
Constructor Details
#initialize(json) ⇒ CorpuReleaseBackfillEntry
Returns a new instance of CorpuReleaseBackfillEntry.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 33 def initialize(json) super() hash = self.class.normalize(json) @alias_published = hash[:alias_published] @corpus = hash[:corpus] @error = hash[:error] @is_current = hash[:is_current] @ref = hash[:ref] @registered = hash[:registered] @release_id = hash[:release_id] @release_object = hash[:release_object] @skip_reason = hash[:skip_reason] @skipped = hash[:skipped] end |
Instance Attribute Details
#alias_published ⇒ Object
Returns the value of attribute alias_published.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def alias_published @alias_published end |
#corpus ⇒ Object
Returns the value of attribute corpus.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def corpus @corpus end |
#error ⇒ Object
Returns the value of attribute error.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def error @error end |
#is_current ⇒ Object
Returns the value of attribute is_current.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def is_current @is_current end |
#ref ⇒ Object
Returns the value of attribute ref.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def ref @ref end |
#registered ⇒ Object
Returns the value of attribute registered.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def registered @registered end |
#release_id ⇒ Object
Returns the value of attribute release_id.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def release_id @release_id end |
#release_object ⇒ Object
Returns the value of attribute release_object.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def release_object @release_object end |
#skip_reason ⇒ Object
Returns the value of attribute skip_reason.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def skip_reason @skip_reason end |
#skipped ⇒ Object
Returns the value of attribute skipped.
21 22 23 |
# File 'lib/rafflesia/datasets/corpu_release_backfill_entry.rb', line 21 def skipped @skipped end |