com.sksamuel.elastic4s.requests.snapshots.GetSnapshotsRequest.scala Maven / Gradle / Ivy
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)
}