Class: Rafflesia::ObjectReadDiagnostics
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ObjectReadDiagnostics
- Defined in:
- lib/rafflesia/objects/object_read_diagnostics.rb
Constant Summary collapse
- HASH_ATTRS =
{ content_type_source: :content_type_source, decode_elapsed_ms: :decode_elapsed_ms, is_local: :is_local, is_remote: :is_remote, max_read_bytes: :max_read_bytes, object_size_bytes: :object_size_bytes, read_elapsed_ms: :read_elapsed_ms, read_source: :read_source, requested_bytes: :requested_bytes, resolve_elapsed_ms: :resolve_elapsed_ms, resolve_source: :resolve_source, returned_bytes: :returned_bytes, total_elapsed_ms: :total_elapsed_ms, used_range_read: :used_range_read, was_size_bounded: :was_size_bounded }.freeze
Instance Attribute Summary collapse
-
#content_type_source ⇒ Object
Returns the value of attribute content_type_source.
-
#decode_elapsed_ms ⇒ Object
Returns the value of attribute decode_elapsed_ms.
-
#is_local ⇒ Object
Returns the value of attribute is_local.
-
#is_remote ⇒ Object
Returns the value of attribute is_remote.
-
#max_read_bytes ⇒ Object
Returns the value of attribute max_read_bytes.
-
#object_size_bytes ⇒ Object
Returns the value of attribute object_size_bytes.
-
#read_elapsed_ms ⇒ Object
Returns the value of attribute read_elapsed_ms.
-
#read_source ⇒ Object
Returns the value of attribute read_source.
-
#requested_bytes ⇒ Object
Returns the value of attribute requested_bytes.
-
#resolve_elapsed_ms ⇒ Object
Returns the value of attribute resolve_elapsed_ms.
-
#resolve_source ⇒ Object
Returns the value of attribute resolve_source.
-
#returned_bytes ⇒ Object
Returns the value of attribute returned_bytes.
-
#total_elapsed_ms ⇒ Object
Returns the value of attribute total_elapsed_ms.
-
#used_range_read ⇒ Object
Returns the value of attribute used_range_read.
-
#was_size_bounded ⇒ Object
Returns the value of attribute was_size_bounded.
Instance Method Summary collapse
-
#initialize(json) ⇒ ObjectReadDiagnostics
constructor
A new instance of ObjectReadDiagnostics.
Constructor Details
#initialize(json) ⇒ ObjectReadDiagnostics
Returns a new instance of ObjectReadDiagnostics.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 43 def initialize(json) super() hash = self.class.normalize(json) @content_type_source = hash[:content_type_source] @decode_elapsed_ms = hash[:decode_elapsed_ms] @is_local = hash[:is_local] @is_remote = hash[:is_remote] @max_read_bytes = hash[:max_read_bytes] @object_size_bytes = hash[:object_size_bytes] @read_elapsed_ms = hash[:read_elapsed_ms] @read_source = hash[:read_source] @requested_bytes = hash[:requested_bytes] @resolve_elapsed_ms = hash[:resolve_elapsed_ms] @resolve_source = hash[:resolve_source] @returned_bytes = hash[:returned_bytes] @total_elapsed_ms = hash[:total_elapsed_ms] @used_range_read = hash[:used_range_read] @was_size_bounded = hash[:was_size_bounded] end |
Instance Attribute Details
#content_type_source ⇒ Object
Returns the value of attribute content_type_source.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def content_type_source @content_type_source end |
#decode_elapsed_ms ⇒ Object
Returns the value of attribute decode_elapsed_ms.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def decode_elapsed_ms @decode_elapsed_ms end |
#is_local ⇒ Object
Returns the value of attribute is_local.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def is_local @is_local end |
#is_remote ⇒ Object
Returns the value of attribute is_remote.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def is_remote @is_remote end |
#max_read_bytes ⇒ Object
Returns the value of attribute max_read_bytes.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def max_read_bytes @max_read_bytes end |
#object_size_bytes ⇒ Object
Returns the value of attribute object_size_bytes.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def object_size_bytes @object_size_bytes end |
#read_elapsed_ms ⇒ Object
Returns the value of attribute read_elapsed_ms.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def read_elapsed_ms @read_elapsed_ms end |
#read_source ⇒ Object
Returns the value of attribute read_source.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def read_source @read_source end |
#requested_bytes ⇒ Object
Returns the value of attribute requested_bytes.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def requested_bytes @requested_bytes end |
#resolve_elapsed_ms ⇒ Object
Returns the value of attribute resolve_elapsed_ms.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def resolve_elapsed_ms @resolve_elapsed_ms end |
#resolve_source ⇒ Object
Returns the value of attribute resolve_source.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def resolve_source @resolve_source end |
#returned_bytes ⇒ Object
Returns the value of attribute returned_bytes.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def returned_bytes @returned_bytes end |
#total_elapsed_ms ⇒ Object
Returns the value of attribute total_elapsed_ms.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def total_elapsed_ms @total_elapsed_ms end |
#used_range_read ⇒ Object
Returns the value of attribute used_range_read.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def used_range_read @used_range_read end |
#was_size_bounded ⇒ Object
Returns the value of attribute was_size_bounded.
26 27 28 |
# File 'lib/rafflesia/objects/object_read_diagnostics.rb', line 26 def was_size_bounded @was_size_bounded end |