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 classResponseRetrieveParams.BuilderA builder for ResponseRetrieveParams.
-
Method Summary
Modifier and Type Method Description final StringresponseId()final Optional<List<ResponseIncludable>>include()Additional fields to include in the response. final Headers_additionalHeaders()final QueryParams_additionalQueryParams()final ResponseRetrieveParams.BuildertoBuilder()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. Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseRetrieveParams.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseRetrieveParams. -
-
Method Detail
-
responseId
final String responseId()
-
include
final Optional<List<ResponseIncludable>> include()
Additional fields to include in the response. See the
includeparameter 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.
-
builder
final static ResponseRetrieveParams.Builder builder()
Returns a mutable builder for constructing an instance of ResponseRetrieveParams.
The following fields are required:
.responseId()
-
-
-
-