Class: Rafflesia::MsaInspectRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::MsaInspectRequest
- Defined in:
- lib/rafflesia/sequences/msa_inspect_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ alignment_object_id: :alignment_object_id, alignment_path: :alignment_path, database: :database, include_columns: :include_columns, max_columns: :max_columns, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, relation: :relation, release: :release, sort_by: :sort_by }.freeze
Instance Attribute Summary collapse
-
#alignment_object_id ⇒ Object
Returns the value of attribute alignment_object_id.
-
#alignment_path ⇒ Object
Returns the value of attribute alignment_path.
-
#database ⇒ Object
Returns the value of attribute database.
-
#include_columns ⇒ Object
Returns the value of attribute include_columns.
-
#max_columns ⇒ Object
Returns the value of attribute max_columns.
-
#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.
Instance Method Summary collapse
-
#initialize(json) ⇒ MsaInspectRequest
constructor
A new instance of MsaInspectRequest.
Constructor Details
#initialize(json) ⇒ MsaInspectRequest
Returns a new instance of MsaInspectRequest.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 37 def initialize(json) super() hash = self.class.normalize(json) @alignment_object_id = hash[:alignment_object_id] @alignment_path = hash[:alignment_path] @database = hash[:database] @include_columns = hash[:include_columns] @max_columns = hash[:max_columns] @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] || []) end |
Instance Attribute Details
#alignment_object_id ⇒ Object
Returns the value of attribute alignment_object_id.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def alignment_object_id @alignment_object_id end |
#alignment_path ⇒ Object
Returns the value of attribute alignment_path.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def alignment_path @alignment_path end |
#database ⇒ Object
Returns the value of attribute database.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def database @database end |
#include_columns ⇒ Object
Returns the value of attribute include_columns.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def include_columns @include_columns end |
#max_columns ⇒ Object
Returns the value of attribute max_columns.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def max_columns @max_columns end |
#output_format ⇒ Object
Returns the value of attribute output_format.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def preview_limit @preview_limit end |
#relation ⇒ Object
Returns the value of attribute relation.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def release @release end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
23 24 25 |
# File 'lib/rafflesia/sequences/msa_inspect_request.rb', line 23 def sort_by @sort_by end |