Class ThreadDeleted.Builder
-
- All Implemented Interfaces:
public final class ThreadDeleted.BuilderA builder for ThreadDeleted.
-
-
Method Summary
Modifier and Type Method Description final ThreadDeleted.Builderid(String id)final ThreadDeleted.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final ThreadDeleted.Builderdeleted(Boolean deleted)final ThreadDeleted.Builderdeleted(JsonField<Boolean> deleted)Sets Builder.deleted to an arbitrary JSON value. final ThreadDeleted.Builderobject_(JsonValue object_)Sets the field to an arbitrary JSON value. final ThreadDeleted.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ThreadDeleted.BuilderputAdditionalProperty(String key, JsonValue value)final ThreadDeleted.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ThreadDeleted.BuilderremoveAdditionalProperty(String key)final ThreadDeleted.BuilderremoveAllAdditionalProperties(Set<String> keys)final ThreadDeletedbuild()Returns an immutable instance of ThreadDeleted. -
-
Method Detail
-
id
final ThreadDeleted.Builder id(String id)
-
id
final ThreadDeleted.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 ThreadDeleted.Builder deleted(Boolean deleted)
-
deleted
final ThreadDeleted.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 ThreadDeleted.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.deleted")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ThreadDeleted.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ThreadDeleted.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ThreadDeleted.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ThreadDeleted.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ThreadDeleted.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ThreadDeleted build()
Returns an immutable instance of ThreadDeleted.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .deleted()
-
-
-
-