Package com.openai.models.responses
Class ResponseRetrieveParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class ResponseRetrieveParams implements Params
Retrieves a model response with the given ID.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseRetrieveParams.Builder
A builder for ResponseRetrieveParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>
responseId()
final Optional<List<ResponseIncludable>>
include()
Additional fields to include in the response. final Headers
_additionalHeaders()
final QueryParams
_additionalQueryParams()
final ResponseRetrieveParams.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 ResponseRetrieveParams
none()
final static ResponseRetrieveParams.Builder
builder()
Returns a mutable builder for constructing an instance of ResponseRetrieveParams. -
-
Method Detail
-
responseId
final Optional<String> responseId()
-
include
final Optional<List<ResponseIncludable>> include()
Additional fields to include in the response. See the
include
parameter for Response creation above for more information.
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final ResponseRetrieveParams.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 ResponseRetrieveParams none()
-
builder
final static ResponseRetrieveParams.Builder builder()
Returns a mutable builder for constructing an instance of ResponseRetrieveParams.
-
-
-
-