Package com.openai.models.models
Class ModelListPage.Builder
-
- All Implemented Interfaces:
public final class ModelListPage.Builder
A builder for ModelListPage.
-
-
Method Summary
Modifier and Type Method Description final ModelListPage.Builder
service(ModelService service)
final ModelListPage.Builder
params(ModelListParams params)
The parameters that were used to request this page. final ModelListPage.Builder
response(ModelListPageResponse response)
The response that this page was parsed from. final ModelListPage
build()
Returns an immutable instance of ModelListPage. -
-
Method Detail
-
service
final ModelListPage.Builder service(ModelService service)
-
params
final ModelListPage.Builder params(ModelListParams params)
The parameters that were used to request this page.
-
response
final ModelListPage.Builder response(ModelListPageResponse response)
The response that this page was parsed from.
-
build
final ModelListPage build()
Returns an immutable instance of ModelListPage.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.service() .params() .response()
-
-
-
-