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 Optional<String>responseId()final Optional<List<ResponseIncludable>>include()Additional fields to include in the response. final Optional<Long>startingAfter()The sequence number of the event after which to start streaming. 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 ResponseRetrieveParamsnone()final static ResponseRetrieveParams.Builderbuilder()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
includeparameter for Response creation above for more information.
-
startingAfter
final Optional<Long> startingAfter()
The sequence number of the event after which to start streaming.
-
_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.
-
-
-
-