Class MessageDeleted.Builder
-
- All Implemented Interfaces:
public final class MessageDeleted.BuilderA builder for MessageDeleted.
-
-
Method Summary
Modifier and Type Method Description final MessageDeleted.Builderid(String id)final MessageDeleted.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final MessageDeleted.Builderdeleted(Boolean deleted)final MessageDeleted.Builderdeleted(JsonField<Boolean> deleted)Sets Builder.deleted to an arbitrary JSON value. final MessageDeleted.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final MessageDeleted.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final MessageDeleted.BuilderputAdditionalProperty(String key, JsonValue value)final MessageDeleted.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final MessageDeleted.BuilderremoveAdditionalProperty(String key)final MessageDeleted.BuilderremoveAllAdditionalProperties(Set<String> keys)final MessageDeletedbuild()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()
-
-
-
-