maestro.ai.antrophic.Common.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maestro-ai Show documentation
Show all versions of maestro-ai Show documentation
Maestro is a server-driven platform-agnostic library that allows to drive tests for both iOS and Android using the same implementation through an intuitive API.
The newest version!
package maestro.ai.antrophic
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Message(
val role: String,
val content: List,
)
@Serializable
data class Content(
val type: String,
val text: String? = null,
val source: ContentSource? = null,
)
@Serializable
data class ContentSource(
val type: String,
@SerialName("media_type") val mediaType: String,
val data: String,
)