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
422 |
# File 'sig/sentdm/models/profile_detail.rbs', line 422
def initialize: (
|
Instance Attribute Details
#business_name ⇒ String?
Business/brand name
522 |
# File 'lib/sentdm/models/profile_detail.rb', line 522 optional :business_name, String, nil?: true |
#email ⇒ String?
Contact email address
528 |
# File 'lib/sentdm/models/profile_detail.rb', line 528 optional :email, String, nil?: true |
#name ⇒ String?
Primary contact name
534 |
# File 'lib/sentdm/models/profile_detail.rb', line 534 optional :name, String |
#phone ⇒ String?
Contact phone number in E.164 format
540 |
# File 'lib/sentdm/models/profile_detail.rb', line 540 optional :phone, String, nil?: true |
#phone_country_code ⇒ String?
Contact phone country code (e.g., "1" for US)
546 |
# File 'lib/sentdm/models/profile_detail.rb', line 546 optional :phone_country_code, String, nil?: true |
#role ⇒ String?
Contact's role in the business
552 |
# File 'lib/sentdm/models/profile_detail.rb', line 552 optional :role, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
431 |
# File 'sig/sentdm/models/profile_detail.rbs', line 431
def to_hash: -> {
|