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

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

/** 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.*

/**
 * An event describe a step of the task execution flow..
 *
 * @param eventID Universally unique identifier (UUID) of an event.
 * @param runID Universally unique identifier (UUID) of a task run.
 * @param status
 * @param type
 * @param batchSize The extracted record batch size.
 * @param publishedAt Date of publish RFC 3339 format.
 * @param parentID The parent event, the cause of this event.
 * @param `data`
 */
@Serializable
public data class Event(

  /** Universally unique identifier (UUID) of an event. */
  @SerialName(value = "eventID") val eventID: String,

  /** Universally unique identifier (UUID) of a task run. */
  @SerialName(value = "runID") val runID: String,

  @SerialName(value = "status") val status: EventStatus,

  @SerialName(value = "type") val type: EventType,

  /** The extracted record batch size. */
  @SerialName(value = "batchSize") val batchSize: Int,

  /** Date of publish RFC 3339 format. */
  @SerialName(value = "publishedAt") val publishedAt: String,

  /** The parent event, the cause of this event. */
  @SerialName(value = "parentID") val parentID: String? = null,

  @SerialName(value = "data") val `data`: JsonObject? = null,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy