Class: Sentdm::Models::ProfileRetrieveResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/profile_retrieve_response.rb

Overview

See Also:

Defined Under Namespace

Classes: BillingContact, Brand

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Parameters:

  • address (String, nil) (defaults to: nil)
  • email (String, nil) (defaults to: nil)
  • name (String, nil) (defaults to: nil)
  • phone (String, nil) (defaults to: nil)


# File 'lib/sentdm/models/profile_retrieve_response.rb', line 199

Instance Attribute Details

#allow_contact_sharingBoolean?

Whether contacts are shared across profiles in the organization

Returns:

  • (Boolean, nil)


54
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 54

optional :allow_contact_sharing, Sentdm::Internal::Type::Boolean

#allow_number_change_during_onboardingBoolean?

Whether number changes are allowed during onboarding

Returns:

  • (Boolean, nil)


60
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 60

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

#allow_template_sharingBoolean?

Whether templates are shared across profiles in the organization

Returns:

  • (Boolean, nil)


66
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 66

optional :allow_template_sharing, Sentdm::Internal::Type::Boolean

#billing_contactSentdm::Models::ProfileRetrieveResponse::Data::BillingContact?

Billing contact info returned in profile responses



72
73
74
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 72

optional :billing_contact,
-> { Sentdm::Models::ProfileRetrieveResponse::Data::BillingContact },
nil?: true

#billing_modelString?

Billing model: profile, organization, or profile_and_organization

Returns:

  • (String, nil)


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

optional :billing_model, String

#brandSentdm::Models::ProfileRetrieveResponse::Data::Brand?

Brand response with nested contact, business, and compliance sections — mirrors the request structure.



87
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 87

optional :brand, -> { Sentdm::Models::ProfileRetrieveResponse::Data::Brand }, nil?: true

#created_atTime?

When the profile was created

Returns:

  • (Time, nil)


93
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 93

optional :created_at, Time

#descriptionString?

Profile description

Returns:

  • (String, nil)


99
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 99

optional :description, String, nil?: true

#emailString?

Profile email (inherited from organization)

Returns:

  • (String, nil)


105
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 105

optional :email, String, nil?: true

#iconString?

Profile icon URL

Returns:

  • (String, nil)


111
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 111

optional :icon, String, nil?: true

#idString?

Profile unique identifier

Returns:

  • (String, nil)


48
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 48

optional :id, String

#inherit_contactsBoolean?

Whether this profile inherits contacts from the organization

Returns:

  • (Boolean, nil)


117
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 117

optional :inherit_contacts, Sentdm::Internal::Type::Boolean

#inherit_tcr_brandBoolean?

Whether this profile inherits TCR brand from the organization

Returns:

  • (Boolean, nil)


123
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 123

optional :inherit_tcr_brand, Sentdm::Internal::Type::Boolean

#inherit_tcr_campaignBoolean?

Whether this profile inherits TCR campaign from the organization

Returns:

  • (Boolean, nil)


129
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 129

optional :inherit_tcr_campaign, Sentdm::Internal::Type::Boolean

#inherit_templatesBoolean?

Whether this profile inherits templates from the organization

Returns:

  • (Boolean, nil)


135
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 135

optional :inherit_templates, Sentdm::Internal::Type::Boolean

#nameString?

Profile name

Returns:

  • (String, nil)


141
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 141

optional :name, String

#organization_idString?

Parent organization ID

Returns:

  • (String, nil)


147
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 147

optional :organization_id, String, nil?: true

#sending_phone_numberString?

Direct SMS phone number

Returns:

  • (String, nil)


153
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 153

optional :sending_phone_number, String, nil?: true

#sending_phone_number_profile_idString?

Reference to another profile for SMS/Telnyx configuration

Returns:

  • (String, nil)


159
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 159

optional :sending_phone_number_profile_id, String, nil?: true

#sending_whatsapp_number_profile_idString?

Reference to another profile for WhatsApp configuration

Returns:

  • (String, nil)


165
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 165

optional :sending_whatsapp_number_profile_id, String, nil?: true

#short_nameString?

Profile short name/abbreviation. 3–11 characters: letters, numbers, and spaces only, with at least one letter.

Returns:

  • (String, nil)


172
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 172

optional :short_name, String, nil?: true

#statusString?

Profile setup status: incomplete, pending_review, approved, rejected

Returns:

  • (String, nil)


178
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 178

optional :status, String

#updated_atTime?

When the profile was last updated

Returns:

  • (Time, nil)


184
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 184

optional :updated_at, Time, nil?: true

#waba_idString?

WhatsApp Business Account ID associated with this profile. Present whether the WABA is inherited from the organization or configured directly.

Returns:

  • (String, nil)


191
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 191

optional :waba_id, String, nil?: true

#whatsapp_phone_numberString?

Direct WhatsApp phone number

Returns:

  • (String, nil)


197
# File 'lib/sentdm/models/profile_retrieve_response.rb', line 197

optional :whatsapp_phone_number, String, nil?: true