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

com.sksamuel.elastic4s.requests.snapshots.GetSnapshotsRequest.scala Maven / Gradle / Ivy

The newest version!
package com.sksamuel.elastic4s.requests.snapshots

import com.sksamuel.elastic4s.ext.OptionImplicits._

case class GetSnapshotsRequest(snapshotNames: Seq[String],
                               repositoryName: String,
                               ignoreUnavailable: Option[Boolean] = None,
                               verbose: Option[Boolean] = None) {
  def ignoreUnavailable(ignore: Boolean): GetSnapshotsRequest = copy(ignoreUnavailable = ignore.some)
  def verbose(v: Boolean): GetSnapshotsRequest = copy(verbose = v.some)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy