Class: Telnyx::Models::Storage::Buckets::UsageGetBucketUsageResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb,
sig/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rbs

Overview

See Also:

  • Telnyx::Resources::Storage::Buckets::Usage#get_bucket_usage

Defined Under Namespace

Classes: Data

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

#initializeObject



24
# File 'sig/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rbs', line 24

def initialize: (

Instance Attribute Details

#dataArray<Telnyx::Models::Storage::Buckets::UsageGetBucketUsageResponse::Data>?



12
13
# File 'lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb', line 12

optional :data,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Models::Storage::Buckets::UsageGetBucketUsageResponse::Data] }

#metaTelnyx::Models::Storage::Buckets::PaginationMetaSimple?



18
# File 'lib/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rb', line 18

optional :meta, -> { Telnyx::Storage::Buckets::PaginationMetaSimple }

Instance Method Details

#to_hash{

Returns:

  • ({)


29
# File 'sig/telnyx/models/storage/buckets/usage_get_bucket_usage_response.rbs', line 29

def to_hash: -> {