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