Class ChatCompletionListPage.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionListPage.Builder
A builder for ChatCompletionListPage.
-
-
Method Summary
Modifier and Type Method Description final ChatCompletionListPage.Builder
service(ChatCompletionService service)
final ChatCompletionListPage.Builder
params(ChatCompletionListParams params)
The parameters that were used to request this page. final ChatCompletionListPage.Builder
response(ChatCompletionListPageResponse response)
The response that this page was parsed from. final ChatCompletionListPage
build()
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()
-
-
-
-