Class: Notiflows::Models::UserUpsertParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Notiflows::Models::UserUpsertParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/notiflows/models/user_upsert_params.rb
Overview
Defined Under Namespace
Classes: ChannelSetting
Instance Attribute Summary collapse
-
#avatar ⇒ String?
URL to user's avatar image (must start with http:// or https://).
-
#channel_settings ⇒ Array<Notiflows::Models::UserUpsertParams::ChannelSetting>?
Initial channel settings (e.g., device tokens for push).
-
#custom_fields ⇒ Object?
Custom attributes.
-
#email ⇒ String?
User's email address.
-
#external_id ⇒ String
Your system's unique identifier for this user.
-
#first_name ⇒ String?
User's first name.
-
#last_name ⇒ String?
User's last name.
-
#locale ⇒ String?
BCP 47 locale code (e.g., en-US, es-ES, fr-FR).
-
#phone ⇒ String?
User's phone number in E.164 format.
-
#preferences ⇒ ::Notiflows::Models::Users::UpdatePreferencesRequest?
Request body for updating user preferences.
-
#timezone ⇒ String?
IANA timezone (e.g., America/New_York, Europe/London).
Attributes included from Internal::Type::RequestParameters
Method Summary
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, #initialize, 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
This class inherits a constructor from Notiflows::Internal::Type::BaseModel
Instance Attribute Details
#avatar ⇒ String?
URL to user's avatar image (must start with http:// or https://)
20 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 20 optional :avatar, String |
#channel_settings ⇒ Array<Notiflows::Models::UserUpsertParams::ChannelSetting>?
Initial channel settings (e.g., device tokens for push)
26 27 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 26 optional :channel_settings, -> { Notiflows::Internal::Type::ArrayOf[Notiflows::UserUpsertParams::ChannelSetting] } |
#custom_fields ⇒ Object?
Custom attributes. Deep-merged with existing values on update.
33 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 33 optional :custom_fields, Notiflows::Internal::Type::Unknown |
#email ⇒ String?
User's email address
39 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 39 optional :email, String |
#external_id ⇒ String
Your system's unique identifier for this user. Required for creating new users.
14 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 14 required :external_id, String |
#first_name ⇒ String?
User's first name
45 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 45 optional :first_name, String |
#last_name ⇒ String?
User's last name
51 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 51 optional :last_name, String |
#locale ⇒ String?
BCP 47 locale code (e.g., en-US, es-ES, fr-FR)
57 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 57 optional :locale, String |
#phone ⇒ String?
User's phone number in E.164 format
63 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 63 optional :phone, String |
#preferences ⇒ ::Notiflows::Models::Users::UpdatePreferencesRequest?
Request body for updating user preferences. Only provided fields are updated.
69 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 69 optional :preferences, -> { ::Notiflows::Users::UpdatePreferencesRequest } |
#timezone ⇒ String?
IANA timezone (e.g., America/New_York, Europe/London)
75 |
# File 'lib/notiflows/models/user_upsert_params.rb', line 75 optional :timezone, String |