Class: Telnyx::Models::Porting::LoaConfigurationPreview0Params

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/porting/loa_configuration_preview_0_params.rb

Overview

Defined Under Namespace

Classes: Address, Contact, Logo

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(email:, phone_number:) ⇒ Object

The contact information of the company.

Parameters:

  • email (String)

    The email address of the contact

  • phone_number (String)

    The phone number of the contact



# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 91

Instance Attribute Details

#addressTelnyx::Models::Porting::LoaConfigurationPreview0Params::Address

The address of the company.



15
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 15

required :address, -> { Telnyx::Porting::LoaConfigurationPreview0Params::Address }

#company_nameString

The name of the company

Returns:

  • (String)


21
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 21

required :company_name, String

#contactTelnyx::Models::Porting::LoaConfigurationPreview0Params::Contact

The contact information of the company.



27
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 27

required :contact, -> { Telnyx::Porting::LoaConfigurationPreview0Params::Contact }

#logoTelnyx::Models::Porting::LoaConfigurationPreview0Params::Logo

The logo of the LOA configuration



33
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 33

required :logo, -> { Telnyx::Porting::LoaConfigurationPreview0Params::Logo }

#nameString

The name of the LOA configuration

Returns:

  • (String)


39
# File 'lib/telnyx/models/porting/loa_configuration_preview_0_params.rb', line 39

required :name, String