Class: Rafflesia::StructureAlignRequest

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

Constant Summary collapse

HASH_ATTRS =
{
  allow_network: :allow_network,
  multimer_mode: :multimer_mode,
  query_id: :query_id,
  target_id: :target_id,
  terminus_mode: :terminus_mode
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ StructureAlignRequest

Returns a new instance of StructureAlignRequest.



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

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @allow_network = hash[:allow_network]
  @multimer_mode = hash[:multimer_mode]
  @query_id = hash[:query_id]
  @target_id = hash[:target_id]
  @terminus_mode = hash[:terminus_mode]
end

Instance Attribute Details

#allow_networkObject

Returns the value of attribute allow_network.



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

def allow_network
  @allow_network
end

#multimer_modeObject

Returns the value of attribute multimer_mode.



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

def multimer_mode
  @multimer_mode
end

#query_idObject

Returns the value of attribute query_id.



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

def query_id
  @query_id
end

#target_idObject

Returns the value of attribute target_id.



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

def target_id
  @target_id
end

#terminus_modeObject

Returns the value of attribute terminus_mode.



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

def terminus_mode
  @terminus_mode
end