Class: Rafflesia::FoldSegmentPublishRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSegmentPublishRequest
- Defined in:
- lib/rafflesia/proteins/fold_segment_publish_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ activate: :activate, benchmark_object_id: :benchmark_object_id, manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, 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, min_byte_reduction_fraction: :min_byte_reduction_fraction, min_hit_overlap_fraction: :min_hit_overlap_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, policy: :policy, ref: :ref, require_benchmark: :require_benchmark, require_exact_verification: :require_exact_verification, require_search_benchmark: :require_search_benchmark, require_zero_materialization: :require_zero_materialization, search_benchmark_object_id: :search_benchmark_object_id, workload_profile: :workload_profile }.freeze
Instance Attribute Summary collapse
-
#activate ⇒ Object
Returns the value of attribute activate.
-
#benchmark_object_id ⇒ Object
Returns the value of attribute benchmark_object_id.
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#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.
-
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
-
#min_hit_overlap_fraction ⇒ Object
Returns the value of attribute min_hit_overlap_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.
-
#policy ⇒ Object
Returns the value of attribute policy.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#require_benchmark ⇒ Object
Returns the value of attribute require_benchmark.
-
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
-
#require_search_benchmark ⇒ Object
Returns the value of attribute require_search_benchmark.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#search_benchmark_object_id ⇒ Object
Returns the value of attribute search_benchmark_object_id.
-
#workload_profile ⇒ Object
Returns the value of attribute workload_profile.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSegmentPublishRequest
constructor
A new instance of FoldSegmentPublishRequest.
Constructor Details
#initialize(json) ⇒ FoldSegmentPublishRequest
Returns a new instance of FoldSegmentPublishRequest.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 53 def initialize(json) super() hash = self.class.normalize(json) @activate = hash[:activate] @benchmark_object_id = hash[:benchmark_object_id] @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @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] @min_byte_reduction_fraction = hash[:min_byte_reduction_fraction] @min_hit_overlap_fraction = hash[:min_hit_overlap_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] @policy = hash[:policy] ? Rafflesia::ServerlessPublishPolicy.new(hash[:policy]) : nil @ref = hash[:ref] @require_benchmark = hash[:require_benchmark] @require_exact_verification = hash[:require_exact_verification] @require_search_benchmark = hash[:require_search_benchmark] @require_zero_materialization = hash[:require_zero_materialization] @search_benchmark_object_id = hash[:search_benchmark_object_id] @workload_profile = hash[:workload_profile] end |
Instance Attribute Details
#activate ⇒ Object
Returns the value of attribute activate.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def activate @activate end |
#benchmark_object_id ⇒ Object
Returns the value of attribute benchmark_object_id.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def benchmark_object_id @benchmark_object_id end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def manifest_path @manifest_path end |
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 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.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 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.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def max_object_reads_per_query @max_object_reads_per_query end |
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def min_byte_reduction_fraction @min_byte_reduction_fraction end |
#min_hit_overlap_fraction ⇒ Object
Returns the value of attribute min_hit_overlap_fraction.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def min_hit_overlap_fraction @min_hit_overlap_fraction end |
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def min_recall_at_1 @min_recall_at_1 end |
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def min_recall_at_10 @min_recall_at_10 end |
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def min_recall_at_100 @min_recall_at_100 end |
#policy ⇒ Object
Returns the value of attribute policy.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def policy @policy end |
#ref ⇒ Object
Returns the value of attribute ref.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def ref @ref end |
#require_benchmark ⇒ Object
Returns the value of attribute require_benchmark.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def require_benchmark @require_benchmark end |
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def require_exact_verification @require_exact_verification end |
#require_search_benchmark ⇒ Object
Returns the value of attribute require_search_benchmark.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def require_search_benchmark @require_search_benchmark end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def require_zero_materialization @require_zero_materialization end |
#search_benchmark_object_id ⇒ Object
Returns the value of attribute search_benchmark_object_id.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def search_benchmark_object_id @search_benchmark_object_id end |
#workload_profile ⇒ Object
Returns the value of attribute workload_profile.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_segment_publish_request.rb', line 31 def workload_profile @workload_profile end |