Class: Telnyx::Models::PhoneNumbersRegulatoryRequirementRetrieveResponse::Data::RegionInformation

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb

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(phone_number: nil, phone_number_type: nil, record_type: nil, region_information: nil, regulatory_requirements: nil) ⇒ Object

Parameters:



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb', line 59

class RegionInformation < Telnyx::Internal::Type::BaseModel
  # @!attribute region_name
  #
  #   @return [String, nil]
  optional :region_name, String

  # @!attribute region_type
  #
  #   @return [String, nil]
  optional :region_type, String

  # @!method initialize(region_name: nil, region_type: nil)
  #   @param region_name [String]
  #   @param region_type [String]
end

Instance Attribute Details

#region_nameString?

Returns:

  • (String, nil)


63
# File 'lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb', line 63

optional :region_name, String

#region_typeString?

Returns:

  • (String, nil)


68
# File 'lib/telnyx/models/phone_numbers_regulatory_requirement_retrieve_response.rb', line 68

optional :region_type, String