Class BulkListUsersResponse.Item
-
- All Implemented Interfaces:
public final class BulkListUsersResponse.Item
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBulkListUsersResponse.Item.BuilderA builder for Item.
public final classBulkListUsersResponse.Item.Status
-
Method Summary
Modifier and Type Method Description final InboundBulkMessageUsertoInboundBulkMessageUser()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 BulkListUsersResponse.Item.Statusstatus()final Optional<String>messageId()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 JsonField<BulkListUsersResponse.Item.Status>_status()Returns the raw JSON value of status. final JsonField<String>_messageId()Returns the raw JSON value of messageId. final Map<String, JsonValue>_additionalProperties()final BulkListUsersResponse.Item.BuildertoBuilder()final BulkListUsersResponse.Itemvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BulkListUsersResponse.Item.Builderbuilder()Returns a mutable builder for constructing an instance of Item. -
-
Method Detail
-
toInboundBulkMessageUser
final InboundBulkMessageUser toInboundBulkMessageUser()
-
_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 = item.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.
-
status
final BulkListUsersResponse.Item.Status status()
-
_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.
-
_status
final JsonField<BulkListUsersResponse.Item.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_messageId
final JsonField<String> _messageId()
Returns the raw JSON value of messageId.
Unlike messageId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BulkListUsersResponse.Item.Builder toBuilder()
-
validate
final BulkListUsersResponse.Item 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 BulkListUsersResponse.Item.Builder builder()
Returns a mutable builder for constructing an instance of Item.
The following fields are required:
.status()
-
-
-
-