Class ItemRetrieveParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class ItemRetrieveParams implements Params
Get a single item from a conversation with the given IDs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ItemRetrieveParams.Builder
A builder for ItemRetrieveParams.
-
Method Summary
Modifier and Type Method Description final String
conversationId()
final Optional<String>
itemId()
final Optional<List<ResponseIncludable>>
include()
Additional fields to include in the response. final Headers
_additionalHeaders()
Additional headers to send with the request. final QueryParams
_additionalQueryParams()
Additional query param to send with the request. final ItemRetrieveParams.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 ItemRetrieveParams.Builder
builder()
Returns a mutable builder for constructing an instance of ItemRetrieveParams. -
-
Method Detail
-
conversationId
final String conversationId()
-
include
final Optional<List<ResponseIncludable>> include()
Additional fields to include in the response. See the
include
parameter for listing Conversation items above for more information.
-
_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 ItemRetrieveParams.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.
-
builder
final static ItemRetrieveParams.Builder builder()
Returns a mutable builder for constructing an instance of ItemRetrieveParams.
The following fields are required:
.conversationId()
-
-
-
-