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

commonMain.com.algolia.client.model.abtesting.ABTest.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.abtesting

import kotlinx.serialization.*
import kotlinx.serialization.json.*

/**
 * ABTest
 *
 * @param abTestID Unique A/B test identifier.
 * @param updatedAt Date and time when the A/B test was last updated, in RFC 3339 format.
 * @param createdAt Date and time when the A/B test was created, in RFC 3339 format.
 * @param endAt End date and time of the A/B test, in RFC 3339 format.
 * @param name A/B test name.
 * @param status
 * @param variants A/B test variants.  The first variant is your _control_ index, typically your production index. The second variant is an index with changed settings that you want to test against the control.
 * @param clickSignificance
 * @param conversionSignificance
 * @param addToCartSignificance
 * @param purchaseSignificance
 * @param revenueSignificance
 * @param configuration
 */
@Serializable
public data class ABTest(

  /** Unique A/B test identifier. */
  @SerialName(value = "abTestID") val abTestID: Int,

  /** Date and time when the A/B test was last updated, in RFC 3339 format. */
  @SerialName(value = "updatedAt") val updatedAt: String,

  /** Date and time when the A/B test was created, in RFC 3339 format. */
  @SerialName(value = "createdAt") val createdAt: String,

  /** End date and time of the A/B test, in RFC 3339 format. */
  @SerialName(value = "endAt") val endAt: String,

  /** A/B test name. */
  @SerialName(value = "name") val name: String,

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

  /** A/B test variants.  The first variant is your _control_ index, typically your production index. The second variant is an index with changed settings that you want to test against the control.  */
  @SerialName(value = "variants") val variants: List,

  @SerialName(value = "clickSignificance") val clickSignificance: Double? = null,

  @SerialName(value = "conversionSignificance") val conversionSignificance: Double? = null,

  @SerialName(value = "addToCartSignificance") val addToCartSignificance: Double? = null,

  @SerialName(value = "purchaseSignificance") val purchaseSignificance: Double? = null,

  @SerialName(value = "revenueSignificance") val revenueSignificance: Map? = null,

  @SerialName(value = "configuration") val configuration: ABTestConfiguration? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy