Class: Telnyx::Models::Storage::Buckets::UsageGetAPIUsageResponse::Data::Total

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/storage/buckets/usage_get_api_usage_response.rb

Overview

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(bytes_received: nil, bytes_sent: nil, ops: nil, successful_ops: nil) ⇒ Object

Parameters:

  • bytes_received (Integer) (defaults to: nil)

    The number of bytes received

  • bytes_sent (Integer) (defaults to: nil)

    The number of bytes sent

  • ops (Integer) (defaults to: nil)

    The number of operations

  • successful_ops (Integer) (defaults to: nil)

    The number of successful operations



# File 'lib/telnyx/models/storage/buckets/usage_get_api_usage_response.rb', line 134

Instance Attribute Details

#bytes_receivedInteger?

The number of bytes received

Returns:

  • (Integer, nil)


114
# File 'lib/telnyx/models/storage/buckets/usage_get_api_usage_response.rb', line 114

optional :bytes_received, Integer

#bytes_sentInteger?

The number of bytes sent

Returns:

  • (Integer, nil)


120
# File 'lib/telnyx/models/storage/buckets/usage_get_api_usage_response.rb', line 120

optional :bytes_sent, Integer

#opsInteger?

The number of operations

Returns:

  • (Integer, nil)


126
# File 'lib/telnyx/models/storage/buckets/usage_get_api_usage_response.rb', line 126

optional :ops, Integer

#successful_opsInteger?

The number of successful operations

Returns:

  • (Integer, nil)


132
# File 'lib/telnyx/models/storage/buckets/usage_get_api_usage_response.rb', line 132

optional :successful_ops, Integer