Class ThreadDeleted.Builder
-
- All Implemented Interfaces:
public final class ThreadDeleted.Builder
A builder for ThreadDeleted.
-
-
Method Summary
Modifier and Type Method Description final ThreadDeleted.Builder
id(String id)
final ThreadDeleted.Builder
id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value. final ThreadDeleted.Builder
deleted(Boolean deleted)
final ThreadDeleted.Builder
deleted(JsonField<Boolean> deleted)
Sets Builder.deleted to an arbitrary JSON value. final ThreadDeleted.Builder
object_(JsonValue object_)
Sets the field to an arbitrary JSON value. final ThreadDeleted.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ThreadDeleted.Builder
putAdditionalProperty(String key, JsonValue value)
final ThreadDeleted.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ThreadDeleted.Builder
removeAdditionalProperty(String key)
final ThreadDeleted.Builder
removeAllAdditionalProperties(Set<String> keys)
final ThreadDeleted
build()
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()
-
-
-
-