commonMain.com.algolia.client.model.monitoring.Server.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algoliasearch-client-kotlin Show documentation
Show all versions of algoliasearch-client-kotlin Show documentation
"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."
/** 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