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

com.sksamuel.elastic4s.requests.cluster.settings.scala Maven / Gradle / Ivy

There is a newer version: 8.15.4
Show newest version
package com.sksamuel.elastic4s.requests.cluster

case class GetClusterSettingsRequest()

case class ClusterSettingsRequest(persistentSettings: Map[String, String], transientSettings: Map[String, String]) {

  def persistentSettings(settings: Map[String, String]): ClusterSettingsRequest =
    copy(persistentSettings = settings)

  def transientSettings(settings: Map[String, String]): ClusterSettingsRequest =
    copy(transientSettings = settings)
}

case class ClusterSettingsResponse(persistent: Map[String, String], transient: Map[String, String])

case class AddRemoteClusterSettingsRequest(settingsRequest: ClusterSettingsRequest)
case class AddRemoteClusterResponse(persistent: Map[String, Any], transient: Map[String, Any])






© 2015 - 2024 Weber Informatics LLC | Privacy Policy