Class: Telnyx::Models::MessagingProfileRetrieveMetricsResponse

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

Overview

See Also:

  • Telnyx::Resources::MessagingProfiles#retrieve_metrics

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(data: nil) ⇒ MessagingProfileRetrieveMetricsResponse

Returns a new instance of MessagingProfileRetrieveMetricsResponse.

Parameters:

  • data (Hash{Symbol=>Object}) (defaults to: nil)

    Detailed metrics for a messaging profile.

  • data: (::Hash[Symbol, top]) (defaults to: nil)


# File 'lib/telnyx/models/messaging_profile_retrieve_metrics_response.rb', line 13

Instance Attribute Details

#dataHash{Symbol=>Object}?

Detailed metrics for a messaging profile.

Parameters:

  • (::Hash[Symbol, top])

Returns:

  • (Hash{Symbol=>Object}, nil)


11
# File 'lib/telnyx/models/messaging_profile_retrieve_metrics_response.rb', line 11

optional :data, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]

Instance Method Details

#to_hash{ data: ::Hash[Symbol, top] }

Returns:

  • ({ data: ::Hash[Symbol, top] })


13
# File 'sig/telnyx/models/messaging_profile_retrieve_metrics_response.rbs', line 13

def to_hash: -> { data: ::Hash[Symbol, top] }