# Content

data class Content(val role: String? = null, val parts: List<Part> = emptyList())

Represents the content of a response, including its role and parts.

## Constructors

Content
Link copied to clipboard
constructor(role: String? = null, parts: List<Part> = emptyList())

## Types

Companion
Link copied to clipboard
object Companion

## Properties

parts
Link copied to clipboard
val parts: List<Part>

The parts of the content.

role
Link copied to clipboard
val role: String? = null

The role of the content.