Class: Rafflesia::SearchSegmentBuildRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SearchSegmentBuildRequest
- Defined in:
- lib/rafflesia/sequences/search_segment_build_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ algorithm: :algorithm, block_size_bytes: :block_size_bytes, dataset_name: :dataset_name, dataset_version: :dataset_version, input_object_id: :input_object_id, input_path: :input_path, key_mode: :key_mode, name: :name, tool_name: :tool_name, tool_version: :tool_version, version: :version }.freeze
Instance Attribute Summary collapse
-
#algorithm ⇒ Object
Returns the value of attribute algorithm.
-
#block_size_bytes ⇒ Object
Returns the value of attribute block_size_bytes.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
-
#input_path ⇒ Object
Returns the value of attribute input_path.
-
#key_mode ⇒ Object
Returns the value of attribute key_mode.
-
#name ⇒ Object
Returns the value of attribute name.
-
#tool_name ⇒ Object
Returns the value of attribute tool_name.
-
#tool_version ⇒ Object
Returns the value of attribute tool_version.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ SearchSegmentBuildRequest
constructor
A new instance of SearchSegmentBuildRequest.
Constructor Details
#initialize(json) ⇒ SearchSegmentBuildRequest
Returns a new instance of SearchSegmentBuildRequest.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @algorithm = hash[:algorithm] @block_size_bytes = hash[:block_size_bytes] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @input_object_id = hash[:input_object_id] @input_path = hash[:input_path] @key_mode = hash[:key_mode] @name = hash[:name] @tool_name = hash[:tool_name] @tool_version = hash[:tool_version] @version = hash[:version] end |
Instance Attribute Details
#algorithm ⇒ Object
Returns the value of attribute algorithm.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def algorithm @algorithm end |
#block_size_bytes ⇒ Object
Returns the value of attribute block_size_bytes.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def block_size_bytes @block_size_bytes end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def dataset_version @dataset_version end |
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def input_object_id @input_object_id end |
#input_path ⇒ Object
Returns the value of attribute input_path.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def input_path @input_path end |
#key_mode ⇒ Object
Returns the value of attribute key_mode.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def key_mode @key_mode end |
#name ⇒ Object
Returns the value of attribute name.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def name @name end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def tool_name @tool_name end |
#tool_version ⇒ Object
Returns the value of attribute tool_version.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def tool_version @tool_version end |
#version ⇒ Object
Returns the value of attribute version.
22 23 24 |
# File 'lib/rafflesia/sequences/search_segment_build_request.rb', line 22 def version @version end |