Class: Telnyx::Models::MobilePhoneNumber::CnamListing

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

Overview

See Also:

  • Telnyx::Models::MobilePhoneNumber#cnam_listing

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



279
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 279

def initialize: (

Instance Attribute Details

#cnam_listing_detailsString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


273
# File 'lib/telnyx/models/mobile_phone_number.rb', line 273

optional :cnam_listing_details, String, nil?: true

#cnam_listing_enabledBoolean?

Parameters:

  • (Boolean)

Returns:

  • (Boolean, nil)


278
# File 'lib/telnyx/models/mobile_phone_number.rb', line 278

optional :cnam_listing_enabled, Telnyx::Internal::Type::Boolean

Instance Method Details

#to_hash{

Returns:

  • ({)


284
# File 'sig/telnyx/models/mobile_phone_number.rbs', line 284

def to_hash: -> {