Class MessageDeleted.Builder
-
- All Implemented Interfaces:
public final class MessageDeleted.Builder
A builder for MessageDeleted.
-
-
Method Summary
Modifier and Type Method Description final MessageDeleted.Builder
id(String id)
final MessageDeleted.Builder
id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value. final MessageDeleted.Builder
deleted(Boolean deleted)
final MessageDeleted.Builder
deleted(JsonField<Boolean> deleted)
Sets Builder.deleted to an arbitrary JSON value. final MessageDeleted.Builder
object_(JsonValue object_)
Sets the field to an arbitrary JSON value. final MessageDeleted.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final MessageDeleted.Builder
putAdditionalProperty(String key, JsonValue value)
final MessageDeleted.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final MessageDeleted.Builder
removeAdditionalProperty(String key)
final MessageDeleted.Builder
removeAllAdditionalProperties(Set<String> keys)
final MessageDeleted
build()
Returns an immutable instance of MessageDeleted. -
-
Method Detail
-
id
final MessageDeleted.Builder id(String id)
-
id
final MessageDeleted.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
deleted
final MessageDeleted.Builder deleted(Boolean deleted)
-
deleted
final MessageDeleted.Builder deleted(JsonField<Boolean> deleted)
Sets Builder.deleted to an arbitrary JSON value.
You should usually call Builder.deleted with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final MessageDeleted.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("thread.message.deleted")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageDeleted.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageDeleted.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageDeleted.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageDeleted.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageDeleted.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageDeleted build()
Returns an immutable instance of MessageDeleted.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .deleted()
-
-
-
-