Class BetaThreadContinueParams
-
- All Implemented Interfaces:
public final class BetaThreadContinueParamsResume from the response named by
`previous_message_id`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaThreadContinueParams.BuilderA builder for BetaThreadContinueParams.
-
Method Summary
Modifier and Type Method Description final StringpreviousMessageId()The idof the previous response in this Thread.final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("continue")final JsonField<String>_previousMessageId()Returns the raw JSON value of previousMessageId. final Map<String, JsonValue>_additionalProperties()final BetaThreadContinueParams.BuildertoBuilder()final BetaThreadContinueParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaThreadContinueParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaThreadContinueParams. final static BetaThreadContinueParamsof(String previousMessageId)Returns an immutable instance of BetaThreadContinueParams with the required previousMessageId set to the given value. -
-
Method Detail
-
previousMessageId
final String previousMessageId()
The
idof the previous response in this Thread.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("continue")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_previousMessageId
final JsonField<String> _previousMessageId()
Returns the raw JSON value of previousMessageId.
Unlike previousMessageId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaThreadContinueParams.Builder toBuilder()
-
validate
final BetaThreadContinueParams validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaThreadContinueParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaThreadContinueParams.
The following fields are required:
.previousMessageId()
-
of
final static BetaThreadContinueParams of(String previousMessageId)
Returns an immutable instance of BetaThreadContinueParams with the required previousMessageId set to the given value.
-
-
-
-