Package com.openai.models.beta.threads
Class ThreadRetrieveParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") public final class ThreadRetrieveParams implements Params
Retrieves a thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ThreadRetrieveParams.Builder
A builder for ThreadRetrieveParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>
threadId()
final Headers
_additionalHeaders()
Additional headers to send with the request. final QueryParams
_additionalQueryParams()
Additional query param to send with the request. final ThreadRetrieveParams.Builder
toBuilder()
final String
_pathParam(Integer index)
Headers
_headers()
The full set of headers in the parameters, including both fixed and additional headers. QueryParams
_queryParams()
The full set of query params in the parameters, including both fixed and additional query params. Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ThreadRetrieveParams
none()
final static ThreadRetrieveParams.Builder
builder()
Returns a mutable builder for constructing an instance of ThreadRetrieveParams. -
-
Method Detail
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final ThreadRetrieveParams.Builder toBuilder()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static ThreadRetrieveParams none()
-
builder
final static ThreadRetrieveParams.Builder builder()
Returns a mutable builder for constructing an instance of ThreadRetrieveParams.
-
-
-
-