Class: Rafflesia::DiamondCatalogSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DiamondCatalogSearchRequest
- Defined in:
- lib/rafflesia/sequences/diamond_catalog_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ catalog: :catalog, concurrency: :concurrency, database: :database, evalue: :evalue, max_target_seqs: :max_target_seqs, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, program: :program, query: :query, relation: :relation, release: :release, 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.
-
#evalue ⇒ Object
Returns the value of attribute evalue.
-
#max_target_seqs ⇒ Object
Returns the value of attribute max_target_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.
-
#program ⇒ Object
Returns the value of attribute program.
-
#query ⇒ Object
Returns the value of attribute query.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#release ⇒ Object
Returns the value of attribute release.
-
#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) ⇒ DiamondCatalogSearchRequest
constructor
A new instance of DiamondCatalogSearchRequest.
Constructor Details
#initialize(json) ⇒ DiamondCatalogSearchRequest
Returns a new instance of DiamondCatalogSearchRequest.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 45 def initialize(json) super() hash = self.class.normalize(json) @catalog = hash[:catalog] @concurrency = hash[:concurrency] @database = hash[:database] @evalue = hash[:evalue] @max_target_seqs = hash[:max_target_seqs] @output_format = hash[:output_format] @output_relation = hash[:output_relation] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @program = hash[:program] @query = hash[:query] @relation = hash[:relation] @release = hash[:release] @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.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def catalog @catalog end |
#concurrency ⇒ Object
Returns the value of attribute concurrency.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def concurrency @concurrency end |
#database ⇒ Object
Returns the value of attribute database.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def database @database end |
#evalue ⇒ Object
Returns the value of attribute evalue.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def evalue @evalue end |
#max_target_seqs ⇒ Object
Returns the value of attribute max_target_seqs.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def max_target_seqs @max_target_seqs end |
#output_format ⇒ Object
Returns the value of attribute output_format.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def preview_limit @preview_limit end |
#program ⇒ Object
Returns the value of attribute program.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def program @program end |
#query ⇒ Object
Returns the value of attribute query.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def query @query end |
#relation ⇒ Object
Returns the value of attribute relation.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def release @release end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def sort_by @sort_by end |
#store_root ⇒ Object
Returns the value of attribute store_root.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def store_root @store_root end |
#threads ⇒ Object
Returns the value of attribute threads.
27 28 29 |
# File 'lib/rafflesia/sequences/diamond_catalog_search_request.rb', line 27 def threads @threads end |