Class: Rafflesia::MapModelFitCandidateSearchRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::MapModelFitCandidateSearchRequest
- Defined in:
- lib/rafflesia/maps/map_model_fit_candidate_search_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ candidate_count: :candidate_count, cyclic_copy_count: :cyclic_copy_count, map_id: :map_id, max_voxel_bytes: :max_voxel_bytes, maximum_radius_angstrom: :maximum_radius_angstrom, minimum_radius_angstrom: :minimum_radius_angstrom, restart_count: :restart_count, seed: :seed, structure_id: :structure_id, threshold: :threshold }.freeze
Instance Attribute Summary collapse
-
#candidate_count ⇒ Object
Returns the value of attribute candidate_count.
-
#cyclic_copy_count ⇒ Object
Returns the value of attribute cyclic_copy_count.
-
#map_id ⇒ Object
Returns the value of attribute map_id.
-
#max_voxel_bytes ⇒ Object
Returns the value of attribute max_voxel_bytes.
-
#maximum_radius_angstrom ⇒ Object
Returns the value of attribute maximum_radius_angstrom.
-
#minimum_radius_angstrom ⇒ Object
Returns the value of attribute minimum_radius_angstrom.
-
#restart_count ⇒ Object
Returns the value of attribute restart_count.
-
#seed ⇒ Object
Returns the value of attribute seed.
-
#structure_id ⇒ Object
Returns the value of attribute structure_id.
-
#threshold ⇒ Object
Returns the value of attribute threshold.
Instance Method Summary collapse
-
#initialize(json) ⇒ MapModelFitCandidateSearchRequest
constructor
A new instance of MapModelFitCandidateSearchRequest.
Constructor Details
#initialize(json) ⇒ MapModelFitCandidateSearchRequest
Returns a new instance of MapModelFitCandidateSearchRequest.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 33 def initialize(json) super() hash = self.class.normalize(json) @candidate_count = hash[:candidate_count] @cyclic_copy_count = hash[:cyclic_copy_count] @map_id = hash[:map_id] @max_voxel_bytes = hash[:max_voxel_bytes] @maximum_radius_angstrom = hash[:maximum_radius_angstrom] @minimum_radius_angstrom = hash[:minimum_radius_angstrom] @restart_count = hash[:restart_count] @seed = hash[:seed] @structure_id = hash[:structure_id] @threshold = hash[:threshold] end |
Instance Attribute Details
#candidate_count ⇒ Object
Returns the value of attribute candidate_count.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def candidate_count @candidate_count end |
#cyclic_copy_count ⇒ Object
Returns the value of attribute cyclic_copy_count.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def cyclic_copy_count @cyclic_copy_count end |
#map_id ⇒ Object
Returns the value of attribute map_id.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def map_id @map_id end |
#max_voxel_bytes ⇒ Object
Returns the value of attribute max_voxel_bytes.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def max_voxel_bytes @max_voxel_bytes end |
#maximum_radius_angstrom ⇒ Object
Returns the value of attribute maximum_radius_angstrom.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def maximum_radius_angstrom @maximum_radius_angstrom end |
#minimum_radius_angstrom ⇒ Object
Returns the value of attribute minimum_radius_angstrom.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def minimum_radius_angstrom @minimum_radius_angstrom end |
#restart_count ⇒ Object
Returns the value of attribute restart_count.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def restart_count @restart_count end |
#seed ⇒ Object
Returns the value of attribute seed.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def seed @seed end |
#structure_id ⇒ Object
Returns the value of attribute structure_id.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def structure_id @structure_id end |
#threshold ⇒ Object
Returns the value of attribute threshold.
21 22 23 |
# File 'lib/rafflesia/maps/map_model_fit_candidate_search_request.rb', line 21 def threshold @threshold end |