Class: Telnyx::Models::CountryCoverageAPI::TollFree

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/country_coverage.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(features: nil, full_pstn_replacement: nil, international_sms: nil, p2p: nil, quickship: nil, reservable: nil) ⇒ Object

Parameters:

  • features (Array<String>) (defaults to: nil)
  • full_pstn_replacement (Boolean) (defaults to: nil)
  • international_sms (Boolean) (defaults to: nil)
  • p2p (Boolean) (defaults to: nil)
  • quickship (Boolean) (defaults to: nil)
  • reservable (Boolean) (defaults to: nil)


# File 'lib/telnyx/models/country_coverage.rb', line 192

Instance Attribute Details

#featuresArray<String>?

Returns:

  • (Array<String>, nil)


165
# File 'lib/telnyx/models/country_coverage.rb', line 165

optional :features, Telnyx::Internal::Type::ArrayOf[String]

#full_pstn_replacementBoolean?

Returns:

  • (Boolean, nil)


170
# File 'lib/telnyx/models/country_coverage.rb', line 170

optional :full_pstn_replacement, Telnyx::Internal::Type::Boolean

#international_smsBoolean?

Returns:

  • (Boolean, nil)


175
# File 'lib/telnyx/models/country_coverage.rb', line 175

optional :international_sms, Telnyx::Internal::Type::Boolean

#p2pBoolean?

Returns:

  • (Boolean, nil)


180
# File 'lib/telnyx/models/country_coverage.rb', line 180

optional :p2p, Telnyx::Internal::Type::Boolean

#quickshipBoolean?

Returns:

  • (Boolean, nil)


185
# File 'lib/telnyx/models/country_coverage.rb', line 185

optional :quickship, Telnyx::Internal::Type::Boolean

#reservableBoolean?

Returns:

  • (Boolean, nil)


190
# File 'lib/telnyx/models/country_coverage.rb', line 190

optional :reservable, Telnyx::Internal::Type::Boolean