Class: Rafflesia::CorpuReleasePublishCurrentRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleasePublishCurrentRequest
- Defined in:
- lib/rafflesia/datasets/corpu_release_publish_current_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ corpus: :corpus, expected_previous_ref: :expected_previous_ref, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, object_store_root: :object_store_root, reason: :reason, ref: :ref, release_id: :release_id, require_no_previous: :require_no_previous, require_zero_materialization: :require_zero_materialization, smoke_family: :smoke_family, smoke_max_hits: :smoke_max_hits, smoke_query: :smoke_query, smoke_query_structure_path: :smoke_query_structure_path }.freeze
Instance Attribute Summary collapse
-
#corpus ⇒ Object
Returns the value of attribute corpus.
-
#expected_previous_ref ⇒ Object
Returns the value of attribute expected_previous_ref.
-
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
-
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
-
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#release_id ⇒ Object
Returns the value of attribute release_id.
-
#require_no_previous ⇒ Object
Returns the value of attribute require_no_previous.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#smoke_family ⇒ Object
Returns the value of attribute smoke_family.
-
#smoke_max_hits ⇒ Object
Returns the value of attribute smoke_max_hits.
-
#smoke_query ⇒ Object
Returns the value of attribute smoke_query.
-
#smoke_query_structure_path ⇒ Object
Returns the value of attribute smoke_query_structure_path.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleasePublishCurrentRequest
constructor
A new instance of CorpuReleasePublishCurrentRequest.
Constructor Details
#initialize(json) ⇒ CorpuReleasePublishCurrentRequest
Returns a new instance of CorpuReleasePublishCurrentRequest.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @corpus = hash[:corpus] @expected_previous_ref = hash[:expected_previous_ref] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @object_store_root = hash[:object_store_root] @reason = hash[:reason] @ref = hash[:ref] @release_id = hash[:release_id] @require_no_previous = hash[:require_no_previous] @require_zero_materialization = hash[:require_zero_materialization] @smoke_family = hash[:smoke_family] @smoke_max_hits = hash[:smoke_max_hits] @smoke_query = hash[:smoke_query] @smoke_query_structure_path = hash[:smoke_query_structure_path] end |
Instance Attribute Details
#corpus ⇒ Object
Returns the value of attribute corpus.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def corpus @corpus end |
#expected_previous_ref ⇒ Object
Returns the value of attribute expected_previous_ref.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def expected_previous_ref @expected_previous_ref end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def max_object_bytes @max_object_bytes end |
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def max_object_reads @max_object_reads end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def object_store_root @object_store_root end |
#reason ⇒ Object
Returns the value of attribute reason.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def reason @reason end |
#ref ⇒ Object
Returns the value of attribute ref.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def ref @ref end |
#release_id ⇒ Object
Returns the value of attribute release_id.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def release_id @release_id end |
#require_no_previous ⇒ Object
Returns the value of attribute require_no_previous.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def require_no_previous @require_no_previous end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def require_zero_materialization @require_zero_materialization end |
#smoke_family ⇒ Object
Returns the value of attribute smoke_family.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def smoke_family @smoke_family end |
#smoke_max_hits ⇒ Object
Returns the value of attribute smoke_max_hits.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def smoke_max_hits @smoke_max_hits end |
#smoke_query ⇒ Object
Returns the value of attribute smoke_query.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def smoke_query @smoke_query end |
#smoke_query_structure_path ⇒ Object
Returns the value of attribute smoke_query_structure_path.
25 26 27 |
# File 'lib/rafflesia/datasets/corpu_release_publish_current_request.rb', line 25 def smoke_query_structure_path @smoke_query_structure_path end |