aigentic
0.4.0-SNAPSHOT
common
gemini
/
community.flock.aigentic.gemini.client.model
/
GenerateContentResponse
Generate
Content
Response
@
Serializable
data
class
GenerateContentResponse
(
val
candidates
:
List
<
Candidate
>
?
=
null
,
val
promptFeedback
:
PromptFeedback
?
=
null
,
val
usageMetadata
:
UsageMetadata
?
)
Members
Members & Extensions
Constructors
Generate
Content
Response
Link copied to clipboard
constructor
(
candidates
:
List
<
Candidate
>
?
=
null
,
promptFeedback
:
PromptFeedback
?
=
null
,
usageMetadata
:
UsageMetadata
?
)
Properties
candidates
Link copied to clipboard
val
candidates
:
List
<
Candidate
>
?
=
null
prompt
Feedback
Link copied to clipboard
val
promptFeedback
:
PromptFeedback
?
=
null
usage
Metadata
Link copied to clipboard
val
usageMetadata
:
UsageMetadata
?
Functions
to
Model
Response
Link copied to clipboard
fun
GenerateContentResponse
.
toModelResponse
(
isStructuredOutput
:
Boolean
)
:
ModelResponse