commonMain.com.algolia.client.model.ingestion.TaskV1.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algoliasearch-client-kotlin-jvm Show documentation
Show all versions of algoliasearch-client-kotlin-jvm Show documentation
"Algolia is a powerful search-as-a-service solution, made easy to use with API clients, UI libraries, and pre-built integrations. Algolia API Client for Kotlin lets you easily use the Algolia Search REST API from your JVM project, such as Android or backend implementations."
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */
package com.algolia.client.model.ingestion
import kotlinx.serialization.*
import kotlinx.serialization.json.*
/**
* The V1 task object, please use methods and types that don't contain the V1 suffix.
*
* @param taskID Universally unique identifier (UUID) of a task.
* @param sourceID Universally uniqud identifier (UUID) of a source.
* @param destinationID Universally unique identifier (UUID) of a destination resource.
* @param trigger
* @param enabled Whether the task is enabled.
* @param createdAt Date of creation in RFC 3339 format.
* @param input
* @param failureThreshold Maximum accepted percentage of failures for a task run to finish successfully.
* @param action
* @param cursor Date of the last cursor in RFC 3339 format.
* @param updatedAt Date of last update in RFC 3339 format.
*/
@Deprecated(message = "This schema is deprecated.")
@Serializable
public data class TaskV1(
/** Universally unique identifier (UUID) of a task. */
@SerialName(value = "taskID") val taskID: String,
/** Universally uniqud identifier (UUID) of a source. */
@SerialName(value = "sourceID") val sourceID: String,
/** Universally unique identifier (UUID) of a destination resource. */
@SerialName(value = "destinationID") val destinationID: String,
@SerialName(value = "trigger") val trigger: Trigger,
/** Whether the task is enabled. */
@SerialName(value = "enabled") val enabled: Boolean,
/** Date of creation in RFC 3339 format. */
@SerialName(value = "createdAt") val createdAt: String,
@SerialName(value = "input") val input: TaskInput? = null,
/** Maximum accepted percentage of failures for a task run to finish successfully. */
@SerialName(value = "failureThreshold") val failureThreshold: Int? = null,
@SerialName(value = "action") val action: ActionType? = null,
/** Date of the last cursor in RFC 3339 format. */
@SerialName(value = "cursor") val cursor: String? = null,
/** Date of last update in RFC 3339 format. */
@SerialName(value = "updatedAt") val updatedAt: String? = null,
)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy