Class: Rafflesia::FoldRoutedSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldRoutedSearchRequest
- Defined in:
- lib/rafflesia/proteins/fold_routed_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ catalog: :catalog, limit: :limit, nprobe: :nprobe, query_id: :query_id, routing_db: :routing_db, store_root: :store_root }.freeze
Instance Attribute Summary collapse
-
#catalog ⇒ Object
Returns the value of attribute catalog.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#nprobe ⇒ Object
Returns the value of attribute nprobe.
-
#query_id ⇒ Object
Returns the value of attribute query_id.
-
#routing_db ⇒ Object
Returns the value of attribute routing_db.
-
#store_root ⇒ Object
Returns the value of attribute store_root.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldRoutedSearchRequest
constructor
A new instance of FoldRoutedSearchRequest.
Constructor Details
#initialize(json) ⇒ FoldRoutedSearchRequest
Returns a new instance of FoldRoutedSearchRequest.
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/rafflesia/proteins/fold_routed_search_request.rb', line 25 def initialize(json) super() hash = self.class.normalize(json) @catalog = hash[:catalog] @limit = hash[:limit] @nprobe = hash[:nprobe] @query_id = hash[:query_id] @routing_db = hash[:routing_db] @store_root = hash[:store_root] end |
Instance Attribute Details
#catalog ⇒ Object
Returns the value of attribute catalog.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_routed_search_request.rb', line 17 def catalog @catalog end |
#limit ⇒ Object
Returns the value of attribute limit.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_routed_search_request.rb', line 17 def limit @limit end |
#nprobe ⇒ Object
Returns the value of attribute nprobe.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_routed_search_request.rb', line 17 def nprobe @nprobe end |
#query_id ⇒ Object
Returns the value of attribute query_id.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_routed_search_request.rb', line 17 def query_id @query_id end |
#routing_db ⇒ Object
Returns the value of attribute routing_db.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_routed_search_request.rb', line 17 def routing_db @routing_db end |
#store_root ⇒ Object
Returns the value of attribute store_root.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_routed_search_request.rb', line 17 def store_root @store_root end |