Class: Sentdm::Models::ProfileUpdateResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::ProfileUpdateResponse::Data
- Defined in:
- lib/sentdm/models/profile_update_response.rb
Overview
Defined Under Namespace
Classes: BillingContact, Brand
Instance Attribute Summary collapse
-
#allow_contact_sharing ⇒ Boolean?
Whether contacts are shared across profiles in the organization.
-
#allow_number_change_during_onboarding ⇒ Boolean?
Whether number changes are allowed during onboarding.
-
#allow_template_sharing ⇒ Boolean?
Whether templates are shared across profiles in the organization.
-
#billing_contact ⇒ Sentdm::Models::ProfileUpdateResponse::Data::BillingContact?
Billing contact info returned in profile responses.
-
#billing_model ⇒ String?
Billing model: profile, organization, or profile_and_organization.
-
#brand ⇒ Sentdm::Models::ProfileUpdateResponse::Data::Brand?
Brand response with nested contact, business, and compliance sections — mirrors the request structure.
-
#created_at ⇒ Time?
When the profile was created.
-
#description ⇒ String?
Profile description.
-
#email ⇒ String?
Profile email (inherited from organization).
-
#icon ⇒ String?
Profile icon URL.
-
#id ⇒ String?
Profile unique identifier.
-
#inherit_contacts ⇒ Boolean?
Whether this profile inherits contacts from the organization.
-
#inherit_tcr_brand ⇒ Boolean?
Whether this profile inherits TCR brand from the organization.
-
#inherit_tcr_campaign ⇒ Boolean?
Whether this profile inherits TCR campaign from the organization.
-
#inherit_templates ⇒ Boolean?
Whether this profile inherits templates from the organization.
-
#name ⇒ String?
Profile name.
-
#organization_id ⇒ String?
Parent organization ID.
-
#sending_phone_number ⇒ String?
Direct SMS phone number.
-
#sending_phone_number_profile_id ⇒ String?
Reference to another profile for SMS/Telnyx configuration.
-
#sending_whatsapp_number_profile_id ⇒ String?
Reference to another profile for WhatsApp configuration.
-
#short_name ⇒ String?
Profile short name/abbreviation.
-
#status ⇒ String?
Profile setup status: incomplete, pending_review, approved, rejected.
-
#updated_at ⇒ Time?
When the profile was last updated.
-
#waba_id ⇒ String?
WhatsApp Business Account ID associated with this profile.
-
#whatsapp_phone_number ⇒ String?
Direct WhatsApp phone number.
Instance Method Summary collapse
-
#initialize(address: nil, email: nil, name: nil, phone: nil) ⇒ Object
constructor
Billing contact info returned in profile responses.
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(address: nil, email: nil, name: nil, phone: nil) ⇒ Object
Billing contact info returned in profile responses
|
|
# File 'lib/sentdm/models/profile_update_response.rb', line 197
|
Instance Attribute Details
#allow_contact_sharing ⇒ Boolean?
Whether contacts are shared across profiles in the organization
54 |
# File 'lib/sentdm/models/profile_update_response.rb', line 54 optional :allow_contact_sharing, Sentdm::Internal::Type::Boolean |
#allow_number_change_during_onboarding ⇒ Boolean?
Whether number changes are allowed during onboarding
60 |
# File 'lib/sentdm/models/profile_update_response.rb', line 60 optional :allow_number_change_during_onboarding, Sentdm::Internal::Type::Boolean, nil?: true |
#allow_template_sharing ⇒ Boolean?
Whether templates are shared across profiles in the organization
66 |
# File 'lib/sentdm/models/profile_update_response.rb', line 66 optional :allow_template_sharing, Sentdm::Internal::Type::Boolean |
#billing_contact ⇒ Sentdm::Models::ProfileUpdateResponse::Data::BillingContact?
Billing contact info returned in profile responses
72 |
# File 'lib/sentdm/models/profile_update_response.rb', line 72 optional :billing_contact, -> { Sentdm::Models::ProfileUpdateResponse::Data::BillingContact }, nil?: true |
#billing_model ⇒ String?
Billing model: profile, organization, or profile_and_organization
78 |
# File 'lib/sentdm/models/profile_update_response.rb', line 78 optional :billing_model, String |
#brand ⇒ Sentdm::Models::ProfileUpdateResponse::Data::Brand?
Brand response with nested contact, business, and compliance sections — mirrors the request structure.
85 |
# File 'lib/sentdm/models/profile_update_response.rb', line 85 optional :brand, -> { Sentdm::Models::ProfileUpdateResponse::Data::Brand }, nil?: true |
#created_at ⇒ Time?
When the profile was created
91 |
# File 'lib/sentdm/models/profile_update_response.rb', line 91 optional :created_at, Time |
#description ⇒ String?
Profile description
97 |
# File 'lib/sentdm/models/profile_update_response.rb', line 97 optional :description, String, nil?: true |
#email ⇒ String?
Profile email (inherited from organization)
103 |
# File 'lib/sentdm/models/profile_update_response.rb', line 103 optional :email, String, nil?: true |
#icon ⇒ String?
Profile icon URL
109 |
# File 'lib/sentdm/models/profile_update_response.rb', line 109 optional :icon, String, nil?: true |
#id ⇒ String?
Profile unique identifier
48 |
# File 'lib/sentdm/models/profile_update_response.rb', line 48 optional :id, String |
#inherit_contacts ⇒ Boolean?
Whether this profile inherits contacts from the organization
115 |
# File 'lib/sentdm/models/profile_update_response.rb', line 115 optional :inherit_contacts, Sentdm::Internal::Type::Boolean |
#inherit_tcr_brand ⇒ Boolean?
Whether this profile inherits TCR brand from the organization
121 |
# File 'lib/sentdm/models/profile_update_response.rb', line 121 optional :inherit_tcr_brand, Sentdm::Internal::Type::Boolean |
#inherit_tcr_campaign ⇒ Boolean?
Whether this profile inherits TCR campaign from the organization
127 |
# File 'lib/sentdm/models/profile_update_response.rb', line 127 optional :inherit_tcr_campaign, Sentdm::Internal::Type::Boolean |
#inherit_templates ⇒ Boolean?
Whether this profile inherits templates from the organization
133 |
# File 'lib/sentdm/models/profile_update_response.rb', line 133 optional :inherit_templates, Sentdm::Internal::Type::Boolean |
#name ⇒ String?
Profile name
139 |
# File 'lib/sentdm/models/profile_update_response.rb', line 139 optional :name, String |
#organization_id ⇒ String?
Parent organization ID
145 |
# File 'lib/sentdm/models/profile_update_response.rb', line 145 optional :organization_id, String, nil?: true |
#sending_phone_number ⇒ String?
Direct SMS phone number
151 |
# File 'lib/sentdm/models/profile_update_response.rb', line 151 optional :sending_phone_number, String, nil?: true |
#sending_phone_number_profile_id ⇒ String?
Reference to another profile for SMS/Telnyx configuration
157 |
# File 'lib/sentdm/models/profile_update_response.rb', line 157 optional :sending_phone_number_profile_id, String, nil?: true |
#sending_whatsapp_number_profile_id ⇒ String?
Reference to another profile for WhatsApp configuration
163 |
# File 'lib/sentdm/models/profile_update_response.rb', line 163 optional :sending_whatsapp_number_profile_id, String, nil?: true |
#short_name ⇒ String?
Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces only, with at least one letter.
170 |
# File 'lib/sentdm/models/profile_update_response.rb', line 170 optional :short_name, String, nil?: true |
#status ⇒ String?
Profile setup status: incomplete, pending_review, approved, rejected
176 |
# File 'lib/sentdm/models/profile_update_response.rb', line 176 optional :status, String |
#updated_at ⇒ Time?
When the profile was last updated
182 |
# File 'lib/sentdm/models/profile_update_response.rb', line 182 optional :updated_at, Time, nil?: true |
#waba_id ⇒ String?
WhatsApp Business Account ID associated with this profile. Present whether the WABA is inherited from the organization or configured directly.
189 |
# File 'lib/sentdm/models/profile_update_response.rb', line 189 optional :waba_id, String, nil?: true |
#whatsapp_phone_number ⇒ String?
Direct WhatsApp phone number
195 |
# File 'lib/sentdm/models/profile_update_response.rb', line 195 optional :whatsapp_phone_number, String, nil?: true |