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

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

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

import com.sksamuel.elastic4s.Indexes
import com.sksamuel.elastic4s.requests.admin.IndicesOptionsRequest
import com.sksamuel.elastic4s.ext.OptionImplicits._

case class GetSettingsRequest(indexes: Indexes, options: Option[IndicesOptionsRequest] = None, includeSettings: Seq[String] = Nil) {
  def options(options: IndicesOptionsRequest): GetSettingsRequest = copy(options = options.some)
  def include(settings: Seq[String]): GetSettingsRequest = copy(includeSettings = settings)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy