Class: Rafflesia::FoldIndexPublishRequest

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

Constant Summary collapse

HASH_ATTRS =
{
  manifest_object_id: :manifest_object_id,
  manifest_path: :manifest_path,
  min_routing_byte_reduction_fraction: :min_routing_byte_reduction_fraction,
  min_routing_recall_at_1: :min_routing_recall_at_1,
  min_routing_recall_at_10: :min_routing_recall_at_10,
  min_routing_recall_at_100: :min_routing_recall_at_100,
  ref: :ref,
  require_routing_benchmark: :require_routing_benchmark,
  routing_benchmark_object_id: :routing_benchmark_object_id
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ FoldIndexPublishRequest

Returns a new instance of FoldIndexPublishRequest.



31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 31

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @manifest_object_id = hash[:manifest_object_id]
  @manifest_path = hash[:manifest_path]
  @min_routing_byte_reduction_fraction = hash[:min_routing_byte_reduction_fraction]
  @min_routing_recall_at_1 = hash[:min_routing_recall_at_1]
  @min_routing_recall_at_10 = hash[:min_routing_recall_at_10]
  @min_routing_recall_at_100 = hash[:min_routing_recall_at_100]
  @ref = hash[:ref]
  @require_routing_benchmark = hash[:require_routing_benchmark]
  @routing_benchmark_object_id = hash[:routing_benchmark_object_id]
end

Instance Attribute Details

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def manifest_object_id
  @manifest_object_id
end

#manifest_pathObject

Returns the value of attribute manifest_path.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def manifest_path
  @manifest_path
end

#min_routing_byte_reduction_fractionObject

Returns the value of attribute min_routing_byte_reduction_fraction.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def min_routing_byte_reduction_fraction
  @min_routing_byte_reduction_fraction
end

#min_routing_recall_at_1Object

Returns the value of attribute min_routing_recall_at_1.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def min_routing_recall_at_1
  @min_routing_recall_at_1
end

#min_routing_recall_at_10Object

Returns the value of attribute min_routing_recall_at_10.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def min_routing_recall_at_10
  @min_routing_recall_at_10
end

#min_routing_recall_at_100Object

Returns the value of attribute min_routing_recall_at_100.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def min_routing_recall_at_100
  @min_routing_recall_at_100
end

#refObject

Returns the value of attribute ref.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def ref
  @ref
end

#require_routing_benchmarkObject

Returns the value of attribute require_routing_benchmark.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def require_routing_benchmark
  @require_routing_benchmark
end

#routing_benchmark_object_idObject

Returns the value of attribute routing_benchmark_object_id.



20
21
22
# File 'lib/rafflesia/proteins/fold_index_publish_request.rb', line 20

def routing_benchmark_object_id
  @routing_benchmark_object_id
end