Class BetaThreadContinueParams.Builder
-
- All Implemented Interfaces:
public final class BetaThreadContinueParams.BuilderA builder for BetaThreadContinueParams.
-
-
Method Summary
Modifier and Type Method Description final BetaThreadContinueParams.BuilderpreviousMessageId(String previousMessageId)The idof the previous response in this Thread.final BetaThreadContinueParams.BuilderpreviousMessageId(JsonField<String> previousMessageId)Sets Builder.previousMessageId to an arbitrary JSON value. final BetaThreadContinueParams.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaThreadContinueParams.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaThreadContinueParams.BuilderputAdditionalProperty(String key, JsonValue value)final BetaThreadContinueParams.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaThreadContinueParams.BuilderremoveAdditionalProperty(String key)final BetaThreadContinueParams.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaThreadContinueParamsbuild()Returns an immutable instance of BetaThreadContinueParams. -
-
Method Detail
-
previousMessageId
final BetaThreadContinueParams.Builder previousMessageId(String previousMessageId)
The
idof the previous response in this Thread.
-
previousMessageId
final BetaThreadContinueParams.Builder previousMessageId(JsonField<String> previousMessageId)
Sets Builder.previousMessageId to an arbitrary JSON value.
You should usually call Builder.previousMessageId 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 BetaThreadContinueParams.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("continue")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaThreadContinueParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThreadContinueParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThreadContinueParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThreadContinueParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThreadContinueParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThreadContinueParams build()
Returns an immutable instance of BetaThreadContinueParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.previousMessageId()
-
-
-
-