Class: Sentdm::Models::ProfileDetail::Brand::Contact
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::ProfileDetail::Brand::Contact
- Defined in:
- lib/sentdm/models/profile_detail.rb,
sig/sentdm/models/profile_detail.rbs
Overview
Instance Attribute Summary collapse
-
#business_name ⇒ String?
Business/brand name.
-
#email ⇒ String?
Contact email address.
-
#name ⇒ String?
Primary contact name.
-
#phone ⇒ String?
Contact phone number in E.164 format.
-
#phone_country_code ⇒ String?
Contact phone country code (e.g., "1" for US).
-
#role ⇒ String?
Contact's role in the business.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
427 |
# File 'sig/sentdm/models/profile_detail.rbs', line 427
def initialize: (
|
Instance Attribute Details
#business_name ⇒ String?
Business/brand name
530 |
# File 'lib/sentdm/models/profile_detail.rb', line 530 optional :business_name, String, nil?: true |
#email ⇒ String?
Contact email address
536 |
# File 'lib/sentdm/models/profile_detail.rb', line 536 optional :email, String, nil?: true |
#name ⇒ String?
Primary contact name
542 |
# File 'lib/sentdm/models/profile_detail.rb', line 542 optional :name, String |
#phone ⇒ String?
Contact phone number in E.164 format
548 |
# File 'lib/sentdm/models/profile_detail.rb', line 548 optional :phone, String, nil?: true |
#phone_country_code ⇒ String?
Contact phone country code (e.g., "1" for US)
554 |
# File 'lib/sentdm/models/profile_detail.rb', line 554 optional :phone_country_code, String, nil?: true |
#role ⇒ String?
Contact's role in the business
560 |
# File 'lib/sentdm/models/profile_detail.rb', line 560 optional :role, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
436 |
# File 'sig/sentdm/models/profile_detail.rbs', line 436
def to_hash: -> {
|