Class: Sentdm::Models::ProfileUpdateParams::Brand::Contact

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/profile_update_params.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Sentdm::Internal::Type::BaseModel

Instance Attribute Details

#business_nameString?

Business/brand name

Returns:

  • (String, nil)


431
# File 'lib/sentdm/models/profile_update_params.rb', line 431

optional :business_name, String, api_name: :businessName, nil?: true

#emailString?

Contact email address

Returns:

  • (String, nil)


437
# File 'lib/sentdm/models/profile_update_params.rb', line 437

optional :email, String, nil?: true

#nameString

Primary contact name (required)

Returns:

  • (String)


425
# File 'lib/sentdm/models/profile_update_params.rb', line 425

required :name, String

#phoneString?

Contact phone number in E.164 format

Returns:

  • (String, nil)


443
# File 'lib/sentdm/models/profile_update_params.rb', line 443

optional :phone, String, nil?: true

#phone_country_codeString?

Contact phone country code (e.g., “1” for US)

Returns:

  • (String, nil)


449
# File 'lib/sentdm/models/profile_update_params.rb', line 449

optional :phone_country_code, String, api_name: :phoneCountryCode, nil?: true

#roleString?

Contact’s role in the business

Returns:

  • (String, nil)


455
# File 'lib/sentdm/models/profile_update_params.rb', line 455

optional :role, String, nil?: true