Class ChatSessionExpiresAfterParam.Builder
-
- All Implemented Interfaces:
public final class ChatSessionExpiresAfterParam.Builder
A builder for ChatSessionExpiresAfterParam.
-
-
Method Summary
Modifier and Type Method Description final ChatSessionExpiresAfterParam.Builder
anchor(JsonValue anchor)
Sets the field to an arbitrary JSON value. final ChatSessionExpiresAfterParam.Builder
seconds(Long seconds)
Number of seconds after the anchor when the session expires. final ChatSessionExpiresAfterParam.Builder
seconds(JsonField<Long> seconds)
Sets Builder.seconds to an arbitrary JSON value. final ChatSessionExpiresAfterParam.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final ChatSessionExpiresAfterParam.Builder
putAdditionalProperty(String key, JsonValue value)
final ChatSessionExpiresAfterParam.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final ChatSessionExpiresAfterParam.Builder
removeAdditionalProperty(String key)
final ChatSessionExpiresAfterParam.Builder
removeAllAdditionalProperties(Set<String> keys)
final ChatSessionExpiresAfterParam
build()
Returns an immutable instance of ChatSessionExpiresAfterParam. -
-
Method Detail
-
anchor
final ChatSessionExpiresAfterParam.Builder anchor(JsonValue anchor)
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("created_at")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
seconds
final ChatSessionExpiresAfterParam.Builder seconds(Long seconds)
Number of seconds after the anchor when the session expires.
-
seconds
final ChatSessionExpiresAfterParam.Builder seconds(JsonField<Long> seconds)
Sets Builder.seconds to an arbitrary JSON value.
You should usually call Builder.seconds with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ChatSessionExpiresAfterParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatSessionExpiresAfterParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatSessionExpiresAfterParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatSessionExpiresAfterParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatSessionExpiresAfterParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatSessionExpiresAfterParam build()
Returns an immutable instance of ChatSessionExpiresAfterParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.seconds()
-
-
-
-