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

zio.aws.codecatalyst.model.WorkflowStatus.scala Maven / Gradle / Ivy

The newest version!
package zio.aws.codecatalyst.model
import scala.jdk.CollectionConverters.*
sealed trait WorkflowStatus {
  def unwrap: software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus
}
object WorkflowStatus {
  def wrap(
      value: software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus
  ): zio.aws.codecatalyst.model.WorkflowStatus = value match {
    case software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.UNKNOWN_TO_SDK_VERSION =>
      val r = unknownToSdkVersion
      r
    case software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.INVALID =>
      val r = INVALID
      r
    case software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.ACTIVE =>
      val r = ACTIVE
      r
  }
  case object unknownToSdkVersion
      extends zio.aws.codecatalyst.model.WorkflowStatus {
    override def unwrap
        : software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus =
      software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.UNKNOWN_TO_SDK_VERSION
  }
  case object INVALID extends zio.aws.codecatalyst.model.WorkflowStatus {
    override def unwrap
        : software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus =
      software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.INVALID
  }
  case object ACTIVE extends zio.aws.codecatalyst.model.WorkflowStatus {
    override def unwrap
        : software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus =
      software.amazon.awssdk.services.codecatalyst.model.WorkflowStatus.ACTIVE
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy