Class: Telnyx::Models::Rcs::BrandResponse

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

Overview

See Also:

  • Telnyx::Resources::Rcs::Brands#create

Defined Under Namespace

Modules: Status

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(addresses:, brand_id:, capabilities:, contacts:, display_name:, identifiers:, legal_entity_type:, legal_name:, organization_type:, profile_id:, status:, website_url:) ⇒ Object

Parameters:



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

Instance Attribute Details

#addressesHash{Symbol=>Telnyx::Models::Rcs::BrandAddress}

Parameters:

  • value (::Hash[Symbol, Telnyx::Rcs::BrandAddress])

Returns:



11
# File 'lib/telnyx/models/rcs/brand_response.rb', line 11

required :addresses, -> { Telnyx::Internal::Type::HashOf[Telnyx::Rcs::BrandAddress] }

#brand_idString

Parameters:

  • value (String)

Returns:

  • (String)


16
# File 'lib/telnyx/models/rcs/brand_response.rb', line 16

required :brand_id, String

#capabilitiesTelnyx::Models::Rcs::CapabilitiesResponse

Parameters:

  • value (Telnyx::Rcs::CapabilitiesResponse)

Returns:



21
# File 'lib/telnyx/models/rcs/brand_response.rb', line 21

required :capabilities, -> { Telnyx::Rcs::CapabilitiesResponse }

#contactsHash{Symbol=>Telnyx::Models::Rcs::BrandContact}

Parameters:

  • value (::Hash[Symbol, Telnyx::Rcs::BrandContact])

Returns:



26
# File 'lib/telnyx/models/rcs/brand_response.rb', line 26

required :contacts, -> { Telnyx::Internal::Type::HashOf[Telnyx::Rcs::BrandContact] }

#display_nameString

Parameters:

  • value (String)

Returns:

  • (String)


31
# File 'lib/telnyx/models/rcs/brand_response.rb', line 31

required :display_name, String

#identifiersHash{Symbol=>Telnyx::Models::Rcs::EinBrandIdentifier, Telnyx::Models::Rcs::StockSymbolBrandIdentifier}

Parameters:

  • value (::Hash[Symbol, Telnyx::Models::Rcs::brand_identifier])

Returns:



36
# File 'lib/telnyx/models/rcs/brand_response.rb', line 36

required :identifiers, -> { Telnyx::Internal::Type::HashOf[union: Telnyx::Rcs::BrandIdentifier] }

Parameters:

  • value (String)

Returns:

  • (String)


41
# File 'lib/telnyx/models/rcs/brand_response.rb', line 41

required :legal_entity_type, String

Parameters:

  • value (String)

Returns:

  • (String)


46
# File 'lib/telnyx/models/rcs/brand_response.rb', line 46

required :legal_name, String

#organization_typeString

Parameters:

  • value (String)

Returns:

  • (String)


51
# File 'lib/telnyx/models/rcs/brand_response.rb', line 51

required :organization_type, String

#profile_idString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


56
# File 'lib/telnyx/models/rcs/brand_response.rb', line 56

required :profile_id, String, nil?: true

#statusSymbol, Telnyx::Models::Rcs::BrandResponse::Status

Parameters:

  • value (Telnyx::Models::Rcs::BrandResponse::status)

Returns:



61
# File 'lib/telnyx/models/rcs/brand_response.rb', line 61

required :status, enum: -> { Telnyx::Rcs::BrandResponse::Status }

#website_urlString

Parameters:

  • value (String)

Returns:

  • (String)


66
# File 'lib/telnyx/models/rcs/brand_response.rb', line 66

required :website_url, String

Instance Method Details

#to_hash{

Returns:

  • ({)


60
# File 'sig/telnyx/models/rcs/brand_response.rbs', line 60

def to_hash: -> {