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