Class InboundBulkMessageUser
-
- All Implemented Interfaces:
public final class InboundBulkMessageUser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInboundBulkMessageUser.BuilderA builder for InboundBulkMessageUser.
public final classInboundBulkMessageUser.ProfileUser profile information. For email-based bulk jobs,
profile.emailis required for provider routing to determine if the message can be delivered. The email address should be provided here rather than into.email.
-
Method Summary
Modifier and Type Method Description final JsonValue_data()User-specific data that will be merged with message. final Optional<RecipientPreferences>preferences()final Optional<InboundBulkMessageUser.Profile>profile()User profile information. final Optional<String>recipient()User ID (legacy field, use profile or to. final Optional<UserRecipient>to()Optional recipient information. final JsonField<RecipientPreferences>_preferences()Returns the raw JSON value of preferences. final JsonField<InboundBulkMessageUser.Profile>_profile()Returns the raw JSON value of profile. final JsonField<String>_recipient()Returns the raw JSON value of recipient. final JsonField<UserRecipient>_to()Returns the raw JSON value of to. final Map<String, JsonValue>_additionalProperties()final InboundBulkMessageUser.BuildertoBuilder()final InboundBulkMessageUservalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InboundBulkMessageUser.Builderbuilder()Returns a mutable builder for constructing an instance of InboundBulkMessageUser. -
-
Method Detail
-
_data
final JsonValue _data()
User-specific data that will be merged with message.data
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = inboundBulkMessageUser.data().convert(MyClass.class);
-
preferences
final Optional<RecipientPreferences> preferences()
-
profile
final Optional<InboundBulkMessageUser.Profile> profile()
User profile information. For email-based bulk jobs,
profile.emailis required for provider routing to determine if the message can be delivered. The email address should be provided here rather than into.email.
-
recipient
final Optional<String> recipient()
User ID (legacy field, use profile or to.user_id instead)
-
to
final Optional<UserRecipient> to()
Optional recipient information. Note: For email provider routing, use
profile.emailinstead ofto.email. Thetofield is primarily used for recipient identification and data merging.
-
_preferences
final JsonField<RecipientPreferences> _preferences()
Returns the raw JSON value of preferences.
Unlike preferences, this method doesn't throw if the JSON field has an unexpected type.
-
_profile
final JsonField<InboundBulkMessageUser.Profile> _profile()
Returns the raw JSON value of profile.
Unlike profile, this method doesn't throw if the JSON field has an unexpected type.
-
_recipient
final JsonField<String> _recipient()
Returns the raw JSON value of recipient.
Unlike recipient, this method doesn't throw if the JSON field has an unexpected type.
-
_to
final JsonField<UserRecipient> _to()
Returns the raw JSON value of to.
Unlike to, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InboundBulkMessageUser.Builder toBuilder()
-
validate
final InboundBulkMessageUser validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static InboundBulkMessageUser.Builder builder()
Returns a mutable builder for constructing an instance of InboundBulkMessageUser.
-
-
-
-