Class: Rafflesia::SequenceCandidateSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceCandidateSearchRequest
- Defined in:
- lib/rafflesia/sequences/sequence_candidate_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ max_hits: :max_hits, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, namespace: :namespace, query: :query, query_mode: :query_mode, require_zero_materialization: :require_zero_materialization, timeout_ms: :timeout_ms }.freeze
Instance Attribute Summary collapse
-
#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.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#query ⇒ Object
Returns the value of attribute query.
-
#query_mode ⇒ Object
Returns the value of attribute query_mode.
-
#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) ⇒ SequenceCandidateSearchRequest
constructor
A new instance of SequenceCandidateSearchRequest.
Constructor Details
#initialize(json) ⇒ SequenceCandidateSearchRequest
Returns a new instance of SequenceCandidateSearchRequest.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @max_hits = hash[:max_hits] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @namespace = hash[:namespace] @query = hash[:query] @query_mode = hash[:query_mode] @require_zero_materialization = hash[:require_zero_materialization] @timeout_ms = hash[:timeout_ms] end |
Instance Attribute Details
#max_hits ⇒ Object
Returns the value of attribute max_hits.
19 20 21 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 19 def max_hits @max_hits end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
19 20 21 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 19 def max_object_bytes @max_object_bytes end |
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
19 20 21 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 19 def max_object_reads @max_object_reads end |
#namespace ⇒ Object
Returns the value of attribute namespace.
19 20 21 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 19 def namespace @namespace end |
#query ⇒ Object
Returns the value of attribute query.
19 20 21 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 19 def query @query end |
#query_mode ⇒ Object
Returns the value of attribute query_mode.
19 20 21 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 19 def query_mode @query_mode end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
19 20 21 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 19 def require_zero_materialization @require_zero_materialization end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
19 20 21 |
# File 'lib/rafflesia/sequences/sequence_candidate_search_request.rb', line 19 def timeout_ms @timeout_ms end |