Class: Rafflesia::StructureCompareRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/proteins/structure_compare_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  foldseek_binary_path: :foldseek_binary_path,
  method: :method,
  query_structure_id: :query_structure_id,
  target_structure_id: :target_structure_id,
  tmalign_binary_path: :tmalign_binary_path
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ StructureCompareRequest

Returns a new instance of StructureCompareRequest.



23
24
25
26
27
28
29
30
31
# File 'lib/rafflesia/proteins/structure_compare_request.rb', line 23

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @foldseek_binary_path = hash[:foldseek_binary_path]
  @method = hash[:method]
  @query_structure_id = hash[:query_structure_id]
  @target_structure_id = hash[:target_structure_id]
  @tmalign_binary_path = hash[:tmalign_binary_path]
end

Instance Attribute Details

#foldseek_binary_pathObject

Returns the value of attribute foldseek_binary_path.



16
17
18
# File 'lib/rafflesia/proteins/structure_compare_request.rb', line 16

def foldseek_binary_path
  @foldseek_binary_path
end

#methodObject

Returns the value of attribute method.



16
17
18
# File 'lib/rafflesia/proteins/structure_compare_request.rb', line 16

def method
  @method
end

#query_structure_idObject

Returns the value of attribute query_structure_id.



16
17
18
# File 'lib/rafflesia/proteins/structure_compare_request.rb', line 16

def query_structure_id
  @query_structure_id
end

#target_structure_idObject

Returns the value of attribute target_structure_id.



16
17
18
# File 'lib/rafflesia/proteins/structure_compare_request.rb', line 16

def target_structure_id
  @target_structure_id
end

#tmalign_binary_pathObject

Returns the value of attribute tmalign_binary_path.



16
17
18
# File 'lib/rafflesia/proteins/structure_compare_request.rb', line 16

def tmalign_binary_path
  @tmalign_binary_path
end