Class ChatKitThread.Status.Locked.Builder
-
- All Implemented Interfaces:
public final class ChatKitThread.Status.Locked.Builder
A builder for Locked.
-
-
Method Summary
-
-
Method Detail
-
reason
final ChatKitThread.Status.Locked.Builder reason(String reason)
Reason that the thread was locked. Defaults to null when no reason is recorded.
-
reason
final ChatKitThread.Status.Locked.Builder reason(Optional<String> reason)
Alias for calling Builder.reason with
reason.orElse(null)
.
-
reason
final ChatKitThread.Status.Locked.Builder reason(JsonField<String> reason)
Sets Builder.reason to an arbitrary JSON value.
You should usually call Builder.reason with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ChatKitThread.Status.Locked.Builder type(JsonValue type)
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("locked")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ChatKitThread.Status.Locked.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatKitThread.Status.Locked.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatKitThread.Status.Locked.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatKitThread.Status.Locked.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatKitThread.Status.Locked.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatKitThread.Status.Locked build()
Returns an immutable instance of Locked.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.reason()
-
-
-
-