Class: Rafflesia::MmseqCatalogSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::MmseqCatalogSearchRequest
- Defined in:
- lib/rafflesia/sequences/mmseq_catalog_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ catalog: :catalog, concurrency: :concurrency, database: :database, max_seqs: :max_seqs, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, query: :query, relation: :relation, release: :release, sensitivity: :sensitivity, sort_by: :sort_by, store_root: :store_root, threads: :threads }.freeze
Instance Attribute Summary collapse
-
#catalog ⇒ Object
Returns the value of attribute catalog.
-
#concurrency ⇒ Object
Returns the value of attribute concurrency.
-
#database ⇒ Object
Returns the value of attribute database.
-
#max_seqs ⇒ Object
Returns the value of attribute max_seqs.
-
#output_format ⇒ Object
Returns the value of attribute output_format.
-
#output_relation ⇒ Object
Returns the value of attribute output_relation.
-
#partition_by ⇒ Object
Returns the value of attribute partition_by.
-
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
-
#query ⇒ Object
Returns the value of attribute query.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#release ⇒ Object
Returns the value of attribute release.
-
#sensitivity ⇒ Object
Returns the value of attribute sensitivity.
-
#sort_by ⇒ Object
Returns the value of attribute sort_by.
-
#store_root ⇒ Object
Returns the value of attribute store_root.
-
#threads ⇒ Object
Returns the value of attribute threads.
Instance Method Summary collapse
-
#initialize(json) ⇒ MmseqCatalogSearchRequest
constructor
A new instance of MmseqCatalogSearchRequest.
Constructor Details
#initialize(json) ⇒ MmseqCatalogSearchRequest
Returns a new instance of MmseqCatalogSearchRequest.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 43 def initialize(json) super() hash = self.class.normalize(json) @catalog = hash[:catalog] @concurrency = hash[:concurrency] @database = hash[:database] @max_seqs = hash[:max_seqs] @output_format = hash[:output_format] @output_relation = hash[:output_relation] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @query = hash[:query] @relation = hash[:relation] @release = hash[:release] @sensitivity = hash[:sensitivity] @sort_by = (hash[:sort_by] || []) @store_root = hash[:store_root] @threads = hash[:threads] end |
Instance Attribute Details
#catalog ⇒ Object
Returns the value of attribute catalog.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def catalog @catalog end |
#concurrency ⇒ Object
Returns the value of attribute concurrency.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def concurrency @concurrency end |
#database ⇒ Object
Returns the value of attribute database.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def database @database end |
#max_seqs ⇒ Object
Returns the value of attribute max_seqs.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def max_seqs @max_seqs end |
#output_format ⇒ Object
Returns the value of attribute output_format.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def preview_limit @preview_limit end |
#query ⇒ Object
Returns the value of attribute query.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def query @query end |
#relation ⇒ Object
Returns the value of attribute relation.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def release @release end |
#sensitivity ⇒ Object
Returns the value of attribute sensitivity.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def sensitivity @sensitivity end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def sort_by @sort_by end |
#store_root ⇒ Object
Returns the value of attribute store_root.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def store_root @store_root end |
#threads ⇒ Object
Returns the value of attribute threads.
26 27 28 |
# File 'lib/rafflesia/sequences/mmseq_catalog_search_request.rb', line 26 def threads @threads end |