Class: Rafflesia::FoldSegmentGcRequest

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

Constant Summary collapse

HASH_ATTRS =
{
  candidate_manifest_object_ids: :candidate_manifest_object_ids,
  candidate_manifest_paths: :candidate_manifest_paths,
  candidate_refs: :candidate_refs,
  dry_run: :dry_run,
  keep_manifest_object_ids: :keep_manifest_object_ids,
  keep_manifest_paths: :keep_manifest_paths,
  keep_refs: :keep_refs
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ FoldSegmentGcRequest

Returns a new instance of FoldSegmentGcRequest.



27
28
29
30
31
32
33
34
35
36
37
# File 'lib/rafflesia/proteins/fold_segment_gc_request.rb', line 27

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @candidate_manifest_object_ids = (hash[:candidate_manifest_object_ids] || [])
  @candidate_manifest_paths = (hash[:candidate_manifest_paths] || [])
  @candidate_refs = (hash[:candidate_refs] || [])
  @dry_run = hash[:dry_run]
  @keep_manifest_object_ids = (hash[:keep_manifest_object_ids] || [])
  @keep_manifest_paths = (hash[:keep_manifest_paths] || [])
  @keep_refs = (hash[:keep_refs] || [])
end

Instance Attribute Details

#candidate_manifest_object_idsObject

Returns the value of attribute candidate_manifest_object_ids.



18
19
20
# File 'lib/rafflesia/proteins/fold_segment_gc_request.rb', line 18

def candidate_manifest_object_ids
  @candidate_manifest_object_ids
end

#candidate_manifest_pathsObject

Returns the value of attribute candidate_manifest_paths.



18
19
20
# File 'lib/rafflesia/proteins/fold_segment_gc_request.rb', line 18

def candidate_manifest_paths
  @candidate_manifest_paths
end

#candidate_refsObject

Returns the value of attribute candidate_refs.



18
19
20
# File 'lib/rafflesia/proteins/fold_segment_gc_request.rb', line 18

def candidate_refs
  @candidate_refs
end

#dry_runObject

Returns the value of attribute dry_run.



18
19
20
# File 'lib/rafflesia/proteins/fold_segment_gc_request.rb', line 18

def dry_run
  @dry_run
end

#keep_manifest_object_idsObject

Returns the value of attribute keep_manifest_object_ids.



18
19
20
# File 'lib/rafflesia/proteins/fold_segment_gc_request.rb', line 18

def keep_manifest_object_ids
  @keep_manifest_object_ids
end

#keep_manifest_pathsObject

Returns the value of attribute keep_manifest_paths.



18
19
20
# File 'lib/rafflesia/proteins/fold_segment_gc_request.rb', line 18

def keep_manifest_paths
  @keep_manifest_paths
end

#keep_refsObject

Returns the value of attribute keep_refs.



18
19
20
# File 'lib/rafflesia/proteins/fold_segment_gc_request.rb', line 18

def keep_refs
  @keep_refs
end