Class GroupListParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class GroupListParams implements Params
Lists all groups in the organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classGroupListParams.BuilderA builder for GroupListParams.
public final classGroupListParams.OrderSpecifies the sort order of the returned groups.
-
Method Summary
Modifier and Type Method Description final Optional<String>after()A cursor for use in pagination. final Optional<Long>limit()A limit on the number of groups to be returned. final Optional<GroupListParams.Order>order()Specifies the sort order of the returned groups. final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final GroupListParams.BuildertoBuilder()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 GroupListParamsnone()final static GroupListParams.Builderbuilder()Returns a mutable builder for constructing an instance of GroupListParams. -
-
Method Detail
-
after
final Optional<String> after()
A cursor for use in pagination.
afteris a group ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with group_abc, your subsequent call can includeafter=group_abcin order to fetch the next page of the list.
-
limit
final Optional<Long> limit()
A limit on the number of groups to be returned. Limit can range between 0 and 1000, and the default is 100.
-
order
final Optional<GroupListParams.Order> order()
Specifies the sort order of the returned groups.
-
_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 GroupListParams.Builder toBuilder()
-
_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 GroupListParams none()
-
builder
final static GroupListParams.Builder builder()
Returns a mutable builder for constructing an instance of GroupListParams.
-
-
-
-