Package com.openai.models.models
Class ModelListPage.Builder
-
- All Implemented Interfaces:
public final class ModelListPage.BuilderA builder for ModelListPage.
-
-
Method Summary
Modifier and Type Method Description final ModelListPage.Builderservice(ModelService service)final ModelListPage.Builderparams(ModelListParams params)The parameters that were used to request this page. final ModelListPage.Builderresponse(ModelListPageResponse response)The response that this page was parsed from. final ModelListPagebuild()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()
-
-
-
-