All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.algolia.client.model.ingestion.Task.kt Maven / Gradle / Ivy

Go to download

"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."

There is a newer version: 3.13.0
Show newest version
/** 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.*

/**
 * Task
 *
 * @param taskID The task UUID.
 * @param sourceID The source UUID.
 * @param destinationID The destination UUID.
 * @param trigger
 * @param enabled Whether the task is enabled or not.
 * @param action
 * @param createdAt Date of creation (RFC3339 format).
 * @param input
 * @param updatedAt Date of last update (RFC3339 format).
 */
@Serializable
public data class Task(

  /** The task UUID. */
  @SerialName(value = "taskID") val taskID: String,

  /** The source UUID. */
  @SerialName(value = "sourceID") val sourceID: String,

  /** The destination UUID. */
  @SerialName(value = "destinationID") val destinationID: String,

  @SerialName(value = "trigger") val trigger: Trigger,

  /** Whether the task is enabled or not. */
  @SerialName(value = "enabled") val enabled: Boolean,

  @SerialName(value = "action") val action: ActionType,

  /** Date of creation (RFC3339 format). */
  @SerialName(value = "createdAt") val createdAt: String,

  @SerialName(value = "input") val input: TaskInput? = null,

  /** Date of last update (RFC3339 format). */
  @SerialName(value = "updatedAt") val updatedAt: String? = null,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy