Class: Rafflesia::BlastSearchExplainRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BlastSearchExplainRequest
- Defined in:
- lib/rafflesia/sequences/blast_search_explain_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ search: :search, workload_profile: :workload_profile }.freeze
Instance Attribute Summary collapse
-
#search ⇒ Object
Returns the value of attribute search.
-
#workload_profile ⇒ Object
Returns the value of attribute workload_profile.
Instance Method Summary collapse
-
#initialize(json) ⇒ BlastSearchExplainRequest
constructor
A new instance of BlastSearchExplainRequest.
Constructor Details
#initialize(json) ⇒ BlastSearchExplainRequest
Returns a new instance of BlastSearchExplainRequest.
17 18 19 20 21 22 |
# File 'lib/rafflesia/sequences/blast_search_explain_request.rb', line 17 def initialize(json) super() hash = self.class.normalize(json) @search = hash[:search] ? Rafflesia::BlastSearchRequest.new(hash[:search]) : nil @workload_profile = hash[:workload_profile] end |
Instance Attribute Details
#search ⇒ Object
Returns the value of attribute search.
13 14 15 |
# File 'lib/rafflesia/sequences/blast_search_explain_request.rb', line 13 def search @search end |
#workload_profile ⇒ Object
Returns the value of attribute workload_profile.
13 14 15 |
# File 'lib/rafflesia/sequences/blast_search_explain_request.rb', line 13 def workload_profile @workload_profile end |