Class: Rafflesia::CombinedSearchReferenceRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CombinedSearchReferenceRequest
- Defined in:
- lib/rafflesia/search/combined_search_reference_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ corpus: :corpus, family: :family, max_candidates: :max_candidates, max_hits: :max_hits, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, object_store_root: :object_store_root, query: :query, query_mode: :query_mode, query_structure_file_name: :query_structure_file_name, query_structure_object_id: :query_structure_object_id, query_structure_path: :query_structure_path, release_id: :release_id, require_zero_materialization: :require_zero_materialization }.freeze
Instance Attribute Summary collapse
-
#corpus ⇒ Object
Returns the value of attribute corpus.
-
#family ⇒ Object
Returns the value of attribute family.
-
#max_candidates ⇒ Object
Returns the value of attribute max_candidates.
-
#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.
-
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
-
#query ⇒ Object
Returns the value of attribute query.
-
#query_mode ⇒ Object
Returns the value of attribute query_mode.
-
#query_structure_file_name ⇒ Object
Returns the value of attribute query_structure_file_name.
-
#query_structure_object_id ⇒ Object
Returns the value of attribute query_structure_object_id.
-
#query_structure_path ⇒ Object
Returns the value of attribute query_structure_path.
-
#release_id ⇒ Object
Returns the value of attribute release_id.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
Instance Method Summary collapse
-
#initialize(json) ⇒ CombinedSearchReferenceRequest
constructor
A new instance of CombinedSearchReferenceRequest.
Constructor Details
#initialize(json) ⇒ CombinedSearchReferenceRequest
Returns a new instance of CombinedSearchReferenceRequest.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @corpus = hash[:corpus] @family = hash[:family] @max_candidates = hash[:max_candidates] @max_hits = hash[:max_hits] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @object_store_root = hash[:object_store_root] @query = hash[:query] @query_mode = hash[:query_mode] @query_structure_file_name = hash[:query_structure_file_name] @query_structure_object_id = hash[:query_structure_object_id] @query_structure_path = hash[:query_structure_path] @release_id = hash[:release_id] @require_zero_materialization = hash[:require_zero_materialization] end |
Instance Attribute Details
#corpus ⇒ Object
Returns the value of attribute corpus.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def corpus @corpus end |
#family ⇒ Object
Returns the value of attribute family.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def family @family end |
#max_candidates ⇒ Object
Returns the value of attribute max_candidates.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def max_candidates @max_candidates end |
#max_hits ⇒ Object
Returns the value of attribute max_hits.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def max_hits @max_hits end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_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/search/combined_search_reference_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/search/combined_search_reference_request.rb', line 25 def object_store_root @object_store_root end |
#query ⇒ Object
Returns the value of attribute query.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def query @query end |
#query_mode ⇒ Object
Returns the value of attribute query_mode.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def query_mode @query_mode end |
#query_structure_file_name ⇒ Object
Returns the value of attribute query_structure_file_name.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def query_structure_file_name @query_structure_file_name end |
#query_structure_object_id ⇒ Object
Returns the value of attribute query_structure_object_id.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def query_structure_object_id @query_structure_object_id end |
#query_structure_path ⇒ Object
Returns the value of attribute query_structure_path.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def query_structure_path @query_structure_path end |
#release_id ⇒ Object
Returns the value of attribute release_id.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def release_id @release_id end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
25 26 27 |
# File 'lib/rafflesia/search/combined_search_reference_request.rb', line 25 def require_zero_materialization @require_zero_materialization end |