Class: Rafflesia::CorpuReleaseValidateRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseValidateRequest
- Defined in:
- lib/rafflesia/datasets/corpu_release_validate_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ corpus: :corpus, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, object_store_root: :object_store_root, ref: :ref, release_id: :release_id, 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.
-
#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.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#release_id ⇒ Object
Returns the value of attribute release_id.
-
#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) ⇒ CorpuReleaseValidateRequest
constructor
A new instance of CorpuReleaseValidateRequest.
Constructor Details
#initialize(json) ⇒ CorpuReleaseValidateRequest
Returns a new instance of CorpuReleaseValidateRequest.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @corpus = hash[:corpus] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @object_store_root = hash[:object_store_root] @ref = hash[:ref] @release_id = hash[:release_id] @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.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def corpus @corpus end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def max_object_bytes @max_object_bytes end |
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def max_object_reads @max_object_reads end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def object_store_root @object_store_root end |
#ref ⇒ Object
Returns the value of attribute ref.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def ref @ref end |
#release_id ⇒ Object
Returns the value of attribute release_id.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def release_id @release_id end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def require_zero_materialization @require_zero_materialization end |
#smoke_family ⇒ Object
Returns the value of attribute smoke_family.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def smoke_family @smoke_family end |
#smoke_max_hits ⇒ Object
Returns the value of attribute smoke_max_hits.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def smoke_max_hits @smoke_max_hits end |
#smoke_query ⇒ Object
Returns the value of attribute smoke_query.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def smoke_query @smoke_query end |
#smoke_query_structure_path ⇒ Object
Returns the value of attribute smoke_query_structure_path.
22 23 24 |
# File 'lib/rafflesia/datasets/corpu_release_validate_request.rb', line 22 def smoke_query_structure_path @smoke_query_structure_path end |