Class: Sentdm::Models::ProfileUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Sentdm::Models::ProfileUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/sentdm/models/profile_update_params.rb
Overview
Instance Attribute Summary collapse
-
#allow_contact_sharing ⇒ Boolean?
Whether contacts are shared across profiles (optional).
-
#allow_number_change_during_onboarding ⇒ Boolean?
Whether number changes are allowed during onboarding (optional).
-
#allow_template_sharing ⇒ Boolean?
Whether templates are shared across profiles (optional).
-
#billing_contact ⇒ Sentdm::Models::BillingContactInfo?
Billing contact information for a profile.
-
#billing_model ⇒ String?
Billing model: profile, organization, or profile_and_organization (optional).
-
#brand ⇒ Sentdm::Models::BrandsBrandData?
Brand and KYC data grouped into contact, business, and compliance sections.
-
#description ⇒ String?
Profile description (optional).
-
#icon ⇒ String?
Profile icon URL (optional).
- #idempotency_key ⇒ String?
-
#inherit_contacts ⇒ Boolean?
Whether this profile inherits contacts from organization (optional).
-
#inherit_tcr_brand ⇒ Boolean?
Whether this profile inherits TCR brand from organization (optional).
-
#inherit_tcr_campaign ⇒ Boolean?
Whether this profile inherits TCR campaign from organization (optional).
-
#inherit_templates ⇒ Boolean?
Whether this profile inherits templates from organization (optional).
-
#name ⇒ String?
Profile name (optional).
-
#payment_details ⇒ Sentdm::Models::PaymentDetails?
Payment card details for a profile.
- #profile_id ⇒ String
-
#sandbox ⇒ Boolean?
Sandbox flag - when true, the operation is simulated without side effects Useful for testing integrations without actual execution.
-
#sending_phone_number ⇒ String?
Direct phone number for SMS sending (optional).
-
#sending_phone_number_profile_id ⇒ String?
Reference to another profile to use for SMS/Telnyx configuration (optional).
-
#sending_whatsapp_number_profile_id ⇒ String?
Reference to another profile to use for WhatsApp configuration (optional).
-
#short_name ⇒ String?
Profile short name/abbreviation (optional).
-
#whatsapp_phone_number ⇒ String?
Direct phone number for WhatsApp sending (optional).
- #x_profile_id ⇒ String?
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(profile_id:, allow_contact_sharing: nil, allow_number_change_during_onboarding: nil, allow_template_sharing: nil, billing_contact: nil, billing_model: nil, brand: nil, description: nil, icon: nil, inherit_contacts: nil, inherit_tcr_brand: nil, inherit_tcr_campaign: nil, inherit_templates: nil, name: nil, payment_details: nil, sandbox: nil, sending_phone_number: nil, sending_phone_number_profile_id: nil, sending_whatsapp_number_profile_id: nil, short_name: nil, whatsapp_phone_number: nil, idempotency_key: nil, x_profile_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ProfileUpdateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(profile_id:, allow_contact_sharing: nil, allow_number_change_during_onboarding: nil, allow_template_sharing: nil, billing_contact: nil, billing_model: nil, brand: nil, description: nil, icon: nil, inherit_contacts: nil, inherit_tcr_brand: nil, inherit_tcr_campaign: nil, inherit_templates: nil, name: nil, payment_details: nil, sandbox: nil, sending_phone_number: nil, sending_phone_number_profile_id: nil, sending_whatsapp_number_profile_id: nil, short_name: nil, whatsapp_phone_number: nil, idempotency_key: nil, x_profile_id: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Sentdm::Models::ProfileUpdateParams for more details.
|
|
# File 'lib/sentdm/models/profile_update_params.rb', line 157
|
Instance Attribute Details
#allow_contact_sharing ⇒ Boolean?
Whether contacts are shared across profiles (optional)
19 |
# File 'lib/sentdm/models/profile_update_params.rb', line 19 optional :allow_contact_sharing, Sentdm::Internal::Type::Boolean, nil?: true |
#allow_number_change_during_onboarding ⇒ Boolean?
Whether number changes are allowed during onboarding (optional)
25 |
# File 'lib/sentdm/models/profile_update_params.rb', line 25 optional :allow_number_change_during_onboarding, Sentdm::Internal::Type::Boolean, nil?: true |
#allow_template_sharing ⇒ Boolean?
Whether templates are shared across profiles (optional)
31 |
# File 'lib/sentdm/models/profile_update_params.rb', line 31 optional :allow_template_sharing, Sentdm::Internal::Type::Boolean, nil?: true |
#billing_contact ⇒ Sentdm::Models::BillingContactInfo?
Billing contact information for a profile. Required when billing_model is “profile” or “profile_and_organization”.
38 |
# File 'lib/sentdm/models/profile_update_params.rb', line 38 optional :billing_contact, -> { Sentdm::BillingContactInfo }, nil?: true |
#billing_model ⇒ String?
Billing model: profile, organization, or profile_and_organization (optional).
-
“organization”: the organization’s billing details are used; no profile-level billing info needed.
-
“profile”: the profile is billed independently; billing_contact is required.
-
“profile_and_organization”: the profile is billed first with the organization as fallback; billing_contact is required.
50 |
# File 'lib/sentdm/models/profile_update_params.rb', line 50 optional :billing_model, String, nil?: true |
#brand ⇒ Sentdm::Models::BrandsBrandData?
Brand and KYC data grouped into contact, business, and compliance sections
56 |
# File 'lib/sentdm/models/profile_update_params.rb', line 56 optional :brand, -> { Sentdm::BrandsBrandData }, nil?: true |
#description ⇒ String?
Profile description (optional)
62 |
# File 'lib/sentdm/models/profile_update_params.rb', line 62 optional :description, String, nil?: true |
#icon ⇒ String?
Profile icon URL (optional)
68 |
# File 'lib/sentdm/models/profile_update_params.rb', line 68 optional :icon, String, nil?: true |
#idempotency_key ⇒ String?
150 |
# File 'lib/sentdm/models/profile_update_params.rb', line 150 optional :idempotency_key, String |
#inherit_contacts ⇒ Boolean?
Whether this profile inherits contacts from organization (optional)
74 |
# File 'lib/sentdm/models/profile_update_params.rb', line 74 optional :inherit_contacts, Sentdm::Internal::Type::Boolean, nil?: true |
#inherit_tcr_brand ⇒ Boolean?
Whether this profile inherits TCR brand from organization (optional)
80 |
# File 'lib/sentdm/models/profile_update_params.rb', line 80 optional :inherit_tcr_brand, Sentdm::Internal::Type::Boolean, nil?: true |
#inherit_tcr_campaign ⇒ Boolean?
Whether this profile inherits TCR campaign from organization (optional)
86 |
# File 'lib/sentdm/models/profile_update_params.rb', line 86 optional :inherit_tcr_campaign, Sentdm::Internal::Type::Boolean, nil?: true |
#inherit_templates ⇒ Boolean?
Whether this profile inherits templates from organization (optional)
92 |
# File 'lib/sentdm/models/profile_update_params.rb', line 92 optional :inherit_templates, Sentdm::Internal::Type::Boolean, nil?: true |
#name ⇒ String?
Profile name (optional)
98 |
# File 'lib/sentdm/models/profile_update_params.rb', line 98 optional :name, String, nil?: true |
#payment_details ⇒ Sentdm::Models::PaymentDetails?
Payment card details for a profile. Accepted when billing_model is “profile” or “profile_and_organization”. These details are not stored on our servers and will be forwarded to the payment processor.
106 |
# File 'lib/sentdm/models/profile_update_params.rb', line 106 optional :payment_details, -> { Sentdm::PaymentDetails }, nil?: true |
#profile_id ⇒ String
13 |
# File 'lib/sentdm/models/profile_update_params.rb', line 13 required :profile_id, String |
#sandbox ⇒ Boolean?
Sandbox flag - when true, the operation is simulated without side effects Useful for testing integrations without actual execution
113 |
# File 'lib/sentdm/models/profile_update_params.rb', line 113 optional :sandbox, Sentdm::Internal::Type::Boolean |
#sending_phone_number ⇒ String?
Direct phone number for SMS sending (optional)
119 |
# File 'lib/sentdm/models/profile_update_params.rb', line 119 optional :sending_phone_number, String, nil?: true |
#sending_phone_number_profile_id ⇒ String?
Reference to another profile to use for SMS/Telnyx configuration (optional)
125 |
# File 'lib/sentdm/models/profile_update_params.rb', line 125 optional :sending_phone_number_profile_id, String, nil?: true |
#sending_whatsapp_number_profile_id ⇒ String?
Reference to another profile to use for WhatsApp configuration (optional)
131 |
# File 'lib/sentdm/models/profile_update_params.rb', line 131 optional :sending_whatsapp_number_profile_id, String, nil?: true |
#short_name ⇒ String?
Profile short name/abbreviation (optional). Must be 3–11 characters, contain only letters, numbers, and spaces, and include at least one letter. Example: “SALES”, “Mkt 2”, “Support1”.
139 |
# File 'lib/sentdm/models/profile_update_params.rb', line 139 optional :short_name, String, nil?: true |
#whatsapp_phone_number ⇒ String?
Direct phone number for WhatsApp sending (optional)
145 |
# File 'lib/sentdm/models/profile_update_params.rb', line 145 optional :whatsapp_phone_number, String, nil?: true |
#x_profile_id ⇒ String?
155 |
# File 'lib/sentdm/models/profile_update_params.rb', line 155 optional :x_profile_id, String |