Class: Rafflesia::FoldCollectionPublishRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldCollectionPublishRequest
- Defined in:
- lib/rafflesia/proteins/fold_collection_publish_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ benchmark_object_id: :benchmark_object_id, calibration_object_id: :calibration_object_id, compaction_generation: :compaction_generation, generation: :generation, max_blocks_per_query: :max_blocks_per_query, max_object_bytes_per_query: :max_object_bytes_per_query, max_object_reads_per_query: :max_object_reads_per_query, max_segments_per_query: :max_segments_per_query, min_byte_reduction_fraction: :min_byte_reduction_fraction, min_recall_at_1: :min_recall_at_1, min_recall_at_10: :min_recall_at_10, min_recall_at_100: :min_recall_at_100, min_routing_score_coverage: :min_routing_score_coverage, min_segment_reduction_fraction: :min_segment_reduction_fraction, name: :name, ref: :ref, require_adaptive_routing: :require_adaptive_routing, require_benchmark: :require_benchmark, require_calibration: :require_calibration, require_exact_verification: :require_exact_verification, require_routing: :require_routing, require_zero_materialization: :require_zero_materialization, segment_refs: :segment_refs, snapshot_ref: :snapshot_ref, version: :version }.freeze
Instance Attribute Summary collapse
-
#benchmark_object_id ⇒ Object
Returns the value of attribute benchmark_object_id.
-
#calibration_object_id ⇒ Object
Returns the value of attribute calibration_object_id.
-
#compaction_generation ⇒ Object
Returns the value of attribute compaction_generation.
-
#generation ⇒ Object
Returns the value of attribute generation.
-
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
-
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
-
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
-
#max_segments_per_query ⇒ Object
Returns the value of attribute max_segments_per_query.
-
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
-
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
-
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
-
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
-
#min_routing_score_coverage ⇒ Object
Returns the value of attribute min_routing_score_coverage.
-
#min_segment_reduction_fraction ⇒ Object
Returns the value of attribute min_segment_reduction_fraction.
-
#name ⇒ Object
Returns the value of attribute name.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#require_adaptive_routing ⇒ Object
Returns the value of attribute require_adaptive_routing.
-
#require_benchmark ⇒ Object
Returns the value of attribute require_benchmark.
-
#require_calibration ⇒ Object
Returns the value of attribute require_calibration.
-
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
-
#require_routing ⇒ Object
Returns the value of attribute require_routing.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#segment_refs ⇒ Object
Returns the value of attribute segment_refs.
-
#snapshot_ref ⇒ Object
Returns the value of attribute snapshot_ref.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldCollectionPublishRequest
constructor
A new instance of FoldCollectionPublishRequest.
Constructor Details
#initialize(json) ⇒ FoldCollectionPublishRequest
Returns a new instance of FoldCollectionPublishRequest.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 63 def initialize(json) super() hash = self.class.normalize(json) @benchmark_object_id = hash[:benchmark_object_id] @calibration_object_id = hash[:calibration_object_id] @compaction_generation = hash[:compaction_generation] @generation = hash[:generation] @max_blocks_per_query = hash[:max_blocks_per_query] @max_object_bytes_per_query = hash[:max_object_bytes_per_query] @max_object_reads_per_query = hash[:max_object_reads_per_query] @max_segments_per_query = hash[:max_segments_per_query] @min_byte_reduction_fraction = hash[:min_byte_reduction_fraction] @min_recall_at_1 = hash[:min_recall_at_1] @min_recall_at_10 = hash[:min_recall_at_10] @min_recall_at_100 = hash[:min_recall_at_100] @min_routing_score_coverage = hash[:min_routing_score_coverage] @min_segment_reduction_fraction = hash[:min_segment_reduction_fraction] @name = hash[:name] @ref = hash[:ref] @require_adaptive_routing = hash[:require_adaptive_routing] @require_benchmark = hash[:require_benchmark] @require_calibration = hash[:require_calibration] @require_exact_verification = hash[:require_exact_verification] @require_routing = hash[:require_routing] @require_zero_materialization = hash[:require_zero_materialization] @segment_refs = (hash[:segment_refs] || []) @snapshot_ref = hash[:snapshot_ref] @version = hash[:version] end |
Instance Attribute Details
#benchmark_object_id ⇒ Object
Returns the value of attribute benchmark_object_id.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def benchmark_object_id @benchmark_object_id end |
#calibration_object_id ⇒ Object
Returns the value of attribute calibration_object_id.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def calibration_object_id @calibration_object_id end |
#compaction_generation ⇒ Object
Returns the value of attribute compaction_generation.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def compaction_generation @compaction_generation end |
#generation ⇒ Object
Returns the value of attribute generation.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def generation @generation end |
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def max_blocks_per_query @max_blocks_per_query end |
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def max_object_bytes_per_query @max_object_bytes_per_query end |
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def max_object_reads_per_query @max_object_reads_per_query end |
#max_segments_per_query ⇒ Object
Returns the value of attribute max_segments_per_query.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def max_segments_per_query @max_segments_per_query end |
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def min_byte_reduction_fraction @min_byte_reduction_fraction end |
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def min_recall_at_1 @min_recall_at_1 end |
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def min_recall_at_10 @min_recall_at_10 end |
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def min_recall_at_100 @min_recall_at_100 end |
#min_routing_score_coverage ⇒ Object
Returns the value of attribute min_routing_score_coverage.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def min_routing_score_coverage @min_routing_score_coverage end |
#min_segment_reduction_fraction ⇒ Object
Returns the value of attribute min_segment_reduction_fraction.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def min_segment_reduction_fraction @min_segment_reduction_fraction end |
#name ⇒ Object
Returns the value of attribute name.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def name @name end |
#ref ⇒ Object
Returns the value of attribute ref.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def ref @ref end |
#require_adaptive_routing ⇒ Object
Returns the value of attribute require_adaptive_routing.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def require_adaptive_routing @require_adaptive_routing end |
#require_benchmark ⇒ Object
Returns the value of attribute require_benchmark.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def require_benchmark @require_benchmark end |
#require_calibration ⇒ Object
Returns the value of attribute require_calibration.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def require_calibration @require_calibration end |
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def require_exact_verification @require_exact_verification end |
#require_routing ⇒ Object
Returns the value of attribute require_routing.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def require_routing @require_routing end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def require_zero_materialization @require_zero_materialization end |
#segment_refs ⇒ Object
Returns the value of attribute segment_refs.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def segment_refs @segment_refs end |
#snapshot_ref ⇒ Object
Returns the value of attribute snapshot_ref.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def snapshot_ref @snapshot_ref end |
#version ⇒ Object
Returns the value of attribute version.
36 37 38 |
# File 'lib/rafflesia/proteins/fold_collection_publish_request.rb', line 36 def version @version end |