Class DeletedMessageBatch
-
- All Implemented Interfaces:
public final class DeletedMessageBatch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDeletedMessageBatch.BuilderA builder for DeletedMessageBatch.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the Message Batch. final JsonValue_type()Deleted object type. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final DeletedMessageBatch.BuildertoBuilder()final DeletedMessageBatchvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static DeletedMessageBatch.Builderbuilder()Returns a mutable builder for constructing an instance of DeletedMessageBatch. -
-
Method Detail
-
_type
final JsonValue _type()
Deleted object type.
For Message Batches, this is always
"message_batch_deleted".Expected to always return the following:
JsonValue.from("message_batch_deleted")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final DeletedMessageBatch.Builder toBuilder()
-
validate
final DeletedMessageBatch 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 DeletedMessageBatch.Builder builder()
Returns a mutable builder for constructing an instance of DeletedMessageBatch.
The following fields are required:
.id()
-
-
-
-