Class: Telnyx::Models::Storage::Buckets::UsageGetBucketUsageResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::Storage::Buckets::UsageGetBucketUsageResponse::Data
- Defined in:
- lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb
Instance Attribute Summary collapse
-
#num_objects ⇒ Integer?
The number of objects in the bucket.
-
#size ⇒ Integer?
The size of the bucket in bytes.
-
#size_kb ⇒ Integer?
The size of the bucket in kilobytes.
-
#timestamp ⇒ Time?
The time the snapshot was taken.
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(num_objects: nil, size: nil, size_kb: nil, timestamp: nil) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb', line 24 class Data < Telnyx::Internal::Type::BaseModel # @!attribute num_objects # The number of objects in the bucket # # @return [Integer, nil] optional :num_objects, Integer # @!attribute size # The size of the bucket in bytes # # @return [Integer, nil] optional :size, Integer # @!attribute size_kb # The size of the bucket in kilobytes # # @return [Integer, nil] optional :size_kb, Integer # @!attribute timestamp # The time the snapshot was taken # # @return [Time, nil] optional :timestamp, Time # @!method initialize(num_objects: nil, size: nil, size_kb: nil, timestamp: nil) # @param num_objects [Integer] The number of objects in the bucket # # @param size [Integer] The size of the bucket in bytes # # @param size_kb [Integer] The size of the bucket in kilobytes # # @param timestamp [Time] The time the snapshot was taken end |
Instance Attribute Details
#num_objects ⇒ Integer?
The number of objects in the bucket
29 |
# File 'lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb', line 29 optional :num_objects, Integer |
#size ⇒ Integer?
The size of the bucket in bytes
35 |
# File 'lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb', line 35 optional :size, Integer |
#size_kb ⇒ Integer?
The size of the bucket in kilobytes
41 |
# File 'lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb', line 41 optional :size_kb, Integer |
#timestamp ⇒ Time?
The time the snapshot was taken
47 |
# File 'lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb', line 47 optional :timestamp, Time |