Class: Telnyx::Models::Rcs::BrandUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/telnyx/models/rcs/brand_update_params.rb,
sig/telnyx/models/rcs/brand_update_params.rbs

Overview

See Also:

  • Telnyx::Resources::Rcs::Brands#update

Defined Under Namespace

Classes: Address, Contacts, Identifiers

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Class Method Summary collapse

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(administrative_area:, city:, country_code:, line_1:, postal_code:, line_2: nil) ⇒ Object

Parameters:

  • administrative_area (String)
  • city (String)
  • country_code (String)

    The two-letter ISO 3166-1 country code.

  • line_1 (String)
  • postal_code (String)
  • line_2 (String, nil) (defaults to: nil)


# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 122

Instance Attribute Details

#addressesHash{Symbol=>Telnyx::Models::Rcs::BrandUpdateParams::Address}?

Returns:



19
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 19

optional :addresses, -> { Telnyx::Internal::Type::HashOf[Telnyx::Rcs::BrandUpdateParams::Address] }

#contactsTelnyx::Models::Rcs::BrandUpdateParams::Contacts?

Named business contacts. Use the brand key for the required BRAND contact.



25
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 25

optional :contacts, -> { Telnyx::Rcs::BrandUpdateParams::Contacts }

#display_nameString?

Parameters:

  • (String)

Returns:

  • (String, nil)


30
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 30

optional :display_name, String

#idString

Parameters:

  • value (String)

Returns:

  • (String)


14
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 14

required :id, String

#identifiersTelnyx::Models::Rcs::BrandUpdateParams::Identifiers?

Named business identifiers. Use the ein key for the required EIN and stock_symbol for a public-profit brand's stock symbol.



37
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 37

optional :identifiers, -> { Telnyx::Rcs::BrandUpdateParams::Identifiers }


42
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 42

optional :legal_entity_type, enum: -> { Telnyx::Rcs::BrandLegalEntityType }

Parameters:

  • (String)

Returns:

  • (String, nil)


47
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 47

optional :legal_name, String

#organization_typeSymbol, ...



52
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 52

optional :organization_type, enum: -> { Telnyx::Rcs::BrandOrganizationType }

#profile_idString?

Parameters:

  • (String)

Returns:

  • (String, nil)


57
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 57

optional :profile_id, String

#website_urlString?

Parameters:

  • (String)

Returns:

  • (String, nil)


62
# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 62

optional :website_url, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/telnyx/models/rcs/brand_update_params.rb', line 162

Instance Method Details

#to_hash{

Returns:

  • ({)


85
# File 'sig/telnyx/models/rcs/brand_update_params.rbs', line 85

def to_hash: -> {