Class InputItemListParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class InputItemListParams implements Params
Returns a list of input items for a given response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInputItemListParams.BuilderA builder for InputItemListParams.
public final classInputItemListParams.OrderThe order to return the input items in. Default is
desc.asc: Return the input items in ascending order.desc: Return the input items in descending order.
-
Method Summary
Modifier and Type Method Description final Optional<String>responseId()final Optional<String>after()An item ID to list items after, used in pagination. final Optional<List<ResponseIncludable>>include()Additional fields to include in the response. final Optional<Long>limit()A limit on the number of objects to be returned. final Optional<InputItemListParams.Order>order()The order to return the input items in. final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final InputItemListParams.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 InputItemListParamsnone()final static InputItemListParams.Builderbuilder()Returns a mutable builder for constructing an instance of InputItemListParams. -
-
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.
-
limit
final Optional<Long> limit()
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
-
order
final Optional<InputItemListParams.Order> order()
The order to return the input items in. Default is
desc.asc: Return the input items in ascending order.desc: Return the input items in descending order.
-
_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 InputItemListParams.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 InputItemListParams none()
-
builder
final static InputItemListParams.Builder builder()
Returns a mutable builder for constructing an instance of InputItemListParams.
-
-
-
-