Class: Rafflesia::SequenceCandidateGcPlanData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceCandidateGcPlanData
- Defined in:
- lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ backend: :backend, deleted_count: :deleted_count, engine: :engine, engine_elapsed_ms: :engine_elapsed_ms, engine_protocol_version: :engine_protocol_version, from_generation: :from_generation, garbage_count: :garbage_count, garbage_keys: :garbage_keys, garbage_keys_returned: :garbage_keys_returned, is_dry_run: :is_dry_run, is_truncated: :is_truncated, manifest_generation: :manifest_generation, namespace: :namespace, object_bytes_fetched: :object_bytes_fetched, object_read_count: :object_read_count, object_store_root: :object_store_root, reachable_count: :reachable_count, timeout_ms: :timeout_ms }.freeze
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
-
#deleted_count ⇒ Object
Returns the value of attribute deleted_count.
-
#engine ⇒ Object
Returns the value of attribute engine.
-
#engine_elapsed_ms ⇒ Object
Returns the value of attribute engine_elapsed_ms.
-
#engine_protocol_version ⇒ Object
Returns the value of attribute engine_protocol_version.
-
#from_generation ⇒ Object
Returns the value of attribute from_generation.
-
#garbage_count ⇒ Object
Returns the value of attribute garbage_count.
-
#garbage_keys ⇒ Object
Returns the value of attribute garbage_keys.
-
#garbage_keys_returned ⇒ Object
Returns the value of attribute garbage_keys_returned.
-
#is_dry_run ⇒ Object
Returns the value of attribute is_dry_run.
-
#is_truncated ⇒ Object
Returns the value of attribute is_truncated.
-
#manifest_generation ⇒ Object
Returns the value of attribute manifest_generation.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#object_bytes_fetched ⇒ Object
Returns the value of attribute object_bytes_fetched.
-
#object_read_count ⇒ Object
Returns the value of attribute object_read_count.
-
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
-
#reachable_count ⇒ Object
Returns the value of attribute reachable_count.
-
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceCandidateGcPlanData
constructor
A new instance of SequenceCandidateGcPlanData.
Constructor Details
#initialize(json) ⇒ SequenceCandidateGcPlanData
Returns a new instance of SequenceCandidateGcPlanData.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 49 def initialize(json) super() hash = self.class.normalize(json) @backend = hash[:backend] @deleted_count = hash[:deleted_count] @engine = hash[:engine] @engine_elapsed_ms = hash[:engine_elapsed_ms] @engine_protocol_version = hash[:engine_protocol_version] @from_generation = hash[:from_generation] @garbage_count = hash[:garbage_count] @garbage_keys = (hash[:garbage_keys] || []) @garbage_keys_returned = hash[:garbage_keys_returned] @is_dry_run = hash[:is_dry_run] @is_truncated = hash[:is_truncated] @manifest_generation = hash[:manifest_generation] @namespace = hash[:namespace] @object_bytes_fetched = hash[:object_bytes_fetched] @object_read_count = hash[:object_read_count] @object_store_root = hash[:object_store_root] @reachable_count = hash[:reachable_count] @timeout_ms = hash[:timeout_ms] end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def backend @backend end |
#deleted_count ⇒ Object
Returns the value of attribute deleted_count.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def deleted_count @deleted_count end |
#engine ⇒ Object
Returns the value of attribute engine.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def engine @engine end |
#engine_elapsed_ms ⇒ Object
Returns the value of attribute engine_elapsed_ms.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def engine_elapsed_ms @engine_elapsed_ms end |
#engine_protocol_version ⇒ Object
Returns the value of attribute engine_protocol_version.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def engine_protocol_version @engine_protocol_version end |
#from_generation ⇒ Object
Returns the value of attribute from_generation.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def from_generation @from_generation end |
#garbage_count ⇒ Object
Returns the value of attribute garbage_count.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def garbage_count @garbage_count end |
#garbage_keys ⇒ Object
Returns the value of attribute garbage_keys.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def garbage_keys @garbage_keys end |
#garbage_keys_returned ⇒ Object
Returns the value of attribute garbage_keys_returned.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def garbage_keys_returned @garbage_keys_returned end |
#is_dry_run ⇒ Object
Returns the value of attribute is_dry_run.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def is_dry_run @is_dry_run end |
#is_truncated ⇒ Object
Returns the value of attribute is_truncated.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def is_truncated @is_truncated end |
#manifest_generation ⇒ Object
Returns the value of attribute manifest_generation.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def manifest_generation @manifest_generation end |
#namespace ⇒ Object
Returns the value of attribute namespace.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def namespace @namespace end |
#object_bytes_fetched ⇒ Object
Returns the value of attribute object_bytes_fetched.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def object_bytes_fetched @object_bytes_fetched end |
#object_read_count ⇒ Object
Returns the value of attribute object_read_count.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def object_read_count @object_read_count end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def object_store_root @object_store_root end |
#reachable_count ⇒ Object
Returns the value of attribute reachable_count.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def reachable_count @reachable_count end |
#timeout_ms ⇒ Object
Returns the value of attribute timeout_ms.
29 30 31 |
# File 'lib/rafflesia/sequences/sequence_candidate_gc_plan_data.rb', line 29 def timeout_ms @timeout_ms end |