Class: Rafflesia::SequenceSeedIndexPublishRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/sequences/sequence_seed_index_publish_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  benchmark_object_id: :benchmark_object_id,
  manifest_object_id: :manifest_object_id,
  manifest_path: :manifest_path,
  max_object_bytes_per_query: :max_object_bytes_per_query,
  max_object_reads_per_query: :max_object_reads_per_query,
  min_mean_overlap_fraction: :min_mean_overlap_fraction,
  require_benchmark: :require_benchmark,
  require_zero_materialization: :require_zero_materialization
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ SequenceSeedIndexPublishRequest

Returns a new instance of SequenceSeedIndexPublishRequest.



29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 29

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @benchmark_object_id = hash[:benchmark_object_id]
  @manifest_object_id = hash[:manifest_object_id]
  @manifest_path = hash[:manifest_path]
  @max_object_bytes_per_query = hash[:max_object_bytes_per_query]
  @max_object_reads_per_query = hash[:max_object_reads_per_query]
  @min_mean_overlap_fraction = hash[:min_mean_overlap_fraction]
  @require_benchmark = hash[:require_benchmark]
  @require_zero_materialization = hash[:require_zero_materialization]
end

Instance Attribute Details

#benchmark_object_idObject

Returns the value of attribute benchmark_object_id.



19
20
21
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 19

def benchmark_object_id
  @benchmark_object_id
end

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



19
20
21
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 19

def manifest_object_id
  @manifest_object_id
end

#manifest_pathObject

Returns the value of attribute manifest_path.



19
20
21
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 19

def manifest_path
  @manifest_path
end

#max_object_bytes_per_queryObject

Returns the value of attribute max_object_bytes_per_query.



19
20
21
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 19

def max_object_bytes_per_query
  @max_object_bytes_per_query
end

#max_object_reads_per_queryObject

Returns the value of attribute max_object_reads_per_query.



19
20
21
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 19

def max_object_reads_per_query
  @max_object_reads_per_query
end

#min_mean_overlap_fractionObject

Returns the value of attribute min_mean_overlap_fraction.



19
20
21
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 19

def min_mean_overlap_fraction
  @min_mean_overlap_fraction
end

#require_benchmarkObject

Returns the value of attribute require_benchmark.



19
20
21
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 19

def require_benchmark
  @require_benchmark
end

#require_zero_materializationObject

Returns the value of attribute require_zero_materialization.



19
20
21
# File 'lib/rafflesia/sequences/sequence_seed_index_publish_request.rb', line 19

def require_zero_materialization
  @require_zero_materialization
end