Class: Rafflesia::MapModelFitBatchExportRequest

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/maps/map_model_fit_batch_export_request.rb

Constant Summary collapse

HASH_ATTRS =
{
  candidate_dataset_manifest_path: :candidate_dataset_manifest_path,
  candidate_table_path: :candidate_table_path,
  dataset_name: :dataset_name,
  dataset_version: :dataset_version,
  max_pairs: :max_pairs,
  max_voxel_bytes: :max_voxel_bytes,
  output_dir: :output_dir,
  threshold: :threshold
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ MapModelFitBatchExportRequest

Returns a new instance of MapModelFitBatchExportRequest.



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

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @candidate_dataset_manifest_path = hash[:candidate_dataset_manifest_path]
  @candidate_table_path = hash[:candidate_table_path]
  @dataset_name = hash[:dataset_name]
  @dataset_version = hash[:dataset_version]
  @max_pairs = hash[:max_pairs]
  @max_voxel_bytes = hash[:max_voxel_bytes]
  @output_dir = hash[:output_dir]
  @threshold = hash[:threshold]
end

Instance Attribute Details

#candidate_dataset_manifest_pathObject

Returns the value of attribute candidate_dataset_manifest_path.



19
20
21
# File 'lib/rafflesia/maps/map_model_fit_batch_export_request.rb', line 19

def candidate_dataset_manifest_path
  @candidate_dataset_manifest_path
end

#candidate_table_pathObject

Returns the value of attribute candidate_table_path.



19
20
21
# File 'lib/rafflesia/maps/map_model_fit_batch_export_request.rb', line 19

def candidate_table_path
  @candidate_table_path
end

#dataset_nameObject

Returns the value of attribute dataset_name.



19
20
21
# File 'lib/rafflesia/maps/map_model_fit_batch_export_request.rb', line 19

def dataset_name
  @dataset_name
end

#dataset_versionObject

Returns the value of attribute dataset_version.



19
20
21
# File 'lib/rafflesia/maps/map_model_fit_batch_export_request.rb', line 19

def dataset_version
  @dataset_version
end

#max_pairsObject

Returns the value of attribute max_pairs.



19
20
21
# File 'lib/rafflesia/maps/map_model_fit_batch_export_request.rb', line 19

def max_pairs
  @max_pairs
end

#max_voxel_bytesObject

Returns the value of attribute max_voxel_bytes.



19
20
21
# File 'lib/rafflesia/maps/map_model_fit_batch_export_request.rb', line 19

def max_voxel_bytes
  @max_voxel_bytes
end

#output_dirObject

Returns the value of attribute output_dir.



19
20
21
# File 'lib/rafflesia/maps/map_model_fit_batch_export_request.rb', line 19

def output_dir
  @output_dir
end

#thresholdObject

Returns the value of attribute threshold.



19
20
21
# File 'lib/rafflesia/maps/map_model_fit_batch_export_request.rb', line 19

def threshold
  @threshold
end