commonMain.com.xebia.functional.openai.generated.model.CreateModerationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xef-openai-client Show documentation
Show all versions of xef-openai-client Show documentation
Building applications with LLMs through composability in Kotlin
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package com.xebia.functional.openai.generated.model
import com.xebia.functional.openai.generated.model.CreateModerationResponseResultsInner
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* Represents if a given text input is potentially harmful.
*
* @param id The unique identifier for the moderation request.
* @param model The model used to generate the moderation results.
* @param results A list of moderation objects.
*/
@Serializable
data class CreateModerationResponse (
/* The unique identifier for the moderation request. */
@SerialName(value = "id") val id: kotlin.String,
/* The model used to generate the moderation results. */
@SerialName(value = "model") val model: kotlin.String,
/* A list of moderation objects. */
@SerialName(value = "results") val results: kotlin.collections.List
) {
}