Class: Rafflesia::CombinedSearchStructureOverlayRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CombinedSearchStructureOverlayRequest
- Defined in:
- lib/rafflesia/search/combined_search_structure_overlay_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ kmer_size: :kmer_size, max_hits: :max_hits, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, min_shared_tokens: :min_shared_tokens, namespace: :namespace, query_object_id: :query_object_id, query_path: :query_path, query_structure: :query_structure, require_zero_materialization: :require_zero_materialization, timeout_ms: :timeout_ms }.freeze
Instance Attribute Summary collapse
-
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
-
#max_hits ⇒ Object
Returns the value of attribute max_hits.
-
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
-
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
-
#min_shared_tokens ⇒ Object
Returns the value of attribute min_shared_tokens.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#query_object_id ⇒ Object
Returns the value of attribute query_object_id.
-
#query_path ⇒ Object
Returns the value of attribute query_path.
-
#query_structure ⇒ Object
Returns the value of attribute query_structure.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
Instance Method Summary collapse
-
#initialize(json) ⇒ CombinedSearchStructureOverlayRequest
constructor
A new instance of CombinedSearchStructureOverlayRequest.
Constructor Details
#initialize(json) ⇒ CombinedSearchStructureOverlayRequest
Returns a new instance of CombinedSearchStructureOverlayRequest.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @kmer_size = hash[:kmer_size] @max_hits = hash[:max_hits] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @min_shared_tokens = hash[:min_shared_tokens] @namespace = hash[:namespace] @query_object_id = hash[:query_object_id] @query_path = hash[:query_path] @query_structure = hash[:query_structure] ? Rafflesia::CombinedSearchStructureRecord.new(hash[:query_structure]) : nil @require_zero_materialization = hash[:require_zero_materialization] @timeout_ms = hash[:timeout_ms] end |
Instance Attribute Details
#kmer_size ⇒ Object
Returns the value of attribute kmer_size.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def kmer_size @kmer_size end |
#max_hits ⇒ Object
Returns the value of attribute max_hits.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def max_hits @max_hits end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_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/search/combined_search_structure_overlay_request.rb', line 22 def max_object_reads @max_object_reads end |
#min_shared_tokens ⇒ Object
Returns the value of attribute min_shared_tokens.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def min_shared_tokens @min_shared_tokens end |
#namespace ⇒ Object
Returns the value of attribute namespace.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def namespace @namespace end |
#query_object_id ⇒ Object
Returns the value of attribute query_object_id.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def query_object_id @query_object_id end |
#query_path ⇒ Object
Returns the value of attribute query_path.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def query_path @query_path end |
#query_structure ⇒ Object
Returns the value of attribute query_structure.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def query_structure @query_structure end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def require_zero_materialization @require_zero_materialization end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
22 23 24 |
# File 'lib/rafflesia/search/combined_search_structure_overlay_request.rb', line 22 def timeout_ms @timeout_ms end |