Class: Sentdm::Models::ProfileUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/sentdm/models/profile_update_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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.

Parameters:

  • profile_id (String)
  • allow_contact_sharing (Boolean, nil) (defaults to: nil)

    Whether contacts are shared across profiles (optional)

  • allow_number_change_during_onboarding (Boolean, nil) (defaults to: nil)

    Whether number changes are allowed during onboarding (optional)

  • allow_template_sharing (Boolean, nil) (defaults to: nil)

    Whether templates are shared across profiles (optional)

  • billing_contact (Sentdm::Models::BillingContactInfo, nil) (defaults to: nil)

    Billing contact information for a profile.

  • billing_model (String, nil) (defaults to: nil)

    Billing model: profile, organization, or profile_and_organization (optional).

  • brand (Sentdm::Models::BrandsBrandData, nil) (defaults to: nil)

    Brand and KYC data grouped into contact, business, and compliance sections

  • description (String, nil) (defaults to: nil)

    Profile description (optional)

  • icon (String, nil) (defaults to: nil)

    Profile icon URL (optional)

  • inherit_contacts (Boolean, nil) (defaults to: nil)

    Whether this profile inherits contacts from organization (optional)

  • inherit_tcr_brand (Boolean, nil) (defaults to: nil)

    Whether this profile inherits TCR brand from organization (optional)

  • inherit_tcr_campaign (Boolean, nil) (defaults to: nil)

    Whether this profile inherits TCR campaign from organization (optional)

  • inherit_templates (Boolean, nil) (defaults to: nil)

    Whether this profile inherits templates from organization (optional)

  • name (String, nil) (defaults to: nil)

    Profile name (optional)

  • payment_details (Sentdm::Models::PaymentDetails, nil) (defaults to: nil)

    Payment card details for a profile.

  • sandbox (Boolean) (defaults to: nil)

    Sandbox flag - when true, the operation is simulated without side effects

  • sending_phone_number (String, nil) (defaults to: nil)

    Direct phone number for SMS sending (optional)

  • sending_phone_number_profile_id (String, nil) (defaults to: nil)

    Reference to another profile to use for SMS/Telnyx configuration (optional)

  • sending_whatsapp_number_profile_id (String, nil) (defaults to: nil)

    Reference to another profile to use for WhatsApp configuration (optional)

  • short_name (String, nil) (defaults to: nil)

    Profile short name/abbreviation (optional). Must be 3–11 characters, contain onl

  • whatsapp_phone_number (String, nil) (defaults to: nil)

    Direct phone number for WhatsApp sending (optional)

  • idempotency_key (String) (defaults to: nil)
  • x_profile_id (String) (defaults to: nil)
  • request_options (Sentdm::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


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

Instance Attribute Details

#allow_contact_sharingBoolean?

Whether contacts are shared across profiles (optional)

Returns:

  • (Boolean, nil)


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_onboardingBoolean?

Whether number changes are allowed during onboarding (optional)

Returns:

  • (Boolean, nil)


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_sharingBoolean?

Whether templates are shared across profiles (optional)

Returns:

  • (Boolean, nil)


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

optional :allow_template_sharing, Sentdm::Internal::Type::Boolean, nil?: true

#billing_contactSentdm::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_modelString?

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.

Returns:

  • (String, nil)


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

optional :billing_model, String, nil?: true

#brandSentdm::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

#descriptionString?

Profile description (optional)

Returns:

  • (String, nil)


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

optional :description, String, nil?: true

#iconString?

Profile icon URL (optional)

Returns:

  • (String, nil)


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

optional :icon, String, nil?: true

#idempotency_keyString?

Returns:

  • (String, nil)


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

optional :idempotency_key, String

#inherit_contactsBoolean?

Whether this profile inherits contacts from organization (optional)

Returns:

  • (Boolean, nil)


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

optional :inherit_contacts, Sentdm::Internal::Type::Boolean, nil?: true

#inherit_tcr_brandBoolean?

Whether this profile inherits TCR brand from organization (optional)

Returns:

  • (Boolean, nil)


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

optional :inherit_tcr_brand, Sentdm::Internal::Type::Boolean, nil?: true

#inherit_tcr_campaignBoolean?

Whether this profile inherits TCR campaign from organization (optional)

Returns:

  • (Boolean, nil)


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

optional :inherit_tcr_campaign, Sentdm::Internal::Type::Boolean, nil?: true

#inherit_templatesBoolean?

Whether this profile inherits templates from organization (optional)

Returns:

  • (Boolean, nil)


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

optional :inherit_templates, Sentdm::Internal::Type::Boolean, nil?: true

#nameString?

Profile name (optional)

Returns:

  • (String, nil)


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

optional :name, String, nil?: true

#payment_detailsSentdm::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_idString

Returns:

  • (String)


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

required :profile_id, String

#sandboxBoolean?

Sandbox flag - when true, the operation is simulated without side effects Useful for testing integrations without actual execution

Returns:

  • (Boolean, nil)


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

optional :sandbox, Sentdm::Internal::Type::Boolean

#sending_phone_numberString?

Direct phone number for SMS sending (optional)

Returns:

  • (String, nil)


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

optional :sending_phone_number, String, nil?: true

#sending_phone_number_profile_idString?

Reference to another profile to use for SMS/Telnyx configuration (optional)

Returns:

  • (String, nil)


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

optional :sending_phone_number_profile_id, String, nil?: true

#sending_whatsapp_number_profile_idString?

Reference to another profile to use for WhatsApp configuration (optional)

Returns:

  • (String, nil)


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

optional :sending_whatsapp_number_profile_id, String, nil?: true

#short_nameString?

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”.

Returns:

  • (String, nil)


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

optional :short_name, String, nil?: true

#whatsapp_phone_numberString?

Direct phone number for WhatsApp sending (optional)

Returns:

  • (String, nil)


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

optional :whatsapp_phone_number, String, nil?: true

#x_profile_idString?

Returns:

  • (String, nil)


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

optional :x_profile_id, String