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

commonMain.com.algolia.client.model.ingestion.SourceCSV.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.10.1
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.*

/**
 * SourceCSV
 *
 * @param url URL of the file.
 * @param uniqueIDColumn Name of a column that contains a unique ID which will be used as `objectID` in Algolia.
 * @param mapping Key-value pairs of column names and their expected types.
 * @param method
 * @param delimiter The character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden).
 */
@Serializable
public data class SourceCSV(

  /** URL of the file. */
  @SerialName(value = "url") val url: String,

  /** Name of a column that contains a unique ID which will be used as `objectID` in Algolia. */
  @SerialName(value = "uniqueIDColumn") val uniqueIDColumn: String? = null,

  /** Key-value pairs of column names and their expected types.  */
  @SerialName(value = "mapping") val mapping: Map? = null,

  @SerialName(value = "method") val method: MethodType? = null,

  /** The character used to split the value on each line, default to a comma (\\r, \\n, 0xFFFD, and space are forbidden). */
  @SerialName(value = "delimiter") val delimiter: String? = null,
) : SourceInput, SourceUpdateInput




© 2015 - 2025 Weber Informatics LLC | Privacy Policy