zio.aws.transcribe.model.ParticipantRole.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-transcribe_2.12 Show documentation
Show all versions of zio-aws-transcribe_2.12 Show documentation
Low-level AWS wrapper for ZIO
The newest version!
package zio.aws.transcribe.model
import scala.jdk.CollectionConverters._
sealed trait ParticipantRole {
def unwrap: software.amazon.awssdk.services.transcribe.model.ParticipantRole
}
object ParticipantRole {
def wrap(
value: software.amazon.awssdk.services.transcribe.model.ParticipantRole
): zio.aws.transcribe.model.ParticipantRole = value match {
case software.amazon.awssdk.services.transcribe.model.ParticipantRole.UNKNOWN_TO_SDK_VERSION =>
val r = unknownToSdkVersion
r
case software.amazon.awssdk.services.transcribe.model.ParticipantRole.AGENT =>
val r = AGENT
r
case software.amazon.awssdk.services.transcribe.model.ParticipantRole.CUSTOMER =>
val r = CUSTOMER
r
}
case object unknownToSdkVersion
extends zio.aws.transcribe.model.ParticipantRole {
override def unwrap
: software.amazon.awssdk.services.transcribe.model.ParticipantRole =
software.amazon.awssdk.services.transcribe.model.ParticipantRole.UNKNOWN_TO_SDK_VERSION
}
case object AGENT extends zio.aws.transcribe.model.ParticipantRole {
override def unwrap
: software.amazon.awssdk.services.transcribe.model.ParticipantRole =
software.amazon.awssdk.services.transcribe.model.ParticipantRole.AGENT
}
case object CUSTOMER extends zio.aws.transcribe.model.ParticipantRole {
override def unwrap
: software.amazon.awssdk.services.transcribe.model.ParticipantRole =
software.amazon.awssdk.services.transcribe.model.ParticipantRole.CUSTOMER
}
}