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

commonMain.com.algolia.client.model.monitoring.Server.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.monitoring

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

/**
 * Server
 *
 * @param name Server name.
 * @param region
 * @param isSlave Included to support legacy applications. Use `is_replica` instead.
 * @param isReplica Whether this server is a replica of another server.
 * @param cluster Name of the cluster to which this server belongs.
 * @param status
 * @param type
 */
@Serializable
public data class Server(

  /** Server name. */
  @SerialName(value = "name") val name: String? = null,

  @SerialName(value = "region") val region: Region? = null,

  /** Included to support legacy applications. Use `is_replica` instead.  */
  @Deprecated(message = "This property is deprecated.")
  @SerialName(value = "is_slave") val isSlave: Boolean? = null,

  /** Whether this server is a replica of another server. */
  @SerialName(value = "is_replica") val isReplica: Boolean? = null,

  /** Name of the cluster to which this server belongs. */
  @SerialName(value = "cluster") val cluster: String? = null,

  @SerialName(value = "status") val status: ServerStatus? = null,

  @SerialName(value = "type") val type: Type? = null,
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy