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

zio.aws.costoptimizationhub.model.Order.scala Maven / Gradle / Ivy

package zio.aws.costoptimizationhub.model
import scala.jdk.CollectionConverters.*
sealed trait Order {
  def unwrap: software.amazon.awssdk.services.costoptimizationhub.model.Order
}
object Order {
  def wrap(
      value: software.amazon.awssdk.services.costoptimizationhub.model.Order
  ): zio.aws.costoptimizationhub.model.Order = value match {
    case software.amazon.awssdk.services.costoptimizationhub.model.Order.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.costoptimizationhub.model.Order.ASC =>
      val r = Asc
      r
    case software.amazon.awssdk.services.costoptimizationhub.model.Order.DESC =>
      val r = Desc
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.costoptimizationhub.model.Order {
    override def unwrap
        : software.amazon.awssdk.services.costoptimizationhub.model.Order =
      software.amazon.awssdk.services.costoptimizationhub.model.Order.UNKNOWN_TO_SDK_VERSION
  }
  case object Asc extends zio.aws.costoptimizationhub.model.Order {
    override def unwrap
        : software.amazon.awssdk.services.costoptimizationhub.model.Order =
      software.amazon.awssdk.services.costoptimizationhub.model.Order.ASC
  }
  case object Desc extends zio.aws.costoptimizationhub.model.Order {
    override def unwrap
        : software.amazon.awssdk.services.costoptimizationhub.model.Order =
      software.amazon.awssdk.services.costoptimizationhub.model.Order.DESC
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy