Class: Rafflesia::RegionSplitRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::RegionSplitRequest
- Defined in:
- lib/rafflesia/proteins/region_split_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ chain: :chain, database: :database, include_low_confidence: :include_low_confidence, method: :method, min_length: :min_length, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, relation: :relation, release: :release, sort_by: :sort_by, structure_id: :structure_id, threshold: :threshold }.freeze
Instance Attribute Summary collapse
-
#chain ⇒ Object
Returns the value of attribute chain.
-
#database ⇒ Object
Returns the value of attribute database.
-
#include_low_confidence ⇒ Object
Returns the value of attribute include_low_confidence.
-
#method ⇒ Object
Returns the value of attribute method.
-
#min_length ⇒ Object
Returns the value of attribute min_length.
-
#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.
-
#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.
-
#structure_id ⇒ Object
Returns the value of attribute structure_id.
-
#threshold ⇒ Object
Returns the value of attribute threshold.
Instance Method Summary collapse
-
#initialize(json) ⇒ RegionSplitRequest
constructor
A new instance of RegionSplitRequest.
Constructor Details
#initialize(json) ⇒ RegionSplitRequest
Returns a new instance of RegionSplitRequest.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @chain = hash[:chain] @database = hash[:database] @include_low_confidence = hash[:include_low_confidence] @method = hash[:method] @min_length = hash[:min_length] @output_format = hash[:output_format] @output_relation = hash[:output_relation] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @relation = hash[:relation] @release = hash[:release] @sort_by = (hash[:sort_by] || []) @structure_id = hash[:structure_id] @threshold = hash[:threshold] end |
Instance Attribute Details
#chain ⇒ Object
Returns the value of attribute chain.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def chain @chain end |
#database ⇒ Object
Returns the value of attribute database.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def database @database end |
#include_low_confidence ⇒ Object
Returns the value of attribute include_low_confidence.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def include_low_confidence @include_low_confidence end |
#method ⇒ Object
Returns the value of attribute method.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def method @method end |
#min_length ⇒ Object
Returns the value of attribute min_length.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def min_length @min_length end |
#output_format ⇒ Object
Returns the value of attribute output_format.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def preview_limit @preview_limit end |
#relation ⇒ Object
Returns the value of attribute relation.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def release @release end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def sort_by @sort_by end |
#structure_id ⇒ Object
Returns the value of attribute structure_id.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def structure_id @structure_id end |
#threshold ⇒ Object
Returns the value of attribute threshold.
25 26 27 |
# File 'lib/rafflesia/proteins/region_split_request.rb', line 25 def threshold @threshold end |