Class: Rafflesia::FoldCatalogSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldCatalogSearchRequest
- Defined in:
- lib/rafflesia/proteins/fold_catalog_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ catalog: :catalog, limit: :limit, query_id: :query_id, 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.
-
#query_id ⇒ Object
Returns the value of attribute query_id.
-
#store_root ⇒ Object
Returns the value of attribute store_root.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldCatalogSearchRequest
constructor
A new instance of FoldCatalogSearchRequest.
Constructor Details
#initialize(json) ⇒ FoldCatalogSearchRequest
Returns a new instance of FoldCatalogSearchRequest.
21 22 23 24 25 26 27 28 |
# File 'lib/rafflesia/proteins/fold_catalog_search_request.rb', line 21 def initialize(json) super() hash = self.class.normalize(json) @catalog = hash[:catalog] @limit = hash[:limit] @query_id = hash[:query_id] @store_root = hash[:store_root] end |
Instance Attribute Details
#catalog ⇒ Object
Returns the value of attribute catalog.
15 16 17 |
# File 'lib/rafflesia/proteins/fold_catalog_search_request.rb', line 15 def catalog @catalog end |
#limit ⇒ Object
Returns the value of attribute limit.
15 16 17 |
# File 'lib/rafflesia/proteins/fold_catalog_search_request.rb', line 15 def limit @limit end |
#query_id ⇒ Object
Returns the value of attribute query_id.
15 16 17 |
# File 'lib/rafflesia/proteins/fold_catalog_search_request.rb', line 15 def query_id @query_id end |
#store_root ⇒ Object
Returns the value of attribute store_root.
15 16 17 |
# File 'lib/rafflesia/proteins/fold_catalog_search_request.rb', line 15 def store_root @store_root end |